UNPKG

@umbraco/json-models-builders

Version:
29 lines 723 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BaseExposeBuilder = void 0; class BaseExposeBuilder { contentKey; culture; segment; withContentKey(contentKey) { this.contentKey = contentKey; return this; } withCulture(culture) { this.culture = culture; return this; } withSegment(segment) { this.segment = segment; return this; } getValue() { return { contentKey: this.contentKey, culture: this.culture || null, segment: this.segment || null, }; } } exports.BaseExposeBuilder = BaseExposeBuilder; //# sourceMappingURL=baseExposeBuilder.js.map