Tidy 5e Sheets API
    Preparing search index...

    Type Alias TabIdDocumentItemTypesParams

    The parameters needed for registering item types for a given tab, and optionally for a specific document type.

    const params = {
    tabId: 'mcdm-powers-tab',
    documentItemTypes: ['mcdm-class-bundle.power'],
    };
    const params = {
    tabId: 'statblock',
    documentItemTypes: ['feat', 'weapon', 'equipment'],
    documentFilter: { documentName: 'Actor', documentType: 'vehicle' }
    };
    type TabIdDocumentItemTypesParams = {
        documentFilter?: { documentName: string; documentType: string };
        documentItemTypes: string[];
        tabId: string;
    }
    Index

    Properties

    documentFilter?: { documentName: string; documentType: string }

    An optional filter that will provide unique document types for a specific document name and type.

    Type Declaration

    • documentName: string

      The document name, found on any document as document.documentName. For example, "Actor" or "Item".

    • documentType: string

      The document subtype, found on any document as document.type. For example, "character", "npc", or "vehicle".

    documentItemTypes: string[]
    tabId: string

    The tab ID for the registered item types.