@glue42/schemas
Advanced tools
Comparing version 3.21.0 to 3.22.0
@@ -10,3 +10,3 @@ "use strict"; | ||
this.logger = logger; | ||
this.path = path !== null && path !== void 0 ? path : (0, path_1.join)(__dirname, "../schemas"); | ||
this.path = path !== null && path !== void 0 ? path : path_1.join(__dirname, "../schemas"); | ||
} | ||
@@ -67,3 +67,3 @@ get version() { | ||
try { | ||
const json = (0, fs_1.readFileSync)((0, path_1.resolve)(this.path, fileName), "utf-8"); | ||
const json = fs_1.readFileSync(path_1.resolve(this.path, fileName), "utf-8"); | ||
return json; | ||
@@ -70,0 +70,0 @@ } |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
@@ -10,0 +6,0 @@ if (k2 === undefined) k2 = k; |
@@ -57,2 +57,6 @@ "use strict"; | ||
} | ||
else if (appType === "childWindow") { | ||
details.properties.mode.transform = ["toEnumCase"]; | ||
details.properties.windowStyle.transform = ["toEnumCase"]; | ||
} | ||
typedSchema.definitions.application.properties.details = details; | ||
@@ -59,0 +63,0 @@ typedSchema.$id = `http://glue42.com/gd/application-${appType}.json`; |
{ | ||
"name": "@glue42/schemas", | ||
"version": "3.21.0", | ||
"version": "3.22.0", | ||
"description": "A collection of JSON schemas used in Glue42", | ||
@@ -5,0 +5,0 @@ "main": "app/main.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
846618
19017