@umbraco/json-models-builders
Advanced tools
Comparing version
@@ -48,11 +48,11 @@ "use strict"; | ||
alias: 'lineNumbers', | ||
value: this.lineNumbers || true | ||
value: this.lineNumbers !== undefined ? this.lineNumbers : true | ||
}); | ||
values.push({ | ||
alias: 'minimap', | ||
value: this.minimap || true | ||
value: this.minimap !== undefined ? this.minimap : true | ||
}); | ||
values.push({ | ||
alias: 'wordWrap', | ||
value: this.wordWrap || false | ||
value: this.minimap !== undefined ? this.minimap : false | ||
}); | ||
@@ -59,0 +59,0 @@ return values; |
@@ -61,3 +61,3 @@ "use strict"; | ||
value.name = this.name || null; | ||
value.published = this.published || true; | ||
value.published = this.published !== undefined ? this.published : true; | ||
value.queryString = this.queryString || null; | ||
@@ -64,0 +64,0 @@ value.target = this.target || null; |
@@ -12,1 +12,2 @@ export * from './packages'; | ||
export * from './documentBlueprints'; | ||
export * from './webhook'; |
@@ -15,2 +15,3 @@ "use strict"; | ||
tslib_1.__exportStar(require("./documentBlueprints"), exports); | ||
tslib_1.__exportStar(require("./webhook"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -33,5 +33,5 @@ export declare class PackageBuilder { | ||
contentNodeId: string; | ||
contentLoadChildNodes: true; | ||
contentLoadChildNodes: boolean; | ||
mediaIds: string[]; | ||
mediaLoadChildNodes: true; | ||
mediaLoadChildNodes: boolean; | ||
documentTypes: string[]; | ||
@@ -38,0 +38,0 @@ mediaTypes: string[]; |
@@ -79,5 +79,5 @@ "use strict"; | ||
contentNodeId: this.contentNodeId || "", | ||
contentLoadChildNodes: this.contentLoadChildNodes || true, | ||
contentLoadChildNodes: this.contentLoadChildNodes !== undefined ? this.contentLoadChildNodes : true, | ||
mediaIds: this.mediaIds, | ||
mediaLoadChildNodes: this.mediaLoadChildNodes || true, | ||
mediaLoadChildNodes: this.mediaLoadChildNodes !== undefined ? this.mediaLoadChildNodes : true, | ||
documentTypes: this.documentTypes, | ||
@@ -84,0 +84,0 @@ mediaTypes: this.mediaTypes, |
{ | ||
"name": "@umbraco/json-models-builders", | ||
"version": "2.0.35", | ||
"version": "2.0.36", | ||
"description": "Builders and models for Umbraco Sites", | ||
@@ -5,0 +5,0 @@ "main": "dist/lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
674961
1.01%390
1.56%8684
1.06%