FileActionResponse - Interface representing a file action response.

interface FileActionResponse {
    error?: Error;
    files: File[];
    type: "file";
    value: string;
}

Hierarchy (View Summary)

Properties

Properties

error?: Error

Optional error object if an error occurred during the action.

files: File[]

The array of files.

type: "file"

The type of the response. Value is 'file'.

value: string

The value of the response.