add readonlyState manager to interface
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import type { UmbContentTypeModel } from '@umbraco-cms/backoffice/content-type';
|
||||
import type { Observable } from '@umbraco-cms/backoffice/external/rxjs';
|
||||
import type { UmbReadOnlyVariantStateManager } from '@umbraco-cms/backoffice/utils';
|
||||
import type { UmbVariantId, UmbVariantModel } from '@umbraco-cms/backoffice/variant';
|
||||
import type {
|
||||
UmbPropertyStructureWorkspaceContext,
|
||||
@@ -14,6 +15,7 @@ export interface UmbContentWorkspaceContext<
|
||||
UmbVariantDatasetWorkspaceContext<VariantModelType>,
|
||||
UmbPropertyStructureWorkspaceContext<ContentTypeModel> {
|
||||
readonly IS_CONTENT_WORKSPACE_CONTEXT: true;
|
||||
readonly readOnlyState: UmbReadOnlyVariantStateManager;
|
||||
|
||||
isLoaded(): Promise<unknown> | undefined;
|
||||
variantById(variantId: UmbVariantId): Observable<VariantModelType | undefined>;
|
||||
|
||||
Reference in New Issue
Block a user