Type alias FileSchema

FileSchema: {
    completed_upload_id?: string;
    content_type?: string;
    created_by?: string;
    created_date: string;
    etag?: string;
    etag_by_part?: {
        [key: string]: string;
    };
    expires_in?: number;
    filename: string;
    num_parts?: number;
    number_1?: number | number;
    number_2?: number | number;
    path: string;
    revision: number;
    size?: number;
    unicode_1?: string;
    unicode_2?: string;
    unicode_3?: string;
    unicode_4?: string;
    unicode_5?: string;
    unicode_6?: string;
    updated_by_list?: string[];
    updated_date_list?: string[];
    uploaded_date?: string;
    url?: string;
}

Type declaration

  • Optional completed_upload_id?: string

    ID of completed multipart upload to merge

  • Optional content_type?: string

    Optionally specify the content type of the file you will upload

  • Optional created_by?: string

    ID of the user who created the file

  • created_date: string

    Date and time the file was created

  • Optional etag?: string

    ETag of file

  • Optional etag_by_part?: {
        [key: string]: string;
    }

    List of ETags for each part of the multipart upload

    • [key: string]: string
  • Optional expires_in?: number

    Number of seconds before presigned URLs expire

  • filename: string

    Filename of file

  • Optional num_parts?: number

    Number of parts to upload

  • Optional number_1?: number | number

    Custom number index 1

  • Optional number_2?: number | number

    Custom number index 2

  • path: string

    Path this file is stored at

  • revision: number

    Revison number of the data entry

  • Optional size?: number

    Size of file in bytes

  • Optional unicode_1?: string

    Custom unicode index 1

  • Optional unicode_2?: string

    Custom unicode index 2

  • Optional unicode_3?: string

    Custom unicode index 3

  • Optional unicode_4?: string

    Custom unicode index 4

  • Optional unicode_5?: string

    Custom unicode index 5

  • Optional unicode_6?: string

    Custom unicode index 6

  • Optional updated_by_list?: string[]

    List of account IDs for most recent editors

  • Optional updated_date_list?: string[]

    List of dates for most recent edits

  • Optional uploaded_date?: string

    Date and time the file was uploaded

  • Optional url?: string

    Pre-signed GET URL