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

    Options for useSaveTake.

    interface UseSaveTakeOptions {
        audioResourceType?: string;
        location?: string;
        onError?: (error: Error) => void;
        onSaved?: (saved: SavedTake) => void;
        retry?: SaveRetryOptions;
        takeResourceType?: string;
        userId?: string;
    }
    Index

    Properties

    audioResourceType?: string

    Resource type for the WAV (default: 'audio')

    location?: string

    Storage folder (default: '/Takes')

    onError?: (error: Error) => void

    Called when a save fails after retries

    onSaved?: (saved: SavedTake) => void

    Called once both files are stored and linked

    Retry behaviour for uploads

    takeResourceType?: string

    Resource type for the JSON record (default: 'data')

    userId?: string

    Upload as this user when the file list has not been loaded yet in this session; otherwise the signed-in user is used.