@umbraco-cms/backoffice

    Interface ManifestElementAndApi<ElementType, ApiType>

    interface ManifestElementAndApi<
        ElementType extends UmbControllerHostElement = UmbControllerHostElement,
        ApiType extends UmbApi = UmbApi,
    > {
        alias: string;
        api?: ApiLoaderProperty<ApiType>;
        API_TYPE?: ApiType;
        element?: ElementLoaderProperty<ElementType>;
        ELEMENT_TYPE?: ElementType;
        elementName?: string;
        js?: ElementAndApiLoaderProperty<ElementType, ApiType>;
        kind?: unknown;
        name: string;
        type: string;
        weight?: number;
    }

    Type Parameters

    Hierarchy (View Summary, Expand)

    Index

    Properties

    alias: string

    The alias of the extension, ensure it is unique

    The file location of the api javascript file to load @TJS-type string

    API_TYPE?: ApiType

    @TJS-ignore

    The file location of the element javascript file to load @TJS-type string

    ELEMENT_TYPE?: ElementType

    @TJS-ignore

    elementName?: string

    The HTML web component name to use such as 'my-dashboard' Note it is NOT , just the element name.

    The file location of the javascript file to load @TJS-type string

    kind?: unknown

    The kind of the extension, used to group extensions together

    ["button"]

    name: string

    The friendly name of the extension

    type: string

    The type of extension such as dashboard etc...

    weight?: number

    Extensions such as dashboards are ordered by weight with lower numbers being first in the list

    MMNEPVFCICPMFPCPTTAAATR