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>;
        contentType?: string;
        fileId: string;
        fileName: string;
        location: string;
        modified: string | Date;
        ownerName?: string;
        recordingId?: string;
        resourceType: ResourceType;
        roomName?: string;
        s3Path?: string;
        sessionInfo?: Record<string, unknown>;
        shared?: string[];
        timestamp?: string | Date;
        transcribingId?: string;
        userId: string;
    }
    Index

    Properties

    appData?: Record<string, unknown>

    Application-specific metadata

    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)

    sessionInfo?: Record<string, unknown>

    For transcripts - session information

    shared?: string[]

    Array of user IDs the file is shared with

    timestamp?: string | Date

    Creation timestamp

    transcribingId?: string

    For transcripts - transcribing session ID

    userId: string

    User ID of the file owner