import type { UmbBlockEditorCustomViewElement } from './types.js'; import type { ManifestElement } from '../../../libs/extension-api/index.js'; export interface ManifestBlockEditorCustomView extends ManifestElement { type: 'blockEditorCustomView'; /** * @property {string | Array } forContentTypeAlias - Declare if this Custom View only must appear at specific Content Types by Alias. * @description Optional condition if you like this custom view to only appear at for one or more specific Content Types. * @example 'my-element-type-alias' * @example ['my-element-type-alias-A', 'my-element-type-alias-B'] */ forContentTypeAlias?: string | Array; /** * @property {string | Array } forBlockEditor - Declare if this Custom View only must appear at specific Block Editors. * @description Optional condition if you like this custom view to only appear at a specific type of Block Editor. * @example 'block-list' * @example ['block-list', 'block-grid', 'block-rte'] */ forBlockEditor?: string | Array; } declare global { interface UmbExtensionManifestMap { umbBlockEditorCustomView: ManifestBlockEditorCustomView; } }