@umbraco/json-models-builders
Version:
Builders and models for Umbraco Sites
24 lines • 619 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.BlockListLayoutBuilder = void 0;
class BlockListLayoutBuilder {
parentBuilder;
contentKey;
constructor(parentBuilder) {
this.parentBuilder = parentBuilder;
}
withContentKey(contentKey) {
this.contentKey = contentKey;
return this;
}
done() {
return this.parentBuilder;
}
getValue() {
return {
contentKey: this.contentKey
};
}
}
exports.BlockListLayoutBuilder = BlockListLayoutBuilder;
//# sourceMappingURL=blockListLayoutBuilder.js.map