UNPKG

@umbraco/json-models-builders

Version:
30 lines 771 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DocumentDomainValueBuilder = void 0; class DocumentDomainValueBuilder { parentBuilder; domainName; isoCode; constructor(parentBuilder) { this.parentBuilder = parentBuilder; } withDomainName(domainName) { this.domainName = domainName; return this; } withIsoCode(isoCode) { this.isoCode = isoCode; return this; } done() { return this.parentBuilder; } build() { return { domainName: this.domainName, isoCode: this.isoCode, }; } } exports.DocumentDomainValueBuilder = DocumentDomainValueBuilder; //# sourceMappingURL=documentDomainValueBuilder.js.map