@mediafly/frontend-api - v20.4.1
    Preparing search index...

    Interface CreateFileInput

    interface CreateFileInput {
        asset: {
            filename: string;
            size: number;
            sourcetype?: string;
            transferOnly?: boolean;
            url: string;
        };
        dependencies?: { id: string; type: string }[];
        metadata?: Metadata;
        noOwner?: boolean;
    }
    Index
    asset: {
        filename: string;
        size: number;
        sourcetype?: string;
        transferOnly?: boolean;
        url: string;
    }
    dependencies?: { id: string; type: string }[]

    What will depend on the new file. Declared here so the file is never stored unclaimed — a file nothing depends on looks unreferenced and can be cleaned up, so recording it in a follow-up call would leave a window, and a call that never lands would orphan the file for good. This is the only way to record a dependency from a client; everything else is derived server-side.

    metadata?: Metadata
    noOwner?: boolean