@devkong/cli 0.0.44 → 0.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js
CHANGED
|
@@ -72017,6 +72017,18 @@ var globalThisPolyfill = (function() {
|
|
|
72017
72017
|
}
|
|
72018
72018
|
})();
|
|
72019
72019
|
|
|
72020
|
+
// packages/kong-ts/src/lib/jsonSchema.ts
|
|
72021
|
+
function createEmptyJsonSchema() {
|
|
72022
|
+
return {
|
|
72023
|
+
$id: "classpath:/META-INF/schemaJson/main.json",
|
|
72024
|
+
type: "object",
|
|
72025
|
+
title: "Input",
|
|
72026
|
+
$schema: "http://json-schema.org/draft-07/schema#",
|
|
72027
|
+
required: [],
|
|
72028
|
+
properties: {}
|
|
72029
|
+
};
|
|
72030
|
+
}
|
|
72031
|
+
|
|
72020
72032
|
// node_modules/deepmerge-ts/dist/index.mjs
|
|
72021
72033
|
var actions = {
|
|
72022
72034
|
defaultMerge: Symbol("deepmerge-ts: default merge"),
|
|
@@ -82174,8 +82186,8 @@ var SetAliasCommand = class {
|
|
|
82174
82186
|
targetKey: `/extensions/${ctx.kongJson.id}/aliases/${aliasName}`
|
|
82175
82187
|
},
|
|
82176
82188
|
use: [aliasUse],
|
|
82177
|
-
inputSchema:
|
|
82178
|
-
outputSchema:
|
|
82189
|
+
inputSchema: createEmptyJsonSchema(),
|
|
82190
|
+
outputSchema: createEmptyJsonSchema(),
|
|
82179
82191
|
invoke: void 0,
|
|
82180
82192
|
created: now,
|
|
82181
82193
|
createdBy: "",
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@ export { applyJqFilterReplacements, applyJqObjectReplacements, applyJqTextReplac
|
|
|
18
18
|
export type { JqArray, JqFilter, JqObject, JqSerializer, JqText, RefactorReplacement, } from "./lib/jq";
|
|
19
19
|
export { generateFakeJsonObject, jsonToHumanReadable, prettyJson, safeJsonParse } from "./lib/json";
|
|
20
20
|
export type { JsonArray, JsonObject, JsonSchemaUrl, JsonText } from "./lib/json";
|
|
21
|
-
export { buildExampleObject } from "./lib/jsonSchema";
|
|
21
|
+
export { buildExampleObject, createEmptyJsonSchema } from "./lib/jsonSchema";
|
|
22
22
|
export { KeyGenerator } from "./lib/keyGenerator";
|
|
23
23
|
export { findLastIndex, insertItem, moveItem, unique } from "./lib/list";
|
|
24
24
|
export { deepMerge, deepMergeAll } from "./lib/merge";
|