@cfxlabsinc/b2b-services
    Preparing search index...
    FileBrowserWrite: FileUploadActions & {
        emptyLabel: string;
        onChanged?: () => void;
        onCreateFolder: (name: string) => Promise<ActionOutcome>;
        onDelete?: (entry: FileEntry) => Promise<FileDeleteOutcome>;
        replaceNote?: string;
        rules: FileUploadRules;
        uploads?: FileUploadQueue;
    }

    What a host that lets its user add to the folder supplies.

    Type Declaration

    • emptyLabel: string

      The empty folder's one sentence, for someone who can add to it.

    • OptionalonChanged?: () => void

      After a folder is made or an entry deleted, and once per settled batch of uploads: reload the rows.

    • onCreateFolder: (name: string) => Promise<ActionOutcome>

      Creates a folder here under an already-checked, trimmed name.

    • OptionalonDelete?: (entry: FileEntry) => Promise<FileDeleteOutcome>

      Deletes a file, or a folder the host finds empty. Without it no row offers Delete.

    • OptionalreplaceNote?: string

      What the host does with a replaced file, as a sentence for the dialog.

    • rules: FileUploadRules
    • Optionaluploads?: FileUploadQueue

      A queue the host keeps, so uploads outlast this mount or use another transport. Without one the browser makes its own, over XHR.