formcycle 8.3.6 - JavaScript for forms
    Preparing search index...

    Interface LegacyFileStoreItem

    Legacy model for a single item in the file store, representing a binary file.

    Legacy, will be replaced with a better model.

    interface LegacyFileStoreItem {
        b64: string;
        element: string;
        ext: string;
        isImage: boolean;
        size: number;
        type: string;
    }
    Index

    Properties

    b64: string

    A data URI with the contents of the file, e.g. data:image/jpeg;base64,/9j/4AAQSk...

    element: string

    The name of the corresponding form element, e.g. upl1

    ext: string

    The extension of the file, e.g. jpeg

    isImage: boolean

    Whether the file is an image.

    size: number

    The file size in bytes

    type: string

    Media type of the file, e.g. image/jpeg