@ptkl/sdk - v1.3.4
    Preparing search index...

    Type Alias MediaUploadBase64Payload

    Payload for base64/JSON upload

    type MediaUploadBase64Payload = {
        expires_at?: Date | string;
        files: MediaUploadBase64File[];
        is_public?: boolean;
        metadata?: Record<string, string>;
        path: string;
        ref?: string;
        replace?: boolean;
    }
    Index

    Properties

    expires_at?: Date | string

    Expiration timestamp (Date object or ISO 8601 string)

    Array of files with base64-encoded content

    is_public?: boolean

    Whether files should be publicly accessible

    metadata?: Record<string, string>

    Additional metadata as key-value pairs

    path: string

    Directory path where files should be uploaded

    ref?: string

    Reference identifier for the upload operation

    replace?: boolean

    If true, replace files if they already exist