JSDoc examples for section and workspace condition
This commit is contained in:
@@ -26,6 +26,12 @@ export class UmbSectionAliasCondition extends UmbBaseController implements UmbEx
|
||||
}
|
||||
|
||||
export type SectionAliasConditionConfig = UmbConditionConfigBase<'Umb.Condition.SectionAlias'> & {
|
||||
/**
|
||||
* Define the section that this extension should be available in
|
||||
*
|
||||
* @examples
|
||||
* "Umb.Section.Content"
|
||||
*/
|
||||
match: string;
|
||||
};
|
||||
|
||||
|
||||
@@ -24,6 +24,12 @@ export class UmbWorkspaceAliasCondition extends UmbBaseController implements Umb
|
||||
}
|
||||
|
||||
export type WorkspaceAliasConditionConfig = UmbConditionConfigBase<'Umb.Condition.WorkspaceAlias'> & {
|
||||
/**
|
||||
* Define the workspace that this extension should be available in
|
||||
*
|
||||
* @examples
|
||||
* "Umb.Workspace.Document"
|
||||
*/
|
||||
match: string;
|
||||
};
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { UmbDictionaryRepository } from '@umbraco-cms/backoffice/dictionary';
|
||||
import { UMB_MODAL_TEMPLATING_INSERT_CHOOSE_TYPE_SIDEBAR_ALIAS } from '../../modals/manifests.js';
|
||||
import { getInsertDictionarySnippet, getInsertPartialSnippet } from '../../utils.js';
|
||||
import { ChooseInsertTypeModalResult, CodeSnippetType } from '../../modals/insert-choose-type-sidebar.element.js';
|
||||
import { UmbDictionaryRepository } from '@umbraco-cms/backoffice/dictionary';
|
||||
import { customElement, property, css, html } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UUITextStyles } from '@umbraco-cms/backoffice/external/uui';
|
||||
import {
|
||||
|
||||
Reference in New Issue
Block a user