This commit is contained in:
Niels Lyngsø
2022-12-20 15:15:55 +01:00
parent cbe10a63dd
commit 5c905ea54d
2 changed files with 2 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ import { UmbNotificationDefaultData, UmbNotificationService } from "@umbraco-cms
import { ContentTreeItem } from "@umbraco-cms/backend-api";
import { UmbContextConsumer } from "@umbraco-cms/context-api";
// TODO: Consider if its right to have this many WorkspaceContext
// TODO: Consider if its right to have this many class-inheritance of WorkspaceContext
export class UmbWorkspaceNodeContext<ContentTypeType extends ContentTreeItem, StoreType extends UmbNodeStoreBase<ContentTypeType>> extends UmbWorkspaceWithStoreContext<ContentTypeType, StoreType> {
protected _notificationService?: UmbNotificationService;

View File

@@ -4,6 +4,7 @@ import { UmbContextConsumer } from "@umbraco-cms/context-api";
import { UmbDataStoreBase } from "@umbraco-cms/stores/store";
import { ContentTreeItem } from "@umbraco-cms/backend-api";
// TODO: Consider if its right to have this many class-inheritance of WorkspaceContext
export abstract class UmbWorkspaceWithStoreContext<DataType extends ContentTreeItem, StoreType extends UmbDataStoreBase<DataType>> extends UmbWorkspaceContext<DataType> {