ignitify 1.2.1 → 1.2.2
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/ignitify-NOTICE.txt +2 -2
- package/ignitify.cjs +269 -251
- package/package.json +1 -1
package/ignitify.cjs
CHANGED
|
@@ -1163,6 +1163,13 @@ var TASK_CONFIG_FILENAMES, RUNTIME_REGISTRY, RUNTIME_IDS, LIVE_RUNTIME_IDS, isRu
|
|
|
1163
1163
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
1164
1164
|
TASK_CONFIG_FILENAMES = ["task.yaml", "task.yml", "task.json"], RUNTIME_REGISTRY = Object.freeze({ node: Object.freeze({ entryFile: "index.ts", depManifest: "package.json", lockfile: "package-lock.json", wireRuntime: "node22", status: "live" }), python: Object.freeze({ entryFile: "main.py", depManifest: "requirements.txt", lockfile: "requirements.txt", wireRuntime: "python3.11", status: "live" }), go: Object.freeze({ entryFile: "main.go", depManifest: "go.mod", lockfile: "go.sum", wireRuntime: "go", status: "live" }), rust: Object.freeze({ entryFile: "src/main.rs", depManifest: "Cargo.toml", lockfile: "Cargo.lock", wireRuntime: "rust", status: "live" }) }), RUNTIME_IDS = Object.keys(RUNTIME_REGISTRY), LIVE_RUNTIME_IDS = RUNTIME_IDS.filter((id) => RUNTIME_REGISTRY[id].status === "live"), isRuntimeId = (v) => typeof v == "string" && Object.prototype.hasOwnProperty.call(RUNTIME_REGISTRY, v), TASK_CONFIG_AJV_OPTIONS = Object.freeze({ allErrors: true, strict: true, useDefaults: false }), TASK_CONFIG_SCHEMA = Object.freeze({ $schema: "https://json-schema.org/draft/2020-12/schema", $id: "https://ignitify.dev/schemas/task-config/v1.json", title: "Ignitify task configuration", type: "object", required: ["schema_version", "slug", "runtime"], additionalProperties: false, properties: { schema_version: { const: 1 }, slug: { type: "string", minLength: 1 }, runtime: { enum: [...RUNTIME_IDS] }, entry: { type: "string", minLength: 1 }, execution: { type: "object" }, secrets: { type: "array", items: { type: "string", minLength: 1 }, uniqueItems: true }, run: { type: "object", additionalProperties: false, properties: { payload: { type: "object" }, preset: { type: "string", minLength: 1 }, timeout_sec: { type: "integer", exclusiveMinimum: 0 } } }, build: { type: "object", additionalProperties: false, properties: { allowed_hosts: { type: "array", items: { type: "string", minLength: 1 }, uniqueItems: true }, ship: { type: "array", items: { type: "string", minLength: 1 }, uniqueItems: true }, system_packages: { type: "array", items: { type: "string", minLength: 1 } } } } } }), BUILD_REFUSAL_STAGES = ["read", "fetch", "build", "smoke"], BUILD_STAGES = ["done", ...BUILD_REFUSAL_STAGES, "builder", "image", "cap"];
|
|
1165
1165
|
} });
|
|
1166
|
+
function parseJsonText(text) {
|
|
1167
|
+
try {
|
|
1168
|
+
return { ok: true, value: JSON.parse(text) };
|
|
1169
|
+
} catch {
|
|
1170
|
+
return { ok: false };
|
|
1171
|
+
}
|
|
1172
|
+
}
|
|
1166
1173
|
var isRecord, init_wire_json = __esm({ "../../packages/contract/wire-json.ts"() {
|
|
1167
1174
|
"use strict";
|
|
1168
1175
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
@@ -1244,33 +1251,30 @@ function privateKeyFileWarning(relPath) {
|
|
|
1244
1251
|
let base = relPath.slice(relPath.lastIndexOf("/") + 1).toLowerCase();
|
|
1245
1252
|
return base.endsWith(".pem") || base.endsWith(".key") || base.startsWith("id_rsa") && !base.endsWith(".pub") ? `${relPath} looks like a private key and is uploaded with the task, then stored in the image. If it is a secret, remove it (secrets go through \`secret:set\`); to keep a harmless file out, list it in \`.ignitifyignore\`` : null;
|
|
1246
1253
|
}
|
|
1247
|
-
function
|
|
1254
|
+
function checkSourceManifest(entries, config) {
|
|
1248
1255
|
let expected = rootConfigName(entries.map((e) => e.path));
|
|
1249
|
-
if ((config?.name ?? null) !== expected)
|
|
1256
|
+
if ((config?.name ?? null) !== expected) return refused(`the task config in the key must be ${expected ?? "none"}, not ${config?.name ?? "none"}`);
|
|
1250
1257
|
let configLine = [];
|
|
1251
1258
|
if (config !== null) try {
|
|
1252
1259
|
configLine = [`config ${config.name} ${configKeyText(config.value)}`];
|
|
1253
1260
|
} catch (e) {
|
|
1254
|
-
|
|
1261
|
+
return refused(`${config.name}: ${errText(e)}`);
|
|
1255
1262
|
}
|
|
1256
1263
|
let seen = /* @__PURE__ */ new Set();
|
|
1257
1264
|
for (let e of entries) {
|
|
1258
|
-
|
|
1259
|
-
if (
|
|
1260
|
-
if (e.path.startsWith("/")) throw new Error(`source manifest: absolute path: ${e.path}`);
|
|
1261
|
-
if (!isCanonicalRelativePath(e.path)) throw new Error(`source manifest: non-canonical path: ${e.path}`);
|
|
1262
|
-
if (e.path.includes(`
|
|
1263
|
-
`) || e.path.includes(" ")) throw new Error(`source manifest: path contains a tab or newline: ${JSON.stringify(e.path)}`);
|
|
1264
|
-
if (!Number.isSafeInteger(e.size) || e.size < 0) throw new Error(`source manifest: bad size for ${e.path}: ${String(e.size)}`);
|
|
1265
|
-
if (!isSha256Hex(e.sha256)) throw new Error(`source manifest: sha256 for ${e.path} must be 64 lowercase hex chars`);
|
|
1266
|
-
if (seen.has(e.path)) throw new Error(`source manifest: duplicate path: ${e.path}`);
|
|
1265
|
+
let bad = entryRefusal(e, seen);
|
|
1266
|
+
if (bad !== null) return refused(bad);
|
|
1267
1267
|
seen.add(e.path);
|
|
1268
1268
|
}
|
|
1269
1269
|
let lines = entries.filter((e) => e.path !== config?.name).sort((a, b) => a.path < b.path ? -1 : a.path > b.path ? 1 : 0).map((e) => `${e.exec ? "755" : "644"} ${e.size} ${e.sha256} ${e.path}`);
|
|
1270
|
-
return [`ignitify-source/${SOURCE_MANIFEST_VERSION}`, ...configLine, ...lines, ""].join(`
|
|
1271
|
-
`);
|
|
1270
|
+
return { ok: true, text: [`ignitify-source/${SOURCE_MANIFEST_VERSION}`, ...configLine, ...lines, ""].join(`
|
|
1271
|
+
`) };
|
|
1272
|
+
}
|
|
1273
|
+
function entryRefusal(e, seen) {
|
|
1274
|
+
return typeof e.path != "string" || e.path === "" ? "empty path" : e.path.includes("\\") ? `path contains a backslash: ${JSON.stringify(e.path)}. Separators must be normalised to "/" before hashing, or the same tree hashes differently per platform.` : e.path.startsWith("/") ? `absolute path: ${e.path}` : isCanonicalRelativePath(e.path) ? e.path.includes(`
|
|
1275
|
+
`) || e.path.includes(" ") ? `path contains a tab or newline: ${JSON.stringify(e.path)}` : !Number.isSafeInteger(e.size) || e.size < 0 ? `bad size for ${e.path}: ${String(e.size)}` : isSha256Hex(e.sha256) ? seen.has(e.path) ? `duplicate path: ${e.path}` : null : `sha256 for ${e.path} must be 64 lowercase hex chars` : `non-canonical path: ${e.path}`;
|
|
1272
1276
|
}
|
|
1273
|
-
var SOURCE_MANIFEST_VERSION, RUN_ONLY_CONFIG_KEYS, CONFIG_KEY_TEXT_MAX_BYTES, UPLOAD_MAX_BYTES, CONFIG_KEY_MAX_DEPTH, SOURCE_EXCLUDED_DIRS, SOURCE_EXCLUDED_ROOT_DIRS, SOURCE_EXCLUDED_FILE_PREFIXES, CREDENTIAL_KEYS, CREDENTIAL_CHECKED_FILES, isCanonicalRelativePath, init_source_manifest = __esm({ "../../packages/contract/source-manifest.ts"() {
|
|
1277
|
+
var SOURCE_MANIFEST_VERSION, RUN_ONLY_CONFIG_KEYS, CONFIG_KEY_TEXT_MAX_BYTES, UPLOAD_MAX_BYTES, CONFIG_KEY_MAX_DEPTH, SOURCE_EXCLUDED_DIRS, SOURCE_EXCLUDED_ROOT_DIRS, SOURCE_EXCLUDED_FILE_PREFIXES, CREDENTIAL_KEYS, CREDENTIAL_CHECKED_FILES, isCanonicalRelativePath, refused, init_source_manifest = __esm({ "../../packages/contract/source-manifest.ts"() {
|
|
1274
1278
|
"use strict";
|
|
1275
1279
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
1276
1280
|
init_task_config();
|
|
@@ -1279,6 +1283,7 @@ var SOURCE_MANIFEST_VERSION, RUN_ONLY_CONFIG_KEYS, CONFIG_KEY_TEXT_MAX_BYTES, UP
|
|
|
1279
1283
|
SOURCE_MANIFEST_VERSION = "v2", RUN_ONLY_CONFIG_KEYS = Object.freeze(["execution", "secrets", "run"]), CONFIG_KEY_TEXT_MAX_BYTES = 64 * 1024, UPLOAD_MAX_BYTES = 64 * 1024 * 1024, CONFIG_KEY_MAX_DEPTH = 64;
|
|
1280
1284
|
SOURCE_EXCLUDED_DIRS = Object.freeze([".git", ".ignitify", "node_modules", "__pycache__", ".venv", "venv", ".mypy_cache", ".pytest_cache"]), SOURCE_EXCLUDED_ROOT_DIRS = Object.freeze(["target", "dist"]), SOURCE_EXCLUDED_FILE_PREFIXES = Object.freeze([".env"]), CREDENTIAL_KEYS = Object.freeze({ ".npmrc": /^[ \t]*(?![#;])[^=\n]*_(?:authToken|auth|password)[ \t]*=[ \t]*(?!\$\{\w+\}[ \t]*$)\S/m, ".yarnrc.yml": /^[ \t]*npmAuth(?:Token|Ident)[ \t]*:[ \t]*(?!["']?\$\{\w+\}["']?[ \t]*$)\S/m }), CREDENTIAL_CHECKED_FILES = Object.freeze(Object.keys(CREDENTIAL_KEYS));
|
|
1281
1285
|
isCanonicalRelativePath = (p) => !p.startsWith("/") && !p.includes("\\") && p.split("/").every((seg) => seg !== "" && seg !== "." && seg !== "..");
|
|
1286
|
+
refused = (reason) => ({ ok: false, reason });
|
|
1282
1287
|
} });
|
|
1283
1288
|
function normaliseSystemPackages(declared) {
|
|
1284
1289
|
return [...new Set(declared)].sort();
|
|
@@ -2057,9 +2062,9 @@ function explainRunRefusal(e) {
|
|
|
2057
2062
|
`);
|
|
2058
2063
|
}
|
|
2059
2064
|
function explainLimitRefusal(e) {
|
|
2060
|
-
let
|
|
2061
|
-
if (!
|
|
2062
|
-
let { summary, reason } =
|
|
2065
|
+
let refused2 = httpErrorJson(e);
|
|
2066
|
+
if (!refused2 || refused2.status !== 429) return null;
|
|
2067
|
+
let { summary, reason } = refused2.body;
|
|
2063
2068
|
return typeof summary != "string" || summary === "" ? null : [`\u2717 Run refused \u2014 a monthly limit is reached (${typeof reason == "string" ? reason : "429"}).`, ` ${summary}`].join(`
|
|
2064
2069
|
`);
|
|
2065
2070
|
}
|
|
@@ -2127,7 +2132,7 @@ var init_package_advice3 = __esm({ "src/core/package-advice.ts"() {
|
|
|
2127
2132
|
init_constants();
|
|
2128
2133
|
} });
|
|
2129
2134
|
var version, init_package = __esm({ "package.json"() {
|
|
2130
|
-
version = "1.2.
|
|
2135
|
+
version = "1.2.2";
|
|
2131
2136
|
} });
|
|
2132
2137
|
var byCreatedAtDesc, init_sort = __esm({ "src/utils/sort.ts"() {
|
|
2133
2138
|
"use strict";
|
|
@@ -2159,8 +2164,8 @@ function traceLine(e) {
|
|
|
2159
2164
|
return e instanceof HttpError && e.traceId ? MESSAGES.SERVER_TRACE_ID(e.traceId) : null;
|
|
2160
2165
|
}
|
|
2161
2166
|
function keyExpiredHint(e) {
|
|
2162
|
-
let
|
|
2163
|
-
return
|
|
2167
|
+
let refused2 = httpErrorJson(e);
|
|
2168
|
+
return refused2?.status === 401 && refused2.body.error === KEY_EXPIRED_ERROR ? MESSAGES.KEY_EXPIRED_HINT : null;
|
|
2164
2169
|
}
|
|
2165
2170
|
function printError(e) {
|
|
2166
2171
|
fail(errText(e), { hint: keyExpiredHint(e), trace: traceLine(e) });
|
|
@@ -2516,9 +2521,9 @@ async function pollDeviceLogin(cfg, deviceCode, fetchImpl) {
|
|
|
2516
2521
|
return { kind: "key", key };
|
|
2517
2522
|
}
|
|
2518
2523
|
function slowDownOf(e) {
|
|
2519
|
-
let
|
|
2520
|
-
if (
|
|
2521
|
-
let interval =
|
|
2524
|
+
let refused2 = httpErrorJson(e);
|
|
2525
|
+
if (refused2?.status !== 429 || refused2.body.status !== "slow_down") return null;
|
|
2526
|
+
let interval = refused2.body.interval;
|
|
2522
2527
|
return typeof interval == "number" ? interval : null;
|
|
2523
2528
|
}
|
|
2524
2529
|
function revokeOwnKey(cfg, fetchImpl) {
|
|
@@ -2988,7 +2993,7 @@ var init_resolve_deployment = __esm({ "src/core/resolve-deployment.ts"() {
|
|
|
2988
2993
|
function parseRunOptions(args, config) {
|
|
2989
2994
|
let bare = bareValueFlag(args, VALUE_FLAGS);
|
|
2990
2995
|
if (bare !== void 0) return { ok: false, error: needsValueMessage(bare) };
|
|
2991
|
-
let payloadArg = strOpt(args, "payload"), payload = payloadArg === void 0 ? { ok: true, value: config.run?.payload ?? {} } :
|
|
2996
|
+
let payloadArg = strOpt(args, "payload"), payload = payloadArg === void 0 ? { ok: true, value: config.run?.payload ?? {} } : parseJsonText(payloadArg);
|
|
2992
2997
|
if (!payload.ok) return { ok: false, error: `--payload is not valid JSON: ${payloadArg}` };
|
|
2993
2998
|
let timeoutArg = strOpt(args, "timeout-sec"), timeoutOverride = timeoutArg === void 0 ? void 0 : Number(timeoutArg);
|
|
2994
2999
|
if (timeoutOverride !== void 0 && !(Number.isFinite(timeoutOverride) && timeoutOverride > 0)) return { ok: false, error: `--timeout-sec must be a positive number, got: ${timeoutArg}` };
|
|
@@ -2999,21 +3004,22 @@ function parseRunOptions(args, config) {
|
|
|
2999
3004
|
let wait = boolFlag(args, "wait");
|
|
3000
3005
|
return at !== void 0 && wait ? { ok: false, error: MESSAGES.RUN_AT_WITH_WAIT } : { ok: true, deploymentFlag: strOpt(args, "deployment"), wait, run: { payload: payload.value, preset: config.run?.preset, timeoutSec: timeoutOverride ?? config.run?.timeout_sec, execution: onBusy === void 0 ? config.execution : { ...config.execution ?? {}, on_busy: onBusy }, at } };
|
|
3001
3006
|
}
|
|
3002
|
-
function parseJson2(text) {
|
|
3003
|
-
try {
|
|
3004
|
-
return { ok: true, value: JSON.parse(text) };
|
|
3005
|
-
} catch {
|
|
3006
|
-
return { ok: false };
|
|
3007
|
-
}
|
|
3008
|
-
}
|
|
3009
3007
|
var VALUE_FLAGS, init_run_options = __esm({ "src/core/run-options.ts"() {
|
|
3010
3008
|
"use strict";
|
|
3011
3009
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
3010
|
+
init_tenant();
|
|
3012
3011
|
init_http_client();
|
|
3013
3012
|
init_constants();
|
|
3014
3013
|
init_utils();
|
|
3015
3014
|
VALUE_FLAGS = Object.entries(COMMAND_META[COMMANDS.TASK_RUN].flags).filter(([, kind]) => kind === "value").map(([flag]) => flag);
|
|
3016
3015
|
} });
|
|
3016
|
+
function classifyRunAnswer(res, at, wait) {
|
|
3017
|
+
return at !== void 0 ? res.schedule_id ? { kind: "scheduled", scheduleId: res.schedule_id, firesAt: res.fires_at ?? at } : res.run_id ? { kind: "skew-ran-now", runId: res.run_id } : { kind: "skew-no-schedule" } : wait && res.run_id ? { kind: "wait", runId: res.run_id } : { kind: "submitted" };
|
|
3018
|
+
}
|
|
3019
|
+
var init_run_answer = __esm({ "src/core/run-answer.ts"() {
|
|
3020
|
+
"use strict";
|
|
3021
|
+
init_define_IGNITIFY_CLIENT_FILES();
|
|
3022
|
+
} });
|
|
3017
3023
|
function writeFileAtomic(file, text) {
|
|
3018
3024
|
let exists = import_node_fs3.default.existsSync(file), target = exists ? import_node_fs3.default.realpathSync(file) : file, mode = exists ? import_node_fs3.default.statSync(target).mode & 511 : NEW_FILE_MODE, name = `.${import_node_path2.default.basename(target)}.${process.pid}.${(0, import_node_crypto2.randomBytes)(6).toString("hex")}.tmp`, tmp = import_node_path2.default.join(import_node_path2.default.dirname(target), name);
|
|
3019
3025
|
try {
|
|
@@ -3073,7 +3079,7 @@ function buildTaskReport(inputs) {
|
|
|
3073
3079
|
}
|
|
3074
3080
|
function formatTaskReport(r) {
|
|
3075
3081
|
let lines = [];
|
|
3076
|
-
if (lines.push(`Task report: ${r.slug}`), lines.push(""), lines.push(`Deployed: ${r.deployed.yes
|
|
3082
|
+
if (lines.push(`Task report: ${r.slug}`), lines.push(""), lines.push(`Deployed: ${yesNoUnknown(r.deployed.yes)} \u2014 ${r.deployed.detail}`), lines.push(""), lines.push("Resources:"), lines.push(` task images on disk: ${r.resources.taskImageBytes === "unknown" ? "unknown (server unreachable)" : formatBytes(r.resources.taskImageBytes)}`), r.resources.tenant) {
|
|
3077
3083
|
let u = r.resources.tenant;
|
|
3078
3084
|
lines.push(` tenant-wide (whoami): tasks ${u.task_count ?? "?"}, active runs ${u.active_runs ?? "?"}, deployments ${u.deployment_count ?? "?"}, images ${formatBytes(u.total_image_bytes ?? 0)}, egress this month ${formatBytes(u.net_egress_bytes ?? 0)}`), lines.push(" more: ignitify quota");
|
|
3079
3085
|
}
|
|
@@ -3096,14 +3102,14 @@ function formatTaskReport(r) {
|
|
|
3096
3102
|
}
|
|
3097
3103
|
lines.push("");
|
|
3098
3104
|
}
|
|
3099
|
-
lines.push(`New deployment needed: ${
|
|
3105
|
+
lines.push(`New deployment needed: ${yesNoUnknown(r.newDeployment.needed)}`);
|
|
3100
3106
|
for (let reason of r.newDeployment.reasons) lines.push(` - ${reason}`);
|
|
3101
|
-
lines.push(""), lines.push(`New VM on next run: ${
|
|
3107
|
+
lines.push(""), lines.push(`New VM on next run: ${yesNoUnknown(r.newVm.needed)}`);
|
|
3102
3108
|
for (let reason of r.newVm.reasons) lines.push(` - ${reason}`);
|
|
3103
3109
|
return lines.join(`
|
|
3104
3110
|
`);
|
|
3105
3111
|
}
|
|
3106
|
-
var FINGERPRINT_AXES, resolveOrNull, DEFAULT_NATURE, runNature, fingerprintDiffs, presetIndeterminate, decideNewDeployment, decideNewVm, decideInbound,
|
|
3112
|
+
var FINGERPRINT_AXES, resolveOrNull, DEFAULT_NATURE, runNature, fingerprintDiffs, presetIndeterminate, decideNewDeployment, decideNewVm, decideInbound, yesNoUnknown, init_report = __esm({ "src/core/report.ts"() {
|
|
3107
3113
|
"use strict";
|
|
3108
3114
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
3109
3115
|
init_execution();
|
|
@@ -3147,7 +3153,7 @@ var FINGERPRINT_AXES, resolveOrNull, DEFAULT_NATURE, runNature, fingerprintDiffs
|
|
|
3147
3153
|
let serving = (runs ?? []).some((r) => ACTIVE_RUN_STATUSES.has(r.status ?? "")), routes = taskDeployments === null ? "unknown" : taskDeployments.flatMap((d) => d.id ? [{ deploymentId: d.id, routeId: deriveRouteId(d.id) }] : []);
|
|
3148
3154
|
return { port: nature.inbound_port, serving, routes };
|
|
3149
3155
|
};
|
|
3150
|
-
|
|
3156
|
+
yesNoUnknown = (answer) => answer === "unknown" ? "UNKNOWN" : answer ? "YES" : "NO";
|
|
3151
3157
|
} });
|
|
3152
3158
|
function getDefaultExportFromCjs(x) {
|
|
3153
3159
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x.default : x;
|
|
@@ -4406,13 +4412,13 @@ function requireJsYaml() {
|
|
|
4406
4412
|
}
|
|
4407
4413
|
return jsYaml.Type = requireType(), jsYaml.Schema = requireSchema(), jsYaml.FAILSAFE_SCHEMA = requireFailsafe(), jsYaml.JSON_SCHEMA = requireJson(), jsYaml.CORE_SCHEMA = requireCore(), jsYaml.DEFAULT_SCHEMA = require_default(), jsYaml.load = loader2.load, jsYaml.loadAll = loader2.loadAll, jsYaml.dump = dumper2.dump, jsYaml.YAMLException = requireException(), jsYaml.types = { binary: requireBinary(), float: requireFloat(), map: requireMap(), null: require_null(), pairs: requirePairs(), set: requireSet(), timestamp: requireTimestamp(), bool: requireBool(), int: requireInt(), merge: requireMerge(), omap: requireOmap(), seq: requireSeq(), str: requireStr() }, jsYaml.safeLoad = renamed("safeLoad", "load"), jsYaml.safeLoadAll = renamed("safeLoadAll", "loadAll"), jsYaml.safeDump = renamed("safeDump", "dump"), jsYaml;
|
|
4408
4414
|
}
|
|
4409
|
-
var jsYaml, loader, common, hasRequiredCommon, exception, hasRequiredException, snippet, hasRequiredSnippet, type, hasRequiredType, schema, hasRequiredSchema, str2, hasRequiredStr, seq, hasRequiredSeq, map, hasRequiredMap, failsafe, hasRequiredFailsafe, _null, hasRequired_null, bool, hasRequiredBool, int, hasRequiredInt, float, hasRequiredFloat, json, hasRequiredJson, core, hasRequiredCore, timestamp, hasRequiredTimestamp, merge, hasRequiredMerge, binary, hasRequiredBinary, omap, hasRequiredOmap, pairs2, hasRequiredPairs, set, hasRequiredSet, _default, hasRequired_default, hasRequiredLoader, dumper, hasRequiredDumper, hasRequiredJsYaml, jsYamlExports, yaml, Type, Schema, FAILSAFE_SCHEMA, JSON_SCHEMA, CORE_SCHEMA, DEFAULT_SCHEMA, load, loadAll, dump, YAMLException, types, safeLoad, safeLoadAll, safeDump, init_js_yaml = __esm({ "
|
|
4415
|
+
var jsYaml, loader, common, hasRequiredCommon, exception, hasRequiredException, snippet, hasRequiredSnippet, type, hasRequiredType, schema, hasRequiredSchema, str2, hasRequiredStr, seq, hasRequiredSeq, map, hasRequiredMap, failsafe, hasRequiredFailsafe, _null, hasRequired_null, bool, hasRequiredBool, int, hasRequiredInt, float, hasRequiredFloat, json, hasRequiredJson, core, hasRequiredCore, timestamp, hasRequiredTimestamp, merge, hasRequiredMerge, binary, hasRequiredBinary, omap, hasRequiredOmap, pairs2, hasRequiredPairs, set, hasRequiredSet, _default, hasRequired_default, hasRequiredLoader, dumper, hasRequiredDumper, hasRequiredJsYaml, jsYamlExports, yaml, Type, Schema, FAILSAFE_SCHEMA, JSON_SCHEMA, CORE_SCHEMA, DEFAULT_SCHEMA, load, loadAll, dump, YAMLException, types, safeLoad, safeLoadAll, safeDump, init_js_yaml = __esm({ "../../node_modules/js-yaml/dist/js-yaml.mjs"() {
|
|
4410
4416
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
4411
4417
|
jsYaml = {}, loader = {}, common = {};
|
|
4412
4418
|
dumper = {};
|
|
4413
4419
|
jsYamlExports = requireJsYaml(), yaml = getDefaultExportFromCjs(jsYamlExports), { Type, Schema, FAILSAFE_SCHEMA, JSON_SCHEMA, CORE_SCHEMA, DEFAULT_SCHEMA, load, loadAll, dump, YAMLException, types, safeLoad, safeLoadAll, safeDump } = yaml;
|
|
4414
4420
|
} });
|
|
4415
|
-
var require_code = __commonJS({ "
|
|
4421
|
+
var require_code = __commonJS({ "../../node_modules/ajv/dist/compile/codegen/code.js"(exports2) {
|
|
4416
4422
|
"use strict";
|
|
4417
4423
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
4418
4424
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -4526,7 +4532,7 @@ var require_code = __commonJS({ "../../../../../../../../../Users/saeed/Projects
|
|
|
4526
4532
|
}
|
|
4527
4533
|
exports2.regexpCode = regexpCode;
|
|
4528
4534
|
} });
|
|
4529
|
-
var require_scope = __commonJS({ "
|
|
4535
|
+
var require_scope = __commonJS({ "../../node_modules/ajv/dist/compile/codegen/scope.js"(exports2) {
|
|
4530
4536
|
"use strict";
|
|
4531
4537
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
4532
4538
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -4631,7 +4637,7 @@ var require_scope = __commonJS({ "../../../../../../../../../Users/saeed/Project
|
|
|
4631
4637
|
};
|
|
4632
4638
|
exports2.ValueScope = ValueScope;
|
|
4633
4639
|
} });
|
|
4634
|
-
var require_codegen = __commonJS({ "
|
|
4640
|
+
var require_codegen = __commonJS({ "../../node_modules/ajv/dist/compile/codegen/index.js"(exports2) {
|
|
4635
4641
|
"use strict";
|
|
4636
4642
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
4637
4643
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -5120,7 +5126,7 @@ var require_codegen = __commonJS({ "../../../../../../../../../Users/saeed/Proje
|
|
|
5120
5126
|
return x instanceof code_1.Name ? x : (0, code_1._)`(${x})`;
|
|
5121
5127
|
}
|
|
5122
5128
|
} });
|
|
5123
|
-
var require_util = __commonJS({ "
|
|
5129
|
+
var require_util = __commonJS({ "../../node_modules/ajv/dist/compile/util.js"(exports2) {
|
|
5124
5130
|
"use strict";
|
|
5125
5131
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
5126
5132
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -5230,14 +5236,14 @@ var require_util = __commonJS({ "../../../../../../../../../Users/saeed/Projects
|
|
|
5230
5236
|
}
|
|
5231
5237
|
exports2.checkStrictMode = checkStrictMode;
|
|
5232
5238
|
} });
|
|
5233
|
-
var require_names = __commonJS({ "
|
|
5239
|
+
var require_names = __commonJS({ "../../node_modules/ajv/dist/compile/names.js"(exports2) {
|
|
5234
5240
|
"use strict";
|
|
5235
5241
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
5236
5242
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5237
5243
|
var codegen_1 = require_codegen(), names = { data: new codegen_1.Name("data"), valCxt: new codegen_1.Name("valCxt"), instancePath: new codegen_1.Name("instancePath"), parentData: new codegen_1.Name("parentData"), parentDataProperty: new codegen_1.Name("parentDataProperty"), rootData: new codegen_1.Name("rootData"), dynamicAnchors: new codegen_1.Name("dynamicAnchors"), vErrors: new codegen_1.Name("vErrors"), errors: new codegen_1.Name("errors"), this: new codegen_1.Name("this"), self: new codegen_1.Name("self"), scope: new codegen_1.Name("scope"), json: new codegen_1.Name("json"), jsonPos: new codegen_1.Name("jsonPos"), jsonLen: new codegen_1.Name("jsonLen"), jsonPart: new codegen_1.Name("jsonPart") };
|
|
5238
5244
|
exports2.default = names;
|
|
5239
5245
|
} });
|
|
5240
|
-
var require_errors = __commonJS({ "
|
|
5246
|
+
var require_errors = __commonJS({ "../../node_modules/ajv/dist/compile/errors.js"(exports2) {
|
|
5241
5247
|
"use strict";
|
|
5242
5248
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
5243
5249
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -5297,7 +5303,7 @@ var require_errors = __commonJS({ "../../../../../../../../../Users/saeed/Projec
|
|
|
5297
5303
|
keyValues.push([E.keyword, keyword], [E.params, typeof params == "function" ? params(cxt) : params || (0, codegen_1._)`{}`]), opts.messages && keyValues.push([E.message, typeof message == "function" ? message(cxt) : message]), opts.verbose && keyValues.push([E.schema, schemaValue], [E.parentSchema, (0, codegen_1._)`${topSchemaRef}${schemaPath}`], [names_1.default.data, data]), propertyName && keyValues.push([E.propertyName, propertyName]);
|
|
5298
5304
|
}
|
|
5299
5305
|
} });
|
|
5300
|
-
var require_boolSchema = __commonJS({ "
|
|
5306
|
+
var require_boolSchema = __commonJS({ "../../node_modules/ajv/dist/compile/validate/boolSchema.js"(exports2) {
|
|
5301
5307
|
"use strict";
|
|
5302
5308
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
5303
5309
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -5318,7 +5324,7 @@ var require_boolSchema = __commonJS({ "../../../../../../../../../Users/saeed/Pr
|
|
|
5318
5324
|
(0, errors_1.reportError)(cxt, boolError, void 0, overrideAllErrors);
|
|
5319
5325
|
}
|
|
5320
5326
|
} });
|
|
5321
|
-
var require_rules = __commonJS({ "
|
|
5327
|
+
var require_rules = __commonJS({ "../../node_modules/ajv/dist/compile/rules.js"(exports2) {
|
|
5322
5328
|
"use strict";
|
|
5323
5329
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
5324
5330
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -5334,7 +5340,7 @@ var require_rules = __commonJS({ "../../../../../../../../../Users/saeed/Project
|
|
|
5334
5340
|
}
|
|
5335
5341
|
exports2.getRules = getRules;
|
|
5336
5342
|
} });
|
|
5337
|
-
var require_applicability = __commonJS({ "
|
|
5343
|
+
var require_applicability = __commonJS({ "../../node_modules/ajv/dist/compile/validate/applicability.js"(exports2) {
|
|
5338
5344
|
"use strict";
|
|
5339
5345
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
5340
5346
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -5354,7 +5360,7 @@ var require_applicability = __commonJS({ "../../../../../../../../../Users/saeed
|
|
|
5354
5360
|
}
|
|
5355
5361
|
exports2.shouldUseRule = shouldUseRule;
|
|
5356
5362
|
} });
|
|
5357
|
-
var require_dataType = __commonJS({ "
|
|
5363
|
+
var require_dataType = __commonJS({ "../../node_modules/ajv/dist/compile/validate/dataType.js"(exports2) {
|
|
5358
5364
|
"use strict";
|
|
5359
5365
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
5360
5366
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -5479,7 +5485,7 @@ var require_dataType = __commonJS({ "../../../../../../../../../Users/saeed/Proj
|
|
|
5479
5485
|
return { gen, keyword: "type", data, schema: schema2.type, schemaCode, schemaValue: schemaCode, parentSchema: schema2, params: {}, it };
|
|
5480
5486
|
}
|
|
5481
5487
|
} });
|
|
5482
|
-
var require_defaults = __commonJS({ "
|
|
5488
|
+
var require_defaults = __commonJS({ "../../node_modules/ajv/dist/compile/validate/defaults.js"(exports2) {
|
|
5483
5489
|
"use strict";
|
|
5484
5490
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
5485
5491
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -5503,7 +5509,7 @@ var require_defaults = __commonJS({ "../../../../../../../../../Users/saeed/Proj
|
|
|
5503
5509
|
opts.useDefaults === "empty" && (condition = (0, codegen_1._)`${condition} || ${childData} === null || ${childData} === ""`), gen.if(condition, (0, codegen_1._)`${childData} = ${(0, codegen_1.stringify)(defaultValue)}`);
|
|
5504
5510
|
}
|
|
5505
5511
|
} });
|
|
5506
|
-
var require_code2 = __commonJS({ "
|
|
5512
|
+
var require_code2 = __commonJS({ "../../node_modules/ajv/dist/vocabularies/code.js"(exports2) {
|
|
5507
5513
|
"use strict";
|
|
5508
5514
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
5509
5515
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -5590,7 +5596,7 @@ var require_code2 = __commonJS({ "../../../../../../../../../Users/saeed/Project
|
|
|
5590
5596
|
}
|
|
5591
5597
|
exports2.validateUnion = validateUnion;
|
|
5592
5598
|
} });
|
|
5593
|
-
var require_keyword = __commonJS({ "
|
|
5599
|
+
var require_keyword = __commonJS({ "../../node_modules/ajv/dist/compile/validate/keyword.js"(exports2) {
|
|
5594
5600
|
"use strict";
|
|
5595
5601
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
5596
5602
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -5667,7 +5673,7 @@ var require_keyword = __commonJS({ "../../../../../../../../../Users/saeed/Proje
|
|
|
5667
5673
|
}
|
|
5668
5674
|
exports2.validateKeywordUsage = validateKeywordUsage;
|
|
5669
5675
|
} });
|
|
5670
|
-
var require_subschema = __commonJS({ "
|
|
5676
|
+
var require_subschema = __commonJS({ "../../node_modules/ajv/dist/compile/validate/subschema.js"(exports2) {
|
|
5671
5677
|
"use strict";
|
|
5672
5678
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
5673
5679
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -5708,7 +5714,7 @@ var require_subschema = __commonJS({ "../../../../../../../../../Users/saeed/Pro
|
|
|
5708
5714
|
}
|
|
5709
5715
|
exports2.extendSubschemaMode = extendSubschemaMode;
|
|
5710
5716
|
} });
|
|
5711
|
-
var require_fast_deep_equal = __commonJS({ "
|
|
5717
|
+
var require_fast_deep_equal = __commonJS({ "../../node_modules/fast-deep-equal/index.js"(exports2, module2) {
|
|
5712
5718
|
"use strict";
|
|
5713
5719
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
5714
5720
|
module2.exports = function equal(a, b) {
|
|
@@ -5735,7 +5741,7 @@ var require_fast_deep_equal = __commonJS({ "../../../../../../../../../Users/sae
|
|
|
5735
5741
|
return a !== a && b !== b;
|
|
5736
5742
|
};
|
|
5737
5743
|
} });
|
|
5738
|
-
var require_json_schema_traverse = __commonJS({ "
|
|
5744
|
+
var require_json_schema_traverse = __commonJS({ "../../node_modules/json-schema-traverse/index.js"(exports2, module2) {
|
|
5739
5745
|
"use strict";
|
|
5740
5746
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
5741
5747
|
var traverse = module2.exports = function(schema2, opts, cb) {
|
|
@@ -5767,7 +5773,7 @@ var require_json_schema_traverse = __commonJS({ "../../../../../../../../../User
|
|
|
5767
5773
|
return str3.replace(/~/g, "~0").replace(/\//g, "~1");
|
|
5768
5774
|
}
|
|
5769
5775
|
} });
|
|
5770
|
-
var require_resolve = __commonJS({ "
|
|
5776
|
+
var require_resolve = __commonJS({ "../../node_modules/ajv/dist/compile/resolve.js"(exports2) {
|
|
5771
5777
|
"use strict";
|
|
5772
5778
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
5773
5779
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -5844,7 +5850,7 @@ var require_resolve = __commonJS({ "../../../../../../../../../Users/saeed/Proje
|
|
|
5844
5850
|
}
|
|
5845
5851
|
exports2.getSchemaRefs = getSchemaRefs;
|
|
5846
5852
|
} });
|
|
5847
|
-
var require_validate = __commonJS({ "
|
|
5853
|
+
var require_validate = __commonJS({ "../../node_modules/ajv/dist/compile/validate/index.js"(exports2) {
|
|
5848
5854
|
"use strict";
|
|
5849
5855
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
5850
5856
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -6134,7 +6140,7 @@ var require_validate = __commonJS({ "../../../../../../../../../Users/saeed/Proj
|
|
|
6134
6140
|
}
|
|
6135
6141
|
exports2.getData = getData;
|
|
6136
6142
|
} });
|
|
6137
|
-
var require_validation_error = __commonJS({ "
|
|
6143
|
+
var require_validation_error = __commonJS({ "../../node_modules/ajv/dist/runtime/validation_error.js"(exports2) {
|
|
6138
6144
|
"use strict";
|
|
6139
6145
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
6140
6146
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -6145,7 +6151,7 @@ var require_validation_error = __commonJS({ "../../../../../../../../../Users/sa
|
|
|
6145
6151
|
};
|
|
6146
6152
|
exports2.default = ValidationError;
|
|
6147
6153
|
} });
|
|
6148
|
-
var require_ref_error = __commonJS({ "
|
|
6154
|
+
var require_ref_error = __commonJS({ "../../node_modules/ajv/dist/compile/ref_error.js"(exports2) {
|
|
6149
6155
|
"use strict";
|
|
6150
6156
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
6151
6157
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -6156,7 +6162,7 @@ var require_ref_error = __commonJS({ "../../../../../../../../../Users/saeed/Pro
|
|
|
6156
6162
|
};
|
|
6157
6163
|
exports2.default = MissingRefError;
|
|
6158
6164
|
} });
|
|
6159
|
-
var require_compile = __commonJS({ "
|
|
6165
|
+
var require_compile = __commonJS({ "../../node_modules/ajv/dist/compile/index.js"(exports2) {
|
|
6160
6166
|
"use strict";
|
|
6161
6167
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
6162
6168
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -6261,10 +6267,10 @@ var require_compile = __commonJS({ "../../../../../../../../../Users/saeed/Proje
|
|
|
6261
6267
|
if (env = env || new SchemaEnv({ schema: schema2, schemaId, root, baseId }), env.schema !== env.root.schema) return env;
|
|
6262
6268
|
}
|
|
6263
6269
|
} });
|
|
6264
|
-
var require_data = __commonJS({ "
|
|
6270
|
+
var require_data = __commonJS({ "../../node_modules/ajv/dist/refs/data.json"(exports2, module2) {
|
|
6265
6271
|
module2.exports = { $id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", description: "Meta-schema for $data reference (JSON AnySchema extension proposal)", type: "object", required: ["$data"], properties: { $data: { type: "string", anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }] } }, additionalProperties: false };
|
|
6266
6272
|
} });
|
|
6267
|
-
var require_utils = __commonJS({ "
|
|
6273
|
+
var require_utils = __commonJS({ "../../node_modules/fast-uri/lib/utils.js"(exports2, module2) {
|
|
6268
6274
|
"use strict";
|
|
6269
6275
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
6270
6276
|
var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu), isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u), isPort = RegExp.prototype.test.bind(/^\d*$/u), isHexPair = RegExp.prototype.test.bind(/^[\da-f]{2}$/iu), isUnreserved = RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu), isPathCharacter = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/]$/u), isQueryFragmentCharacter = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/?]$/u), isUserinfoCharacter = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:]$/u), BYTE_HEX = new Array(256);
|
|
@@ -6577,7 +6583,7 @@ var require_utils = __commonJS({ "../../../../../../../../../Users/saeed/Project
|
|
|
6577
6583
|
}
|
|
6578
6584
|
module2.exports = { nonSimpleDomain, recomposeAuthority, reescapeHostDelimiters, normalizePercentEncoding, normalizePathEncoding, serializePathEncoding, normalizeQueryFragmentEncoding, encodeUserinfo, encodeQuery, encodeFragment, escapePreservingEscapes, removeDotSegments, removeDotSegmentsRelative, isIPv4, isUUID, normalizeIPv6, stringArrayToHexStripped };
|
|
6579
6585
|
} });
|
|
6580
|
-
var require_schemes = __commonJS({ "
|
|
6586
|
+
var require_schemes = __commonJS({ "../../node_modules/fast-uri/lib/schemes.js"(exports2, module2) {
|
|
6581
6587
|
"use strict";
|
|
6582
6588
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
6583
6589
|
var { isUUID } = require_utils(), URN_REG = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu, supportedSchemeNames = ["http", "https", "ws", "wss", "urn", "urn:uuid"];
|
|
@@ -6637,7 +6643,7 @@ var require_schemes = __commonJS({ "../../../../../../../../../Users/saeed/Proje
|
|
|
6637
6643
|
}
|
|
6638
6644
|
module2.exports = { wsIsSecure, SCHEMES, isValidSchemeName, getSchemeHandler };
|
|
6639
6645
|
} });
|
|
6640
|
-
var require_fast_uri = __commonJS({ "
|
|
6646
|
+
var require_fast_uri = __commonJS({ "../../node_modules/fast-uri/index.js"(exports2, module2) {
|
|
6641
6647
|
"use strict";
|
|
6642
6648
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
6643
6649
|
var { normalizeIPv6, removeDotSegments, removeDotSegmentsRelative, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, serializePathEncoding, normalizeQueryFragmentEncoding, encodeQuery, encodeFragment, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils(), { SCHEMES, getSchemeHandler } = require_schemes(), VALID_SCHEME = /^[A-Za-z][A-Za-z0-9+.-]*$/u, MALFORMED_SCHEME_ERROR = "URI scheme is malformed.", MALFORMED_HOST_ERROR = "URI host is malformed.", FORBIDDEN_DOMAIN_HOST_CHARACTER = /[\0-\x20"#/:<>?@[\\\]^`{|}\x7F]/u;
|
|
@@ -6793,7 +6799,7 @@ var require_fast_uri = __commonJS({ "../../../../../../../../../Users/saeed/Proj
|
|
|
6793
6799
|
module2.exports.default = fastUri;
|
|
6794
6800
|
module2.exports.fastUri = fastUri;
|
|
6795
6801
|
} });
|
|
6796
|
-
var require_uri = __commonJS({ "
|
|
6802
|
+
var require_uri = __commonJS({ "../../node_modules/ajv/dist/runtime/uri.js"(exports2) {
|
|
6797
6803
|
"use strict";
|
|
6798
6804
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
6799
6805
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -6801,7 +6807,7 @@ var require_uri = __commonJS({ "../../../../../../../../../Users/saeed/Projects/
|
|
|
6801
6807
|
uri.code = 'require("ajv/dist/runtime/uri").default';
|
|
6802
6808
|
exports2.default = uri;
|
|
6803
6809
|
} });
|
|
6804
|
-
var require_core = __commonJS({ "
|
|
6810
|
+
var require_core = __commonJS({ "../../node_modules/ajv/dist/core.js"(exports2) {
|
|
6805
6811
|
"use strict";
|
|
6806
6812
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
6807
6813
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7126,7 +7132,7 @@ var require_core = __commonJS({ "../../../../../../../../../Users/saeed/Projects
|
|
|
7126
7132
|
return { anyOf: [schema2, $dataRef] };
|
|
7127
7133
|
}
|
|
7128
7134
|
} });
|
|
7129
|
-
var require_id = __commonJS({ "
|
|
7135
|
+
var require_id = __commonJS({ "../../node_modules/ajv/dist/vocabularies/core/id.js"(exports2) {
|
|
7130
7136
|
"use strict";
|
|
7131
7137
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7132
7138
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7135,7 +7141,7 @@ var require_id = __commonJS({ "../../../../../../../../../Users/saeed/Projects/r
|
|
|
7135
7141
|
} };
|
|
7136
7142
|
exports2.default = def;
|
|
7137
7143
|
} });
|
|
7138
|
-
var require_ref = __commonJS({ "
|
|
7144
|
+
var require_ref = __commonJS({ "../../node_modules/ajv/dist/vocabularies/core/ref.js"(exports2) {
|
|
7139
7145
|
"use strict";
|
|
7140
7146
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7141
7147
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7204,14 +7210,14 @@ var require_ref = __commonJS({ "../../../../../../../../../Users/saeed/Projects/
|
|
|
7204
7210
|
exports2.callRef = callRef;
|
|
7205
7211
|
exports2.default = def;
|
|
7206
7212
|
} });
|
|
7207
|
-
var require_core2 = __commonJS({ "
|
|
7213
|
+
var require_core2 = __commonJS({ "../../node_modules/ajv/dist/vocabularies/core/index.js"(exports2) {
|
|
7208
7214
|
"use strict";
|
|
7209
7215
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7210
7216
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
7211
7217
|
var id_1 = require_id(), ref_1 = require_ref(), core2 = ["$schema", "$id", "$defs", "$vocabulary", { keyword: "$comment" }, "definitions", id_1.default, ref_1.default];
|
|
7212
7218
|
exports2.default = core2;
|
|
7213
7219
|
} });
|
|
7214
|
-
var require_limitNumber = __commonJS({ "
|
|
7220
|
+
var require_limitNumber = __commonJS({ "../../node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports2) {
|
|
7215
7221
|
"use strict";
|
|
7216
7222
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7217
7223
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7221,7 +7227,7 @@ var require_limitNumber = __commonJS({ "../../../../../../../../../Users/saeed/P
|
|
|
7221
7227
|
} };
|
|
7222
7228
|
exports2.default = def;
|
|
7223
7229
|
} });
|
|
7224
|
-
var require_multipleOf = __commonJS({ "
|
|
7230
|
+
var require_multipleOf = __commonJS({ "../../node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports2) {
|
|
7225
7231
|
"use strict";
|
|
7226
7232
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7227
7233
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7231,7 +7237,7 @@ var require_multipleOf = __commonJS({ "../../../../../../../../../Users/saeed/Pr
|
|
|
7231
7237
|
} };
|
|
7232
7238
|
exports2.default = def;
|
|
7233
7239
|
} });
|
|
7234
|
-
var require_ucs2length = __commonJS({ "
|
|
7240
|
+
var require_ucs2length = __commonJS({ "../../node_modules/ajv/dist/runtime/ucs2length.js"(exports2) {
|
|
7235
7241
|
"use strict";
|
|
7236
7242
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7237
7243
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7243,7 +7249,7 @@ var require_ucs2length = __commonJS({ "../../../../../../../../../Users/saeed/Pr
|
|
|
7243
7249
|
exports2.default = ucs2length;
|
|
7244
7250
|
ucs2length.code = 'require("ajv/dist/runtime/ucs2length").default';
|
|
7245
7251
|
} });
|
|
7246
|
-
var require_limitLength = __commonJS({ "
|
|
7252
|
+
var require_limitLength = __commonJS({ "../../node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports2) {
|
|
7247
7253
|
"use strict";
|
|
7248
7254
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7249
7255
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7256,7 +7262,7 @@ var require_limitLength = __commonJS({ "../../../../../../../../../Users/saeed/P
|
|
|
7256
7262
|
} };
|
|
7257
7263
|
exports2.default = def;
|
|
7258
7264
|
} });
|
|
7259
|
-
var require_pattern = __commonJS({ "
|
|
7265
|
+
var require_pattern = __commonJS({ "../../node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports2) {
|
|
7260
7266
|
"use strict";
|
|
7261
7267
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7262
7268
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7272,7 +7278,7 @@ var require_pattern = __commonJS({ "../../../../../../../../../Users/saeed/Proje
|
|
|
7272
7278
|
} };
|
|
7273
7279
|
exports2.default = def;
|
|
7274
7280
|
} });
|
|
7275
|
-
var require_limitProperties = __commonJS({ "
|
|
7281
|
+
var require_limitProperties = __commonJS({ "../../node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports2) {
|
|
7276
7282
|
"use strict";
|
|
7277
7283
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7278
7284
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7285,7 +7291,7 @@ var require_limitProperties = __commonJS({ "../../../../../../../../../Users/sae
|
|
|
7285
7291
|
} };
|
|
7286
7292
|
exports2.default = def;
|
|
7287
7293
|
} });
|
|
7288
|
-
var require_required = __commonJS({ "
|
|
7294
|
+
var require_required = __commonJS({ "../../node_modules/ajv/dist/vocabularies/validation/required.js"(exports2) {
|
|
7289
7295
|
"use strict";
|
|
7290
7296
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7291
7297
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7326,7 +7332,7 @@ var require_required = __commonJS({ "../../../../../../../../../Users/saeed/Proj
|
|
|
7326
7332
|
} };
|
|
7327
7333
|
exports2.default = def;
|
|
7328
7334
|
} });
|
|
7329
|
-
var require_limitItems = __commonJS({ "
|
|
7335
|
+
var require_limitItems = __commonJS({ "../../node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports2) {
|
|
7330
7336
|
"use strict";
|
|
7331
7337
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7332
7338
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7339,7 +7345,7 @@ var require_limitItems = __commonJS({ "../../../../../../../../../Users/saeed/Pr
|
|
|
7339
7345
|
} };
|
|
7340
7346
|
exports2.default = def;
|
|
7341
7347
|
} });
|
|
7342
|
-
var require_equal = __commonJS({ "
|
|
7348
|
+
var require_equal = __commonJS({ "../../node_modules/ajv/dist/runtime/equal.js"(exports2) {
|
|
7343
7349
|
"use strict";
|
|
7344
7350
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7345
7351
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7347,7 +7353,7 @@ var require_equal = __commonJS({ "../../../../../../../../../Users/saeed/Project
|
|
|
7347
7353
|
equal.code = 'require("ajv/dist/runtime/equal").default';
|
|
7348
7354
|
exports2.default = equal;
|
|
7349
7355
|
} });
|
|
7350
|
-
var require_uniqueItems = __commonJS({ "
|
|
7356
|
+
var require_uniqueItems = __commonJS({ "../../node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports2) {
|
|
7351
7357
|
"use strict";
|
|
7352
7358
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7353
7359
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7380,7 +7386,7 @@ var require_uniqueItems = __commonJS({ "../../../../../../../../../Users/saeed/P
|
|
|
7380
7386
|
} };
|
|
7381
7387
|
exports2.default = def;
|
|
7382
7388
|
} });
|
|
7383
|
-
var require_const = __commonJS({ "
|
|
7389
|
+
var require_const = __commonJS({ "../../node_modules/ajv/dist/vocabularies/validation/const.js"(exports2) {
|
|
7384
7390
|
"use strict";
|
|
7385
7391
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7386
7392
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7390,7 +7396,7 @@ var require_const = __commonJS({ "../../../../../../../../../Users/saeed/Project
|
|
|
7390
7396
|
} };
|
|
7391
7397
|
exports2.default = def;
|
|
7392
7398
|
} });
|
|
7393
|
-
var require_enum = __commonJS({ "
|
|
7399
|
+
var require_enum = __commonJS({ "../../node_modules/ajv/dist/vocabularies/validation/enum.js"(exports2) {
|
|
7394
7400
|
"use strict";
|
|
7395
7401
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7396
7402
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7415,14 +7421,14 @@ var require_enum = __commonJS({ "../../../../../../../../../Users/saeed/Projects
|
|
|
7415
7421
|
} };
|
|
7416
7422
|
exports2.default = def;
|
|
7417
7423
|
} });
|
|
7418
|
-
var require_validation = __commonJS({ "
|
|
7424
|
+
var require_validation = __commonJS({ "../../node_modules/ajv/dist/vocabularies/validation/index.js"(exports2) {
|
|
7419
7425
|
"use strict";
|
|
7420
7426
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7421
7427
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
7422
7428
|
var limitNumber_1 = require_limitNumber(), multipleOf_1 = require_multipleOf(), limitLength_1 = require_limitLength(), pattern_1 = require_pattern(), limitProperties_1 = require_limitProperties(), required_1 = require_required(), limitItems_1 = require_limitItems(), uniqueItems_1 = require_uniqueItems(), const_1 = require_const(), enum_1 = require_enum(), validation = [limitNumber_1.default, multipleOf_1.default, limitLength_1.default, pattern_1.default, limitProperties_1.default, required_1.default, limitItems_1.default, uniqueItems_1.default, { keyword: "type", schemaType: ["string", "array"] }, { keyword: "nullable", schemaType: "boolean" }, const_1.default, enum_1.default];
|
|
7423
7429
|
exports2.default = validation;
|
|
7424
7430
|
} });
|
|
7425
|
-
var require_additionalItems = __commonJS({ "
|
|
7431
|
+
var require_additionalItems = __commonJS({ "../../node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports2) {
|
|
7426
7432
|
"use strict";
|
|
7427
7433
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7428
7434
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7453,7 +7459,7 @@ var require_additionalItems = __commonJS({ "../../../../../../../../../Users/sae
|
|
|
7453
7459
|
exports2.validateAdditionalItems = validateAdditionalItems;
|
|
7454
7460
|
exports2.default = def;
|
|
7455
7461
|
} });
|
|
7456
|
-
var require_items = __commonJS({ "
|
|
7462
|
+
var require_items = __commonJS({ "../../node_modules/ajv/dist/vocabularies/applicator/items.js"(exports2) {
|
|
7457
7463
|
"use strict";
|
|
7458
7464
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7459
7465
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7481,14 +7487,14 @@ var require_items = __commonJS({ "../../../../../../../../../Users/saeed/Project
|
|
|
7481
7487
|
exports2.validateTuple = validateTuple;
|
|
7482
7488
|
exports2.default = def;
|
|
7483
7489
|
} });
|
|
7484
|
-
var require_prefixItems = __commonJS({ "
|
|
7490
|
+
var require_prefixItems = __commonJS({ "../../node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports2) {
|
|
7485
7491
|
"use strict";
|
|
7486
7492
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7487
7493
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
7488
7494
|
var items_1 = require_items(), def = { keyword: "prefixItems", type: "array", schemaType: ["array"], before: "uniqueItems", code: (cxt) => (0, items_1.validateTuple)(cxt, "items") };
|
|
7489
7495
|
exports2.default = def;
|
|
7490
7496
|
} });
|
|
7491
|
-
var require_items2020 = __commonJS({ "
|
|
7497
|
+
var require_items2020 = __commonJS({ "../../node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports2) {
|
|
7492
7498
|
"use strict";
|
|
7493
7499
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7494
7500
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7498,7 +7504,7 @@ var require_items2020 = __commonJS({ "../../../../../../../../../Users/saeed/Pro
|
|
|
7498
7504
|
} };
|
|
7499
7505
|
exports2.default = def;
|
|
7500
7506
|
} });
|
|
7501
|
-
var require_contains = __commonJS({ "
|
|
7507
|
+
var require_contains = __commonJS({ "../../node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports2) {
|
|
7502
7508
|
"use strict";
|
|
7503
7509
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7504
7510
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7537,7 +7543,7 @@ var require_contains = __commonJS({ "../../../../../../../../../Users/saeed/Proj
|
|
|
7537
7543
|
} };
|
|
7538
7544
|
exports2.default = def;
|
|
7539
7545
|
} });
|
|
7540
|
-
var require_dependencies = __commonJS({ "
|
|
7546
|
+
var require_dependencies = __commonJS({ "../../node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports2) {
|
|
7541
7547
|
"use strict";
|
|
7542
7548
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7543
7549
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7587,7 +7593,7 @@ var require_dependencies = __commonJS({ "../../../../../../../../../Users/saeed/
|
|
|
7587
7593
|
exports2.validateSchemaDeps = validateSchemaDeps;
|
|
7588
7594
|
exports2.default = def;
|
|
7589
7595
|
} });
|
|
7590
|
-
var require_propertyNames = __commonJS({ "
|
|
7596
|
+
var require_propertyNames = __commonJS({ "../../node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports2) {
|
|
7591
7597
|
"use strict";
|
|
7592
7598
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7593
7599
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7603,7 +7609,7 @@ var require_propertyNames = __commonJS({ "../../../../../../../../../Users/saeed
|
|
|
7603
7609
|
} };
|
|
7604
7610
|
exports2.default = def;
|
|
7605
7611
|
} });
|
|
7606
|
-
var require_additionalProperties = __commonJS({ "
|
|
7612
|
+
var require_additionalProperties = __commonJS({ "../../node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports2) {
|
|
7607
7613
|
"use strict";
|
|
7608
7614
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7609
7615
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7653,7 +7659,7 @@ var require_additionalProperties = __commonJS({ "../../../../../../../../../User
|
|
|
7653
7659
|
} };
|
|
7654
7660
|
exports2.default = def;
|
|
7655
7661
|
} });
|
|
7656
|
-
var require_properties = __commonJS({ "
|
|
7662
|
+
var require_properties = __commonJS({ "../../node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports2) {
|
|
7657
7663
|
"use strict";
|
|
7658
7664
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7659
7665
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7676,7 +7682,7 @@ var require_properties = __commonJS({ "../../../../../../../../../Users/saeed/Pr
|
|
|
7676
7682
|
} };
|
|
7677
7683
|
exports2.default = def;
|
|
7678
7684
|
} });
|
|
7679
|
-
var require_patternProperties = __commonJS({ "
|
|
7685
|
+
var require_patternProperties = __commonJS({ "../../node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports2) {
|
|
7680
7686
|
"use strict";
|
|
7681
7687
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7682
7688
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7704,7 +7710,7 @@ var require_patternProperties = __commonJS({ "../../../../../../../../../Users/s
|
|
|
7704
7710
|
} };
|
|
7705
7711
|
exports2.default = def;
|
|
7706
7712
|
} });
|
|
7707
|
-
var require_not = __commonJS({ "
|
|
7713
|
+
var require_not = __commonJS({ "../../node_modules/ajv/dist/vocabularies/applicator/not.js"(exports2) {
|
|
7708
7714
|
"use strict";
|
|
7709
7715
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7710
7716
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7719,14 +7725,14 @@ var require_not = __commonJS({ "../../../../../../../../../Users/saeed/Projects/
|
|
|
7719
7725
|
}, error: { message: "must NOT be valid" } };
|
|
7720
7726
|
exports2.default = def;
|
|
7721
7727
|
} });
|
|
7722
|
-
var require_anyOf = __commonJS({ "
|
|
7728
|
+
var require_anyOf = __commonJS({ "../../node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports2) {
|
|
7723
7729
|
"use strict";
|
|
7724
7730
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7725
7731
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
7726
7732
|
var code_1 = require_code2(), def = { keyword: "anyOf", schemaType: "array", trackErrors: true, code: code_1.validateUnion, error: { message: "must match a schema in anyOf" } };
|
|
7727
7733
|
exports2.default = def;
|
|
7728
7734
|
} });
|
|
7729
|
-
var require_oneOf = __commonJS({ "
|
|
7735
|
+
var require_oneOf = __commonJS({ "../../node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports2) {
|
|
7730
7736
|
"use strict";
|
|
7731
7737
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7732
7738
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7747,7 +7753,7 @@ var require_oneOf = __commonJS({ "../../../../../../../../../Users/saeed/Project
|
|
|
7747
7753
|
} };
|
|
7748
7754
|
exports2.default = def;
|
|
7749
7755
|
} });
|
|
7750
|
-
var require_allOf = __commonJS({ "
|
|
7756
|
+
var require_allOf = __commonJS({ "../../node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports2) {
|
|
7751
7757
|
"use strict";
|
|
7752
7758
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7753
7759
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7763,7 +7769,7 @@ var require_allOf = __commonJS({ "../../../../../../../../../Users/saeed/Project
|
|
|
7763
7769
|
} };
|
|
7764
7770
|
exports2.default = def;
|
|
7765
7771
|
} });
|
|
7766
|
-
var require_if = __commonJS({ "
|
|
7772
|
+
var require_if = __commonJS({ "../../node_modules/ajv/dist/vocabularies/applicator/if.js"(exports2) {
|
|
7767
7773
|
"use strict";
|
|
7768
7774
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7769
7775
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7795,7 +7801,7 @@ var require_if = __commonJS({ "../../../../../../../../../Users/saeed/Projects/r
|
|
|
7795
7801
|
}
|
|
7796
7802
|
exports2.default = def;
|
|
7797
7803
|
} });
|
|
7798
|
-
var require_thenElse = __commonJS({ "
|
|
7804
|
+
var require_thenElse = __commonJS({ "../../node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports2) {
|
|
7799
7805
|
"use strict";
|
|
7800
7806
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7801
7807
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7804,7 +7810,7 @@ var require_thenElse = __commonJS({ "../../../../../../../../../Users/saeed/Proj
|
|
|
7804
7810
|
} };
|
|
7805
7811
|
exports2.default = def;
|
|
7806
7812
|
} });
|
|
7807
|
-
var require_applicator = __commonJS({ "
|
|
7813
|
+
var require_applicator = __commonJS({ "../../node_modules/ajv/dist/vocabularies/applicator/index.js"(exports2) {
|
|
7808
7814
|
"use strict";
|
|
7809
7815
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7810
7816
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7815,7 +7821,7 @@ var require_applicator = __commonJS({ "../../../../../../../../../Users/saeed/Pr
|
|
|
7815
7821
|
}
|
|
7816
7822
|
exports2.default = getApplicator;
|
|
7817
7823
|
} });
|
|
7818
|
-
var require_dynamicAnchor = __commonJS({ "
|
|
7824
|
+
var require_dynamicAnchor = __commonJS({ "../../node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js"(exports2) {
|
|
7819
7825
|
"use strict";
|
|
7820
7826
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7821
7827
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7834,7 +7840,7 @@ var require_dynamicAnchor = __commonJS({ "../../../../../../../../../Users/saeed
|
|
|
7834
7840
|
}
|
|
7835
7841
|
exports2.default = def;
|
|
7836
7842
|
} });
|
|
7837
|
-
var require_dynamicRef = __commonJS({ "
|
|
7843
|
+
var require_dynamicRef = __commonJS({ "../../node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js"(exports2) {
|
|
7838
7844
|
"use strict";
|
|
7839
7845
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7840
7846
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7864,7 +7870,7 @@ var require_dynamicRef = __commonJS({ "../../../../../../../../../Users/saeed/Pr
|
|
|
7864
7870
|
exports2.dynamicRef = dynamicRef;
|
|
7865
7871
|
exports2.default = def;
|
|
7866
7872
|
} });
|
|
7867
|
-
var require_recursiveAnchor = __commonJS({ "
|
|
7873
|
+
var require_recursiveAnchor = __commonJS({ "../../node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js"(exports2) {
|
|
7868
7874
|
"use strict";
|
|
7869
7875
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7870
7876
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7873,35 +7879,35 @@ var require_recursiveAnchor = __commonJS({ "../../../../../../../../../Users/sae
|
|
|
7873
7879
|
} };
|
|
7874
7880
|
exports2.default = def;
|
|
7875
7881
|
} });
|
|
7876
|
-
var require_recursiveRef = __commonJS({ "
|
|
7882
|
+
var require_recursiveRef = __commonJS({ "../../node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js"(exports2) {
|
|
7877
7883
|
"use strict";
|
|
7878
7884
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7879
7885
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
7880
7886
|
var dynamicRef_1 = require_dynamicRef(), def = { keyword: "$recursiveRef", schemaType: "string", code: (cxt) => (0, dynamicRef_1.dynamicRef)(cxt, cxt.schema) };
|
|
7881
7887
|
exports2.default = def;
|
|
7882
7888
|
} });
|
|
7883
|
-
var require_dynamic = __commonJS({ "
|
|
7889
|
+
var require_dynamic = __commonJS({ "../../node_modules/ajv/dist/vocabularies/dynamic/index.js"(exports2) {
|
|
7884
7890
|
"use strict";
|
|
7885
7891
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7886
7892
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
7887
7893
|
var dynamicAnchor_1 = require_dynamicAnchor(), dynamicRef_1 = require_dynamicRef(), recursiveAnchor_1 = require_recursiveAnchor(), recursiveRef_1 = require_recursiveRef(), dynamic = [dynamicAnchor_1.default, dynamicRef_1.default, recursiveAnchor_1.default, recursiveRef_1.default];
|
|
7888
7894
|
exports2.default = dynamic;
|
|
7889
7895
|
} });
|
|
7890
|
-
var require_dependentRequired = __commonJS({ "
|
|
7896
|
+
var require_dependentRequired = __commonJS({ "../../node_modules/ajv/dist/vocabularies/validation/dependentRequired.js"(exports2) {
|
|
7891
7897
|
"use strict";
|
|
7892
7898
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7893
7899
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
7894
7900
|
var dependencies_1 = require_dependencies(), def = { keyword: "dependentRequired", type: "object", schemaType: "object", error: dependencies_1.error, code: (cxt) => (0, dependencies_1.validatePropertyDeps)(cxt) };
|
|
7895
7901
|
exports2.default = def;
|
|
7896
7902
|
} });
|
|
7897
|
-
var require_dependentSchemas = __commonJS({ "
|
|
7903
|
+
var require_dependentSchemas = __commonJS({ "../../node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js"(exports2) {
|
|
7898
7904
|
"use strict";
|
|
7899
7905
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7900
7906
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
7901
7907
|
var dependencies_1 = require_dependencies(), def = { keyword: "dependentSchemas", type: "object", schemaType: "object", code: (cxt) => (0, dependencies_1.validateSchemaDeps)(cxt) };
|
|
7902
7908
|
exports2.default = def;
|
|
7903
7909
|
} });
|
|
7904
|
-
var require_limitContains = __commonJS({ "
|
|
7910
|
+
var require_limitContains = __commonJS({ "../../node_modules/ajv/dist/vocabularies/validation/limitContains.js"(exports2) {
|
|
7905
7911
|
"use strict";
|
|
7906
7912
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7907
7913
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7910,14 +7916,14 @@ var require_limitContains = __commonJS({ "../../../../../../../../../Users/saeed
|
|
|
7910
7916
|
} };
|
|
7911
7917
|
exports2.default = def;
|
|
7912
7918
|
} });
|
|
7913
|
-
var require_next = __commonJS({ "
|
|
7919
|
+
var require_next = __commonJS({ "../../node_modules/ajv/dist/vocabularies/next.js"(exports2) {
|
|
7914
7920
|
"use strict";
|
|
7915
7921
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7916
7922
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
7917
7923
|
var dependentRequired_1 = require_dependentRequired(), dependentSchemas_1 = require_dependentSchemas(), limitContains_1 = require_limitContains(), next = [dependentRequired_1.default, dependentSchemas_1.default, limitContains_1.default];
|
|
7918
7924
|
exports2.default = next;
|
|
7919
7925
|
} });
|
|
7920
|
-
var require_unevaluatedProperties = __commonJS({ "
|
|
7926
|
+
var require_unevaluatedProperties = __commonJS({ "../../node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js"(exports2) {
|
|
7921
7927
|
"use strict";
|
|
7922
7928
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7923
7929
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7947,7 +7953,7 @@ var require_unevaluatedProperties = __commonJS({ "../../../../../../../../../Use
|
|
|
7947
7953
|
} };
|
|
7948
7954
|
exports2.default = def;
|
|
7949
7955
|
} });
|
|
7950
|
-
var require_unevaluatedItems = __commonJS({ "
|
|
7956
|
+
var require_unevaluatedItems = __commonJS({ "../../node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js"(exports2) {
|
|
7951
7957
|
"use strict";
|
|
7952
7958
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7953
7959
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -7969,14 +7975,14 @@ var require_unevaluatedItems = __commonJS({ "../../../../../../../../../Users/sa
|
|
|
7969
7975
|
} };
|
|
7970
7976
|
exports2.default = def;
|
|
7971
7977
|
} });
|
|
7972
|
-
var require_unevaluated = __commonJS({ "
|
|
7978
|
+
var require_unevaluated = __commonJS({ "../../node_modules/ajv/dist/vocabularies/unevaluated/index.js"(exports2) {
|
|
7973
7979
|
"use strict";
|
|
7974
7980
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7975
7981
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
7976
7982
|
var unevaluatedProperties_1 = require_unevaluatedProperties(), unevaluatedItems_1 = require_unevaluatedItems(), unevaluated = [unevaluatedProperties_1.default, unevaluatedItems_1.default];
|
|
7977
7983
|
exports2.default = unevaluated;
|
|
7978
7984
|
} });
|
|
7979
|
-
var require_format = __commonJS({ "
|
|
7985
|
+
var require_format = __commonJS({ "../../node_modules/ajv/dist/vocabularies/format/format.js"(exports2) {
|
|
7980
7986
|
"use strict";
|
|
7981
7987
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
7982
7988
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -8029,14 +8035,14 @@ var require_format = __commonJS({ "../../../../../../../../../Users/saeed/Projec
|
|
|
8029
8035
|
} };
|
|
8030
8036
|
exports2.default = def;
|
|
8031
8037
|
} });
|
|
8032
|
-
var require_format2 = __commonJS({ "
|
|
8038
|
+
var require_format2 = __commonJS({ "../../node_modules/ajv/dist/vocabularies/format/index.js"(exports2) {
|
|
8033
8039
|
"use strict";
|
|
8034
8040
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
8035
8041
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8036
8042
|
var format_1 = require_format(), format = [format_1.default];
|
|
8037
8043
|
exports2.default = format;
|
|
8038
8044
|
} });
|
|
8039
|
-
var require_metadata = __commonJS({ "
|
|
8045
|
+
var require_metadata = __commonJS({ "../../node_modules/ajv/dist/vocabularies/metadata.js"(exports2) {
|
|
8040
8046
|
"use strict";
|
|
8041
8047
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
8042
8048
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -8044,14 +8050,14 @@ var require_metadata = __commonJS({ "../../../../../../../../../Users/saeed/Proj
|
|
|
8044
8050
|
exports2.metadataVocabulary = ["title", "description", "default", "deprecated", "readOnly", "writeOnly", "examples"];
|
|
8045
8051
|
exports2.contentVocabulary = ["contentMediaType", "contentEncoding", "contentSchema"];
|
|
8046
8052
|
} });
|
|
8047
|
-
var require_draft2020 = __commonJS({ "
|
|
8053
|
+
var require_draft2020 = __commonJS({ "../../node_modules/ajv/dist/vocabularies/draft2020.js"(exports2) {
|
|
8048
8054
|
"use strict";
|
|
8049
8055
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
8050
8056
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8051
8057
|
var core_1 = require_core2(), validation_1 = require_validation(), applicator_1 = require_applicator(), dynamic_1 = require_dynamic(), next_1 = require_next(), unevaluated_1 = require_unevaluated(), format_1 = require_format2(), metadata_1 = require_metadata(), draft2020Vocabularies = [dynamic_1.default, core_1.default, validation_1.default, (0, applicator_1.default)(true), format_1.default, metadata_1.metadataVocabulary, metadata_1.contentVocabulary, next_1.default, unevaluated_1.default];
|
|
8052
8058
|
exports2.default = draft2020Vocabularies;
|
|
8053
8059
|
} });
|
|
8054
|
-
var require_types = __commonJS({ "
|
|
8060
|
+
var require_types = __commonJS({ "../../node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports2) {
|
|
8055
8061
|
"use strict";
|
|
8056
8062
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
8057
8063
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -8061,7 +8067,7 @@ var require_types = __commonJS({ "../../../../../../../../../Users/saeed/Project
|
|
|
8061
8067
|
DiscrError2.Tag = "tag", DiscrError2.Mapping = "mapping";
|
|
8062
8068
|
})(DiscrError || (exports2.DiscrError = DiscrError = {}));
|
|
8063
8069
|
} });
|
|
8064
|
-
var require_discriminator = __commonJS({ "
|
|
8070
|
+
var require_discriminator = __commonJS({ "../../node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports2) {
|
|
8065
8071
|
"use strict";
|
|
8066
8072
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
8067
8073
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -8115,31 +8121,31 @@ var require_discriminator = __commonJS({ "../../../../../../../../../Users/saeed
|
|
|
8115
8121
|
} };
|
|
8116
8122
|
exports2.default = def;
|
|
8117
8123
|
} });
|
|
8118
|
-
var require_schema = __commonJS({ "
|
|
8124
|
+
var require_schema = __commonJS({ "../../node_modules/ajv/dist/refs/json-schema-2020-12/schema.json"(exports2, module2) {
|
|
8119
8125
|
module2.exports = { $schema: "https://json-schema.org/draft/2020-12/schema", $id: "https://json-schema.org/draft/2020-12/schema", $vocabulary: { "https://json-schema.org/draft/2020-12/vocab/core": true, "https://json-schema.org/draft/2020-12/vocab/applicator": true, "https://json-schema.org/draft/2020-12/vocab/unevaluated": true, "https://json-schema.org/draft/2020-12/vocab/validation": true, "https://json-schema.org/draft/2020-12/vocab/meta-data": true, "https://json-schema.org/draft/2020-12/vocab/format-annotation": true, "https://json-schema.org/draft/2020-12/vocab/content": true }, $dynamicAnchor: "meta", title: "Core and Validation specifications meta-schema", allOf: [{ $ref: "meta/core" }, { $ref: "meta/applicator" }, { $ref: "meta/unevaluated" }, { $ref: "meta/validation" }, { $ref: "meta/meta-data" }, { $ref: "meta/format-annotation" }, { $ref: "meta/content" }], type: ["object", "boolean"], $comment: "This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.", properties: { definitions: { $comment: '"definitions" has been replaced by "$defs".', type: "object", additionalProperties: { $dynamicRef: "#meta" }, deprecated: true, default: {} }, dependencies: { $comment: '"dependencies" has been split and replaced by "dependentSchemas" and "dependentRequired" in order to serve their differing semantics.', type: "object", additionalProperties: { anyOf: [{ $dynamicRef: "#meta" }, { $ref: "meta/validation#/$defs/stringArray" }] }, deprecated: true, default: {} }, $recursiveAnchor: { $comment: '"$recursiveAnchor" has been replaced by "$dynamicAnchor".', $ref: "meta/core#/$defs/anchorString", deprecated: true }, $recursiveRef: { $comment: '"$recursiveRef" has been replaced by "$dynamicRef".', $ref: "meta/core#/$defs/uriReferenceString", deprecated: true } } };
|
|
8120
8126
|
} });
|
|
8121
|
-
var require_applicator2 = __commonJS({ "
|
|
8127
|
+
var require_applicator2 = __commonJS({ "../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json"(exports2, module2) {
|
|
8122
8128
|
module2.exports = { $schema: "https://json-schema.org/draft/2020-12/schema", $id: "https://json-schema.org/draft/2020-12/meta/applicator", $vocabulary: { "https://json-schema.org/draft/2020-12/vocab/applicator": true }, $dynamicAnchor: "meta", title: "Applicator vocabulary meta-schema", type: ["object", "boolean"], properties: { prefixItems: { $ref: "#/$defs/schemaArray" }, items: { $dynamicRef: "#meta" }, contains: { $dynamicRef: "#meta" }, additionalProperties: { $dynamicRef: "#meta" }, properties: { type: "object", additionalProperties: { $dynamicRef: "#meta" }, default: {} }, patternProperties: { type: "object", additionalProperties: { $dynamicRef: "#meta" }, propertyNames: { format: "regex" }, default: {} }, dependentSchemas: { type: "object", additionalProperties: { $dynamicRef: "#meta" }, default: {} }, propertyNames: { $dynamicRef: "#meta" }, if: { $dynamicRef: "#meta" }, then: { $dynamicRef: "#meta" }, else: { $dynamicRef: "#meta" }, allOf: { $ref: "#/$defs/schemaArray" }, anyOf: { $ref: "#/$defs/schemaArray" }, oneOf: { $ref: "#/$defs/schemaArray" }, not: { $dynamicRef: "#meta" } }, $defs: { schemaArray: { type: "array", minItems: 1, items: { $dynamicRef: "#meta" } } } };
|
|
8123
8129
|
} });
|
|
8124
|
-
var require_unevaluated2 = __commonJS({ "
|
|
8130
|
+
var require_unevaluated2 = __commonJS({ "../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json"(exports2, module2) {
|
|
8125
8131
|
module2.exports = { $schema: "https://json-schema.org/draft/2020-12/schema", $id: "https://json-schema.org/draft/2020-12/meta/unevaluated", $vocabulary: { "https://json-schema.org/draft/2020-12/vocab/unevaluated": true }, $dynamicAnchor: "meta", title: "Unevaluated applicator vocabulary meta-schema", type: ["object", "boolean"], properties: { unevaluatedItems: { $dynamicRef: "#meta" }, unevaluatedProperties: { $dynamicRef: "#meta" } } };
|
|
8126
8132
|
} });
|
|
8127
|
-
var require_content = __commonJS({ "
|
|
8133
|
+
var require_content = __commonJS({ "../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json"(exports2, module2) {
|
|
8128
8134
|
module2.exports = { $schema: "https://json-schema.org/draft/2020-12/schema", $id: "https://json-schema.org/draft/2020-12/meta/content", $vocabulary: { "https://json-schema.org/draft/2020-12/vocab/content": true }, $dynamicAnchor: "meta", title: "Content vocabulary meta-schema", type: ["object", "boolean"], properties: { contentEncoding: { type: "string" }, contentMediaType: { type: "string" }, contentSchema: { $dynamicRef: "#meta" } } };
|
|
8129
8135
|
} });
|
|
8130
|
-
var require_core3 = __commonJS({ "
|
|
8136
|
+
var require_core3 = __commonJS({ "../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json"(exports2, module2) {
|
|
8131
8137
|
module2.exports = { $schema: "https://json-schema.org/draft/2020-12/schema", $id: "https://json-schema.org/draft/2020-12/meta/core", $vocabulary: { "https://json-schema.org/draft/2020-12/vocab/core": true }, $dynamicAnchor: "meta", title: "Core vocabulary meta-schema", type: ["object", "boolean"], properties: { $id: { $ref: "#/$defs/uriReferenceString", $comment: "Non-empty fragments not allowed.", pattern: "^[^#]*#?$" }, $schema: { $ref: "#/$defs/uriString" }, $ref: { $ref: "#/$defs/uriReferenceString" }, $anchor: { $ref: "#/$defs/anchorString" }, $dynamicRef: { $ref: "#/$defs/uriReferenceString" }, $dynamicAnchor: { $ref: "#/$defs/anchorString" }, $vocabulary: { type: "object", propertyNames: { $ref: "#/$defs/uriString" }, additionalProperties: { type: "boolean" } }, $comment: { type: "string" }, $defs: { type: "object", additionalProperties: { $dynamicRef: "#meta" } } }, $defs: { anchorString: { type: "string", pattern: "^[A-Za-z_][-A-Za-z0-9._]*$" }, uriString: { type: "string", format: "uri" }, uriReferenceString: { type: "string", format: "uri-reference" } } };
|
|
8132
8138
|
} });
|
|
8133
|
-
var require_format_annotation = __commonJS({ "
|
|
8139
|
+
var require_format_annotation = __commonJS({ "../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json"(exports2, module2) {
|
|
8134
8140
|
module2.exports = { $schema: "https://json-schema.org/draft/2020-12/schema", $id: "https://json-schema.org/draft/2020-12/meta/format-annotation", $vocabulary: { "https://json-schema.org/draft/2020-12/vocab/format-annotation": true }, $dynamicAnchor: "meta", title: "Format vocabulary meta-schema for annotation results", type: ["object", "boolean"], properties: { format: { type: "string" } } };
|
|
8135
8141
|
} });
|
|
8136
|
-
var require_meta_data = __commonJS({ "
|
|
8142
|
+
var require_meta_data = __commonJS({ "../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json"(exports2, module2) {
|
|
8137
8143
|
module2.exports = { $schema: "https://json-schema.org/draft/2020-12/schema", $id: "https://json-schema.org/draft/2020-12/meta/meta-data", $vocabulary: { "https://json-schema.org/draft/2020-12/vocab/meta-data": true }, $dynamicAnchor: "meta", title: "Meta-data vocabulary meta-schema", type: ["object", "boolean"], properties: { title: { type: "string" }, description: { type: "string" }, default: true, deprecated: { type: "boolean", default: false }, readOnly: { type: "boolean", default: false }, writeOnly: { type: "boolean", default: false }, examples: { type: "array", items: true } } };
|
|
8138
8144
|
} });
|
|
8139
|
-
var require_validation2 = __commonJS({ "
|
|
8145
|
+
var require_validation2 = __commonJS({ "../../node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json"(exports2, module2) {
|
|
8140
8146
|
module2.exports = { $schema: "https://json-schema.org/draft/2020-12/schema", $id: "https://json-schema.org/draft/2020-12/meta/validation", $vocabulary: { "https://json-schema.org/draft/2020-12/vocab/validation": true }, $dynamicAnchor: "meta", title: "Validation vocabulary meta-schema", type: ["object", "boolean"], properties: { type: { anyOf: [{ $ref: "#/$defs/simpleTypes" }, { type: "array", items: { $ref: "#/$defs/simpleTypes" }, minItems: 1, uniqueItems: true }] }, const: true, enum: { type: "array", items: true }, multipleOf: { type: "number", exclusiveMinimum: 0 }, maximum: { type: "number" }, exclusiveMaximum: { type: "number" }, minimum: { type: "number" }, exclusiveMinimum: { type: "number" }, maxLength: { $ref: "#/$defs/nonNegativeInteger" }, minLength: { $ref: "#/$defs/nonNegativeIntegerDefault0" }, pattern: { type: "string", format: "regex" }, maxItems: { $ref: "#/$defs/nonNegativeInteger" }, minItems: { $ref: "#/$defs/nonNegativeIntegerDefault0" }, uniqueItems: { type: "boolean", default: false }, maxContains: { $ref: "#/$defs/nonNegativeInteger" }, minContains: { $ref: "#/$defs/nonNegativeInteger", default: 1 }, maxProperties: { $ref: "#/$defs/nonNegativeInteger" }, minProperties: { $ref: "#/$defs/nonNegativeIntegerDefault0" }, required: { $ref: "#/$defs/stringArray" }, dependentRequired: { type: "object", additionalProperties: { $ref: "#/$defs/stringArray" } } }, $defs: { nonNegativeInteger: { type: "integer", minimum: 0 }, nonNegativeIntegerDefault0: { $ref: "#/$defs/nonNegativeInteger", default: 0 }, simpleTypes: { enum: ["array", "boolean", "integer", "null", "number", "object", "string"] }, stringArray: { type: "array", items: { type: "string" }, uniqueItems: true, default: [] } } };
|
|
8141
8147
|
} });
|
|
8142
|
-
var require_json_schema_2020_12 = __commonJS({ "
|
|
8148
|
+
var require_json_schema_2020_12 = __commonJS({ "../../node_modules/ajv/dist/refs/json-schema-2020-12/index.js"(exports2) {
|
|
8143
8149
|
"use strict";
|
|
8144
8150
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
8145
8151
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -8152,7 +8158,7 @@ var require_json_schema_2020_12 = __commonJS({ "../../../../../../../../../Users
|
|
|
8152
8158
|
}
|
|
8153
8159
|
exports2.default = addMetaSchema2020;
|
|
8154
8160
|
} });
|
|
8155
|
-
var require__ = __commonJS({ "
|
|
8161
|
+
var require__ = __commonJS({ "../../node_modules/ajv/dist/2020.js"(exports2, module2) {
|
|
8156
8162
|
"use strict";
|
|
8157
8163
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
8158
8164
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -8484,7 +8490,8 @@ function scanSourceTree(root, maxBytes = UPLOAD_MAX_BYTES, ignoreRules = []) {
|
|
|
8484
8490
|
return walk(root), { entries, data, errors, warnings, ignored, totalBytes, truncated: over };
|
|
8485
8491
|
}
|
|
8486
8492
|
function computeSourceHash(entries, config) {
|
|
8487
|
-
|
|
8493
|
+
let manifest = checkSourceManifest(entries, config);
|
|
8494
|
+
return manifest.ok ? { ok: true, hash: `sha256:${import_node_crypto3.default.createHash("sha256").update(manifest.text, "utf8").digest("hex")}` } : manifest;
|
|
8488
8495
|
}
|
|
8489
8496
|
function checkLockfile(entries, runtime) {
|
|
8490
8497
|
let required = RUNTIME_REGISTRY[runtime].lockfile;
|
|
@@ -8607,13 +8614,8 @@ function checkSourceUpload(taskDir) {
|
|
|
8607
8614
|
scan.entries.some((e) => e.path === entry) || errors.push(`the entry file "${entry}" is not in the upload.`);
|
|
8608
8615
|
}
|
|
8609
8616
|
if (errors.length > 0) return { ok: false, errors, warnings };
|
|
8610
|
-
let
|
|
8611
|
-
|
|
8612
|
-
contentHash = computeSourceHash(scan.entries, { name: import_node_path5.default.basename(read.file ?? ""), value: config });
|
|
8613
|
-
} catch (e) {
|
|
8614
|
-
return { ok: false, errors: [errText(e).replace(/^source manifest: /, "")], warnings };
|
|
8615
|
-
}
|
|
8616
|
-
return { ok: true, source: { config, entries: scan.entries, data: scan.data, totalBytes: scan.totalBytes, ignored: scan.ignored, contentHash }, warnings };
|
|
8617
|
+
let key = computeSourceHash(scan.entries, { name: import_node_path5.default.basename(read.file ?? ""), value: config });
|
|
8618
|
+
return key.ok ? { ok: true, source: { config, entries: scan.entries, data: scan.data, totalBytes: scan.totalBytes, ignored: scan.ignored, contentHash: key.hash }, warnings } : { ok: false, errors: [key.reason], warnings };
|
|
8617
8619
|
}
|
|
8618
8620
|
function prepareSourceUpload(taskDir) {
|
|
8619
8621
|
let check = checkSourceUpload(taskDir);
|
|
@@ -9094,11 +9096,11 @@ var init_wait = __esm({ "src/commands/wait.ts"() {
|
|
|
9094
9096
|
init_constants();
|
|
9095
9097
|
init_tenant();
|
|
9096
9098
|
} });
|
|
9097
|
-
var MANIFEST_FILE, PACKAGE_SCOPE, RUNTIMES, NETWORK_TYPES, PRESETS, DURATIONS, INTERACTIONS, NAME_PATTERN, CALLBACK_ROUTE_PREFIX, EGRESS_HINT_PATTERN, DNS_LABEL, HOST_PATTERN, HOST_MAX_LENGTH, init_constants3 = __esm({ "
|
|
9099
|
+
var MANIFEST_FILE, PACKAGE_SCOPE, RUNTIMES, NETWORK_TYPES, PRESETS, DURATIONS, INTERACTIONS, NAME_PATTERN, CALLBACK_ROUTE_PREFIX, EGRESS_HINT_PATTERN, DNS_LABEL, HOST_PATTERN, HOST_MAX_LENGTH, init_constants3 = __esm({ "../../node_modules/@ignitify-integrations/core/dist/constants.js"() {
|
|
9098
9100
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
9099
9101
|
MANIFEST_FILE = "integration.yaml", PACKAGE_SCOPE = "@ignitify-integrations", RUNTIMES = ["node"], NETWORK_TYPES = ["none", "egress", "bidirectional"], PRESETS = ["std.micro", "std.small", "std.medium", "std.large", "std.xlarge"], DURATIONS = ["short", "long"], INTERACTIONS = ["boundary-only", "continuous"], NAME_PATTERN = "^[a-z][a-z0-9-]*[a-z0-9]$", CALLBACK_ROUTE_PREFIX = "/__callback/", EGRESS_HINT_PATTERN = "^[^\\r\\n]*$", DNS_LABEL = "[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?", HOST_PATTERN = new RegExp(`^${DNS_LABEL}(?:\\.${DNS_LABEL})+$`), HOST_MAX_LENGTH = 253;
|
|
9100
9102
|
} });
|
|
9101
|
-
var require_identity = __commonJS({ "
|
|
9103
|
+
var require_identity = __commonJS({ "../../node_modules/yaml/dist/nodes/identity.js"(exports2) {
|
|
9102
9104
|
"use strict";
|
|
9103
9105
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
9104
9106
|
var ALIAS = /* @__PURE__ */ Symbol.for("yaml.alias"), DOC = /* @__PURE__ */ Symbol.for("yaml.document"), MAP = /* @__PURE__ */ Symbol.for("yaml.map"), PAIR = /* @__PURE__ */ Symbol.for("yaml.pair"), SCALAR = /* @__PURE__ */ Symbol.for("yaml.scalar"), SEQ = /* @__PURE__ */ Symbol.for("yaml.seq"), NODE_TYPE = /* @__PURE__ */ Symbol.for("yaml.node.type"), isAlias = (node) => !!node && typeof node == "object" && node[NODE_TYPE] === ALIAS, isDocument = (node) => !!node && typeof node == "object" && node[NODE_TYPE] === DOC, isMap2 = (node) => !!node && typeof node == "object" && node[NODE_TYPE] === MAP, isPair = (node) => !!node && typeof node == "object" && node[NODE_TYPE] === PAIR, isScalar2 = (node) => !!node && typeof node == "object" && node[NODE_TYPE] === SCALAR, isSeq2 = (node) => !!node && typeof node == "object" && node[NODE_TYPE] === SEQ;
|
|
@@ -9138,7 +9140,7 @@ var require_identity = __commonJS({ "../../../../../../../../../Users/saeed/Proj
|
|
|
9138
9140
|
exports2.isScalar = isScalar2;
|
|
9139
9141
|
exports2.isSeq = isSeq2;
|
|
9140
9142
|
} });
|
|
9141
|
-
var require_visit = __commonJS({ "
|
|
9143
|
+
var require_visit = __commonJS({ "../../node_modules/yaml/dist/visit.js"(exports2) {
|
|
9142
9144
|
"use strict";
|
|
9143
9145
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
9144
9146
|
var identity = require_identity(), BREAK = /* @__PURE__ */ Symbol("break visit"), SKIP = /* @__PURE__ */ Symbol("skip children"), REMOVE = /* @__PURE__ */ Symbol("remove node");
|
|
@@ -9232,7 +9234,7 @@ var require_visit = __commonJS({ "../../../../../../../../../Users/saeed/Project
|
|
|
9232
9234
|
exports2.visit = visit;
|
|
9233
9235
|
exports2.visitAsync = visitAsync;
|
|
9234
9236
|
} });
|
|
9235
|
-
var require_directives = __commonJS({ "
|
|
9237
|
+
var require_directives = __commonJS({ "../../node_modules/yaml/dist/doc/directives.js"(exports2) {
|
|
9236
9238
|
"use strict";
|
|
9237
9239
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
9238
9240
|
var identity = require_identity(), visit = require_visit(), escapeChars = { "!": "%21", ",": "%2C", "[": "%5B", "]": "%5D", "{": "%7B", "}": "%7D" }, escapeTagName = (tn) => tn.replace(/[!,[\]{}]/g, (ch) => escapeChars[ch]), Directives = class _Directives {
|
|
@@ -9315,7 +9317,7 @@ var require_directives = __commonJS({ "../../../../../../../../../Users/saeed/Pr
|
|
|
9315
9317
|
Directives.defaultTags = { "!!": "tag:yaml.org,2002:" };
|
|
9316
9318
|
exports2.Directives = Directives;
|
|
9317
9319
|
} });
|
|
9318
|
-
var require_anchors = __commonJS({ "
|
|
9320
|
+
var require_anchors = __commonJS({ "../../node_modules/yaml/dist/doc/anchors.js"(exports2) {
|
|
9319
9321
|
"use strict";
|
|
9320
9322
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
9321
9323
|
var identity = require_identity(), visit = require_visit();
|
|
@@ -9360,7 +9362,7 @@ var require_anchors = __commonJS({ "../../../../../../../../../Users/saeed/Proje
|
|
|
9360
9362
|
exports2.createNodeAnchors = createNodeAnchors;
|
|
9361
9363
|
exports2.findNewAnchor = findNewAnchor;
|
|
9362
9364
|
} });
|
|
9363
|
-
var require_applyReviver = __commonJS({ "
|
|
9365
|
+
var require_applyReviver = __commonJS({ "../../node_modules/yaml/dist/doc/applyReviver.js"(exports2) {
|
|
9364
9366
|
"use strict";
|
|
9365
9367
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
9366
9368
|
function applyReviver(reviver, obj, key, val) {
|
|
@@ -9384,7 +9386,7 @@ var require_applyReviver = __commonJS({ "../../../../../../../../../Users/saeed/
|
|
|
9384
9386
|
}
|
|
9385
9387
|
exports2.applyReviver = applyReviver;
|
|
9386
9388
|
} });
|
|
9387
|
-
var require_toJS = __commonJS({ "
|
|
9389
|
+
var require_toJS = __commonJS({ "../../node_modules/yaml/dist/nodes/toJS.js"(exports2) {
|
|
9388
9390
|
"use strict";
|
|
9389
9391
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
9390
9392
|
var identity = require_identity();
|
|
@@ -9403,7 +9405,7 @@ var require_toJS = __commonJS({ "../../../../../../../../../Users/saeed/Projects
|
|
|
9403
9405
|
}
|
|
9404
9406
|
exports2.toJS = toJS;
|
|
9405
9407
|
} });
|
|
9406
|
-
var require_Node = __commonJS({ "
|
|
9408
|
+
var require_Node = __commonJS({ "../../node_modules/yaml/dist/nodes/Node.js"(exports2) {
|
|
9407
9409
|
"use strict";
|
|
9408
9410
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
9409
9411
|
var applyReviver = require_applyReviver(), identity = require_identity(), toJS = require_toJS(), NodeBase = class {
|
|
@@ -9423,7 +9425,7 @@ var require_Node = __commonJS({ "../../../../../../../../../Users/saeed/Projects
|
|
|
9423
9425
|
};
|
|
9424
9426
|
exports2.NodeBase = NodeBase;
|
|
9425
9427
|
} });
|
|
9426
|
-
var require_Alias = __commonJS({ "
|
|
9428
|
+
var require_Alias = __commonJS({ "../../node_modules/yaml/dist/nodes/Alias.js"(exports2) {
|
|
9427
9429
|
"use strict";
|
|
9428
9430
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
9429
9431
|
var anchors = require_anchors(), visit = require_visit(), identity = require_identity(), Node = require_Node(), toJS = require_toJS(), Alias = class extends Node.NodeBase {
|
|
@@ -9496,7 +9498,7 @@ var require_Alias = __commonJS({ "../../../../../../../../../Users/saeed/Project
|
|
|
9496
9498
|
}
|
|
9497
9499
|
exports2.Alias = Alias;
|
|
9498
9500
|
} });
|
|
9499
|
-
var require_Scalar = __commonJS({ "
|
|
9501
|
+
var require_Scalar = __commonJS({ "../../node_modules/yaml/dist/nodes/Scalar.js"(exports2) {
|
|
9500
9502
|
"use strict";
|
|
9501
9503
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
9502
9504
|
var identity = require_identity(), Node = require_Node(), toJS = require_toJS(), isScalarValue = (value) => !value || typeof value != "function" && typeof value != "object", Scalar = class extends Node.NodeBase {
|
|
@@ -9518,7 +9520,7 @@ var require_Scalar = __commonJS({ "../../../../../../../../../Users/saeed/Projec
|
|
|
9518
9520
|
exports2.Scalar = Scalar;
|
|
9519
9521
|
exports2.isScalarValue = isScalarValue;
|
|
9520
9522
|
} });
|
|
9521
|
-
var require_createNode = __commonJS({ "
|
|
9523
|
+
var require_createNode = __commonJS({ "../../node_modules/yaml/dist/doc/createNode.js"(exports2) {
|
|
9522
9524
|
"use strict";
|
|
9523
9525
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
9524
9526
|
var Alias = require_Alias(), identity = require_identity(), Scalar = require_Scalar(), defaultTagPrefix = "tag:yaml.org,2002:";
|
|
@@ -9557,7 +9559,7 @@ var require_createNode = __commonJS({ "../../../../../../../../../Users/saeed/Pr
|
|
|
9557
9559
|
}
|
|
9558
9560
|
exports2.createNode = createNode;
|
|
9559
9561
|
} });
|
|
9560
|
-
var require_Collection = __commonJS({ "
|
|
9562
|
+
var require_Collection = __commonJS({ "../../node_modules/yaml/dist/nodes/Collection.js"(exports2) {
|
|
9561
9563
|
"use strict";
|
|
9562
9564
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
9563
9565
|
var createNode = require_createNode(), identity = require_identity(), Node = require_Node();
|
|
@@ -9630,7 +9632,7 @@ var require_Collection = __commonJS({ "../../../../../../../../../Users/saeed/Pr
|
|
|
9630
9632
|
exports2.collectionFromPath = collectionFromPath;
|
|
9631
9633
|
exports2.isEmptyPath = isEmptyPath;
|
|
9632
9634
|
} });
|
|
9633
|
-
var require_stringifyComment = __commonJS({ "
|
|
9635
|
+
var require_stringifyComment = __commonJS({ "../../node_modules/yaml/dist/stringify/stringifyComment.js"(exports2) {
|
|
9634
9636
|
"use strict";
|
|
9635
9637
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
9636
9638
|
var stringifyComment = (str3) => str3.replace(/^(?!$)(?: $)?/gm, "#");
|
|
@@ -9645,7 +9647,7 @@ var require_stringifyComment = __commonJS({ "../../../../../../../../../Users/sa
|
|
|
9645
9647
|
exports2.lineComment = lineComment;
|
|
9646
9648
|
exports2.stringifyComment = stringifyComment;
|
|
9647
9649
|
} });
|
|
9648
|
-
var require_foldFlowLines = __commonJS({ "
|
|
9650
|
+
var require_foldFlowLines = __commonJS({ "../../node_modules/yaml/dist/stringify/foldFlowLines.js"(exports2) {
|
|
9649
9651
|
"use strict";
|
|
9650
9652
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
9651
9653
|
var FOLD_FLOW = "flow", FOLD_BLOCK = "block", FOLD_QUOTED = "quoted";
|
|
@@ -9722,7 +9724,7 @@ ${indent}${text.slice(fold + 1, end2)}`);
|
|
|
9722
9724
|
exports2.FOLD_QUOTED = FOLD_QUOTED;
|
|
9723
9725
|
exports2.foldFlowLines = foldFlowLines;
|
|
9724
9726
|
} });
|
|
9725
|
-
var require_stringifyString = __commonJS({ "
|
|
9727
|
+
var require_stringifyString = __commonJS({ "../../node_modules/yaml/dist/stringify/stringifyString.js"(exports2) {
|
|
9726
9728
|
"use strict";
|
|
9727
9729
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
9728
9730
|
var Scalar = require_Scalar(), foldFlowLines = require_foldFlowLines(), getFoldOptions = (ctx, isBlock) => ({ indentAtStart: isBlock ? ctx.indent.length : ctx.indentAtStart, lineWidth: ctx.options.lineWidth, minContentWidth: ctx.options.minContentWidth }), containsDocumentMarker = (str3) => /^(%|---|\.\.\.)/m.test(str3);
|
|
@@ -9904,7 +9906,7 @@ ${indent}`);
|
|
|
9904
9906
|
}
|
|
9905
9907
|
exports2.stringifyString = stringifyString;
|
|
9906
9908
|
} });
|
|
9907
|
-
var require_stringify = __commonJS({ "
|
|
9909
|
+
var require_stringify = __commonJS({ "../../node_modules/yaml/dist/stringify/stringify.js"(exports2) {
|
|
9908
9910
|
"use strict";
|
|
9909
9911
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
9910
9912
|
var anchors = require_anchors(), identity = require_identity(), stringifyComment = require_stringifyComment(), stringifyString = require_stringifyString();
|
|
@@ -9968,7 +9970,7 @@ ${ctx.indent}${str3}` : str3;
|
|
|
9968
9970
|
exports2.createStringifyContext = createStringifyContext;
|
|
9969
9971
|
exports2.stringify = stringify;
|
|
9970
9972
|
} });
|
|
9971
|
-
var require_stringifyPair = __commonJS({ "
|
|
9973
|
+
var require_stringifyPair = __commonJS({ "../../node_modules/yaml/dist/stringify/stringifyPair.js"(exports2) {
|
|
9972
9974
|
"use strict";
|
|
9973
9975
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
9974
9976
|
var identity = require_identity(), Scalar = require_Scalar(), stringify = require_stringify(), stringifyComment = require_stringifyComment();
|
|
@@ -10026,7 +10028,7 @@ ${ctx.indent}`);
|
|
|
10026
10028
|
}
|
|
10027
10029
|
exports2.stringifyPair = stringifyPair;
|
|
10028
10030
|
} });
|
|
10029
|
-
var require_log = __commonJS({ "
|
|
10031
|
+
var require_log = __commonJS({ "../../node_modules/yaml/dist/log.js"(exports2) {
|
|
10030
10032
|
"use strict";
|
|
10031
10033
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10032
10034
|
var node_process = require("process");
|
|
@@ -10039,7 +10041,7 @@ var require_log = __commonJS({ "../../../../../../../../../Users/saeed/Projects/
|
|
|
10039
10041
|
exports2.debug = debug;
|
|
10040
10042
|
exports2.warn = warn2;
|
|
10041
10043
|
} });
|
|
10042
|
-
var require_merge = __commonJS({ "
|
|
10044
|
+
var require_merge = __commonJS({ "../../node_modules/yaml/dist/schema/yaml-1.1/merge.js"(exports2) {
|
|
10043
10045
|
"use strict";
|
|
10044
10046
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10045
10047
|
var identity = require_identity(), Scalar = require_Scalar(), MERGE_KEY = "<<", merge2 = { identify: (value) => value === MERGE_KEY || typeof value == "symbol" && value.description === MERGE_KEY, default: "key", tag: "tag:yaml.org,2002:merge", test: /^<<$/, resolve: () => Object.assign(new Scalar.Scalar(Symbol(MERGE_KEY)), { addToJSMap: addMergeToJSMap }), stringify: () => MERGE_KEY }, isMergeKey = (ctx, key) => (merge2.identify(key) || identity.isScalar(key) && (!key.type || key.type === Scalar.Scalar.PLAIN) && merge2.identify(key.value)) && ctx?.doc.schema.tags.some((tag) => tag.tag === merge2.tag && tag.default);
|
|
@@ -10063,7 +10065,7 @@ var require_merge = __commonJS({ "../../../../../../../../../Users/saeed/Project
|
|
|
10063
10065
|
exports2.isMergeKey = isMergeKey;
|
|
10064
10066
|
exports2.merge = merge2;
|
|
10065
10067
|
} });
|
|
10066
|
-
var require_addPairToJSMap = __commonJS({ "
|
|
10068
|
+
var require_addPairToJSMap = __commonJS({ "../../node_modules/yaml/dist/nodes/addPairToJSMap.js"(exports2) {
|
|
10067
10069
|
"use strict";
|
|
10068
10070
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10069
10071
|
var log = require_log(), merge2 = require_merge(), stringify = require_stringify(), identity = require_identity(), toJS = require_toJS();
|
|
@@ -10100,7 +10102,7 @@ var require_addPairToJSMap = __commonJS({ "../../../../../../../../../Users/saee
|
|
|
10100
10102
|
}
|
|
10101
10103
|
exports2.addPairToJSMap = addPairToJSMap;
|
|
10102
10104
|
} });
|
|
10103
|
-
var require_Pair = __commonJS({ "
|
|
10105
|
+
var require_Pair = __commonJS({ "../../node_modules/yaml/dist/nodes/Pair.js"(exports2) {
|
|
10104
10106
|
"use strict";
|
|
10105
10107
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10106
10108
|
var createNode = require_createNode(), stringifyPair = require_stringifyPair(), addPairToJSMap = require_addPairToJSMap(), identity = require_identity();
|
|
@@ -10127,7 +10129,7 @@ var require_Pair = __commonJS({ "../../../../../../../../../Users/saeed/Projects
|
|
|
10127
10129
|
exports2.Pair = Pair;
|
|
10128
10130
|
exports2.createPair = createPair;
|
|
10129
10131
|
} });
|
|
10130
|
-
var require_stringifyCollection = __commonJS({ "
|
|
10132
|
+
var require_stringifyCollection = __commonJS({ "../../node_modules/yaml/dist/stringify/stringifyCollection.js"(exports2) {
|
|
10131
10133
|
"use strict";
|
|
10132
10134
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10133
10135
|
var identity = require_identity(), stringify = require_stringify(), stringifyComment = require_stringifyComment();
|
|
@@ -10202,7 +10204,7 @@ ${indent}${end}`;
|
|
|
10202
10204
|
}
|
|
10203
10205
|
exports2.stringifyCollection = stringifyCollection;
|
|
10204
10206
|
} });
|
|
10205
|
-
var require_YAMLMap = __commonJS({ "
|
|
10207
|
+
var require_YAMLMap = __commonJS({ "../../node_modules/yaml/dist/nodes/YAMLMap.js"(exports2) {
|
|
10206
10208
|
"use strict";
|
|
10207
10209
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10208
10210
|
var stringifyCollection = require_stringifyCollection(), addPairToJSMap = require_addPairToJSMap(), Collection = require_Collection(), identity = require_identity(), Pair = require_Pair(), Scalar = require_Scalar();
|
|
@@ -10268,7 +10270,7 @@ var require_YAMLMap = __commonJS({ "../../../../../../../../../Users/saeed/Proje
|
|
|
10268
10270
|
exports2.YAMLMap = YAMLMap;
|
|
10269
10271
|
exports2.findPair = findPair;
|
|
10270
10272
|
} });
|
|
10271
|
-
var require_map = __commonJS({ "
|
|
10273
|
+
var require_map = __commonJS({ "../../node_modules/yaml/dist/schema/common/map.js"(exports2) {
|
|
10272
10274
|
"use strict";
|
|
10273
10275
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10274
10276
|
var identity = require_identity(), YAMLMap = require_YAMLMap(), map2 = { collection: "map", default: true, nodeClass: YAMLMap.YAMLMap, tag: "tag:yaml.org,2002:map", resolve(map3, onError) {
|
|
@@ -10276,7 +10278,7 @@ var require_map = __commonJS({ "../../../../../../../../../Users/saeed/Projects/
|
|
|
10276
10278
|
}, createNode: (schema2, obj, ctx) => YAMLMap.YAMLMap.from(schema2, obj, ctx) };
|
|
10277
10279
|
exports2.map = map2;
|
|
10278
10280
|
} });
|
|
10279
|
-
var require_YAMLSeq = __commonJS({ "
|
|
10281
|
+
var require_YAMLSeq = __commonJS({ "../../node_modules/yaml/dist/nodes/YAMLSeq.js"(exports2) {
|
|
10280
10282
|
"use strict";
|
|
10281
10283
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10282
10284
|
var createNode = require_createNode(), stringifyCollection = require_stringifyCollection(), Collection = require_Collection(), identity = require_identity(), Scalar = require_Scalar(), toJS = require_toJS(), YAMLSeq = class extends Collection.Collection {
|
|
@@ -10340,7 +10342,7 @@ var require_YAMLSeq = __commonJS({ "../../../../../../../../../Users/saeed/Proje
|
|
|
10340
10342
|
}
|
|
10341
10343
|
exports2.YAMLSeq = YAMLSeq;
|
|
10342
10344
|
} });
|
|
10343
|
-
var require_seq = __commonJS({ "
|
|
10345
|
+
var require_seq = __commonJS({ "../../node_modules/yaml/dist/schema/common/seq.js"(exports2) {
|
|
10344
10346
|
"use strict";
|
|
10345
10347
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10346
10348
|
var identity = require_identity(), YAMLSeq = require_YAMLSeq(), seq2 = { collection: "seq", default: true, nodeClass: YAMLSeq.YAMLSeq, tag: "tag:yaml.org,2002:seq", resolve(seq3, onError) {
|
|
@@ -10348,7 +10350,7 @@ var require_seq = __commonJS({ "../../../../../../../../../Users/saeed/Projects/
|
|
|
10348
10350
|
}, createNode: (schema2, obj, ctx) => YAMLSeq.YAMLSeq.from(schema2, obj, ctx) };
|
|
10349
10351
|
exports2.seq = seq2;
|
|
10350
10352
|
} });
|
|
10351
|
-
var require_string = __commonJS({ "
|
|
10353
|
+
var require_string = __commonJS({ "../../node_modules/yaml/dist/schema/common/string.js"(exports2) {
|
|
10352
10354
|
"use strict";
|
|
10353
10355
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10354
10356
|
var stringifyString = require_stringifyString(), string = { identify: (value) => typeof value == "string", default: true, tag: "tag:yaml.org,2002:str", resolve: (str3) => str3, stringify(item, ctx, onComment, onChompKeep) {
|
|
@@ -10356,13 +10358,13 @@ var require_string = __commonJS({ "../../../../../../../../../Users/saeed/Projec
|
|
|
10356
10358
|
} };
|
|
10357
10359
|
exports2.string = string;
|
|
10358
10360
|
} });
|
|
10359
|
-
var require_null2 = __commonJS({ "
|
|
10361
|
+
var require_null2 = __commonJS({ "../../node_modules/yaml/dist/schema/common/null.js"(exports2) {
|
|
10360
10362
|
"use strict";
|
|
10361
10363
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10362
10364
|
var Scalar = require_Scalar(), nullTag = { identify: (value) => value == null, createNode: () => new Scalar.Scalar(null), default: true, tag: "tag:yaml.org,2002:null", test: /^(?:~|[Nn]ull|NULL)?$/, resolve: () => new Scalar.Scalar(null), stringify: ({ source }, ctx) => typeof source == "string" && nullTag.test.test(source) ? source : ctx.options.nullStr };
|
|
10363
10365
|
exports2.nullTag = nullTag;
|
|
10364
10366
|
} });
|
|
10365
|
-
var require_bool = __commonJS({ "
|
|
10367
|
+
var require_bool = __commonJS({ "../../node_modules/yaml/dist/schema/core/bool.js"(exports2) {
|
|
10366
10368
|
"use strict";
|
|
10367
10369
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10368
10370
|
var Scalar = require_Scalar(), boolTag = { identify: (value) => typeof value == "boolean", default: true, tag: "tag:yaml.org,2002:bool", test: /^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/, resolve: (str3) => new Scalar.Scalar(str3[0] === "t" || str3[0] === "T"), stringify({ source, value }, ctx) {
|
|
@@ -10374,7 +10376,7 @@ var require_bool = __commonJS({ "../../../../../../../../../Users/saeed/Projects
|
|
|
10374
10376
|
} };
|
|
10375
10377
|
exports2.boolTag = boolTag;
|
|
10376
10378
|
} });
|
|
10377
|
-
var require_stringifyNumber = __commonJS({ "
|
|
10379
|
+
var require_stringifyNumber = __commonJS({ "../../node_modules/yaml/dist/stringify/stringifyNumber.js"(exports2) {
|
|
10378
10380
|
"use strict";
|
|
10379
10381
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10380
10382
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
@@ -10392,7 +10394,7 @@ var require_stringifyNumber = __commonJS({ "../../../../../../../../../Users/sae
|
|
|
10392
10394
|
}
|
|
10393
10395
|
exports2.stringifyNumber = stringifyNumber;
|
|
10394
10396
|
} });
|
|
10395
|
-
var require_float = __commonJS({ "
|
|
10397
|
+
var require_float = __commonJS({ "../../node_modules/yaml/dist/schema/core/float.js"(exports2) {
|
|
10396
10398
|
"use strict";
|
|
10397
10399
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10398
10400
|
var Scalar = require_Scalar(), stringifyNumber = require_stringifyNumber(), floatNaN = { identify: (value) => typeof value == "number", default: true, tag: "tag:yaml.org,2002:float", test: /^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/, resolve: (str3) => str3.slice(-3).toLowerCase() === "nan" ? NaN : str3[0] === "-" ? Number.NEGATIVE_INFINITY : Number.POSITIVE_INFINITY, stringify: stringifyNumber.stringifyNumber }, floatExp = { identify: (value) => typeof value == "number", default: true, tag: "tag:yaml.org,2002:float", format: "EXP", test: /^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/, resolve: (str3) => parseFloat(str3), stringify(node) {
|
|
@@ -10406,7 +10408,7 @@ var require_float = __commonJS({ "../../../../../../../../../Users/saeed/Project
|
|
|
10406
10408
|
exports2.floatExp = floatExp;
|
|
10407
10409
|
exports2.floatNaN = floatNaN;
|
|
10408
10410
|
} });
|
|
10409
|
-
var require_int = __commonJS({ "
|
|
10411
|
+
var require_int = __commonJS({ "../../node_modules/yaml/dist/schema/core/int.js"(exports2) {
|
|
10410
10412
|
"use strict";
|
|
10411
10413
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10412
10414
|
var stringifyNumber = require_stringifyNumber(), intIdentify = (value) => typeof value == "bigint" || Number.isInteger(value), intResolve = (str3, offset, radix, { intAsBigInt }) => intAsBigInt ? BigInt(str3) : parseInt(str3.substring(offset), radix);
|
|
@@ -10419,13 +10421,13 @@ var require_int = __commonJS({ "../../../../../../../../../Users/saeed/Projects/
|
|
|
10419
10421
|
exports2.intHex = intHex;
|
|
10420
10422
|
exports2.intOct = intOct;
|
|
10421
10423
|
} });
|
|
10422
|
-
var require_schema2 = __commonJS({ "
|
|
10424
|
+
var require_schema2 = __commonJS({ "../../node_modules/yaml/dist/schema/core/schema.js"(exports2) {
|
|
10423
10425
|
"use strict";
|
|
10424
10426
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10425
10427
|
var map2 = require_map(), _null2 = require_null2(), seq2 = require_seq(), string = require_string(), bool2 = require_bool(), float2 = require_float(), int2 = require_int(), schema2 = [map2.map, seq2.seq, string.string, _null2.nullTag, bool2.boolTag, int2.intOct, int2.int, int2.intHex, float2.floatNaN, float2.floatExp, float2.float];
|
|
10426
10428
|
exports2.schema = schema2;
|
|
10427
10429
|
} });
|
|
10428
|
-
var require_schema3 = __commonJS({ "
|
|
10430
|
+
var require_schema3 = __commonJS({ "../../node_modules/yaml/dist/schema/json/schema.js"(exports2) {
|
|
10429
10431
|
"use strict";
|
|
10430
10432
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10431
10433
|
var Scalar = require_Scalar(), map2 = require_map(), seq2 = require_seq();
|
|
@@ -10437,7 +10439,7 @@ var require_schema3 = __commonJS({ "../../../../../../../../../Users/saeed/Proje
|
|
|
10437
10439
|
} }, schema2 = [map2.map, seq2.seq].concat(jsonScalars, jsonError);
|
|
10438
10440
|
exports2.schema = schema2;
|
|
10439
10441
|
} });
|
|
10440
|
-
var require_binary = __commonJS({ "
|
|
10442
|
+
var require_binary = __commonJS({ "../../node_modules/yaml/dist/schema/yaml-1.1/binary.js"(exports2) {
|
|
10441
10443
|
"use strict";
|
|
10442
10444
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10443
10445
|
var node_buffer = require("buffer"), Scalar = require_Scalar(), stringifyString = require_stringifyString(), binary2 = { identify: (value) => value instanceof Uint8Array, default: false, tag: "tag:yaml.org,2002:binary", resolve(src, onError) {
|
|
@@ -10466,7 +10468,7 @@ var require_binary = __commonJS({ "../../../../../../../../../Users/saeed/Projec
|
|
|
10466
10468
|
} };
|
|
10467
10469
|
exports2.binary = binary2;
|
|
10468
10470
|
} });
|
|
10469
|
-
var require_pairs = __commonJS({ "
|
|
10471
|
+
var require_pairs = __commonJS({ "../../node_modules/yaml/dist/schema/yaml-1.1/pairs.js"(exports2) {
|
|
10470
10472
|
"use strict";
|
|
10471
10473
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10472
10474
|
var identity = require_identity(), Pair = require_Pair(), Scalar = require_Scalar(), YAMLSeq = require_YAMLSeq();
|
|
@@ -10514,7 +10516,7 @@ ${cn.comment}` : item.comment;
|
|
|
10514
10516
|
exports2.pairs = pairs3;
|
|
10515
10517
|
exports2.resolvePairs = resolvePairs;
|
|
10516
10518
|
} });
|
|
10517
|
-
var require_omap = __commonJS({ "
|
|
10519
|
+
var require_omap = __commonJS({ "../../node_modules/yaml/dist/schema/yaml-1.1/omap.js"(exports2) {
|
|
10518
10520
|
"use strict";
|
|
10519
10521
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10520
10522
|
var identity = require_identity(), toJS = require_toJS(), YAMLMap = require_YAMLMap(), YAMLSeq = require_YAMLSeq(), pairs3 = require_pairs(), YAMLOMap = class _YAMLOMap extends YAMLSeq.YAMLSeq {
|
|
@@ -10546,7 +10548,7 @@ var require_omap = __commonJS({ "../../../../../../../../../Users/saeed/Projects
|
|
|
10546
10548
|
exports2.YAMLOMap = YAMLOMap;
|
|
10547
10549
|
exports2.omap = omap2;
|
|
10548
10550
|
} });
|
|
10549
|
-
var require_bool2 = __commonJS({ "
|
|
10551
|
+
var require_bool2 = __commonJS({ "../../node_modules/yaml/dist/schema/yaml-1.1/bool.js"(exports2) {
|
|
10550
10552
|
"use strict";
|
|
10551
10553
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10552
10554
|
var Scalar = require_Scalar();
|
|
@@ -10557,7 +10559,7 @@ var require_bool2 = __commonJS({ "../../../../../../../../../Users/saeed/Project
|
|
|
10557
10559
|
exports2.falseTag = falseTag;
|
|
10558
10560
|
exports2.trueTag = trueTag;
|
|
10559
10561
|
} });
|
|
10560
|
-
var require_float2 = __commonJS({ "
|
|
10562
|
+
var require_float2 = __commonJS({ "../../node_modules/yaml/dist/schema/yaml-1.1/float.js"(exports2) {
|
|
10561
10563
|
"use strict";
|
|
10562
10564
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10563
10565
|
var Scalar = require_Scalar(), stringifyNumber = require_stringifyNumber(), floatNaN = { identify: (value) => typeof value == "number", default: true, tag: "tag:yaml.org,2002:float", test: /^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/, resolve: (str3) => str3.slice(-3).toLowerCase() === "nan" ? NaN : str3[0] === "-" ? Number.NEGATIVE_INFINITY : Number.POSITIVE_INFINITY, stringify: stringifyNumber.stringifyNumber }, floatExp = { identify: (value) => typeof value == "number", default: true, tag: "tag:yaml.org,2002:float", format: "EXP", test: /^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/, resolve: (str3) => parseFloat(str3.replace(/_/g, "")), stringify(node) {
|
|
@@ -10575,7 +10577,7 @@ var require_float2 = __commonJS({ "../../../../../../../../../Users/saeed/Projec
|
|
|
10575
10577
|
exports2.floatExp = floatExp;
|
|
10576
10578
|
exports2.floatNaN = floatNaN;
|
|
10577
10579
|
} });
|
|
10578
|
-
var require_int2 = __commonJS({ "
|
|
10580
|
+
var require_int2 = __commonJS({ "../../node_modules/yaml/dist/schema/yaml-1.1/int.js"(exports2) {
|
|
10579
10581
|
"use strict";
|
|
10580
10582
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10581
10583
|
var stringifyNumber = require_stringifyNumber(), intIdentify = (value) => typeof value == "bigint" || Number.isInteger(value);
|
|
@@ -10613,7 +10615,7 @@ var require_int2 = __commonJS({ "../../../../../../../../../Users/saeed/Projects
|
|
|
10613
10615
|
exports2.intHex = intHex;
|
|
10614
10616
|
exports2.intOct = intOct;
|
|
10615
10617
|
} });
|
|
10616
|
-
var require_set = __commonJS({ "
|
|
10618
|
+
var require_set = __commonJS({ "../../node_modules/yaml/dist/schema/yaml-1.1/set.js"(exports2) {
|
|
10617
10619
|
"use strict";
|
|
10618
10620
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10619
10621
|
var identity = require_identity(), Pair = require_Pair(), YAMLMap = require_YAMLMap(), YAMLSet = class _YAMLSet extends YAMLMap.YAMLMap {
|
|
@@ -10658,7 +10660,7 @@ var require_set = __commonJS({ "../../../../../../../../../Users/saeed/Projects/
|
|
|
10658
10660
|
exports2.YAMLSet = YAMLSet;
|
|
10659
10661
|
exports2.set = set2;
|
|
10660
10662
|
} });
|
|
10661
|
-
var require_timestamp = __commonJS({ "
|
|
10663
|
+
var require_timestamp = __commonJS({ "../../node_modules/yaml/dist/schema/yaml-1.1/timestamp.js"(exports2) {
|
|
10662
10664
|
"use strict";
|
|
10663
10665
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10664
10666
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -10689,13 +10691,13 @@ var require_timestamp = __commonJS({ "../../../../../../../../../Users/saeed/Pro
|
|
|
10689
10691
|
exports2.intTime = intTime;
|
|
10690
10692
|
exports2.timestamp = timestamp2;
|
|
10691
10693
|
} });
|
|
10692
|
-
var require_schema4 = __commonJS({ "
|
|
10694
|
+
var require_schema4 = __commonJS({ "../../node_modules/yaml/dist/schema/yaml-1.1/schema.js"(exports2) {
|
|
10693
10695
|
"use strict";
|
|
10694
10696
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10695
10697
|
var map2 = require_map(), _null2 = require_null2(), seq2 = require_seq(), string = require_string(), binary2 = require_binary(), bool2 = require_bool2(), float2 = require_float2(), int2 = require_int2(), merge2 = require_merge(), omap2 = require_omap(), pairs3 = require_pairs(), set2 = require_set(), timestamp2 = require_timestamp(), schema2 = [map2.map, seq2.seq, string.string, _null2.nullTag, bool2.trueTag, bool2.falseTag, int2.intBin, int2.intOct, int2.int, int2.intHex, float2.floatNaN, float2.floatExp, float2.float, binary2.binary, merge2.merge, omap2.omap, pairs3.pairs, set2.set, timestamp2.intTime, timestamp2.floatTime, timestamp2.timestamp];
|
|
10696
10698
|
exports2.schema = schema2;
|
|
10697
10699
|
} });
|
|
10698
|
-
var require_tags = __commonJS({ "
|
|
10700
|
+
var require_tags = __commonJS({ "../../node_modules/yaml/dist/schema/tags.js"(exports2) {
|
|
10699
10701
|
"use strict";
|
|
10700
10702
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10701
10703
|
var map2 = require_map(), _null2 = require_null2(), seq2 = require_seq(), string = require_string(), bool2 = require_bool(), float2 = require_float(), int2 = require_int(), schema2 = require_schema2(), schema$1 = require_schema3(), binary2 = require_binary(), merge2 = require_merge(), omap2 = require_omap(), pairs3 = require_pairs(), schema$2 = require_schema4(), set2 = require_set(), timestamp2 = require_timestamp(), schemas = /* @__PURE__ */ new Map([["core", schema2.schema], ["failsafe", [map2.map, seq2.seq, string.string]], ["json", schema$1.schema], ["yaml11", schema$2.schema], ["yaml-1.1", schema$2.schema]]), tagsByName = { binary: binary2.binary, bool: bool2.boolTag, float: float2.float, floatExp: float2.floatExp, floatNaN: float2.floatNaN, floatTime: timestamp2.floatTime, int: int2.int, intHex: int2.intHex, intOct: int2.intOct, intTime: timestamp2.intTime, map: map2.map, merge: merge2.merge, null: _null2.nullTag, omap: omap2.omap, pairs: pairs3.pairs, seq: seq2.seq, set: set2.set, timestamp: timestamp2.timestamp }, coreKnownTags = { "tag:yaml.org,2002:binary": binary2.binary, "tag:yaml.org,2002:merge": merge2.merge, "tag:yaml.org,2002:omap": omap2.omap, "tag:yaml.org,2002:pairs": pairs3.pairs, "tag:yaml.org,2002:set": set2.set, "tag:yaml.org,2002:timestamp": timestamp2.timestamp };
|
|
@@ -10722,7 +10724,7 @@ var require_tags = __commonJS({ "../../../../../../../../../Users/saeed/Projects
|
|
|
10722
10724
|
exports2.coreKnownTags = coreKnownTags;
|
|
10723
10725
|
exports2.getTags = getTags;
|
|
10724
10726
|
} });
|
|
10725
|
-
var require_Schema = __commonJS({ "
|
|
10727
|
+
var require_Schema = __commonJS({ "../../node_modules/yaml/dist/schema/Schema.js"(exports2) {
|
|
10726
10728
|
"use strict";
|
|
10727
10729
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10728
10730
|
var identity = require_identity(), map2 = require_map(), seq2 = require_seq(), string = require_string(), tags = require_tags(), sortMapEntriesByKey = (a, b) => a.key < b.key ? -1 : a.key > b.key ? 1 : 0, Schema2 = class _Schema {
|
|
@@ -10736,7 +10738,7 @@ var require_Schema = __commonJS({ "../../../../../../../../../Users/saeed/Projec
|
|
|
10736
10738
|
};
|
|
10737
10739
|
exports2.Schema = Schema2;
|
|
10738
10740
|
} });
|
|
10739
|
-
var require_stringifyDocument = __commonJS({ "
|
|
10741
|
+
var require_stringifyDocument = __commonJS({ "../../node_modules/yaml/dist/stringify/stringifyDocument.js"(exports2) {
|
|
10740
10742
|
"use strict";
|
|
10741
10743
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10742
10744
|
var identity = require_identity(), stringify = require_stringify(), stringifyComment = require_stringifyComment();
|
|
@@ -10780,7 +10782,7 @@ var require_stringifyDocument = __commonJS({ "../../../../../../../../../Users/s
|
|
|
10780
10782
|
}
|
|
10781
10783
|
exports2.stringifyDocument = stringifyDocument;
|
|
10782
10784
|
} });
|
|
10783
|
-
var require_Document = __commonJS({ "
|
|
10785
|
+
var require_Document = __commonJS({ "../../node_modules/yaml/dist/doc/Document.js"(exports2) {
|
|
10784
10786
|
"use strict";
|
|
10785
10787
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10786
10788
|
var Alias = require_Alias(), Collection = require_Collection(), identity = require_identity(), Pair = require_Pair(), toJS = require_toJS(), Schema2 = require_Schema(), stringifyDocument = require_stringifyDocument(), anchors = require_anchors(), applyReviver = require_applyReviver(), createNode = require_createNode(), directives = require_directives(), Document = class _Document {
|
|
@@ -10894,7 +10896,7 @@ var require_Document = __commonJS({ "../../../../../../../../../Users/saeed/Proj
|
|
|
10894
10896
|
}
|
|
10895
10897
|
exports2.Document = Document;
|
|
10896
10898
|
} });
|
|
10897
|
-
var require_errors2 = __commonJS({ "
|
|
10899
|
+
var require_errors2 = __commonJS({ "../../node_modules/yaml/dist/errors.js"(exports2) {
|
|
10898
10900
|
"use strict";
|
|
10899
10901
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10900
10902
|
var YAMLError = class extends Error {
|
|
@@ -10940,7 +10942,7 @@ ${pointer}
|
|
|
10940
10942
|
exports2.YAMLWarning = YAMLWarning;
|
|
10941
10943
|
exports2.prettifyError = prettifyError;
|
|
10942
10944
|
} });
|
|
10943
|
-
var require_resolve_props = __commonJS({ "
|
|
10945
|
+
var require_resolve_props = __commonJS({ "../../node_modules/yaml/dist/compose/resolve-props.js"(exports2) {
|
|
10944
10946
|
"use strict";
|
|
10945
10947
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10946
10948
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
@@ -10981,7 +10983,7 @@ var require_resolve_props = __commonJS({ "../../../../../../../../../Users/saeed
|
|
|
10981
10983
|
}
|
|
10982
10984
|
exports2.resolveProps = resolveProps;
|
|
10983
10985
|
} });
|
|
10984
|
-
var require_util_contains_newline = __commonJS({ "
|
|
10986
|
+
var require_util_contains_newline = __commonJS({ "../../node_modules/yaml/dist/compose/util-contains-newline.js"(exports2) {
|
|
10985
10987
|
"use strict";
|
|
10986
10988
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
10987
10989
|
function containsNewline(key) {
|
|
@@ -11012,7 +11014,7 @@ var require_util_contains_newline = __commonJS({ "../../../../../../../../../Use
|
|
|
11012
11014
|
}
|
|
11013
11015
|
exports2.containsNewline = containsNewline;
|
|
11014
11016
|
} });
|
|
11015
|
-
var require_util_flow_indent_check = __commonJS({ "
|
|
11017
|
+
var require_util_flow_indent_check = __commonJS({ "../../node_modules/yaml/dist/compose/util-flow-indent-check.js"(exports2) {
|
|
11016
11018
|
"use strict";
|
|
11017
11019
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
11018
11020
|
var utilContainsNewline = require_util_contains_newline();
|
|
@@ -11024,7 +11026,7 @@ var require_util_flow_indent_check = __commonJS({ "../../../../../../../../../Us
|
|
|
11024
11026
|
}
|
|
11025
11027
|
exports2.flowIndentCheck = flowIndentCheck;
|
|
11026
11028
|
} });
|
|
11027
|
-
var require_util_map_includes = __commonJS({ "
|
|
11029
|
+
var require_util_map_includes = __commonJS({ "../../node_modules/yaml/dist/compose/util-map-includes.js"(exports2) {
|
|
11028
11030
|
"use strict";
|
|
11029
11031
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
11030
11032
|
var identity = require_identity();
|
|
@@ -11036,7 +11038,7 @@ var require_util_map_includes = __commonJS({ "../../../../../../../../../Users/s
|
|
|
11036
11038
|
}
|
|
11037
11039
|
exports2.mapIncludes = mapIncludes;
|
|
11038
11040
|
} });
|
|
11039
|
-
var require_resolve_block_map = __commonJS({ "
|
|
11041
|
+
var require_resolve_block_map = __commonJS({ "../../node_modules/yaml/dist/compose/resolve-block-map.js"(exports2) {
|
|
11040
11042
|
"use strict";
|
|
11041
11043
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
11042
11044
|
var Pair = require_Pair(), YAMLMap = require_YAMLMap(), resolveProps = require_resolve_props(), utilContainsNewline = require_util_contains_newline(), utilFlowIndentCheck = require_util_flow_indent_check(), utilMapIncludes = require_util_map_includes(), startColMsg = "All mapping items must start at the same column";
|
|
@@ -11075,7 +11077,7 @@ var require_resolve_block_map = __commonJS({ "../../../../../../../../../Users/s
|
|
|
11075
11077
|
}
|
|
11076
11078
|
exports2.resolveBlockMap = resolveBlockMap;
|
|
11077
11079
|
} });
|
|
11078
|
-
var require_resolve_block_seq = __commonJS({ "
|
|
11080
|
+
var require_resolve_block_seq = __commonJS({ "../../node_modules/yaml/dist/compose/resolve-block-seq.js"(exports2) {
|
|
11079
11081
|
"use strict";
|
|
11080
11082
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
11081
11083
|
var YAMLSeq = require_YAMLSeq(), resolveProps = require_resolve_props(), utilFlowIndentCheck = require_util_flow_indent_check();
|
|
@@ -11097,7 +11099,7 @@ var require_resolve_block_seq = __commonJS({ "../../../../../../../../../Users/s
|
|
|
11097
11099
|
}
|
|
11098
11100
|
exports2.resolveBlockSeq = resolveBlockSeq;
|
|
11099
11101
|
} });
|
|
11100
|
-
var require_resolve_end = __commonJS({ "
|
|
11102
|
+
var require_resolve_end = __commonJS({ "../../node_modules/yaml/dist/compose/resolve-end.js"(exports2) {
|
|
11101
11103
|
"use strict";
|
|
11102
11104
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
11103
11105
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
@@ -11129,7 +11131,7 @@ var require_resolve_end = __commonJS({ "../../../../../../../../../Users/saeed/P
|
|
|
11129
11131
|
}
|
|
11130
11132
|
exports2.resolveEnd = resolveEnd;
|
|
11131
11133
|
} });
|
|
11132
|
-
var require_resolve_flow_collection = __commonJS({ "
|
|
11134
|
+
var require_resolve_flow_collection = __commonJS({ "../../node_modules/yaml/dist/compose/resolve-flow-collection.js"(exports2) {
|
|
11133
11135
|
"use strict";
|
|
11134
11136
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
11135
11137
|
var identity = require_identity(), Pair = require_Pair(), YAMLMap = require_YAMLMap(), YAMLSeq = require_YAMLSeq(), resolveEnd = require_resolve_end(), resolveProps = require_resolve_props(), utilContainsNewline = require_util_contains_newline(), utilMapIncludes = require_util_map_includes(), blockMsg = "Block collections are not allowed within flow collections", isBlock = (token) => token && (token.type === "block-map" || token.type === "block-seq");
|
|
@@ -11219,7 +11221,7 @@ var require_resolve_flow_collection = __commonJS({ "../../../../../../../../../U
|
|
|
11219
11221
|
}
|
|
11220
11222
|
exports2.resolveFlowCollection = resolveFlowCollection;
|
|
11221
11223
|
} });
|
|
11222
|
-
var require_compose_collection = __commonJS({ "
|
|
11224
|
+
var require_compose_collection = __commonJS({ "../../node_modules/yaml/dist/compose/compose-collection.js"(exports2) {
|
|
11223
11225
|
"use strict";
|
|
11224
11226
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
11225
11227
|
var identity = require_identity(), Scalar = require_Scalar(), YAMLMap = require_YAMLMap(), YAMLSeq = require_YAMLSeq(), resolveBlockMap = require_resolve_block_map(), resolveBlockSeq = require_resolve_block_seq(), resolveFlowCollection = require_resolve_flow_collection();
|
|
@@ -11246,7 +11248,7 @@ var require_compose_collection = __commonJS({ "../../../../../../../../../Users/
|
|
|
11246
11248
|
}
|
|
11247
11249
|
exports2.composeCollection = composeCollection;
|
|
11248
11250
|
} });
|
|
11249
|
-
var require_resolve_block_scalar = __commonJS({ "
|
|
11251
|
+
var require_resolve_block_scalar = __commonJS({ "../../node_modules/yaml/dist/compose/resolve-block-scalar.js"(exports2) {
|
|
11250
11252
|
"use strict";
|
|
11251
11253
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
11252
11254
|
var Scalar = require_Scalar();
|
|
@@ -11358,7 +11360,7 @@ var require_resolve_block_scalar = __commonJS({ "../../../../../../../../../User
|
|
|
11358
11360
|
}
|
|
11359
11361
|
exports2.resolveBlockScalar = resolveBlockScalar;
|
|
11360
11362
|
} });
|
|
11361
|
-
var require_resolve_flow_scalar = __commonJS({ "
|
|
11363
|
+
var require_resolve_flow_scalar = __commonJS({ "../../node_modules/yaml/dist/compose/resolve-flow-scalar.js"(exports2) {
|
|
11362
11364
|
"use strict";
|
|
11363
11365
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
11364
11366
|
var Scalar = require_Scalar(), resolveEnd = require_resolve_end();
|
|
@@ -11482,7 +11484,7 @@ var require_resolve_flow_scalar = __commonJS({ "../../../../../../../../../Users
|
|
|
11482
11484
|
}
|
|
11483
11485
|
exports2.resolveFlowScalar = resolveFlowScalar;
|
|
11484
11486
|
} });
|
|
11485
|
-
var require_compose_scalar = __commonJS({ "
|
|
11487
|
+
var require_compose_scalar = __commonJS({ "../../node_modules/yaml/dist/compose/compose-scalar.js"(exports2) {
|
|
11486
11488
|
"use strict";
|
|
11487
11489
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
11488
11490
|
var identity = require_identity(), Scalar = require_Scalar(), resolveBlockScalar = require_resolve_block_scalar(), resolveFlowScalar = require_resolve_flow_scalar();
|
|
@@ -11521,7 +11523,7 @@ var require_compose_scalar = __commonJS({ "../../../../../../../../../Users/saee
|
|
|
11521
11523
|
}
|
|
11522
11524
|
exports2.composeScalar = composeScalar;
|
|
11523
11525
|
} });
|
|
11524
|
-
var require_util_empty_scalar_position = __commonJS({ "
|
|
11526
|
+
var require_util_empty_scalar_position = __commonJS({ "../../node_modules/yaml/dist/compose/util-empty-scalar-position.js"(exports2) {
|
|
11525
11527
|
"use strict";
|
|
11526
11528
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
11527
11529
|
function emptyScalarPosition(offset, before, pos) {
|
|
@@ -11544,7 +11546,7 @@ var require_util_empty_scalar_position = __commonJS({ "../../../../../../../../.
|
|
|
11544
11546
|
}
|
|
11545
11547
|
exports2.emptyScalarPosition = emptyScalarPosition;
|
|
11546
11548
|
} });
|
|
11547
|
-
var require_compose_node = __commonJS({ "
|
|
11549
|
+
var require_compose_node = __commonJS({ "../../node_modules/yaml/dist/compose/compose-node.js"(exports2) {
|
|
11548
11550
|
"use strict";
|
|
11549
11551
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
11550
11552
|
var Alias = require_Alias(), identity = require_identity(), composeCollection = require_compose_collection(), composeScalar = require_compose_scalar(), resolveEnd = require_resolve_end(), utilEmptyScalarPosition = require_util_empty_scalar_position(), CN = { composeNode, composeEmptyNode };
|
|
@@ -11590,7 +11592,7 @@ var require_compose_node = __commonJS({ "../../../../../../../../../Users/saeed/
|
|
|
11590
11592
|
exports2.composeEmptyNode = composeEmptyNode;
|
|
11591
11593
|
exports2.composeNode = composeNode;
|
|
11592
11594
|
} });
|
|
11593
|
-
var require_compose_doc = __commonJS({ "
|
|
11595
|
+
var require_compose_doc = __commonJS({ "../../node_modules/yaml/dist/compose/compose-doc.js"(exports2) {
|
|
11594
11596
|
"use strict";
|
|
11595
11597
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
11596
11598
|
var Document = require_Document(), composeNode = require_compose_node(), resolveEnd = require_resolve_end(), resolveProps = require_resolve_props();
|
|
@@ -11602,7 +11604,7 @@ var require_compose_doc = __commonJS({ "../../../../../../../../../Users/saeed/P
|
|
|
11602
11604
|
}
|
|
11603
11605
|
exports2.composeDoc = composeDoc;
|
|
11604
11606
|
} });
|
|
11605
|
-
var require_composer = __commonJS({ "
|
|
11607
|
+
var require_composer = __commonJS({ "../../node_modules/yaml/dist/compose/composer.js"(exports2) {
|
|
11606
11608
|
"use strict";
|
|
11607
11609
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
11608
11610
|
var node_process = require("process"), directives = require_directives(), Document = require_Document(), errors = require_errors2(), identity = require_identity(), composeDoc = require_compose_doc(), resolveEnd = require_resolve_end();
|
|
@@ -11726,7 +11728,7 @@ ${end.comment}` : end.comment;
|
|
|
11726
11728
|
};
|
|
11727
11729
|
exports2.Composer = Composer;
|
|
11728
11730
|
} });
|
|
11729
|
-
var require_cst_scalar = __commonJS({ "
|
|
11731
|
+
var require_cst_scalar = __commonJS({ "../../node_modules/yaml/dist/parse/cst-scalar.js"(exports2) {
|
|
11730
11732
|
"use strict";
|
|
11731
11733
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
11732
11734
|
var resolveBlockScalar = require_resolve_block_scalar(), resolveFlowScalar = require_resolve_flow_scalar(), errors = require_errors2(), stringifyString = require_stringifyString();
|
|
@@ -11861,7 +11863,7 @@ var require_cst_scalar = __commonJS({ "../../../../../../../../../Users/saeed/Pr
|
|
|
11861
11863
|
exports2.resolveAsScalar = resolveAsScalar;
|
|
11862
11864
|
exports2.setScalarValue = setScalarValue;
|
|
11863
11865
|
} });
|
|
11864
|
-
var require_cst_stringify = __commonJS({ "
|
|
11866
|
+
var require_cst_stringify = __commonJS({ "../../node_modules/yaml/dist/parse/cst-stringify.js"(exports2) {
|
|
11865
11867
|
"use strict";
|
|
11866
11868
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
11867
11869
|
var stringify = (cst) => "type" in cst ? stringifyToken(cst) : stringifyItem(cst);
|
|
@@ -11904,7 +11906,7 @@ var require_cst_stringify = __commonJS({ "../../../../../../../../../Users/saeed
|
|
|
11904
11906
|
}
|
|
11905
11907
|
exports2.stringify = stringify;
|
|
11906
11908
|
} });
|
|
11907
|
-
var require_cst_visit = __commonJS({ "
|
|
11909
|
+
var require_cst_visit = __commonJS({ "../../node_modules/yaml/dist/parse/cst-visit.js"(exports2) {
|
|
11908
11910
|
"use strict";
|
|
11909
11911
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
11910
11912
|
var BREAK = /* @__PURE__ */ Symbol("break visit"), SKIP = /* @__PURE__ */ Symbol("skip children"), REMOVE = /* @__PURE__ */ Symbol("remove item");
|
|
@@ -11949,7 +11951,7 @@ var require_cst_visit = __commonJS({ "../../../../../../../../../Users/saeed/Pro
|
|
|
11949
11951
|
}
|
|
11950
11952
|
exports2.visit = visit;
|
|
11951
11953
|
} });
|
|
11952
|
-
var require_cst = __commonJS({ "
|
|
11954
|
+
var require_cst = __commonJS({ "../../node_modules/yaml/dist/parse/cst.js"(exports2) {
|
|
11953
11955
|
"use strict";
|
|
11954
11956
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
11955
11957
|
var cstScalar = require_cst_scalar(), cstStringify = require_cst_stringify(), cstVisit = require_cst_visit(), BOM = "\uFEFF", DOCUMENT = "", FLOW_END = "", SCALAR = "", isCollection = (token) => !!token && "items" in token, isScalar2 = (token) => !!token && (token.type === "scalar" || token.type === "single-quoted-scalar" || token.type === "double-quoted-scalar" || token.type === "block-scalar");
|
|
@@ -12042,7 +12044,7 @@ var require_cst = __commonJS({ "../../../../../../../../../Users/saeed/Projects/
|
|
|
12042
12044
|
exports2.prettyToken = prettyToken;
|
|
12043
12045
|
exports2.tokenType = tokenType;
|
|
12044
12046
|
} });
|
|
12045
|
-
var require_lexer = __commonJS({ "
|
|
12047
|
+
var require_lexer = __commonJS({ "../../node_modules/yaml/dist/parse/lexer.js"(exports2) {
|
|
12046
12048
|
"use strict";
|
|
12047
12049
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
12048
12050
|
var cst = require_cst();
|
|
@@ -12419,7 +12421,7 @@ var require_lexer = __commonJS({ "../../../../../../../../../Users/saeed/Project
|
|
|
12419
12421
|
};
|
|
12420
12422
|
exports2.Lexer = Lexer;
|
|
12421
12423
|
} });
|
|
12422
|
-
var require_line_counter = __commonJS({ "
|
|
12424
|
+
var require_line_counter = __commonJS({ "../../node_modules/yaml/dist/parse/line-counter.js"(exports2) {
|
|
12423
12425
|
"use strict";
|
|
12424
12426
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
12425
12427
|
var LineCounter = class {
|
|
@@ -12439,7 +12441,7 @@ var require_line_counter = __commonJS({ "../../../../../../../../../Users/saeed/
|
|
|
12439
12441
|
};
|
|
12440
12442
|
exports2.LineCounter = LineCounter;
|
|
12441
12443
|
} });
|
|
12442
|
-
var require_parser = __commonJS({ "
|
|
12444
|
+
var require_parser = __commonJS({ "../../node_modules/yaml/dist/parse/parser.js"(exports2) {
|
|
12443
12445
|
"use strict";
|
|
12444
12446
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
12445
12447
|
var node_process = require("process"), cst = require_cst(), lexer = require_lexer();
|
|
@@ -12943,7 +12945,7 @@ var require_parser = __commonJS({ "../../../../../../../../../Users/saeed/Projec
|
|
|
12943
12945
|
};
|
|
12944
12946
|
exports2.Parser = Parser;
|
|
12945
12947
|
} });
|
|
12946
|
-
var require_public_api = __commonJS({ "
|
|
12948
|
+
var require_public_api = __commonJS({ "../../node_modules/yaml/dist/public-api.js"(exports2) {
|
|
12947
12949
|
"use strict";
|
|
12948
12950
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
12949
12951
|
var composer = require_composer(), Document = require_Document(), errors = require_errors2(), log = require_log(), identity = require_identity(), lineCounter = require_line_counter(), parser = require_parser();
|
|
@@ -12993,7 +12995,7 @@ var require_public_api = __commonJS({ "../../../../../../../../../Users/saeed/Pr
|
|
|
12993
12995
|
exports2.parseDocument = parseDocument2;
|
|
12994
12996
|
exports2.stringify = stringify;
|
|
12995
12997
|
} });
|
|
12996
|
-
var require_dist = __commonJS({ "
|
|
12998
|
+
var require_dist = __commonJS({ "../../node_modules/yaml/dist/index.js"(exports2) {
|
|
12997
12999
|
"use strict";
|
|
12998
13000
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
12999
13001
|
var composer = require_composer(), Document = require_Document(), Schema2 = require_Schema(), errors = require_errors2(), Alias = require_Alias(), identity = require_identity(), Pair = require_Pair(), Scalar = require_Scalar(), YAMLMap = require_YAMLMap(), YAMLSeq = require_YAMLSeq(), cst = require_cst(), lexer = require_lexer(), lineCounter = require_line_counter(), parser = require_parser(), publicApi = require_public_api(), visit = require_visit();
|
|
@@ -13027,41 +13029,45 @@ var require_dist = __commonJS({ "../../../../../../../../../Users/saeed/Projects
|
|
|
13027
13029
|
exports2.visit = visit.visit;
|
|
13028
13030
|
exports2.visitAsync = visit.visitAsync;
|
|
13029
13031
|
} });
|
|
13030
|
-
var ok, err, init_result2 = __esm({ "
|
|
13032
|
+
var ok, err, init_result2 = __esm({ "../../node_modules/@ignitify-integrations/runtime/dist/result.js"() {
|
|
13031
13033
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
13032
13034
|
ok = (value) => ({ ok: true, value }), err = (error) => ({ ok: false, error });
|
|
13033
13035
|
} });
|
|
13034
|
-
var init_ctx = __esm({ "
|
|
13036
|
+
var init_ctx = __esm({ "../../node_modules/@ignitify-integrations/runtime/dist/ctx.js"() {
|
|
13035
13037
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
13036
13038
|
} });
|
|
13037
|
-
var SECRET_NAME_MAX_LENGTH, SECRET_NAME_PATTERN, init_secrets = __esm({ "
|
|
13039
|
+
var SECRET_NAME_MAX_LENGTH, SECRET_NAME_PATTERN, init_secrets = __esm({ "../../node_modules/@ignitify-integrations/runtime/dist/secrets.js"() {
|
|
13038
13040
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
13039
13041
|
init_result2();
|
|
13040
13042
|
SECRET_NAME_MAX_LENGTH = 64, SECRET_NAME_PATTERN = new RegExp(`^[A-Z][A-Z0-9_]{0,${SECRET_NAME_MAX_LENGTH - 1}}$`);
|
|
13041
13043
|
} });
|
|
13042
|
-
var ROUTE_PREFIX_PATTERN, init_platform = __esm({ "
|
|
13044
|
+
var ROUTE_PREFIX_PATTERN, init_platform = __esm({ "../../node_modules/@ignitify-integrations/runtime/dist/platform.js"() {
|
|
13043
13045
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
13044
13046
|
ROUTE_PREFIX_PATTERN = "^/[a-z0-9._~-]+(/[a-z0-9._~-]+)*/$";
|
|
13045
13047
|
} });
|
|
13046
|
-
var
|
|
13048
|
+
var init_stop = __esm({ "../../node_modules/@ignitify-integrations/runtime/dist/stop.js"() {
|
|
13049
|
+
init_define_IGNITIFY_CLIENT_FILES();
|
|
13050
|
+
} });
|
|
13051
|
+
var init_dist = __esm({ "../../node_modules/@ignitify-integrations/runtime/dist/index.js"() {
|
|
13047
13052
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
13048
13053
|
init_result2();
|
|
13049
13054
|
init_ctx();
|
|
13050
13055
|
init_secrets();
|
|
13051
13056
|
init_platform();
|
|
13057
|
+
init_stop();
|
|
13052
13058
|
} });
|
|
13053
|
-
var list, MANIFEST_MESSAGES, PLAN_MESSAGES, COVERAGE_MESSAGES, init_messages = __esm({ "
|
|
13059
|
+
var list, MANIFEST_MESSAGES, PLAN_MESSAGES, COVERAGE_MESSAGES, init_messages = __esm({ "../../node_modules/@ignitify-integrations/core/dist/messages.js"() {
|
|
13054
13060
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
13055
13061
|
init_constants3();
|
|
13056
13062
|
list = (items) => items.join(", "), MANIFEST_MESSAGES = { yaml: (reason) => `not valid YAML: ${reason}`, schema: (path12, message) => `${path12}: ${message}`, badHost: (host) => `network.egress_allow: "${host}" is not a lower-case DNS name with at least two labels and no wildcard (hosts that vary go in network.egress_hint)`, egressNeedsNic: (key) => `network.${key}: needs network.type "egress" or "bidirectional"`, inboundNeedsBidirectional: (key) => `network.${key}: needs network.type "bidirectional"`, shadowsCallback: (prefix) => `network.inbound_routes: "${prefix}" would shadow the platform callback route ${CALLBACK_ROUTE_PREFIX}` }, PLAN_MESSAGES = { settingsOnly: "settings only", settingsAndCode: "settings + code", runs: (packages) => `runs ${list(packages)}`, conflict: (field, current, wanted, label) => `${field} is ${String(current)} but ${label} needs ${String(wanted)}: change it by hand or use another task`, tooManyHosts: (count) => `execution.network.egress_allow would list ${count} hosts; the platform allows at most ${32}`, networkRaised: (from, to) => `execution.network.type: ${from} -> ${to}`, egressAnywhere: (hosts) => `execution.network.egress_allow is absent (any host), so it stays absent; this integration needs: ${list(hosts)}`, presetRaised: (from, to) => `run.preset: ${from ?? "(default)"} -> ${to}`, presetUnknown: (preset, min) => `run.preset ${preset} is not a known preset; left as is (this integration needs at least ${min})`, setSecret: (name, isNew) => `secret ${name}${isNew ? " (new)" : ""}: ignitify secret:set ${name} --stdin`, addHost: (hint) => `egress host: ${hint}` }, COVERAGE_MESSAGES = { secretMissing: (label, name) => `${label}: secret ${name} is missing from secrets`, hostMissing: (label, host) => `${label}: host ${host} is missing from execution.network.egress_allow`, networkTooSmall: (label, have, need) => `${label}: execution.network.type is ${have}, needs ${need}`, fieldMismatch: (label, field, have, need) => `${label}: ${field} is ${have === void 0 ? "(absent)" : String(have)}, needs ${String(need)}`, packageMissing: (label, name) => `${label}: system package ${name} is missing from build.system_packages`, presetTooSmall: (label, have, need) => `${label}: run.preset is ${have ?? "(default)"}, needs at least ${need}`, routeMissing: (label, prefix) => `${label}: route ${prefix} is missing from execution.network.inbound_routes` };
|
|
13057
13063
|
} });
|
|
13058
|
-
var nonEmptyString, uniqueStrings, closed, network, MANIFEST_SCHEMA, init_schema = __esm({ "
|
|
13064
|
+
var nonEmptyString, uniqueStrings, closed, network, MANIFEST_SCHEMA, init_schema = __esm({ "../../node_modules/@ignitify-integrations/core/dist/schema.js"() {
|
|
13059
13065
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
13060
13066
|
init_dist();
|
|
13061
13067
|
init_constants3();
|
|
13062
13068
|
nonEmptyString = { type: "string", minLength: 1 }, uniqueStrings = { type: "array", items: nonEmptyString, uniqueItems: true }, closed = (properties, required = []) => ({ type: "object", additionalProperties: false, properties, required }), network = closed({ type: { enum: NETWORK_TYPES }, egress_allow: { type: "array", items: { type: "string", minLength: 1, maxLength: HOST_MAX_LENGTH }, uniqueItems: true, maxItems: 32 }, egress_hint: { type: "string", minLength: 1, maxLength: 200, pattern: EGRESS_HINT_PATTERN }, inbound_port: { type: "integer", minimum: 1024, maximum: 65535 }, inbound_routes: { type: "array", minItems: 1, maxItems: 32, items: closed({ prefix: { type: "string", maxLength: 256, pattern: ROUTE_PREFIX_PATTERN } }, ["prefix"]) }, inbound_max_concurrent: { type: "integer", minimum: 1 } }, ["type"]), MANIFEST_SCHEMA = { $schema: "https://json-schema.org/draft/2020-12/schema", title: "ignitify integration manifest", ...closed({ schema_version: { const: 1 }, name: { type: "string", pattern: NAME_PATTERN }, runtimes: { type: "array", items: { enum: RUNTIMES }, minItems: 1, uniqueItems: true }, secrets: { type: "array", items: { type: "string", maxLength: SECRET_NAME_MAX_LENGTH, pattern: SECRET_NAME_PATTERN.source }, uniqueItems: true }, network, execution: closed({ duration: { enum: DURATIONS }, interaction: { enum: INTERACTIONS } }), system_packages: uniqueStrings, min_preset: { enum: PRESETS } }, ["schema_version", "name", "runtimes"]) };
|
|
13063
13069
|
} });
|
|
13064
|
-
var import__2, import_yaml, INBOUND_KEYS, EGRESS_KEYS, ROOT_PATH, NUMERIC_LABEL, validate, isHostName, loadYaml, formatError, semanticIssues, parseManifest, init_manifest = __esm({ "
|
|
13070
|
+
var import__2, import_yaml, INBOUND_KEYS, EGRESS_KEYS, ROOT_PATH, NUMERIC_LABEL, validate, isHostName, loadYaml, formatError, semanticIssues, parseManifest, init_manifest = __esm({ "../../node_modules/@ignitify-integrations/core/dist/manifest.js"() {
|
|
13065
13071
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
13066
13072
|
import__2 = __toESM(require__(), 1), import_yaml = __toESM(require_dist(), 1);
|
|
13067
13073
|
init_dist();
|
|
@@ -13089,12 +13095,12 @@ var import__2, import_yaml, INBOUND_KEYS, EGRESS_KEYS, ROOT_PATH, NUMERIC_LABEL,
|
|
|
13089
13095
|
return issues.length > 0 ? err(issues) : ok(data);
|
|
13090
13096
|
};
|
|
13091
13097
|
} });
|
|
13092
|
-
var packageName, hasCode, rank, maxOf, union, optional, init_utils2 = __esm({ "
|
|
13098
|
+
var packageName, hasCode, rank, maxOf, union, optional, init_utils2 = __esm({ "../../node_modules/@ignitify-integrations/core/dist/utils.js"() {
|
|
13093
13099
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
13094
13100
|
init_constants3();
|
|
13095
13101
|
packageName = (name) => `${PACKAGE_SCOPE}/${name}`, hasCode = (packageJson) => typeof packageJson == "object" && packageJson !== null && "exports" in packageJson, rank = (order, value) => order.indexOf(value), maxOf = (order, a, b) => rank(order, a) >= rank(order, b) ? a : b, union = (a, b) => [.../* @__PURE__ */ new Set([...a, ...b])], optional = (key, value) => value === void 0 ? {} : { [key]: value };
|
|
13096
13102
|
} });
|
|
13097
|
-
var EXECUTION_FIELDS, INBOUND_FIELDS, needsOf, planHeadline, pick, unionRoutes, egressFor, networkFor, presetFor, planAdd, coverageIssues, checkCoverage, init_plan = __esm({ "
|
|
13103
|
+
var EXECUTION_FIELDS, INBOUND_FIELDS, needsOf, planHeadline, pick, prefixOf, unionRoutes, egressFor, networkFor, presetFor, planAdd, coverageIssues, checkCoverage, init_plan = __esm({ "../../node_modules/@ignitify-integrations/core/dist/plan.js"() {
|
|
13098
13104
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
13099
13105
|
init_dist();
|
|
13100
13106
|
init_constants3();
|
|
@@ -13103,7 +13109,7 @@ var EXECUTION_FIELDS, INBOUND_FIELDS, needsOf, planHeadline, pick, unionRoutes,
|
|
|
13103
13109
|
EXECUTION_FIELDS = ["duration", "interaction"], INBOUND_FIELDS = ["inbound_port", "inbound_max_concurrent"], needsOf = (manifest) => ({ hosts: manifest.network?.egress_allow ?? [], secrets: manifest.secrets ?? [], networkType: manifest.network?.type ?? "none", inbound_port: manifest.network?.inbound_port, inbound_max_concurrent: manifest.network?.inbound_max_concurrent, inboundRoutes: manifest.network?.inbound_routes ?? [], execution: manifest.execution ?? {}, systemPackages: manifest.system_packages ?? [], minPreset: manifest.min_preset }), planHeadline = (manifest, version2, hasCode2) => {
|
|
13104
13110
|
let packages = manifest.system_packages ?? [];
|
|
13105
13111
|
return [`${packageName(manifest.name)}@${version2}`, hasCode2 ? PLAN_MESSAGES.settingsAndCode : PLAN_MESSAGES.settingsOnly, ...packages.length > 0 ? [PLAN_MESSAGES.runs(packages)] : []].join(" \xB7 ");
|
|
13106
|
-
}, pick = (field, current, wanted, label) => wanted === void 0 || current === wanted ? { value: current } : current === void 0 ? { value: wanted } : { value: current, conflict: PLAN_MESSAGES.conflict(field, current, wanted, label) }, unionRoutes = (current, wanted) => [...current, ...wanted.filter((route2) => !current.some((have) => have
|
|
13112
|
+
}, pick = (field, current, wanted, label) => wanted === void 0 || current === wanted ? { value: current } : current === void 0 ? { value: wanted } : { value: current, conflict: PLAN_MESSAGES.conflict(field, current, wanted, label) }, prefixOf = (route2) => "prefix" in route2 ? route2.prefix : void 0, unionRoutes = (current, wanted) => [...current, ...wanted.filter((route2) => !current.some((have) => prefixOf(have) === route2.prefix))], egressFor = (current, needs, notes) => {
|
|
13107
13113
|
if (current?.egress_allow !== void 0) return union(current.egress_allow, needs.hosts);
|
|
13108
13114
|
if ((current?.type ?? "none") !== "none") {
|
|
13109
13115
|
needs.hosts.length > 0 && notes.push(PLAN_MESSAGES.egressAnywhere(needs.hosts));
|
|
@@ -13141,10 +13147,10 @@ var EXECUTION_FIELDS, INBOUND_FIELDS, needsOf, planHeadline, pick, unionRoutes,
|
|
|
13141
13147
|
}), ...INBOUND_FIELDS.flatMap((field) => {
|
|
13142
13148
|
let need = needs[field];
|
|
13143
13149
|
return need === void 0 || network2?.[field] === need ? [] : [COVERAGE_MESSAGES.fieldMismatch(label, `execution.network.${field}`, network2?.[field], need)];
|
|
13144
|
-
}), ...needs.inboundRoutes.filter((route2) => !routes.some((present) => present
|
|
13150
|
+
}), ...needs.inboundRoutes.filter((route2) => !routes.some((present) => prefixOf(present) === route2.prefix)).map((route2) => COVERAGE_MESSAGES.routeMissing(label, route2.prefix)), ...needs.systemPackages.filter((name) => !packages.includes(name)).map((name) => COVERAGE_MESSAGES.packageMissing(label, name)), ...needs.minPreset !== void 0 && (preset === void 0 || presetRank >= 0 && presetRank < rank(PRESETS, needs.minPreset)) ? [COVERAGE_MESSAGES.presetTooSmall(label, preset, needs.minPreset)] : []];
|
|
13145
13151
|
}, checkCoverage = (config, manifests) => manifests.flatMap((manifest) => coverageIssues(config, packageName(manifest.name), needsOf(manifest)));
|
|
13146
13152
|
} });
|
|
13147
|
-
var init_dist2 = __esm({ "
|
|
13153
|
+
var init_dist2 = __esm({ "../../node_modules/@ignitify-integrations/core/dist/index.js"() {
|
|
13148
13154
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
13149
13155
|
init_constants3();
|
|
13150
13156
|
init_manifest();
|
|
@@ -13167,23 +13173,29 @@ function diffLines(before, after, path12 = []) {
|
|
|
13167
13173
|
return [...newScalars.length > 0 ? [`+ ${here}: ${newScalars.join(", ")}`] : [], ...nested];
|
|
13168
13174
|
}
|
|
13169
13175
|
function planIntegrationAdd(config, manifest, version2, hasCode2) {
|
|
13170
|
-
let
|
|
13176
|
+
let headline = planHeadline(manifest, version2, hasCode2), outcome = planAdd(config, manifest);
|
|
13171
13177
|
if (!outcome.ok) return { ok: false, headline, refusals: outcome.error };
|
|
13172
13178
|
let after = outcome.value.config;
|
|
13173
|
-
return { ok: true, headline, changes: [...outcome.value.notes, ...diffLines(
|
|
13179
|
+
return { ok: true, headline, changes: [...outcome.value.notes, ...diffLines(config, after)], youAdd: outcome.value.youAdd, config: after, changed: !(0, import_node_util.isDeepStrictEqual)(config, after) };
|
|
13174
13180
|
}
|
|
13175
13181
|
function renderAddPlan(plan) {
|
|
13176
13182
|
return [plan.headline, ...plan.changes.map((line) => ` ${line}`), ...plan.youAdd.length > 0 ? [INTEGRATION.YOU_ADD, ...plan.youAdd.map((line) => ` ${line}`)] : []];
|
|
13177
13183
|
}
|
|
13178
|
-
var import_node_util,
|
|
13184
|
+
var import_node_util, itemText, init_integration_plan = __esm({ "src/core/integration-plan.ts"() {
|
|
13179
13185
|
"use strict";
|
|
13180
13186
|
init_define_IGNITIFY_CLIENT_FILES();
|
|
13181
13187
|
import_node_util = require("node:util");
|
|
13182
13188
|
init_dist2();
|
|
13183
13189
|
init_tenant();
|
|
13184
13190
|
init_constants();
|
|
13185
|
-
|
|
13191
|
+
itemText = (item) => isRecord(item) && typeof item.prefix == "string" ? item.prefix : isRecord(item) && typeof item.path == "string" ? item.path : typeof item == "string" ? item : JSON.stringify(item);
|
|
13186
13192
|
} });
|
|
13193
|
+
function assessIntegrations(installed, config) {
|
|
13194
|
+
let missing = installed.filter((entry) => entry.read.kind === "missing").map((entry) => entry.pkg);
|
|
13195
|
+
if (missing.length > 0) return { ok: false, missing };
|
|
13196
|
+
let integrations = installed.flatMap(({ pkg, read }) => read.kind === "installed" ? [{ pkg, version: read.version, manifest: parseManifest(read.manifestText) }] : []), manifests = integrations.flatMap(({ manifest }) => manifest.ok ? [manifest.value] : []);
|
|
13197
|
+
return { ok: true, errors: [...integrations.flatMap(({ pkg, manifest }) => manifest.ok ? [] : manifest.error.map((issue) => INTEGRATION.BAD_MANIFEST(pkg, issue))), ...checkCoverage(config, manifests)], versions: integrations.map(({ pkg, version: version2 }) => ({ pkg, version: version2 })) };
|
|
13198
|
+
}
|
|
13187
13199
|
function integrationDeps(packageJson) {
|
|
13188
13200
|
let deps = packageJson?.dependencies;
|
|
13189
13201
|
return typeof deps != "object" || deps === null ? [] : Object.keys(deps).filter((name) => name.startsWith(`${PACKAGE_SCOPE}/`));
|
|
@@ -13305,9 +13317,10 @@ async function runIntegrationAdd(args, cwd = process.cwd(), deps = REAL_INTEGRAT
|
|
|
13305
13317
|
let task = await prepareTask(args, cwd, slug2);
|
|
13306
13318
|
if (!task) return 1;
|
|
13307
13319
|
if (printWarnings([...task.warnings]), task.config.runtime !== INTEGRATION.RUNTIME) return fail(INTEGRATION.NOT_NODE(task.config.runtime)), 1;
|
|
13308
|
-
|
|
13320
|
+
let taskDir = import_node_fs9.default.realpathSync(task.taskDir);
|
|
13321
|
+
if (readTaskPackageJson(taskDir) === null) return fail(INTEGRATION.NO_PACKAGE_JSON(taskDir)), 1;
|
|
13309
13322
|
let pkg = packageName(name);
|
|
13310
|
-
return guard(() => withPackDir((packDir) => addIntegration(args,
|
|
13323
|
+
return guard(() => withPackDir((packDir) => addIntegration(args, taskDir, task.config, pkg, packDir, dryRun, deps)));
|
|
13311
13324
|
}
|
|
13312
13325
|
async function withPackDir(fn) {
|
|
13313
13326
|
let packDir = import_node_fs9.default.mkdtempSync(import_node_path8.default.join(import_node_os3.default.tmpdir(), INTEGRATION.PACK_TMP_PREFIX));
|
|
@@ -13350,15 +13363,8 @@ function taskConfigEdit(taskDir, config, planned) {
|
|
|
13350
13363
|
async function checkIntegrations(taskDir, config, fetchImpl) {
|
|
13351
13364
|
let pkgs = integrationDeps(readTaskPackageJson(taskDir));
|
|
13352
13365
|
if (pkgs.length === 0) return true;
|
|
13353
|
-
let installed = pkgs.map((pkg) => ({ pkg, read: readInstalledPackage(taskDir, pkg) })),
|
|
13354
|
-
|
|
13355
|
-
let manifests = [], errors = [], versions = [];
|
|
13356
|
-
for (let { pkg, read } of installed) {
|
|
13357
|
-
if (read.kind !== "installed") continue;
|
|
13358
|
-
let manifest = parseManifest(read.manifestText);
|
|
13359
|
-
manifest.ok ? manifests.push(manifest.value) : errors.push(...manifest.error.map((issue) => INTEGRATION.BAD_MANIFEST(pkg, issue))), versions.push({ pkg, version: read.version });
|
|
13360
|
-
}
|
|
13361
|
-
return await warnObsolete(versions, fetchImpl), errors.push(...checkCoverage(asCoreConfig(config), manifests)), printErrors(errors), errors.length === 0;
|
|
13366
|
+
let installed = pkgs.map((pkg) => ({ pkg, read: readInstalledPackage(taskDir, pkg) })), assessed = assessIntegrations(installed, config);
|
|
13367
|
+
return assessed.ok ? (await warnObsolete(assessed.versions, fetchImpl), printErrors(assessed.errors), assessed.errors.length === 0) : (fail(INTEGRATION.NOT_INSTALLED(assessed.missing)), false);
|
|
13362
13368
|
}
|
|
13363
13369
|
async function warnObsolete(versions, fetchImpl) {
|
|
13364
13370
|
let lookups = await Promise.all(versions.map(async (entry) => ({ ...entry, lookup: await fetchPackument(entry.pkg, fetchImpl) }))), skipped = /* @__PURE__ */ new Set();
|
|
@@ -13485,21 +13491,32 @@ async function runTaskRun(args, cwd = process.cwd()) {
|
|
|
13485
13491
|
if (!explained) throw e;
|
|
13486
13492
|
return tell(explained), trace !== null && tell(errStyle().dim(trace)), 1;
|
|
13487
13493
|
}
|
|
13488
|
-
|
|
13489
|
-
|
|
13490
|
-
|
|
13491
|
-
|
|
13492
|
-
|
|
13493
|
-
|
|
13494
|
-
|
|
13495
|
-
|
|
13496
|
-
|
|
13497
|
-
|
|
13498
|
-
|
|
13499
|
-
|
|
13500
|
-
|
|
13501
|
-
|
|
13502
|
-
|
|
13494
|
+
let answer = classifyRunAnswer(res, run2.at, opts.wait);
|
|
13495
|
+
switch (answer.kind) {
|
|
13496
|
+
case "skew-ran-now":
|
|
13497
|
+
return fail(`this server does not support scheduling \u2014 it IGNORED --at and ran the job NOW (run ${answer.runId}). Cancel it with 'ignitify run:cancel ${answer.runId}' if that is not what you wanted.`), 1;
|
|
13498
|
+
case "skew-no-schedule":
|
|
13499
|
+
return fail("this server does not support scheduling (no schedule_id in the response)."), 1;
|
|
13500
|
+
case "scheduled": {
|
|
13501
|
+
if (isJsonOutput()) return emit(res), 0;
|
|
13502
|
+
let st = outStyle();
|
|
13503
|
+
out(successLine(st, `Scheduled: ${answer.scheduleId} fires at ${answer.firesAt}`)), out(st.dim(`No run exists until it fires. List with 'ignitify schedule:list'; cancel with 'ignitify schedule:cancel ${answer.scheduleId}'.`));
|
|
13504
|
+
let scheduledNotices = renderRunNotices(res.notices);
|
|
13505
|
+
scheduledNotices && out(st.yellow(scheduledNotices));
|
|
13506
|
+
let capacity = renderCapacity(res.capacity, st);
|
|
13507
|
+
return capacity && out(capacity), 0;
|
|
13508
|
+
}
|
|
13509
|
+
case "submitted":
|
|
13510
|
+
return CliOutputManager.render("task:run", { ...res }), 0;
|
|
13511
|
+
case "wait": {
|
|
13512
|
+
let notices = isJsonOutput() ? "" : renderRunNotices(res.notices);
|
|
13513
|
+
notices && out(outStyle().yellow(notices));
|
|
13514
|
+
let capacity = isJsonOutput() ? "" : renderCapacity(res.capacity, outStyle());
|
|
13515
|
+
return capacity && out(capacity), waitForRun(cfg, answer.runId);
|
|
13516
|
+
}
|
|
13517
|
+
default:
|
|
13518
|
+
return answer;
|
|
13519
|
+
}
|
|
13503
13520
|
});
|
|
13504
13521
|
}
|
|
13505
13522
|
async function runTaskCreate(args, cwd = process.cwd()) {
|
|
@@ -13558,6 +13575,7 @@ var import_fs4, TASK_REPORT_PAGE, init_task = __esm({ "src/commands/task.ts"() {
|
|
|
13558
13575
|
init_plan_task_delete();
|
|
13559
13576
|
init_resolve_deployment();
|
|
13560
13577
|
init_run_options();
|
|
13578
|
+
init_run_answer();
|
|
13561
13579
|
init_state();
|
|
13562
13580
|
init_constants();
|
|
13563
13581
|
init_payload_limit();
|
|
@@ -13884,7 +13902,7 @@ function allowedFlags(meta) {
|
|
|
13884
13902
|
return { ...meta.flags, ...GLOBAL_FLAGS };
|
|
13885
13903
|
}
|
|
13886
13904
|
function parserSpec(meta) {
|
|
13887
|
-
return boolFlagSpec(meta === void 0 || meta.secretArgv === true ? GLOBAL_FLAGS :
|
|
13905
|
+
return boolFlagSpec(meta === void 0 || meta.secretArgv === true ? GLOBAL_FLAGS : allowedFlags(meta));
|
|
13888
13906
|
}
|
|
13889
13907
|
function parseInvocation(argv) {
|
|
13890
13908
|
return parseArgs([...argv], parserSpec(metaFor(argv[0] ?? "")));
|