add variant property value model

This commit is contained in:
Mads Rasmussen
2024-04-05 13:14:36 +02:00
parent dae1cac7f3
commit 422af8256a
2 changed files with 8 additions and 2 deletions

View File

@@ -1,6 +1,12 @@
import type { UmbVariantId } from './variant-id.class.js';
import type { UmbLanguageDetailModel } from '@umbraco-cms/backoffice/language';
import type { ScheduleRequestModel } from '@umbraco-cms/backoffice/external/backend-api';
import type { UmbPropertyValueData } from '@umbraco-cms/backoffice/property';
export interface UmbVariantPropertyValueModel extends UmbPropertyValueData {
culture: string | null;
segment: string | null;
}
export interface UmbVariantModel {
createDate: string | null;

View File

@@ -1,7 +1,7 @@
import type { UmbEntityWorkspaceContext } from './entity-workspace-context.interface.js';
import type { Observable } from '@umbraco-cms/backoffice/external/rxjs';
import type { ValueModelBaseModel } from '@umbraco-cms/backoffice/external/backend-api';
import type { UmbVariantPropertyValueModel } from '@umbraco-cms/backoffice/variant';
export interface UmbPropertyStructureWorkspaceContext extends UmbEntityWorkspaceContext {
propertyStructureById(id: string): Promise<Observable<ValueModelBaseModel | undefined>>;
propertyStructureById(id: string): Promise<Observable<UmbVariantPropertyValueModel | undefined>>;
}