UNPKG

@umbraco/json-models-builders

Version:
25 lines (24 loc) 862 B
import { BlockListValueBuilder } from './blockListValueBuilder'; import { BlockListContentDataValueBuilder } from './blockListContentDataValueBuilder'; export declare class BlockListContentDataBuilder { parentBuilder: BlockListValueBuilder; contentTypeKey: string; key: string; contentDataValueBuilder: BlockListContentDataValueBuilder[]; constructor(parentBuilder: BlockListValueBuilder); withContentTypeKey(contentTypeKey: string): this; withKey(key: string): this; addContentDataValue(): BlockListContentDataValueBuilder; done(): BlockListValueBuilder; getValue(): { contentTypeKey: string; key: string; values: { alias: string; culture: string | null; editorAlias: string; segment: string | null; value: string; }[]; }; }