Documentation
    Preparing search index...

    JSON representation of a MultipartFile instance

    type FileJSON = {
        fieldName: string;
        clientName: string;
        size: number;
        filePath?: string;
        fileName?: string;
        type?: string;
        extname?: string;
        subtype?: string;
        state: "idle" | "streaming" | "consumed" | "moved";
        isValid: boolean;
        validated: boolean;
        errors: FileUploadError[];
        meta: any;
    }
    Index

    Properties

    fieldName: string

    The form field name

    clientName: string

    The original filename from the client

    size: number

    Size of the file in bytes

    filePath?: string

    Full path where the file was moved (if moved)

    fileName?: string

    Relative filename after moving (if moved)

    type?: string

    MIME type of the file

    extname?: string

    File extension

    subtype?: string

    MIME subtype

    state: "idle" | "streaming" | "consumed" | "moved"

    Current state of the file processing

    isValid: boolean

    Whether the file passed all validations

    validated: boolean

    Whether validations have been run

    errors: FileUploadError[]

    Array of validation errors, if any

    meta: any

    Additional metadata associated with the file