add variant property value model
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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>>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user