FileTransformResult objects are constructed by the platform on completion of file transform pipelines.
Arbitrary JSON compatible data, passed to
O.fileTransformPipeline(). Use this to identify why the pipeline was executed in your callbacks.
function file(name, filename)
Permanently store a pipeline result in the file store, and return a
File object representing it.
name is the name of the file in the pipeline’s file list, usually
filename is the user visible name of the file which will be used by default when downloading the file at a later date. Remember to include an extension.
filename has no extension, or the wrong extension, an appropriate file extension will be added.
Boolean value, indicating successful completion of the pipeline.
A human readable string indicating the error, used for debugging. It should not be presented to the user in your UI.