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

    Interface UserFile

    Metadata for a file stored across rooms, as returned by the signaling server.

    interface UserFile {
        appData?: Record<string, unknown>;
        brandOrgId?: string;
        contentType?: string;
        createdAt?: string;
        fileId: string;
        fileName: string;
        isFolder?: boolean;
        location: string;
        modified: string;
        resourceType?: string;
        roomName?: string;
        s3Path?: string;
        scope?: "private" | "public";
        sharedWith?: string[];
        sharing?: FileShareEntry[];
        timestamp?: string;
        userId: string;
    }
    Index

    Properties

    appData?: Record<string, unknown>

    Application-specific metadata

    brandOrgId?: string

    Optional brand-org scoping for public files; pairs with UserProfile.brandOrgId on the server.

    contentType?: string

    MIME type

    createdAt?: string

    When the file was created (ISO 8601)

    fileId: string

    Unique file identifier

    fileName: string

    Display name of the file

    isFolder?: boolean

    Whether this is a folder

    location: string

    Folder path

    modified: string

    Last modification timestamp (ISO 8601)

    resourceType?: string

    Resource type (e.g., 'whiteboard', 'usernote', 'recording', 'assignment', 'image')

    roomName?: string

    Associated room name

    s3Path?: string

    S3 storage path

    scope?: "private" | "public"

    Visibility of the file.

    • 'private' (default): owned by userId; visible only to owner + shared users.
    • 'public': visible to all users in the same apiKey (and optional brandOrgId) tenant who hold the public-files role. Copying / duplicating / moving a public file produces a new private file owned by the caller (copy-on-write).
    sharedWith?: string[]

    User IDs this file is shared with

    sharing?: FileShareEntry[]

    Detailed sharing entries with permissions

    timestamp?: string

    Creation timestamp (ISO 8601)

    userId: string

    Owner user ID