@cfxlabsinc/b2b-services
    Preparing search index...

    Type Alias FileUploadRules

    What a host lets its users upload. The browser checks these first; the host decides again.

    type FileUploadRules = {
        extensions: readonly string[];
        maxBytes: number;
        nameError: (name: string) => string | null;
    }
    Index
    extensions: readonly string[]

    With their dots, matched against the end of the name ignoring case.

    maxBytes: number
    nameError: (name: string) => string | null

    Why name cannot name a file or folder, as a sentence; null when it can.