@umbraco/json-models-builders
Version:
Builders and models for Umbraco Sites
28 lines (27 loc) • 939 B
TypeScript
import { BlockGridValueBuilder } from "./blockGridValueBuilder";
import { BlockGridContentDataValueBuilder } from "./blockGridContentDataValueBuilder";
export declare class BlockGridContentDataBuilder {
parentBuilder: BlockGridValueBuilder;
contentTypeKey: string;
key: string;
udi: string;
contentDataValueBuilder: BlockGridContentDataValueBuilder[];
constructor(parentBuilder: BlockGridValueBuilder);
withContentTypeKey(contentTypeKey: string): this;
withKey(key: string): this;
withUdi(udi: string): this;
addContentDataValue(): BlockGridContentDataValueBuilder;
done(): BlockGridValueBuilder;
getValue(): {
contentTypeKey: string;
key: string;
udi: string | null;
values: {
alias: string;
culture: string | null;
editorAlias: string;
segment: string | null;
value: string;
}[];
};
}