clean up
This commit is contained in:
@@ -1,9 +1,4 @@
|
||||
import type {
|
||||
ManifestTypes,
|
||||
ManifestWorkspace,
|
||||
ManifestWorkspaceActions,
|
||||
ManifestWorkspaceView,
|
||||
} from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { ManifestTypes, ManifestWorkspace } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
const workspace: ManifestWorkspace = {
|
||||
type: 'workspace',
|
||||
@@ -15,7 +10,4 @@ const workspace: ManifestWorkspace = {
|
||||
},
|
||||
};
|
||||
|
||||
const workspaceViews: Array<ManifestWorkspaceView> = [];
|
||||
const workspaceActions: Array<ManifestWorkspaceActions> = [];
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [workspace, ...workspaceViews, ...workspaceActions];
|
||||
export const manifests: Array<ManifestTypes> = [workspace];
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
import type {
|
||||
ManifestTypes,
|
||||
ManifestWorkspace,
|
||||
ManifestWorkspaceActions,
|
||||
ManifestWorkspaceView,
|
||||
} from '@umbraco-cms/backoffice/extension-registry';
|
||||
import type { ManifestTypes, ManifestWorkspace } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
const workspace: ManifestWorkspace = {
|
||||
type: 'workspace',
|
||||
@@ -15,7 +10,4 @@ const workspace: ManifestWorkspace = {
|
||||
},
|
||||
};
|
||||
|
||||
const workspaceViews: Array<ManifestWorkspaceView> = [];
|
||||
const workspaceActions: Array<ManifestWorkspaceActions> = [];
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [workspace, ...workspaceViews, ...workspaceActions];
|
||||
export const manifests: Array<ManifestTypes> = [workspace];
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
export const UMB_PACKAGE_REPOSITORY_ALIAS = 'Umb.Repository.Package';
|
||||
export const UMB_PACKAGE_STORE_ALIAS = 'Umb.Store.Package';
|
||||
@@ -1,7 +1,6 @@
|
||||
import { UMB_PACKAGE_REPOSITORY_ALIAS, UMB_PACKAGE_STORE_ALIAS } from './constants.js';
|
||||
import type { ManifestStore, ManifestRepository, ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const UMB_PACKAGE_REPOSITORY_ALIAS = 'Umb.Repository.Package';
|
||||
|
||||
const repository: ManifestRepository = {
|
||||
type: 'repository',
|
||||
alias: UMB_PACKAGE_REPOSITORY_ALIAS,
|
||||
@@ -9,8 +8,6 @@ const repository: ManifestRepository = {
|
||||
api: () => import('./package.repository.js'),
|
||||
};
|
||||
|
||||
export const UMB_PACKAGE_STORE_ALIAS = 'Umb.Store.Package';
|
||||
|
||||
const store: ManifestStore = {
|
||||
type: 'store',
|
||||
alias: UMB_PACKAGE_STORE_ALIAS,
|
||||
|
||||
Reference in New Issue
Block a user