temp solution: move manifest viewer files to the blocks package
This commit is contained in:
@@ -3,6 +3,7 @@ import { manifests as blockGridManifests } from './block-grid/manifests.js';
|
|||||||
import { manifests as blockListManifests } from './block-list/manifests.js';
|
import { manifests as blockListManifests } from './block-list/manifests.js';
|
||||||
import { manifests as blockRteManifests } from './block-rte/manifests.js';
|
import { manifests as blockRteManifests } from './block-rte/manifests.js';
|
||||||
import { manifests as blockTypeManifests } from './block-type/manifests.js';
|
import { manifests as blockTypeManifests } from './block-type/manifests.js';
|
||||||
|
import { manifest as modalManifest } from './modals/manifest-viewer/manifest.js';
|
||||||
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||||
// TODO: Remove test custom view, or transfer to test or similar?
|
// TODO: Remove test custom view, or transfer to test or similar?
|
||||||
//import { manifest } from './custom-view/manifest.js';
|
//import { manifest } from './custom-view/manifest.js';
|
||||||
@@ -14,4 +15,5 @@ export const manifests: Array<ManifestTypes> = [
|
|||||||
...blockListManifests,
|
...blockListManifests,
|
||||||
...blockGridManifests,
|
...blockGridManifests,
|
||||||
...blockRteManifests,
|
...blockRteManifests,
|
||||||
|
modalManifest,
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -5,6 +5,8 @@ export interface UmbManifestViewerModalData extends ManifestBase {}
|
|||||||
|
|
||||||
export type UmbManifestViewerModalValue = undefined;
|
export type UmbManifestViewerModalValue = undefined;
|
||||||
|
|
||||||
|
/* TODO: This is a temporary location for the manifest viewer files.They are located here because of build issues.
|
||||||
|
Please don't export this token from the block package. [MR] */
|
||||||
export const UMB_MANIFEST_VIEWER_MODAL = new UmbModalToken<UmbManifestViewerModalData, UmbManifestViewerModalValue>(
|
export const UMB_MANIFEST_VIEWER_MODAL = new UmbModalToken<UmbManifestViewerModalData, UmbManifestViewerModalValue>(
|
||||||
'Umb.Modal.ManifestViewer',
|
'Umb.Modal.ManifestViewer',
|
||||||
{
|
{
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
export * from './conditions/index.js';
|
export * from './conditions/index.js';
|
||||||
export * from './initializers/index.js';
|
export * from './initializers/index.js';
|
||||||
export * from './modals/manifest-viewer/index.js';
|
|
||||||
export * from './registry.js';
|
export * from './registry.js';
|
||||||
export * from './utils/index.js';
|
export * from './utils/index.js';
|
||||||
export type * from './interfaces/index.js';
|
export type * from './interfaces/index.js';
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ import { manifests as menuItemManifests } from './menu-item/manifests.js';
|
|||||||
import { manifests as workspaceManifests } from './workspace/manifests.js';
|
import { manifests as workspaceManifests } from './workspace/manifests.js';
|
||||||
import { manifests as collectionManifests } from './collection/manifests.js';
|
import { manifests as collectionManifests } from './collection/manifests.js';
|
||||||
import { manifests as entityActionManifests } from './entity-actions/manifests.js';
|
import { manifests as entityActionManifests } from './entity-actions/manifests.js';
|
||||||
import { manifest as modalManifest } from './modals/manifest-viewer/manifest.js';
|
|
||||||
import type { ManifestTypes } from './models/index.js';
|
import type { ManifestTypes } from './models/index.js';
|
||||||
|
|
||||||
export const manifests: Array<ManifestTypes> = [
|
export const manifests: Array<ManifestTypes> = [
|
||||||
@@ -12,5 +11,4 @@ export const manifests: Array<ManifestTypes> = [
|
|||||||
...workspaceManifests,
|
...workspaceManifests,
|
||||||
...collectionManifests,
|
...collectionManifests,
|
||||||
...entityActionManifests,
|
...entityActionManifests,
|
||||||
modalManifest,
|
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user