From d54efa0b3fc98b2ec33c23a6f7b61846d9d7a423 Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Tue, 23 Apr 2024 19:47:13 +0200 Subject: [PATCH] move tags schema --- .../core/property-editor/schemas/manifests.ts | 2 -- .../tags/property-editors/manifests.ts | 4 +-- .../property-editors/tags}/Umbraco.Tags.ts | 0 .../tags/property-editors/tags/manifests.ts | 28 +++++++++---------- 4 files changed, 16 insertions(+), 18 deletions(-) rename src/Umbraco.Web.UI.Client/src/packages/{core/property-editor/schemas => tags/property-editors/tags}/Umbraco.Tags.ts (100%) diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/property-editor/schemas/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/core/property-editor/schemas/manifests.ts index 8e1466abfd..e2fadcb614 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/property-editor/schemas/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/property-editor/schemas/manifests.ts @@ -7,7 +7,6 @@ import { manifest as multiNodeTreePicker } from './Umbraco.MultiNodeTreePicker.j import { manifest as multiUrlPicker } from './Umbraco.MultiUrlPicker.js'; import { manifest as radioButtonList } from './Umbraco.RadioButtonList.js'; import { manifest as slider } from './Umbraco.Slider.js'; -import { manifest as tags } from './Umbraco.Tags.js'; import { manifest as richText } from './Umbraco.RichText.js'; import { manifest as trueFalse } from './Umbraco.TrueFalse.js'; import { manifest as uploadField } from './Umbraco.UploadField.js'; @@ -24,7 +23,6 @@ export const manifests: Array = [ multiUrlPicker, radioButtonList, slider, - tags, richText, trueFalse, uploadField, diff --git a/src/Umbraco.Web.UI.Client/src/packages/tags/property-editors/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/tags/property-editors/manifests.ts index 67558a3376..c10fde3613 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/tags/property-editors/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/tags/property-editors/manifests.ts @@ -1,4 +1,4 @@ -import { manifests as tagsUI } from './tags/manifests.js'; +import { manifests as tagsManifests } from './tags/manifests.js'; import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry'; -export const manifests: Array = [...tagsUI]; +export const manifests: Array = [...tagsManifests]; diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/property-editor/schemas/Umbraco.Tags.ts b/src/Umbraco.Web.UI.Client/src/packages/tags/property-editors/tags/Umbraco.Tags.ts similarity index 100% rename from src/Umbraco.Web.UI.Client/src/packages/core/property-editor/schemas/Umbraco.Tags.ts rename to src/Umbraco.Web.UI.Client/src/packages/tags/property-editors/tags/Umbraco.Tags.ts diff --git a/src/Umbraco.Web.UI.Client/src/packages/tags/property-editors/tags/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/tags/property-editors/tags/manifests.ts index dbab236de1..6066217ab0 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/tags/property-editors/tags/manifests.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/tags/property-editors/tags/manifests.ts @@ -1,16 +1,16 @@ -import type { ManifestPropertyEditorUi } from '@umbraco-cms/backoffice/extension-registry'; +import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry'; -const manifest: ManifestPropertyEditorUi = { - type: 'propertyEditorUi', - alias: 'Umb.PropertyEditorUi.Tags', - name: 'Tags Property Editor UI', - element: () => import('./property-editor-ui-tags.element.js'), - meta: { - label: 'Tags', - propertyEditorSchemaAlias: 'Umbraco.Tags', - icon: 'icon-tags', - group: 'common', +export const manifests: Array = [ + { + type: 'propertyEditorUi', + alias: 'Umb.PropertyEditorUi.Tags', + name: 'Tags Property Editor UI', + element: () => import('./property-editor-ui-tags.element.js'), + meta: { + label: 'Tags', + propertyEditorSchemaAlias: 'Umbraco.Tags', + icon: 'icon-tags', + group: 'common', + }, }, -}; - -export const manifests = [manifest]; +];