@twinfinity/core
    Preparing search index...

    Interface UploadClientOperationCreateFile

    Defines what is required to create a new change (file) in a existing folder.

    Use UploadClientOperationCreate instead. It supports both folders and layers.

    interface UploadClientOperationCreateFile {
        content: unknown;
        filename: string;
        folder: BimFolder;
        metadata: DefaultChangeUploadableMetadata;
        operation: "create";
    }

    Hierarchy

    Index

    Properties

    content: unknown

    Content of the file

    filename: string

    Filename that the change will get.

    folder: BimFolder

    Folder to create change (file) in

    Metadata.

    operation: "create"

    Type of operation. In this case 'create' to represent file creation.