UNPKG

@umbraco/json-models-builders

Version:
38 lines (37 loc) 1.22 kB
import { DocumentBlueprintsValueBuilder } from './documentBlueprintsValueBuilder'; import { DocumentBlueprintsVariantBuilder } from './documentBlueprintsVariantBuilder'; export declare class DocumentBlueprintsBuilder { documentBlueprintsValueBuilder: DocumentBlueprintsValueBuilder[]; documentBlueprintsVariantBuilder: DocumentBlueprintsVariantBuilder[]; id: string; parentId: string; documentTypeId: string; constructor(); addValue(): DocumentBlueprintsValueBuilder; addVariant(): DocumentBlueprintsVariantBuilder; withId(id: string): this; withParentId(parentId: string): this; withDocumentTypeId(documentTypeId: string): this; build(): { values: { culture: string | null; segment: string | null; alias: string | null; value: any; editorAlias: string | null; entityType: string | null; }[]; variants: { culture: string | null; segment: string | null; name: string | null; }[]; id: string; parent: { id: string; } | null; documentType: { id: string; }; }; }