Skip to content

Commit 97edd74

Browse files
committed
do the exporting dance
1 parent 8dd2bbd commit 97edd74

File tree

5 files changed

+11
-3
lines changed

5 files changed

+11
-3
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
export type * from './content-workspace-context.interface.js';
22
export * from './content-workspace.context-token.js';
3+
export * from './views/edit/index.js';
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import { contentEditorManifest } from './views/edit/manifest.js';
1+
import { manifests as contentEditorManifests } from './views/edit/manifests.js';
22

3-
export const manifests = [contentEditorManifest];
3+
export const manifests = [...contentEditorManifests];
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import { manifest as hasPropertiesManifest } from './has-properties/content-has-properties.condition.manifest.js';
2+
3+
export const manifests = [hasPropertiesManifest];
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './conditions/has-properties/index.js';

src/packages/core/content/workspace/views/edit/manifest.ts renamed to src/packages/core/content/workspace/views/edit/manifests.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
import { manifests as conditionsManifests } from './conditions/manifests.js';
12
import type { UmbBackofficeManifestKind } from '@umbraco-cms/backoffice/extension-registry';
23

3-
export const contentEditorManifest: UmbBackofficeManifestKind = {
4+
const contentEditorManifest: UmbBackofficeManifestKind = {
45
type: 'kind',
56
alias: 'Umb.Kind.WorkspaceView.ContentEditor',
67
matchKind: 'contentEditor',
@@ -17,3 +18,5 @@ export const contentEditorManifest: UmbBackofficeManifestKind = {
1718
},
1819
},
1920
};
21+
22+
export const manifests = [contentEditorManifest, ...conditionsManifests];

0 commit comments

Comments
 (0)