Hiyve Components - v1.0.0
    Preparing search index...

    Interface FileUploadOptions

    Options for uploading a file.

    Used with the client's uploadFile method to upload files to S3 storage.

    const options: FileUploadOptions = {
    file: new File([blob], 'notes.json'),
    location: 'meeting-files',
    resourceType: 'note',
    };
    const { fileId } = await client.uploadFile(options);
    interface FileUploadOptions {
        appData?: Record<string, unknown>;
        file: File;
        location: string;
        resourceType?: string;
    }
    Index

    Properties

    appData?: Record<string, unknown>

    Optional application-specific metadata stored alongside the file

    file: File

    The file to upload

    location: string

    Storage location/folder for the file

    resourceType?: string

    Optional resource type identifier (e.g., 'note', 'poll', 'qa')