add todos

This commit is contained in:
Mads Rasmussen
2022-12-23 12:59:21 +01:00
parent 6febc2f8bb
commit efe9d0b7cf
4 changed files with 8 additions and 0 deletions

View File

@@ -75,6 +75,7 @@ export class UmbBackofficeElement extends UmbContextConsumerMixin(UmbContextProv
constructor() {
super();
// TODO: this needs to happen in each domain
this._registerExtensions(sectionManifests);
this._registerExtensions(treeManifests);
this._registerExtensions(editorManifests);
@@ -88,6 +89,7 @@ export class UmbBackofficeElement extends UmbContextConsumerMixin(UmbContextProv
this._umbIconRegistry.attach(this);
// TODO: find a way this is possible outside this element. It needs to be possible to register stores in extensions
this.provideContext('umbDocumentStore', new UmbDocumentStore());
this.provideContext('umbMediaStore', new UmbMediaStore());
this.provideContext('umbDataTypeStore', new UmbDataTypeStore());

View File

@@ -1,3 +1,5 @@
// TODO: temp file until we have a way to register from each extension
import { manifests as contentSectionManifests } from './test/documents/content-section/manifests';
import { manifests as mediaSectionManifests } from './test/media/media-section/manifests';
import { manifests as memberSectionManifests } from './test/members/members-section/manifests';

View File

@@ -1,3 +1,5 @@
// TODO: temp file until we have a way to register from each extension
import { manifests as dataTypeTreeManifests } from './test/core/data-types/tree/manifests';
import { manifests as extensionTreeManifests } from './test/core/extensions/tree/manifests';
import { manifests as languageTreeManifests } from './test/core/languages/tree/manifests';

View File

@@ -1,3 +1,5 @@
// TODO: temp file until we have a way to register from each extension
import type { ManifestWorkspace } from '@umbraco-cms/models';
export const manifests: Array<ManifestWorkspace> = [