@mendix/extensions-api - v0.3.0
    Preparing search index...

    Type Alias CustomBlobDocumentRegistrationOptions<TBlob>

    Properties of a new custom blob document type

    type CustomBlobDocumentRegistrationOptions<TBlob extends object = object> = {
        defaultContent: TBlob;
        readableTypeName?: string;
        type: string;
    }

    Type Parameters

    • TBlob extends object = object
    Index

    Properties

    defaultContent: TBlob

    The content that will be used when user creates new document of this type.

    readableTypeName?: string

    Human readable name for the document type. This will be shown in error logs related to this document type and in the UI. If it is not present, defaults to CustomBlobDocumentRegistrationOptions.type

    type: string

    New document type being registered used to identify the custom document in Studio Pro. Must be unique. It is of the form . (e.g. MyCompany.MyDocumentType) where both the namespace and type are valid identifiers.