move color picker model to its own file

This commit is contained in:
Mads Rasmussen
2023-01-03 12:50:47 +01:00
parent e35e436389
commit d383ae6b3e
2 changed files with 10 additions and 6 deletions

View File

@@ -0,0 +1,8 @@
import type { ManifestPropertyEditorModel } from '@umbraco-cms/models';
export const manifest: ManifestPropertyEditorModel = {
type: 'propertyEditorModel',
name: 'Color Picker',
alias: 'Umbraco.ColorPicker',
meta: {},
};

View File

@@ -1,12 +1,8 @@
import { manifest as UmbracoColorPicker } from './Umbraco.ColorPicker';
import type { ManifestPropertyEditorModel } from '@umbraco-cms/models';
export const manifests: Array<ManifestPropertyEditorModel> = [
{
type: 'propertyEditorModel',
name: 'Color Picker',
alias: 'Umbraco.ColorPicker',
meta: {},
},
UmbracoColorPicker,
{
type: 'propertyEditorModel',
name: 'Content Picker',