@umbraco-cms/backoffice

    Interface ManifestWorkspaceActionMenuItemDefaultKind<MetaType>

    interface ManifestWorkspaceActionMenuItemDefaultKind<
        MetaType extends
            MetaWorkspaceActionMenuItemDefaultKind = MetaWorkspaceActionMenuItemDefaultKind,
    > {
        alias: string;
        api?: ApiLoaderProperty<UmbWorkspaceActionMenuItem<MetaType>>;
        API_TYPE?: UmbWorkspaceActionMenuItem<MetaType>;
        conditions?: (
            | UmbCoreConditionConfigs
            | UmbLanguageUserPermissionConditionConfig
            | WorkspaceAliasConditionConfig
            | UmbWorkspaceEntityIsNewConditionConfig
            | UmbWorkspaceEntityTypeConditionConfig
            | UmbPropertyHasValueConditionConfig
            | UmbWorkspaceContentTypeAliasConditionConfig
            | UmbSectionUserPermissionConditionConfig
            | SectionAliasConditionConfig
            | CollectionBulkActionPermissionConditionConfig
            | CollectionAliasConditionConfig
            | UmbCurrentUserGroupIdConditionConfig
            | UmbIsAdminConditionConfig
            | UmbUserConditionConfigs
            | UmbEntityIsNotTrashedConditionConfig
            | UmbEntityIsTrashedConditionConfig
            | UmbDocumentUserPermissionConditionConfig
            | BlockEntryShowContentEditConditionConfig
            | BlockWorkspaceHasSettingsConditionConfig
            | BlockEntryIsExposedConditionConfig
            | UmbDocumentPropertyValueUserPermissionConditionConfig
            | UmbWorkspaceHasContentCollectionConditionConfig
            | UmbEntityHasChildrenConditionConfig
        )[];
        element?: ElementLoaderProperty<UmbControllerHostElement>;
        ELEMENT_TYPE?: UmbControllerHostElement;
        elementName?: string;
        forWorkspaceActions: string | string[];
        js?: ElementAndApiLoaderProperty<
            UmbControllerHostElement,
            UmbWorkspaceActionMenuItem<MetaType>,
        >;
        kind: "default";
        meta: MetaType;
        name: string;
        overwrites?: string | string[];
        type: "workspaceActionMenuItem";
        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

    @TJS-ignore

    Set the conditions for when the extension should be loaded

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

    @TJS-ignore

    elementName?: string

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

    forWorkspaceActions: string | string[]

    Define which workspace actions this menu item should be shown for.

    [ ['Umb.WorkspaceAction.Document.Save', 'Umb.WorkspaceAction.Document.SaveAndPublish'], "Umb.WorkspaceAction.Document.Save" ]

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

    kind: "default"

    The kind of the extension, used to group extensions together

    ["button"]

    meta: MetaType
    name: string

    The friendly name of the extension

    overwrites?: string | string[]

    Define one or more extension aliases that this extension should overwrite.

    type: "workspaceActionMenuItem"

    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