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

    Interface FileShareEntry

    A single sharing entry describing who a file is shared with and their permissions.

    interface FileShareEntry {
        canReshare?: boolean;
        grantedBy?: string;
        permissions?: string[];
        roomName?: string;
        sharedAt?: string;
        userId: string;
    }
    Index

    Properties

    canReshare?: boolean

    Whether this recipient may re-share the file onward (one hop). Only the owner can grant this; recipients' onward shares are never re-shareable.

    grantedBy?: string

    Who created this share: the file owner for a direct share, or a recipient who re-shared the file onward. Present on files that use delegated sharing.

    permissions?: string[]

    Permission levels granted (e.g., 'read', 'write')

    roomName?: string

    Room where the sharing occurred

    sharedAt?: string

    When the file was shared (ISO 8601)

    userId: string

    User ID the file is shared with