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

    File entry representing a file in the file system.

    const file: FileEntry = {
    fileId: 'file-123',
    fileName: 'meeting-notes.md',
    resourceType: 'text',
    contentType: 'text/markdown',
    userId: 'user-456',
    location: '/Notes',
    modified: '2024-01-15T10:30:00Z',
    shared: ['user-789'],
    roomName: 'team-meeting'
    };
    interface FileEntry {
        appData?: Record<string, unknown>;
        brandOrgId?: string;
        contentType?: string;
        fileId: string;
        fileName: string;
        location: string;
        modified: string | Date;
        ownerName?: string;
        recordingId?: string;
        resourceType: ResourceType;
        roomName?: string;
        s3Path?: string;
        scope?: "private" | "public";
        sessionInfo?: Record<string, unknown>;
        shared?: string[];
        thumbnailUrl?: string;
        timestamp?: string | Date;
        transcribingId?: string;
        userId: string;
    }
    Index

    Properties

    appData?: Record<string, unknown>

    Application-specific metadata

    brandOrgId?: string

    Optional brand-org scope for public files.

    contentType?: string

    MIME type or file extension

    fileId: string

    Unique identifier for the file

    fileName: string

    Display name of the file

    location: string

    Folder path where file is located (e.g., '/Notes', '/Recordings')

    modified: string | Date

    Last modification timestamp (ISO string or Date)

    ownerName?: string

    Owner's display name (optional, for display purposes)

    recordingId?: string

    For recordings - recording session ID

    resourceType: ResourceType

    Type of resource (determines icon, preview behavior)

    roomName?: string

    Room name where file belongs

    s3Path?: string

    S3 storage path (internal use)

    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 tenant with the public-files role. Read-only in the FileManager; copy/duplicate/move produces a private clone.
    sessionInfo?: Record<string, unknown>

    For transcripts - session information

    shared?: string[]

    Array of user IDs the file is shared with

    thumbnailUrl?: string

    Optional thumbnail/preview image URL rendered as a banner on card-view tiles. Takes precedence over getThumbnailUrl on FileManager when both are provided.

    timestamp?: string | Date

    Creation timestamp

    transcribingId?: string

    For transcripts - transcribing session ID

    userId: string

    User ID of the file owner