UNPKG

@umbraco/json-models-builders

Version:
36 lines (35 loc) 1.15 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: string | null; }[]; variants: { culture: string | null; segment: string | null; name: string | null; }[]; id: string; parent: { id: string; } | null; documentType: { id: string; }; }; }