@umbraco/json-models-builders
Version:
Builders and models for Umbraco Sites
27 lines (26 loc) • 794 B
TypeScript
import { ElementBuilder } from './elementBuilder';
export declare class ElementValueBuilder {
parentBuilder: ElementBuilder;
culture: string;
segment: string;
alias: string;
value: string | string[];
editorAlias: string;
entityType: string;
constructor(parentBuilder: ElementBuilder);
withCulture(culture: any): this;
withSegment(segment: string): this;
withAlias(alias: string): this;
withValue(value: any): this;
withEditorAlias(editorAlias: string): this;
withEntityType(entityType: string): this;
done(): ElementBuilder;
build(): {
culture: string | null;
segment: string | null;
alias: string | null;
value: any;
editorAlias: string | null;
entityType: string | null;
};
}