@audiotool/nexus - v0.0.17
    Preparing search index...

    Type Alias SamplePending

    Metadata available immediately after creating a sample, before the file upload and server-side processing complete. This contains all user-provided fields plus server-assigned identifiers.

    Note: Download URLs are not available at this stage - use SampleMeta after upload.ready resolves.

    type SamplePending = {
        bpm: number;
        createTime: Date | undefined;
        description: string;
        displayName: string;
        favoritedByUser: boolean;
        kind: SampleKind;
        name: string;
        numFavorites: number;
        numUsages: number;
        ownerName: string;
        tags: readonly string[];
        updateTime: Date | undefined;
        visibility: SampleVisibility;
    }
    Index

    Properties

    bpm: number

    Beats per minute (0 if not set).

    createTime: Date | undefined

    Timestamp when this sample was created.

    description: string

    Optional description of the sample.

    displayName: string

    Human-readable name for the sample.

    favoritedByUser: boolean

    Whether the authenticated user has favorited this sample.

    Whether this is a one-shot or loop sample.

    name: string

    Unique identifier in the form samples/{uuid}.

    numFavorites: number

    Number of users who have favorited this sample.

    numUsages: number

    Number of times this sample has been used in projects.

    ownerName: string

    Owner identifier in the form users/{uuid}.

    tags: readonly string[]

    Tags for categorization and search.

    updateTime: Date | undefined

    Timestamp when this sample was last updated.

    visibility: SampleVisibility

    Visibility setting for the sample.