The file payload interface.

interface IFilePayload {
    action: File;
    file: File;
    options?: IFileOptions;
    path?: string;
}

Properties

action: File

The file store payload action.

file: File

The file to publish.

options?: IFileOptions

The flag to skip encryption.

path?: string

The path of the file.