IFClite TypeScript API
    Preparing search index...

    Interface SourceFile

    interface SourceFile {
        artifactName?: string;
        containerId: string;
        currentRevisionId: string;
        id: string;
        kind?: "file" | "exchange" | "proposal";
        meta?: Record<string, unknown>;
        mimeType?: string;
        modifiedAt?: string;
        modifiedBy?: string;
        name: string;
        sizeBytes?: number;
        unavailableReason?: string;
    }
    Index
    artifactName?: string

    Filename of the import artifact, distinct from the displayed resource name.

    containerId: string

    The container this file actually lives in, not necessarily the one queried.

    currentRevisionId: string

    Opaque id of the current revision. Providers whose API exposes no revision identity should report a content hash or etag here; it must change when the bytes change and must not change when only metadata changes.

    id: string
    kind?: "file" | "exchange" | "proposal"

    Native resource kind, when the resource is not an ordinary file.

    meta?: Record<string, unknown>
    mimeType?: string
    modifiedAt?: string
    modifiedBy?: string
    name: string
    sizeBytes?: number
    unavailableReason?: string

    A visible reason why this resource cannot currently be loaded.