@stim-cli/core 1.27.0 → 1.29.0
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/dist/{core-B_w6CiKQ.mjs → core-Hohf5Wnt.mjs} +60 -73
- package/dist/{index-DfpdqDFf.d.mts → index-BYn5zs27.d.mts} +2063 -1974
- package/dist/index.d.mts +28 -15
- package/dist/index.mjs +2 -2
- package/dist/noise-session.d.mts +5 -0
- package/dist/noise-session.mjs +6 -0
- package/dist/phone-protocol.d.mts +2 -2
- package/dist/{protocol-D21RXxrx.d.mts → protocol-BW6ngO-j.d.mts} +22 -7
- package/dist/protocol.d.mts +2 -2
- package/dist/protocol.mjs +5 -0
- package/dist/receive-protocol.mjs +1250 -483
- package/dist/state.d.mts +2 -2
- package/dist/state.mjs +78 -23
- package/package.json +1 -1
|
@@ -9038,12 +9038,12 @@ function validate113(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
9038
9038
|
var valid0 = _errs6 === errors;
|
|
9039
9039
|
} else var valid0 = true;
|
|
9040
9040
|
if (valid0) {
|
|
9041
|
-
if (data.
|
|
9041
|
+
if (data.fingerprint !== void 0) {
|
|
9042
9042
|
const _errs8 = errors;
|
|
9043
|
-
if (typeof data.
|
|
9043
|
+
if (typeof data.fingerprint !== "string") {
|
|
9044
9044
|
validate113.errors = [{
|
|
9045
|
-
instancePath: instancePath + "/
|
|
9046
|
-
schemaPath: "#/properties/
|
|
9045
|
+
instancePath: instancePath + "/fingerprint",
|
|
9046
|
+
schemaPath: "#/properties/fingerprint/type",
|
|
9047
9047
|
keyword: "type",
|
|
9048
9048
|
params: { type: "string" },
|
|
9049
9049
|
message: "must be string"
|
|
@@ -9053,12 +9053,12 @@ function validate113(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
9053
9053
|
var valid0 = _errs8 === errors;
|
|
9054
9054
|
} else var valid0 = true;
|
|
9055
9055
|
if (valid0) {
|
|
9056
|
-
if (data.
|
|
9056
|
+
if (data.deviceId !== void 0) {
|
|
9057
9057
|
const _errs10 = errors;
|
|
9058
|
-
if (typeof data.
|
|
9058
|
+
if (typeof data.deviceId !== "string") {
|
|
9059
9059
|
validate113.errors = [{
|
|
9060
|
-
instancePath: instancePath + "/
|
|
9061
|
-
schemaPath: "#/properties/
|
|
9060
|
+
instancePath: instancePath + "/deviceId",
|
|
9061
|
+
schemaPath: "#/properties/deviceId/type",
|
|
9062
9062
|
keyword: "type",
|
|
9063
9063
|
params: { type: "string" },
|
|
9064
9064
|
message: "must be string"
|
|
@@ -9068,98 +9068,98 @@ function validate113(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
9068
9068
|
var valid0 = _errs10 === errors;
|
|
9069
9069
|
} else var valid0 = true;
|
|
9070
9070
|
if (valid0) {
|
|
9071
|
-
if (data.
|
|
9071
|
+
if (data.requestedAt !== void 0) {
|
|
9072
9072
|
const _errs12 = errors;
|
|
9073
|
-
if (typeof data.
|
|
9073
|
+
if (typeof data.requestedAt !== "string") {
|
|
9074
9074
|
validate113.errors = [{
|
|
9075
|
-
instancePath: instancePath + "/
|
|
9076
|
-
schemaPath: "#/properties/
|
|
9075
|
+
instancePath: instancePath + "/requestedAt",
|
|
9076
|
+
schemaPath: "#/properties/requestedAt/type",
|
|
9077
9077
|
keyword: "type",
|
|
9078
|
-
params: { type: "
|
|
9079
|
-
message: "must be
|
|
9078
|
+
params: { type: "string" },
|
|
9079
|
+
message: "must be string"
|
|
9080
9080
|
}];
|
|
9081
9081
|
return false;
|
|
9082
9082
|
}
|
|
9083
9083
|
var valid0 = _errs12 === errors;
|
|
9084
9084
|
} else var valid0 = true;
|
|
9085
9085
|
if (valid0) {
|
|
9086
|
-
if (data.
|
|
9087
|
-
let data7 = data.reasons;
|
|
9086
|
+
if (data.offloadable !== void 0) {
|
|
9088
9087
|
const _errs14 = errors;
|
|
9089
|
-
if (
|
|
9090
|
-
|
|
9091
|
-
|
|
9092
|
-
|
|
9093
|
-
|
|
9094
|
-
|
|
9095
|
-
|
|
9096
|
-
|
|
9097
|
-
|
|
9098
|
-
keyword: "type",
|
|
9099
|
-
params: { type: "string" },
|
|
9100
|
-
message: "must be string"
|
|
9101
|
-
}];
|
|
9102
|
-
return false;
|
|
9103
|
-
}
|
|
9104
|
-
if (!(_errs16 === errors)) break;
|
|
9105
|
-
}
|
|
9106
|
-
} else {
|
|
9107
|
-
validate113.errors = [{
|
|
9108
|
-
instancePath: instancePath + "/reasons",
|
|
9109
|
-
schemaPath: "#/properties/reasons/type",
|
|
9110
|
-
keyword: "type",
|
|
9111
|
-
params: { type: "array" },
|
|
9112
|
-
message: "must be array"
|
|
9113
|
-
}];
|
|
9114
|
-
return false;
|
|
9115
|
-
}
|
|
9088
|
+
if (typeof data.offloadable !== "boolean") {
|
|
9089
|
+
validate113.errors = [{
|
|
9090
|
+
instancePath: instancePath + "/offloadable",
|
|
9091
|
+
schemaPath: "#/properties/offloadable/type",
|
|
9092
|
+
keyword: "type",
|
|
9093
|
+
params: { type: "boolean" },
|
|
9094
|
+
message: "must be boolean"
|
|
9095
|
+
}];
|
|
9096
|
+
return false;
|
|
9116
9097
|
}
|
|
9117
9098
|
var valid0 = _errs14 === errors;
|
|
9118
9099
|
} else var valid0 = true;
|
|
9119
9100
|
if (valid0) {
|
|
9120
|
-
if (data.
|
|
9121
|
-
let
|
|
9122
|
-
const
|
|
9123
|
-
if (errors ===
|
|
9124
|
-
if (Array.isArray(
|
|
9125
|
-
const
|
|
9126
|
-
for (let
|
|
9127
|
-
|
|
9128
|
-
|
|
9129
|
-
|
|
9130
|
-
|
|
9131
|
-
|
|
9132
|
-
|
|
9133
|
-
|
|
9134
|
-
|
|
9135
|
-
|
|
9136
|
-
|
|
9137
|
-
|
|
9138
|
-
|
|
9139
|
-
|
|
9140
|
-
|
|
9141
|
-
|
|
9142
|
-
|
|
9143
|
-
|
|
9144
|
-
|
|
9145
|
-
|
|
9146
|
-
|
|
9147
|
-
|
|
9148
|
-
|
|
9149
|
-
|
|
9150
|
-
|
|
9151
|
-
|
|
9152
|
-
|
|
9153
|
-
|
|
9154
|
-
|
|
9155
|
-
|
|
9156
|
-
|
|
9157
|
-
|
|
9101
|
+
if (data.reasons !== void 0) {
|
|
9102
|
+
let data8 = data.reasons;
|
|
9103
|
+
const _errs16 = errors;
|
|
9104
|
+
if (errors === _errs16) {
|
|
9105
|
+
if (Array.isArray(data8)) {
|
|
9106
|
+
const len0 = data8.length;
|
|
9107
|
+
for (let i0 = 0; i0 < len0; i0++) {
|
|
9108
|
+
const _errs18 = errors;
|
|
9109
|
+
if (typeof data8[i0] !== "string") {
|
|
9110
|
+
validate113.errors = [{
|
|
9111
|
+
instancePath: instancePath + "/reasons/" + i0,
|
|
9112
|
+
schemaPath: "#/properties/reasons/items/type",
|
|
9113
|
+
keyword: "type",
|
|
9114
|
+
params: { type: "string" },
|
|
9115
|
+
message: "must be string"
|
|
9116
|
+
}];
|
|
9117
|
+
return false;
|
|
9118
|
+
}
|
|
9119
|
+
if (!(_errs18 === errors)) break;
|
|
9120
|
+
}
|
|
9121
|
+
} else {
|
|
9122
|
+
validate113.errors = [{
|
|
9123
|
+
instancePath: instancePath + "/reasons",
|
|
9124
|
+
schemaPath: "#/properties/reasons/type",
|
|
9125
|
+
keyword: "type",
|
|
9126
|
+
params: { type: "array" },
|
|
9127
|
+
message: "must be array"
|
|
9128
|
+
}];
|
|
9129
|
+
return false;
|
|
9130
|
+
}
|
|
9131
|
+
}
|
|
9132
|
+
var valid0 = _errs16 === errors;
|
|
9133
|
+
} else var valid0 = true;
|
|
9134
|
+
if (valid0) {
|
|
9135
|
+
if (data.problems !== void 0) {
|
|
9136
|
+
let data10 = data.problems;
|
|
9137
|
+
const _errs20 = errors;
|
|
9138
|
+
if (errors === _errs20) {
|
|
9139
|
+
if (Array.isArray(data10)) {
|
|
9140
|
+
const len1 = data10.length;
|
|
9141
|
+
for (let i1 = 0; i1 < len1; i1++) {
|
|
9142
|
+
let data11 = data10[i1];
|
|
9143
|
+
const _errs22 = errors;
|
|
9144
|
+
if (errors === _errs22) {
|
|
9145
|
+
if (data11 && typeof data11 == "object" && !Array.isArray(data11)) {
|
|
9146
|
+
let missing1;
|
|
9147
|
+
if (data11.code === void 0 && (missing1 = "code") || data11.reason === void 0 && (missing1 = "reason")) {
|
|
9148
|
+
validate113.errors = [{
|
|
9149
|
+
instancePath: instancePath + "/problems/" + i1,
|
|
9150
|
+
schemaPath: "#/properties/problems/items/required",
|
|
9151
|
+
keyword: "required",
|
|
9152
|
+
params: { missingProperty: missing1 },
|
|
9153
|
+
message: "must have required property '" + missing1 + "'"
|
|
9154
|
+
}];
|
|
9155
|
+
return false;
|
|
9156
|
+
} else {
|
|
9157
|
+
if (data11.code !== void 0) {
|
|
9158
9158
|
const _errs24 = errors;
|
|
9159
|
-
if (typeof
|
|
9159
|
+
if (typeof data11.code !== "string") {
|
|
9160
9160
|
validate113.errors = [{
|
|
9161
|
-
instancePath: instancePath + "/problems/" + i1 + "/
|
|
9162
|
-
schemaPath: "#/properties/problems/items/properties/
|
|
9161
|
+
instancePath: instancePath + "/problems/" + i1 + "/code",
|
|
9162
|
+
schemaPath: "#/properties/problems/items/properties/code/type",
|
|
9163
9163
|
keyword: "type",
|
|
9164
9164
|
params: { type: "string" },
|
|
9165
9165
|
message: "must be string"
|
|
@@ -9168,48 +9168,64 @@ function validate113(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
9168
9168
|
}
|
|
9169
9169
|
var valid3 = _errs24 === errors;
|
|
9170
9170
|
} else var valid3 = true;
|
|
9171
|
+
if (valid3) {
|
|
9172
|
+
if (data11.reason !== void 0) {
|
|
9173
|
+
const _errs26 = errors;
|
|
9174
|
+
if (typeof data11.reason !== "string") {
|
|
9175
|
+
validate113.errors = [{
|
|
9176
|
+
instancePath: instancePath + "/problems/" + i1 + "/reason",
|
|
9177
|
+
schemaPath: "#/properties/problems/items/properties/reason/type",
|
|
9178
|
+
keyword: "type",
|
|
9179
|
+
params: { type: "string" },
|
|
9180
|
+
message: "must be string"
|
|
9181
|
+
}];
|
|
9182
|
+
return false;
|
|
9183
|
+
}
|
|
9184
|
+
var valid3 = _errs26 === errors;
|
|
9185
|
+
} else var valid3 = true;
|
|
9186
|
+
}
|
|
9171
9187
|
}
|
|
9188
|
+
} else {
|
|
9189
|
+
validate113.errors = [{
|
|
9190
|
+
instancePath: instancePath + "/problems/" + i1,
|
|
9191
|
+
schemaPath: "#/properties/problems/items/type",
|
|
9192
|
+
keyword: "type",
|
|
9193
|
+
params: { type: "object" },
|
|
9194
|
+
message: "must be object"
|
|
9195
|
+
}];
|
|
9196
|
+
return false;
|
|
9172
9197
|
}
|
|
9173
|
-
} else {
|
|
9174
|
-
validate113.errors = [{
|
|
9175
|
-
instancePath: instancePath + "/problems/" + i1,
|
|
9176
|
-
schemaPath: "#/properties/problems/items/type",
|
|
9177
|
-
keyword: "type",
|
|
9178
|
-
params: { type: "object" },
|
|
9179
|
-
message: "must be object"
|
|
9180
|
-
}];
|
|
9181
|
-
return false;
|
|
9182
9198
|
}
|
|
9199
|
+
if (!(_errs22 === errors)) break;
|
|
9183
9200
|
}
|
|
9184
|
-
|
|
9201
|
+
} else {
|
|
9202
|
+
validate113.errors = [{
|
|
9203
|
+
instancePath: instancePath + "/problems",
|
|
9204
|
+
schemaPath: "#/properties/problems/type",
|
|
9205
|
+
keyword: "type",
|
|
9206
|
+
params: { type: "array" },
|
|
9207
|
+
message: "must be array"
|
|
9208
|
+
}];
|
|
9209
|
+
return false;
|
|
9185
9210
|
}
|
|
9186
|
-
} else {
|
|
9187
|
-
validate113.errors = [{
|
|
9188
|
-
instancePath: instancePath + "/problems",
|
|
9189
|
-
schemaPath: "#/properties/problems/type",
|
|
9190
|
-
keyword: "type",
|
|
9191
|
-
params: { type: "array" },
|
|
9192
|
-
message: "must be array"
|
|
9193
|
-
}];
|
|
9194
|
-
return false;
|
|
9195
|
-
}
|
|
9196
|
-
}
|
|
9197
|
-
var valid0 = _errs18 === errors;
|
|
9198
|
-
} else var valid0 = true;
|
|
9199
|
-
if (valid0) {
|
|
9200
|
-
if (data.capacity !== void 0) {
|
|
9201
|
-
const _errs26 = errors;
|
|
9202
|
-
if (!validate116(data.capacity, {
|
|
9203
|
-
instancePath: instancePath + "/capacity",
|
|
9204
|
-
parentData: data,
|
|
9205
|
-
parentDataProperty: "capacity",
|
|
9206
|
-
rootData
|
|
9207
|
-
})) {
|
|
9208
|
-
vErrors = vErrors === null ? validate116.errors : vErrors.concat(validate116.errors);
|
|
9209
|
-
errors = vErrors.length;
|
|
9210
9211
|
}
|
|
9211
|
-
var valid0 =
|
|
9212
|
+
var valid0 = _errs20 === errors;
|
|
9212
9213
|
} else var valid0 = true;
|
|
9214
|
+
if (valid0) {
|
|
9215
|
+
if (data.capacity !== void 0) {
|
|
9216
|
+
const _errs28 = errors;
|
|
9217
|
+
if (!validate116(data.capacity, {
|
|
9218
|
+
instancePath: instancePath + "/capacity",
|
|
9219
|
+
parentData: data,
|
|
9220
|
+
parentDataProperty: "capacity",
|
|
9221
|
+
rootData
|
|
9222
|
+
})) {
|
|
9223
|
+
vErrors = vErrors === null ? validate116.errors : vErrors.concat(validate116.errors);
|
|
9224
|
+
errors = vErrors.length;
|
|
9225
|
+
}
|
|
9226
|
+
var valid0 = _errs28 === errors;
|
|
9227
|
+
} else var valid0 = true;
|
|
9228
|
+
}
|
|
9213
9229
|
}
|
|
9214
9230
|
}
|
|
9215
9231
|
}
|
|
@@ -15904,6 +15920,41 @@ function validate211(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
15904
15920
|
}
|
|
15905
15921
|
var valid0 = _errs22 === errors;
|
|
15906
15922
|
} else var valid0 = true;
|
|
15923
|
+
if (valid0) {
|
|
15924
|
+
if (data.unknown !== void 0) {
|
|
15925
|
+
let data13 = data.unknown;
|
|
15926
|
+
const _errs26 = errors;
|
|
15927
|
+
if (errors === _errs26) {
|
|
15928
|
+
if (Array.isArray(data13)) {
|
|
15929
|
+
const len1 = data13.length;
|
|
15930
|
+
for (let i1 = 0; i1 < len1; i1++) {
|
|
15931
|
+
const _errs28 = errors;
|
|
15932
|
+
if (typeof data13[i1] !== "string") {
|
|
15933
|
+
validate211.errors = [{
|
|
15934
|
+
instancePath: instancePath + "/unknown/" + i1,
|
|
15935
|
+
schemaPath: "#/properties/unknown/items/type",
|
|
15936
|
+
keyword: "type",
|
|
15937
|
+
params: { type: "string" },
|
|
15938
|
+
message: "must be string"
|
|
15939
|
+
}];
|
|
15940
|
+
return false;
|
|
15941
|
+
}
|
|
15942
|
+
if (!(_errs28 === errors)) break;
|
|
15943
|
+
}
|
|
15944
|
+
} else {
|
|
15945
|
+
validate211.errors = [{
|
|
15946
|
+
instancePath: instancePath + "/unknown",
|
|
15947
|
+
schemaPath: "#/properties/unknown/type",
|
|
15948
|
+
keyword: "type",
|
|
15949
|
+
params: { type: "array" },
|
|
15950
|
+
message: "must be array"
|
|
15951
|
+
}];
|
|
15952
|
+
return false;
|
|
15953
|
+
}
|
|
15954
|
+
}
|
|
15955
|
+
var valid0 = _errs26 === errors;
|
|
15956
|
+
} else var valid0 = true;
|
|
15957
|
+
}
|
|
15907
15958
|
}
|
|
15908
15959
|
}
|
|
15909
15960
|
}
|
|
@@ -20305,12 +20356,31 @@ function validate250(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
20305
20356
|
validate250.errors = vErrors;
|
|
20306
20357
|
return errors === 0;
|
|
20307
20358
|
}
|
|
20308
|
-
|
|
20359
|
+
const schema137 = {
|
|
20360
|
+
"type": "object",
|
|
20361
|
+
"properties": {
|
|
20362
|
+
"slot": { "type": "number" },
|
|
20363
|
+
"workspace": { "type": ["string", "null"] },
|
|
20364
|
+
"client": { "type": ["string", "null"] },
|
|
20365
|
+
"since": { "type": ["string", "null"] },
|
|
20366
|
+
"unresolved": {
|
|
20367
|
+
"type": "boolean",
|
|
20368
|
+
"const": true
|
|
20369
|
+
}
|
|
20370
|
+
},
|
|
20371
|
+
"required": [
|
|
20372
|
+
"slot",
|
|
20373
|
+
"workspace",
|
|
20374
|
+
"client",
|
|
20375
|
+
"since"
|
|
20376
|
+
]
|
|
20377
|
+
};
|
|
20378
|
+
function validate259(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
20309
20379
|
let vErrors = null;
|
|
20310
20380
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
20311
20381
|
let missing0;
|
|
20312
|
-
if (data.
|
|
20313
|
-
|
|
20382
|
+
if (data.slot === void 0 && (missing0 = "slot") || data.workspace === void 0 && (missing0 = "workspace") || data.client === void 0 && (missing0 = "client") || data.since === void 0 && (missing0 = "since")) {
|
|
20383
|
+
validate259.errors = [{
|
|
20314
20384
|
instancePath,
|
|
20315
20385
|
schemaPath: "#/required",
|
|
20316
20386
|
keyword: "required",
|
|
@@ -20319,11 +20389,11 @@ function validate257(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
20319
20389
|
}];
|
|
20320
20390
|
return false;
|
|
20321
20391
|
} else {
|
|
20322
|
-
if (data.
|
|
20323
|
-
if (!(typeof data.
|
|
20324
|
-
|
|
20325
|
-
instancePath: instancePath + "/
|
|
20326
|
-
schemaPath: "#/properties/
|
|
20392
|
+
if (data.slot !== void 0) {
|
|
20393
|
+
if (!(typeof data.slot == "number")) {
|
|
20394
|
+
validate259.errors = [{
|
|
20395
|
+
instancePath: instancePath + "/slot",
|
|
20396
|
+
schemaPath: "#/properties/slot/type",
|
|
20327
20397
|
keyword: "type",
|
|
20328
20398
|
params: { type: "number" },
|
|
20329
20399
|
message: "must be number"
|
|
@@ -20333,53 +20403,82 @@ function validate257(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
20333
20403
|
var valid0 = true;
|
|
20334
20404
|
} else var valid0 = true;
|
|
20335
20405
|
if (valid0) {
|
|
20336
|
-
if (data.
|
|
20337
|
-
|
|
20338
|
-
|
|
20339
|
-
|
|
20340
|
-
|
|
20406
|
+
if (data.workspace !== void 0) {
|
|
20407
|
+
let data1 = data.workspace;
|
|
20408
|
+
if (typeof data1 !== "string" && data1 !== null) {
|
|
20409
|
+
validate259.errors = [{
|
|
20410
|
+
instancePath: instancePath + "/workspace",
|
|
20411
|
+
schemaPath: "#/properties/workspace/type",
|
|
20341
20412
|
keyword: "type",
|
|
20342
|
-
params: { type:
|
|
20343
|
-
message: "must be
|
|
20413
|
+
params: { type: schema137.properties.workspace.type },
|
|
20414
|
+
message: "must be string,null"
|
|
20344
20415
|
}];
|
|
20345
20416
|
return false;
|
|
20346
20417
|
}
|
|
20347
20418
|
var valid0 = true;
|
|
20348
20419
|
} else var valid0 = true;
|
|
20349
20420
|
if (valid0) {
|
|
20350
|
-
if (data.
|
|
20351
|
-
|
|
20352
|
-
|
|
20353
|
-
|
|
20354
|
-
|
|
20421
|
+
if (data.client !== void 0) {
|
|
20422
|
+
let data2 = data.client;
|
|
20423
|
+
if (typeof data2 !== "string" && data2 !== null) {
|
|
20424
|
+
validate259.errors = [{
|
|
20425
|
+
instancePath: instancePath + "/client",
|
|
20426
|
+
schemaPath: "#/properties/client/type",
|
|
20355
20427
|
keyword: "type",
|
|
20356
|
-
params: { type:
|
|
20357
|
-
message: "must be
|
|
20428
|
+
params: { type: schema137.properties.client.type },
|
|
20429
|
+
message: "must be string,null"
|
|
20358
20430
|
}];
|
|
20359
20431
|
return false;
|
|
20360
20432
|
}
|
|
20361
20433
|
var valid0 = true;
|
|
20362
20434
|
} else var valid0 = true;
|
|
20363
20435
|
if (valid0) {
|
|
20364
|
-
if (data.
|
|
20365
|
-
|
|
20366
|
-
|
|
20367
|
-
|
|
20368
|
-
|
|
20436
|
+
if (data.since !== void 0) {
|
|
20437
|
+
let data3 = data.since;
|
|
20438
|
+
if (typeof data3 !== "string" && data3 !== null) {
|
|
20439
|
+
validate259.errors = [{
|
|
20440
|
+
instancePath: instancePath + "/since",
|
|
20441
|
+
schemaPath: "#/properties/since/type",
|
|
20369
20442
|
keyword: "type",
|
|
20370
|
-
params: { type:
|
|
20371
|
-
message: "must be
|
|
20443
|
+
params: { type: schema137.properties.since.type },
|
|
20444
|
+
message: "must be string,null"
|
|
20372
20445
|
}];
|
|
20373
20446
|
return false;
|
|
20374
20447
|
}
|
|
20375
20448
|
var valid0 = true;
|
|
20376
20449
|
} else var valid0 = true;
|
|
20450
|
+
if (valid0) {
|
|
20451
|
+
if (data.unresolved !== void 0) {
|
|
20452
|
+
let data4 = data.unresolved;
|
|
20453
|
+
if (typeof data4 !== "boolean") {
|
|
20454
|
+
validate259.errors = [{
|
|
20455
|
+
instancePath: instancePath + "/unresolved",
|
|
20456
|
+
schemaPath: "#/properties/unresolved/type",
|
|
20457
|
+
keyword: "type",
|
|
20458
|
+
params: { type: "boolean" },
|
|
20459
|
+
message: "must be boolean"
|
|
20460
|
+
}];
|
|
20461
|
+
return false;
|
|
20462
|
+
}
|
|
20463
|
+
if (true !== data4) {
|
|
20464
|
+
validate259.errors = [{
|
|
20465
|
+
instancePath: instancePath + "/unresolved",
|
|
20466
|
+
schemaPath: "#/properties/unresolved/const",
|
|
20467
|
+
keyword: "const",
|
|
20468
|
+
params: { allowedValue: true },
|
|
20469
|
+
message: "must be equal to constant"
|
|
20470
|
+
}];
|
|
20471
|
+
return false;
|
|
20472
|
+
}
|
|
20473
|
+
var valid0 = true;
|
|
20474
|
+
} else var valid0 = true;
|
|
20475
|
+
}
|
|
20377
20476
|
}
|
|
20378
20477
|
}
|
|
20379
20478
|
}
|
|
20380
20479
|
}
|
|
20381
20480
|
} else {
|
|
20382
|
-
|
|
20481
|
+
validate259.errors = [{
|
|
20383
20482
|
instancePath,
|
|
20384
20483
|
schemaPath: "#/type",
|
|
20385
20484
|
keyword: "type",
|
|
@@ -20388,43 +20487,711 @@ function validate257(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
20388
20487
|
}];
|
|
20389
20488
|
return false;
|
|
20390
20489
|
}
|
|
20391
|
-
|
|
20490
|
+
validate259.errors = vErrors;
|
|
20392
20491
|
return true;
|
|
20393
20492
|
}
|
|
20394
|
-
|
|
20395
|
-
"type": "object",
|
|
20396
|
-
"properties": {
|
|
20397
|
-
"slot": { "type": "string" },
|
|
20398
|
-
"path": { "type": "string" },
|
|
20399
|
-
"platform": { "type": "string" },
|
|
20400
|
-
"id": { "type": ["string", "null"] },
|
|
20401
|
-
"deviceName": { "type": ["string", "null"] },
|
|
20402
|
-
"holder": { "type": ["string", "null"] },
|
|
20403
|
-
"grantedAt": { "type": ["string", "null"] },
|
|
20404
|
-
"expiresAt": { "type": ["string", "null"] },
|
|
20405
|
-
"mine": { "type": "boolean" },
|
|
20406
|
-
"expired": { "type": "boolean" },
|
|
20407
|
-
"parsed": { "type": "boolean" }
|
|
20408
|
-
},
|
|
20409
|
-
"required": [
|
|
20410
|
-
"path",
|
|
20411
|
-
"platform",
|
|
20412
|
-
"id",
|
|
20413
|
-
"deviceName",
|
|
20414
|
-
"holder",
|
|
20415
|
-
"grantedAt",
|
|
20416
|
-
"expiresAt",
|
|
20417
|
-
"mine",
|
|
20418
|
-
"expired",
|
|
20419
|
-
"parsed"
|
|
20420
|
-
]
|
|
20421
|
-
};
|
|
20422
|
-
function validate259(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
20493
|
+
function validate258(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
20423
20494
|
let vErrors = null;
|
|
20424
|
-
|
|
20495
|
+
let errors = 0;
|
|
20496
|
+
if (errors === 0) {
|
|
20497
|
+
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
20498
|
+
let missing0;
|
|
20499
|
+
if (data.max === void 0 && (missing0 = "max") || data.inUse === void 0 && (missing0 = "inUse") || data.holders === void 0 && (missing0 = "holders")) {
|
|
20500
|
+
validate258.errors = [{
|
|
20501
|
+
instancePath,
|
|
20502
|
+
schemaPath: "#/required",
|
|
20503
|
+
keyword: "required",
|
|
20504
|
+
params: { missingProperty: missing0 },
|
|
20505
|
+
message: "must have required property '" + missing0 + "'"
|
|
20506
|
+
}];
|
|
20507
|
+
return false;
|
|
20508
|
+
} else {
|
|
20509
|
+
if (data.max !== void 0) {
|
|
20510
|
+
const _errs1 = errors;
|
|
20511
|
+
if (!(typeof data.max == "number")) {
|
|
20512
|
+
validate258.errors = [{
|
|
20513
|
+
instancePath: instancePath + "/max",
|
|
20514
|
+
schemaPath: "#/properties/max/type",
|
|
20515
|
+
keyword: "type",
|
|
20516
|
+
params: { type: "number" },
|
|
20517
|
+
message: "must be number"
|
|
20518
|
+
}];
|
|
20519
|
+
return false;
|
|
20520
|
+
}
|
|
20521
|
+
var valid0 = _errs1 === errors;
|
|
20522
|
+
} else var valid0 = true;
|
|
20523
|
+
if (valid0) {
|
|
20524
|
+
if (data.inUse !== void 0) {
|
|
20525
|
+
const _errs3 = errors;
|
|
20526
|
+
if (!(typeof data.inUse == "number")) {
|
|
20527
|
+
validate258.errors = [{
|
|
20528
|
+
instancePath: instancePath + "/inUse",
|
|
20529
|
+
schemaPath: "#/properties/inUse/type",
|
|
20530
|
+
keyword: "type",
|
|
20531
|
+
params: { type: "number" },
|
|
20532
|
+
message: "must be number"
|
|
20533
|
+
}];
|
|
20534
|
+
return false;
|
|
20535
|
+
}
|
|
20536
|
+
var valid0 = _errs3 === errors;
|
|
20537
|
+
} else var valid0 = true;
|
|
20538
|
+
if (valid0) {
|
|
20539
|
+
if (data.holders !== void 0) {
|
|
20540
|
+
let data2 = data.holders;
|
|
20541
|
+
const _errs5 = errors;
|
|
20542
|
+
if (errors === _errs5) {
|
|
20543
|
+
if (Array.isArray(data2)) {
|
|
20544
|
+
const len0 = data2.length;
|
|
20545
|
+
for (let i0 = 0; i0 < len0; i0++) {
|
|
20546
|
+
const _errs7 = errors;
|
|
20547
|
+
if (!validate259(data2[i0], {
|
|
20548
|
+
instancePath: instancePath + "/holders/" + i0,
|
|
20549
|
+
parentData: data2,
|
|
20550
|
+
parentDataProperty: i0,
|
|
20551
|
+
rootData
|
|
20552
|
+
})) {
|
|
20553
|
+
vErrors = vErrors === null ? validate259.errors : vErrors.concat(validate259.errors);
|
|
20554
|
+
errors = vErrors.length;
|
|
20555
|
+
}
|
|
20556
|
+
if (!(_errs7 === errors)) break;
|
|
20557
|
+
}
|
|
20558
|
+
} else {
|
|
20559
|
+
validate258.errors = [{
|
|
20560
|
+
instancePath: instancePath + "/holders",
|
|
20561
|
+
schemaPath: "#/properties/holders/type",
|
|
20562
|
+
keyword: "type",
|
|
20563
|
+
params: { type: "array" },
|
|
20564
|
+
message: "must be array"
|
|
20565
|
+
}];
|
|
20566
|
+
return false;
|
|
20567
|
+
}
|
|
20568
|
+
}
|
|
20569
|
+
var valid0 = _errs5 === errors;
|
|
20570
|
+
} else var valid0 = true;
|
|
20571
|
+
}
|
|
20572
|
+
}
|
|
20573
|
+
}
|
|
20574
|
+
} else {
|
|
20575
|
+
validate258.errors = [{
|
|
20576
|
+
instancePath,
|
|
20577
|
+
schemaPath: "#/type",
|
|
20578
|
+
keyword: "type",
|
|
20579
|
+
params: { type: "object" },
|
|
20580
|
+
message: "must be object"
|
|
20581
|
+
}];
|
|
20582
|
+
return false;
|
|
20583
|
+
}
|
|
20584
|
+
}
|
|
20585
|
+
validate258.errors = vErrors;
|
|
20586
|
+
return errors === 0;
|
|
20587
|
+
}
|
|
20588
|
+
const schema138 = {
|
|
20589
|
+
"type": "object",
|
|
20590
|
+
"properties": {
|
|
20591
|
+
"max": { "type": "number" },
|
|
20592
|
+
"inUse": { "type": ["number", "null"] },
|
|
20593
|
+
"unknown": { "type": "string" },
|
|
20594
|
+
"holders": {
|
|
20595
|
+
"type": "array",
|
|
20596
|
+
"items": { "$ref": "#/definitions/StatusDeviceSlotHolder" }
|
|
20597
|
+
}
|
|
20598
|
+
},
|
|
20599
|
+
"required": [
|
|
20600
|
+
"max",
|
|
20601
|
+
"inUse",
|
|
20602
|
+
"holders"
|
|
20603
|
+
]
|
|
20604
|
+
};
|
|
20605
|
+
const schema139 = {
|
|
20606
|
+
"type": "object",
|
|
20607
|
+
"properties": {
|
|
20608
|
+
"platform": {
|
|
20609
|
+
"type": "string",
|
|
20610
|
+
"enum": ["ios", "android"]
|
|
20611
|
+
},
|
|
20612
|
+
"label": { "type": "string" },
|
|
20613
|
+
"workspace": { "type": ["string", "null"] },
|
|
20614
|
+
"slot": { "type": ["string", "null"] },
|
|
20615
|
+
"booting": {
|
|
20616
|
+
"type": "boolean",
|
|
20617
|
+
"const": true
|
|
20618
|
+
}
|
|
20619
|
+
},
|
|
20620
|
+
"required": [
|
|
20621
|
+
"platform",
|
|
20622
|
+
"label",
|
|
20623
|
+
"workspace",
|
|
20624
|
+
"slot"
|
|
20625
|
+
]
|
|
20626
|
+
};
|
|
20627
|
+
function validate263(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
20628
|
+
let vErrors = null;
|
|
20629
|
+
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
20630
|
+
let missing0;
|
|
20631
|
+
if (data.platform === void 0 && (missing0 = "platform") || data.label === void 0 && (missing0 = "label") || data.workspace === void 0 && (missing0 = "workspace") || data.slot === void 0 && (missing0 = "slot")) {
|
|
20632
|
+
validate263.errors = [{
|
|
20633
|
+
instancePath,
|
|
20634
|
+
schemaPath: "#/required",
|
|
20635
|
+
keyword: "required",
|
|
20636
|
+
params: { missingProperty: missing0 },
|
|
20637
|
+
message: "must have required property '" + missing0 + "'"
|
|
20638
|
+
}];
|
|
20639
|
+
return false;
|
|
20640
|
+
} else {
|
|
20641
|
+
if (data.platform !== void 0) {
|
|
20642
|
+
let data0 = data.platform;
|
|
20643
|
+
if (typeof data0 !== "string") {
|
|
20644
|
+
validate263.errors = [{
|
|
20645
|
+
instancePath: instancePath + "/platform",
|
|
20646
|
+
schemaPath: "#/properties/platform/type",
|
|
20647
|
+
keyword: "type",
|
|
20648
|
+
params: { type: "string" },
|
|
20649
|
+
message: "must be string"
|
|
20650
|
+
}];
|
|
20651
|
+
return false;
|
|
20652
|
+
}
|
|
20653
|
+
if (!(data0 === "ios" || data0 === "android")) {
|
|
20654
|
+
validate263.errors = [{
|
|
20655
|
+
instancePath: instancePath + "/platform",
|
|
20656
|
+
schemaPath: "#/properties/platform/enum",
|
|
20657
|
+
keyword: "enum",
|
|
20658
|
+
params: { allowedValues: schema139.properties.platform.enum },
|
|
20659
|
+
message: "must be equal to one of the allowed values"
|
|
20660
|
+
}];
|
|
20661
|
+
return false;
|
|
20662
|
+
}
|
|
20663
|
+
var valid0 = true;
|
|
20664
|
+
} else var valid0 = true;
|
|
20665
|
+
if (valid0) {
|
|
20666
|
+
if (data.label !== void 0) {
|
|
20667
|
+
if (typeof data.label !== "string") {
|
|
20668
|
+
validate263.errors = [{
|
|
20669
|
+
instancePath: instancePath + "/label",
|
|
20670
|
+
schemaPath: "#/properties/label/type",
|
|
20671
|
+
keyword: "type",
|
|
20672
|
+
params: { type: "string" },
|
|
20673
|
+
message: "must be string"
|
|
20674
|
+
}];
|
|
20675
|
+
return false;
|
|
20676
|
+
}
|
|
20677
|
+
var valid0 = true;
|
|
20678
|
+
} else var valid0 = true;
|
|
20679
|
+
if (valid0) {
|
|
20680
|
+
if (data.workspace !== void 0) {
|
|
20681
|
+
let data2 = data.workspace;
|
|
20682
|
+
if (typeof data2 !== "string" && data2 !== null) {
|
|
20683
|
+
validate263.errors = [{
|
|
20684
|
+
instancePath: instancePath + "/workspace",
|
|
20685
|
+
schemaPath: "#/properties/workspace/type",
|
|
20686
|
+
keyword: "type",
|
|
20687
|
+
params: { type: schema139.properties.workspace.type },
|
|
20688
|
+
message: "must be string,null"
|
|
20689
|
+
}];
|
|
20690
|
+
return false;
|
|
20691
|
+
}
|
|
20692
|
+
var valid0 = true;
|
|
20693
|
+
} else var valid0 = true;
|
|
20694
|
+
if (valid0) {
|
|
20695
|
+
if (data.slot !== void 0) {
|
|
20696
|
+
let data3 = data.slot;
|
|
20697
|
+
if (typeof data3 !== "string" && data3 !== null) {
|
|
20698
|
+
validate263.errors = [{
|
|
20699
|
+
instancePath: instancePath + "/slot",
|
|
20700
|
+
schemaPath: "#/properties/slot/type",
|
|
20701
|
+
keyword: "type",
|
|
20702
|
+
params: { type: schema139.properties.slot.type },
|
|
20703
|
+
message: "must be string,null"
|
|
20704
|
+
}];
|
|
20705
|
+
return false;
|
|
20706
|
+
}
|
|
20707
|
+
var valid0 = true;
|
|
20708
|
+
} else var valid0 = true;
|
|
20709
|
+
if (valid0) {
|
|
20710
|
+
if (data.booting !== void 0) {
|
|
20711
|
+
let data4 = data.booting;
|
|
20712
|
+
if (typeof data4 !== "boolean") {
|
|
20713
|
+
validate263.errors = [{
|
|
20714
|
+
instancePath: instancePath + "/booting",
|
|
20715
|
+
schemaPath: "#/properties/booting/type",
|
|
20716
|
+
keyword: "type",
|
|
20717
|
+
params: { type: "boolean" },
|
|
20718
|
+
message: "must be boolean"
|
|
20719
|
+
}];
|
|
20720
|
+
return false;
|
|
20721
|
+
}
|
|
20722
|
+
if (true !== data4) {
|
|
20723
|
+
validate263.errors = [{
|
|
20724
|
+
instancePath: instancePath + "/booting",
|
|
20725
|
+
schemaPath: "#/properties/booting/const",
|
|
20726
|
+
keyword: "const",
|
|
20727
|
+
params: { allowedValue: true },
|
|
20728
|
+
message: "must be equal to constant"
|
|
20729
|
+
}];
|
|
20730
|
+
return false;
|
|
20731
|
+
}
|
|
20732
|
+
var valid0 = true;
|
|
20733
|
+
} else var valid0 = true;
|
|
20734
|
+
}
|
|
20735
|
+
}
|
|
20736
|
+
}
|
|
20737
|
+
}
|
|
20738
|
+
}
|
|
20739
|
+
} else {
|
|
20740
|
+
validate263.errors = [{
|
|
20741
|
+
instancePath,
|
|
20742
|
+
schemaPath: "#/type",
|
|
20743
|
+
keyword: "type",
|
|
20744
|
+
params: { type: "object" },
|
|
20745
|
+
message: "must be object"
|
|
20746
|
+
}];
|
|
20747
|
+
return false;
|
|
20748
|
+
}
|
|
20749
|
+
validate263.errors = vErrors;
|
|
20750
|
+
return true;
|
|
20751
|
+
}
|
|
20752
|
+
function validate262(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
20753
|
+
let vErrors = null;
|
|
20754
|
+
let errors = 0;
|
|
20755
|
+
if (errors === 0) {
|
|
20756
|
+
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
20757
|
+
let missing0;
|
|
20758
|
+
if (data.max === void 0 && (missing0 = "max") || data.inUse === void 0 && (missing0 = "inUse") || data.holders === void 0 && (missing0 = "holders")) {
|
|
20759
|
+
validate262.errors = [{
|
|
20760
|
+
instancePath,
|
|
20761
|
+
schemaPath: "#/required",
|
|
20762
|
+
keyword: "required",
|
|
20763
|
+
params: { missingProperty: missing0 },
|
|
20764
|
+
message: "must have required property '" + missing0 + "'"
|
|
20765
|
+
}];
|
|
20766
|
+
return false;
|
|
20767
|
+
} else {
|
|
20768
|
+
if (data.max !== void 0) {
|
|
20769
|
+
const _errs1 = errors;
|
|
20770
|
+
if (!(typeof data.max == "number")) {
|
|
20771
|
+
validate262.errors = [{
|
|
20772
|
+
instancePath: instancePath + "/max",
|
|
20773
|
+
schemaPath: "#/properties/max/type",
|
|
20774
|
+
keyword: "type",
|
|
20775
|
+
params: { type: "number" },
|
|
20776
|
+
message: "must be number"
|
|
20777
|
+
}];
|
|
20778
|
+
return false;
|
|
20779
|
+
}
|
|
20780
|
+
var valid0 = _errs1 === errors;
|
|
20781
|
+
} else var valid0 = true;
|
|
20782
|
+
if (valid0) {
|
|
20783
|
+
if (data.inUse !== void 0) {
|
|
20784
|
+
let data1 = data.inUse;
|
|
20785
|
+
const _errs3 = errors;
|
|
20786
|
+
if (!(typeof data1 == "number") && data1 !== null) {
|
|
20787
|
+
validate262.errors = [{
|
|
20788
|
+
instancePath: instancePath + "/inUse",
|
|
20789
|
+
schemaPath: "#/properties/inUse/type",
|
|
20790
|
+
keyword: "type",
|
|
20791
|
+
params: { type: schema138.properties.inUse.type },
|
|
20792
|
+
message: "must be number,null"
|
|
20793
|
+
}];
|
|
20794
|
+
return false;
|
|
20795
|
+
}
|
|
20796
|
+
var valid0 = _errs3 === errors;
|
|
20797
|
+
} else var valid0 = true;
|
|
20798
|
+
if (valid0) {
|
|
20799
|
+
if (data.unknown !== void 0) {
|
|
20800
|
+
const _errs5 = errors;
|
|
20801
|
+
if (typeof data.unknown !== "string") {
|
|
20802
|
+
validate262.errors = [{
|
|
20803
|
+
instancePath: instancePath + "/unknown",
|
|
20804
|
+
schemaPath: "#/properties/unknown/type",
|
|
20805
|
+
keyword: "type",
|
|
20806
|
+
params: { type: "string" },
|
|
20807
|
+
message: "must be string"
|
|
20808
|
+
}];
|
|
20809
|
+
return false;
|
|
20810
|
+
}
|
|
20811
|
+
var valid0 = _errs5 === errors;
|
|
20812
|
+
} else var valid0 = true;
|
|
20813
|
+
if (valid0) {
|
|
20814
|
+
if (data.holders !== void 0) {
|
|
20815
|
+
let data3 = data.holders;
|
|
20816
|
+
const _errs7 = errors;
|
|
20817
|
+
if (errors === _errs7) {
|
|
20818
|
+
if (Array.isArray(data3)) {
|
|
20819
|
+
const len0 = data3.length;
|
|
20820
|
+
for (let i0 = 0; i0 < len0; i0++) {
|
|
20821
|
+
const _errs9 = errors;
|
|
20822
|
+
if (!validate263(data3[i0], {
|
|
20823
|
+
instancePath: instancePath + "/holders/" + i0,
|
|
20824
|
+
parentData: data3,
|
|
20825
|
+
parentDataProperty: i0,
|
|
20826
|
+
rootData
|
|
20827
|
+
})) {
|
|
20828
|
+
vErrors = vErrors === null ? validate263.errors : vErrors.concat(validate263.errors);
|
|
20829
|
+
errors = vErrors.length;
|
|
20830
|
+
}
|
|
20831
|
+
if (!(_errs9 === errors)) break;
|
|
20832
|
+
}
|
|
20833
|
+
} else {
|
|
20834
|
+
validate262.errors = [{
|
|
20835
|
+
instancePath: instancePath + "/holders",
|
|
20836
|
+
schemaPath: "#/properties/holders/type",
|
|
20837
|
+
keyword: "type",
|
|
20838
|
+
params: { type: "array" },
|
|
20839
|
+
message: "must be array"
|
|
20840
|
+
}];
|
|
20841
|
+
return false;
|
|
20842
|
+
}
|
|
20843
|
+
}
|
|
20844
|
+
var valid0 = _errs7 === errors;
|
|
20845
|
+
} else var valid0 = true;
|
|
20846
|
+
}
|
|
20847
|
+
}
|
|
20848
|
+
}
|
|
20849
|
+
}
|
|
20850
|
+
} else {
|
|
20851
|
+
validate262.errors = [{
|
|
20852
|
+
instancePath,
|
|
20853
|
+
schemaPath: "#/type",
|
|
20854
|
+
keyword: "type",
|
|
20855
|
+
params: { type: "object" },
|
|
20856
|
+
message: "must be object"
|
|
20857
|
+
}];
|
|
20858
|
+
return false;
|
|
20859
|
+
}
|
|
20860
|
+
}
|
|
20861
|
+
validate262.errors = vErrors;
|
|
20862
|
+
return errors === 0;
|
|
20863
|
+
}
|
|
20864
|
+
const schema140 = {
|
|
20865
|
+
"type": "object",
|
|
20866
|
+
"properties": {
|
|
20867
|
+
"cpus": { "type": "number" },
|
|
20868
|
+
"loadPerCore": { "type": "number" },
|
|
20869
|
+
"busyAt": { "type": "number" },
|
|
20870
|
+
"limit": { "type": ["number", "null"] },
|
|
20871
|
+
"state": { "$ref": "#/definitions/LoadState" }
|
|
20872
|
+
},
|
|
20873
|
+
"required": [
|
|
20874
|
+
"cpus",
|
|
20875
|
+
"loadPerCore",
|
|
20876
|
+
"busyAt",
|
|
20877
|
+
"limit",
|
|
20878
|
+
"state"
|
|
20879
|
+
]
|
|
20880
|
+
};
|
|
20881
|
+
const schema141 = {
|
|
20882
|
+
"type": "string",
|
|
20883
|
+
"enum": [
|
|
20884
|
+
"free",
|
|
20885
|
+
"busy",
|
|
20886
|
+
"holding"
|
|
20887
|
+
]
|
|
20888
|
+
};
|
|
20889
|
+
function validate267(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
20890
|
+
let vErrors = null;
|
|
20891
|
+
if (typeof data !== "string") {
|
|
20892
|
+
validate267.errors = [{
|
|
20893
|
+
instancePath,
|
|
20894
|
+
schemaPath: "#/type",
|
|
20895
|
+
keyword: "type",
|
|
20896
|
+
params: { type: "string" },
|
|
20897
|
+
message: "must be string"
|
|
20898
|
+
}];
|
|
20899
|
+
return false;
|
|
20900
|
+
}
|
|
20901
|
+
if (!(data === "free" || data === "busy" || data === "holding")) {
|
|
20902
|
+
validate267.errors = [{
|
|
20903
|
+
instancePath,
|
|
20904
|
+
schemaPath: "#/enum",
|
|
20905
|
+
keyword: "enum",
|
|
20906
|
+
params: { allowedValues: schema141.enum },
|
|
20907
|
+
message: "must be equal to one of the allowed values"
|
|
20908
|
+
}];
|
|
20909
|
+
return false;
|
|
20910
|
+
}
|
|
20911
|
+
validate267.errors = vErrors;
|
|
20912
|
+
return true;
|
|
20913
|
+
}
|
|
20914
|
+
function validate266(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
20915
|
+
let vErrors = null;
|
|
20916
|
+
let errors = 0;
|
|
20917
|
+
if (errors === 0) {
|
|
20918
|
+
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
20919
|
+
let missing0;
|
|
20920
|
+
if (data.cpus === void 0 && (missing0 = "cpus") || data.loadPerCore === void 0 && (missing0 = "loadPerCore") || data.busyAt === void 0 && (missing0 = "busyAt") || data.limit === void 0 && (missing0 = "limit") || data.state === void 0 && (missing0 = "state")) {
|
|
20921
|
+
validate266.errors = [{
|
|
20922
|
+
instancePath,
|
|
20923
|
+
schemaPath: "#/required",
|
|
20924
|
+
keyword: "required",
|
|
20925
|
+
params: { missingProperty: missing0 },
|
|
20926
|
+
message: "must have required property '" + missing0 + "'"
|
|
20927
|
+
}];
|
|
20928
|
+
return false;
|
|
20929
|
+
} else {
|
|
20930
|
+
if (data.cpus !== void 0) {
|
|
20931
|
+
const _errs1 = errors;
|
|
20932
|
+
if (!(typeof data.cpus == "number")) {
|
|
20933
|
+
validate266.errors = [{
|
|
20934
|
+
instancePath: instancePath + "/cpus",
|
|
20935
|
+
schemaPath: "#/properties/cpus/type",
|
|
20936
|
+
keyword: "type",
|
|
20937
|
+
params: { type: "number" },
|
|
20938
|
+
message: "must be number"
|
|
20939
|
+
}];
|
|
20940
|
+
return false;
|
|
20941
|
+
}
|
|
20942
|
+
var valid0 = _errs1 === errors;
|
|
20943
|
+
} else var valid0 = true;
|
|
20944
|
+
if (valid0) {
|
|
20945
|
+
if (data.loadPerCore !== void 0) {
|
|
20946
|
+
const _errs3 = errors;
|
|
20947
|
+
if (!(typeof data.loadPerCore == "number")) {
|
|
20948
|
+
validate266.errors = [{
|
|
20949
|
+
instancePath: instancePath + "/loadPerCore",
|
|
20950
|
+
schemaPath: "#/properties/loadPerCore/type",
|
|
20951
|
+
keyword: "type",
|
|
20952
|
+
params: { type: "number" },
|
|
20953
|
+
message: "must be number"
|
|
20954
|
+
}];
|
|
20955
|
+
return false;
|
|
20956
|
+
}
|
|
20957
|
+
var valid0 = _errs3 === errors;
|
|
20958
|
+
} else var valid0 = true;
|
|
20959
|
+
if (valid0) {
|
|
20960
|
+
if (data.busyAt !== void 0) {
|
|
20961
|
+
const _errs5 = errors;
|
|
20962
|
+
if (!(typeof data.busyAt == "number")) {
|
|
20963
|
+
validate266.errors = [{
|
|
20964
|
+
instancePath: instancePath + "/busyAt",
|
|
20965
|
+
schemaPath: "#/properties/busyAt/type",
|
|
20966
|
+
keyword: "type",
|
|
20967
|
+
params: { type: "number" },
|
|
20968
|
+
message: "must be number"
|
|
20969
|
+
}];
|
|
20970
|
+
return false;
|
|
20971
|
+
}
|
|
20972
|
+
var valid0 = _errs5 === errors;
|
|
20973
|
+
} else var valid0 = true;
|
|
20974
|
+
if (valid0) {
|
|
20975
|
+
if (data.limit !== void 0) {
|
|
20976
|
+
let data3 = data.limit;
|
|
20977
|
+
const _errs7 = errors;
|
|
20978
|
+
if (!(typeof data3 == "number") && data3 !== null) {
|
|
20979
|
+
validate266.errors = [{
|
|
20980
|
+
instancePath: instancePath + "/limit",
|
|
20981
|
+
schemaPath: "#/properties/limit/type",
|
|
20982
|
+
keyword: "type",
|
|
20983
|
+
params: { type: schema140.properties.limit.type },
|
|
20984
|
+
message: "must be number,null"
|
|
20985
|
+
}];
|
|
20986
|
+
return false;
|
|
20987
|
+
}
|
|
20988
|
+
var valid0 = _errs7 === errors;
|
|
20989
|
+
} else var valid0 = true;
|
|
20990
|
+
if (valid0) {
|
|
20991
|
+
if (data.state !== void 0) {
|
|
20992
|
+
const _errs9 = errors;
|
|
20993
|
+
if (!validate267(data.state, {
|
|
20994
|
+
instancePath: instancePath + "/state",
|
|
20995
|
+
parentData: data,
|
|
20996
|
+
parentDataProperty: "state",
|
|
20997
|
+
rootData
|
|
20998
|
+
})) {
|
|
20999
|
+
vErrors = vErrors === null ? validate267.errors : vErrors.concat(validate267.errors);
|
|
21000
|
+
errors = vErrors.length;
|
|
21001
|
+
}
|
|
21002
|
+
var valid0 = _errs9 === errors;
|
|
21003
|
+
} else var valid0 = true;
|
|
21004
|
+
}
|
|
21005
|
+
}
|
|
21006
|
+
}
|
|
21007
|
+
}
|
|
21008
|
+
}
|
|
21009
|
+
} else {
|
|
21010
|
+
validate266.errors = [{
|
|
21011
|
+
instancePath,
|
|
21012
|
+
schemaPath: "#/type",
|
|
21013
|
+
keyword: "type",
|
|
21014
|
+
params: { type: "object" },
|
|
21015
|
+
message: "must be object"
|
|
21016
|
+
}];
|
|
21017
|
+
return false;
|
|
21018
|
+
}
|
|
21019
|
+
}
|
|
21020
|
+
validate266.errors = vErrors;
|
|
21021
|
+
return errors === 0;
|
|
21022
|
+
}
|
|
21023
|
+
function validate257(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
21024
|
+
let vErrors = null;
|
|
21025
|
+
let errors = 0;
|
|
21026
|
+
if (errors === 0) {
|
|
21027
|
+
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
21028
|
+
let missing0;
|
|
21029
|
+
if (data.liveCount === void 0 && (missing0 = "liveCount") || data.committedMb === void 0 && (missing0 = "committedMb") || data.totalMemoryMb === void 0 && (missing0 = "totalMemoryMb") || data.overCapacity === void 0 && (missing0 = "overCapacity")) {
|
|
21030
|
+
validate257.errors = [{
|
|
21031
|
+
instancePath,
|
|
21032
|
+
schemaPath: "#/required",
|
|
21033
|
+
keyword: "required",
|
|
21034
|
+
params: { missingProperty: missing0 },
|
|
21035
|
+
message: "must have required property '" + missing0 + "'"
|
|
21036
|
+
}];
|
|
21037
|
+
return false;
|
|
21038
|
+
} else {
|
|
21039
|
+
if (data.liveCount !== void 0) {
|
|
21040
|
+
const _errs1 = errors;
|
|
21041
|
+
if (!(typeof data.liveCount == "number")) {
|
|
21042
|
+
validate257.errors = [{
|
|
21043
|
+
instancePath: instancePath + "/liveCount",
|
|
21044
|
+
schemaPath: "#/properties/liveCount/type",
|
|
21045
|
+
keyword: "type",
|
|
21046
|
+
params: { type: "number" },
|
|
21047
|
+
message: "must be number"
|
|
21048
|
+
}];
|
|
21049
|
+
return false;
|
|
21050
|
+
}
|
|
21051
|
+
var valid0 = _errs1 === errors;
|
|
21052
|
+
} else var valid0 = true;
|
|
21053
|
+
if (valid0) {
|
|
21054
|
+
if (data.committedMb !== void 0) {
|
|
21055
|
+
const _errs3 = errors;
|
|
21056
|
+
if (!(typeof data.committedMb == "number")) {
|
|
21057
|
+
validate257.errors = [{
|
|
21058
|
+
instancePath: instancePath + "/committedMb",
|
|
21059
|
+
schemaPath: "#/properties/committedMb/type",
|
|
21060
|
+
keyword: "type",
|
|
21061
|
+
params: { type: "number" },
|
|
21062
|
+
message: "must be number"
|
|
21063
|
+
}];
|
|
21064
|
+
return false;
|
|
21065
|
+
}
|
|
21066
|
+
var valid0 = _errs3 === errors;
|
|
21067
|
+
} else var valid0 = true;
|
|
21068
|
+
if (valid0) {
|
|
21069
|
+
if (data.totalMemoryMb !== void 0) {
|
|
21070
|
+
const _errs5 = errors;
|
|
21071
|
+
if (!(typeof data.totalMemoryMb == "number")) {
|
|
21072
|
+
validate257.errors = [{
|
|
21073
|
+
instancePath: instancePath + "/totalMemoryMb",
|
|
21074
|
+
schemaPath: "#/properties/totalMemoryMb/type",
|
|
21075
|
+
keyword: "type",
|
|
21076
|
+
params: { type: "number" },
|
|
21077
|
+
message: "must be number"
|
|
21078
|
+
}];
|
|
21079
|
+
return false;
|
|
21080
|
+
}
|
|
21081
|
+
var valid0 = _errs5 === errors;
|
|
21082
|
+
} else var valid0 = true;
|
|
21083
|
+
if (valid0) {
|
|
21084
|
+
if (data.overCapacity !== void 0) {
|
|
21085
|
+
const _errs7 = errors;
|
|
21086
|
+
if (typeof data.overCapacity !== "boolean") {
|
|
21087
|
+
validate257.errors = [{
|
|
21088
|
+
instancePath: instancePath + "/overCapacity",
|
|
21089
|
+
schemaPath: "#/properties/overCapacity/type",
|
|
21090
|
+
keyword: "type",
|
|
21091
|
+
params: { type: "boolean" },
|
|
21092
|
+
message: "must be boolean"
|
|
21093
|
+
}];
|
|
21094
|
+
return false;
|
|
21095
|
+
}
|
|
21096
|
+
var valid0 = _errs7 === errors;
|
|
21097
|
+
} else var valid0 = true;
|
|
21098
|
+
if (valid0) {
|
|
21099
|
+
if (data.builds !== void 0) {
|
|
21100
|
+
const _errs9 = errors;
|
|
21101
|
+
if (!validate258(data.builds, {
|
|
21102
|
+
instancePath: instancePath + "/builds",
|
|
21103
|
+
parentData: data,
|
|
21104
|
+
parentDataProperty: "builds",
|
|
21105
|
+
rootData
|
|
21106
|
+
})) {
|
|
21107
|
+
vErrors = vErrors === null ? validate258.errors : vErrors.concat(validate258.errors);
|
|
21108
|
+
errors = vErrors.length;
|
|
21109
|
+
}
|
|
21110
|
+
var valid0 = _errs9 === errors;
|
|
21111
|
+
} else var valid0 = true;
|
|
21112
|
+
if (valid0) {
|
|
21113
|
+
if (data.devices !== void 0) {
|
|
21114
|
+
const _errs10 = errors;
|
|
21115
|
+
if (!validate262(data.devices, {
|
|
21116
|
+
instancePath: instancePath + "/devices",
|
|
21117
|
+
parentData: data,
|
|
21118
|
+
parentDataProperty: "devices",
|
|
21119
|
+
rootData
|
|
21120
|
+
})) {
|
|
21121
|
+
vErrors = vErrors === null ? validate262.errors : vErrors.concat(validate262.errors);
|
|
21122
|
+
errors = vErrors.length;
|
|
21123
|
+
}
|
|
21124
|
+
var valid0 = _errs10 === errors;
|
|
21125
|
+
} else var valid0 = true;
|
|
21126
|
+
if (valid0) {
|
|
21127
|
+
if (data.load !== void 0) {
|
|
21128
|
+
const _errs11 = errors;
|
|
21129
|
+
if (!validate266(data.load, {
|
|
21130
|
+
instancePath: instancePath + "/load",
|
|
21131
|
+
parentData: data,
|
|
21132
|
+
parentDataProperty: "load",
|
|
21133
|
+
rootData
|
|
21134
|
+
})) {
|
|
21135
|
+
vErrors = vErrors === null ? validate266.errors : vErrors.concat(validate266.errors);
|
|
21136
|
+
errors = vErrors.length;
|
|
21137
|
+
}
|
|
21138
|
+
var valid0 = _errs11 === errors;
|
|
21139
|
+
} else var valid0 = true;
|
|
21140
|
+
}
|
|
21141
|
+
}
|
|
21142
|
+
}
|
|
21143
|
+
}
|
|
21144
|
+
}
|
|
21145
|
+
}
|
|
21146
|
+
}
|
|
21147
|
+
} else {
|
|
21148
|
+
validate257.errors = [{
|
|
21149
|
+
instancePath,
|
|
21150
|
+
schemaPath: "#/type",
|
|
21151
|
+
keyword: "type",
|
|
21152
|
+
params: { type: "object" },
|
|
21153
|
+
message: "must be object"
|
|
21154
|
+
}];
|
|
21155
|
+
return false;
|
|
21156
|
+
}
|
|
21157
|
+
}
|
|
21158
|
+
validate257.errors = vErrors;
|
|
21159
|
+
return errors === 0;
|
|
21160
|
+
}
|
|
21161
|
+
const schema142 = {
|
|
21162
|
+
"type": "object",
|
|
21163
|
+
"properties": {
|
|
21164
|
+
"slot": { "type": "string" },
|
|
21165
|
+
"path": { "type": "string" },
|
|
21166
|
+
"platform": { "type": "string" },
|
|
21167
|
+
"id": { "type": ["string", "null"] },
|
|
21168
|
+
"deviceName": { "type": ["string", "null"] },
|
|
21169
|
+
"holder": { "type": ["string", "null"] },
|
|
21170
|
+
"grantedAt": { "type": ["string", "null"] },
|
|
21171
|
+
"expiresAt": { "type": ["string", "null"] },
|
|
21172
|
+
"mine": { "type": "boolean" },
|
|
21173
|
+
"expired": { "type": "boolean" },
|
|
21174
|
+
"parsed": { "type": "boolean" }
|
|
21175
|
+
},
|
|
21176
|
+
"required": [
|
|
21177
|
+
"path",
|
|
21178
|
+
"platform",
|
|
21179
|
+
"id",
|
|
21180
|
+
"deviceName",
|
|
21181
|
+
"holder",
|
|
21182
|
+
"grantedAt",
|
|
21183
|
+
"expiresAt",
|
|
21184
|
+
"mine",
|
|
21185
|
+
"expired",
|
|
21186
|
+
"parsed"
|
|
21187
|
+
]
|
|
21188
|
+
};
|
|
21189
|
+
function validate271(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
21190
|
+
let vErrors = null;
|
|
21191
|
+
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
20425
21192
|
let missing0;
|
|
20426
21193
|
if (data.path === void 0 && (missing0 = "path") || data.platform === void 0 && (missing0 = "platform") || data.id === void 0 && (missing0 = "id") || data.deviceName === void 0 && (missing0 = "deviceName") || data.holder === void 0 && (missing0 = "holder") || data.grantedAt === void 0 && (missing0 = "grantedAt") || data.expiresAt === void 0 && (missing0 = "expiresAt") || data.mine === void 0 && (missing0 = "mine") || data.expired === void 0 && (missing0 = "expired") || data.parsed === void 0 && (missing0 = "parsed")) {
|
|
20427
|
-
|
|
21194
|
+
validate271.errors = [{
|
|
20428
21195
|
instancePath,
|
|
20429
21196
|
schemaPath: "#/required",
|
|
20430
21197
|
keyword: "required",
|
|
@@ -20435,7 +21202,7 @@ function validate259(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
20435
21202
|
} else {
|
|
20436
21203
|
if (data.slot !== void 0) {
|
|
20437
21204
|
if (typeof data.slot !== "string") {
|
|
20438
|
-
|
|
21205
|
+
validate271.errors = [{
|
|
20439
21206
|
instancePath: instancePath + "/slot",
|
|
20440
21207
|
schemaPath: "#/properties/slot/type",
|
|
20441
21208
|
keyword: "type",
|
|
@@ -20449,7 +21216,7 @@ function validate259(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
20449
21216
|
if (valid0) {
|
|
20450
21217
|
if (data.path !== void 0) {
|
|
20451
21218
|
if (typeof data.path !== "string") {
|
|
20452
|
-
|
|
21219
|
+
validate271.errors = [{
|
|
20453
21220
|
instancePath: instancePath + "/path",
|
|
20454
21221
|
schemaPath: "#/properties/path/type",
|
|
20455
21222
|
keyword: "type",
|
|
@@ -20463,7 +21230,7 @@ function validate259(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
20463
21230
|
if (valid0) {
|
|
20464
21231
|
if (data.platform !== void 0) {
|
|
20465
21232
|
if (typeof data.platform !== "string") {
|
|
20466
|
-
|
|
21233
|
+
validate271.errors = [{
|
|
20467
21234
|
instancePath: instancePath + "/platform",
|
|
20468
21235
|
schemaPath: "#/properties/platform/type",
|
|
20469
21236
|
keyword: "type",
|
|
@@ -20478,11 +21245,11 @@ function validate259(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
20478
21245
|
if (data.id !== void 0) {
|
|
20479
21246
|
let data3 = data.id;
|
|
20480
21247
|
if (typeof data3 !== "string" && data3 !== null) {
|
|
20481
|
-
|
|
21248
|
+
validate271.errors = [{
|
|
20482
21249
|
instancePath: instancePath + "/id",
|
|
20483
21250
|
schemaPath: "#/properties/id/type",
|
|
20484
21251
|
keyword: "type",
|
|
20485
|
-
params: { type:
|
|
21252
|
+
params: { type: schema142.properties.id.type },
|
|
20486
21253
|
message: "must be string,null"
|
|
20487
21254
|
}];
|
|
20488
21255
|
return false;
|
|
@@ -20493,11 +21260,11 @@ function validate259(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
20493
21260
|
if (data.deviceName !== void 0) {
|
|
20494
21261
|
let data4 = data.deviceName;
|
|
20495
21262
|
if (typeof data4 !== "string" && data4 !== null) {
|
|
20496
|
-
|
|
21263
|
+
validate271.errors = [{
|
|
20497
21264
|
instancePath: instancePath + "/deviceName",
|
|
20498
21265
|
schemaPath: "#/properties/deviceName/type",
|
|
20499
21266
|
keyword: "type",
|
|
20500
|
-
params: { type:
|
|
21267
|
+
params: { type: schema142.properties.deviceName.type },
|
|
20501
21268
|
message: "must be string,null"
|
|
20502
21269
|
}];
|
|
20503
21270
|
return false;
|
|
@@ -20508,11 +21275,11 @@ function validate259(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
20508
21275
|
if (data.holder !== void 0) {
|
|
20509
21276
|
let data5 = data.holder;
|
|
20510
21277
|
if (typeof data5 !== "string" && data5 !== null) {
|
|
20511
|
-
|
|
21278
|
+
validate271.errors = [{
|
|
20512
21279
|
instancePath: instancePath + "/holder",
|
|
20513
21280
|
schemaPath: "#/properties/holder/type",
|
|
20514
21281
|
keyword: "type",
|
|
20515
|
-
params: { type:
|
|
21282
|
+
params: { type: schema142.properties.holder.type },
|
|
20516
21283
|
message: "must be string,null"
|
|
20517
21284
|
}];
|
|
20518
21285
|
return false;
|
|
@@ -20523,11 +21290,11 @@ function validate259(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
20523
21290
|
if (data.grantedAt !== void 0) {
|
|
20524
21291
|
let data6 = data.grantedAt;
|
|
20525
21292
|
if (typeof data6 !== "string" && data6 !== null) {
|
|
20526
|
-
|
|
21293
|
+
validate271.errors = [{
|
|
20527
21294
|
instancePath: instancePath + "/grantedAt",
|
|
20528
21295
|
schemaPath: "#/properties/grantedAt/type",
|
|
20529
21296
|
keyword: "type",
|
|
20530
|
-
params: { type:
|
|
21297
|
+
params: { type: schema142.properties.grantedAt.type },
|
|
20531
21298
|
message: "must be string,null"
|
|
20532
21299
|
}];
|
|
20533
21300
|
return false;
|
|
@@ -20538,11 +21305,11 @@ function validate259(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
20538
21305
|
if (data.expiresAt !== void 0) {
|
|
20539
21306
|
let data7 = data.expiresAt;
|
|
20540
21307
|
if (typeof data7 !== "string" && data7 !== null) {
|
|
20541
|
-
|
|
21308
|
+
validate271.errors = [{
|
|
20542
21309
|
instancePath: instancePath + "/expiresAt",
|
|
20543
21310
|
schemaPath: "#/properties/expiresAt/type",
|
|
20544
21311
|
keyword: "type",
|
|
20545
|
-
params: { type:
|
|
21312
|
+
params: { type: schema142.properties.expiresAt.type },
|
|
20546
21313
|
message: "must be string,null"
|
|
20547
21314
|
}];
|
|
20548
21315
|
return false;
|
|
@@ -20552,7 +21319,7 @@ function validate259(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
20552
21319
|
if (valid0) {
|
|
20553
21320
|
if (data.mine !== void 0) {
|
|
20554
21321
|
if (typeof data.mine !== "boolean") {
|
|
20555
|
-
|
|
21322
|
+
validate271.errors = [{
|
|
20556
21323
|
instancePath: instancePath + "/mine",
|
|
20557
21324
|
schemaPath: "#/properties/mine/type",
|
|
20558
21325
|
keyword: "type",
|
|
@@ -20566,7 +21333,7 @@ function validate259(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
20566
21333
|
if (valid0) {
|
|
20567
21334
|
if (data.expired !== void 0) {
|
|
20568
21335
|
if (typeof data.expired !== "boolean") {
|
|
20569
|
-
|
|
21336
|
+
validate271.errors = [{
|
|
20570
21337
|
instancePath: instancePath + "/expired",
|
|
20571
21338
|
schemaPath: "#/properties/expired/type",
|
|
20572
21339
|
keyword: "type",
|
|
@@ -20580,7 +21347,7 @@ function validate259(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
20580
21347
|
if (valid0) {
|
|
20581
21348
|
if (data.parsed !== void 0) {
|
|
20582
21349
|
if (typeof data.parsed !== "boolean") {
|
|
20583
|
-
|
|
21350
|
+
validate271.errors = [{
|
|
20584
21351
|
instancePath: instancePath + "/parsed",
|
|
20585
21352
|
schemaPath: "#/properties/parsed/type",
|
|
20586
21353
|
keyword: "type",
|
|
@@ -20603,7 +21370,7 @@ function validate259(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
20603
21370
|
}
|
|
20604
21371
|
}
|
|
20605
21372
|
} else {
|
|
20606
|
-
|
|
21373
|
+
validate271.errors = [{
|
|
20607
21374
|
instancePath,
|
|
20608
21375
|
schemaPath: "#/type",
|
|
20609
21376
|
keyword: "type",
|
|
@@ -20612,7 +21379,7 @@ function validate259(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
20612
21379
|
}];
|
|
20613
21380
|
return false;
|
|
20614
21381
|
}
|
|
20615
|
-
|
|
21382
|
+
validate271.errors = vErrors;
|
|
20616
21383
|
return true;
|
|
20617
21384
|
}
|
|
20618
21385
|
function validate172(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
@@ -21561,13 +22328,13 @@ function validate172(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21561
22328
|
const len5 = data44.length;
|
|
21562
22329
|
for (let i5 = 0; i5 < len5; i5++) {
|
|
21563
22330
|
const _errs94 = errors;
|
|
21564
|
-
if (!
|
|
22331
|
+
if (!validate271(data44[i5], {
|
|
21565
22332
|
instancePath: instancePath + "/deviceLeases/" + i5,
|
|
21566
22333
|
parentData: data44,
|
|
21567
22334
|
parentDataProperty: i5,
|
|
21568
22335
|
rootData
|
|
21569
22336
|
})) {
|
|
21570
|
-
vErrors = vErrors === null ?
|
|
22337
|
+
vErrors = vErrors === null ? validate271.errors : vErrors.concat(validate271.errors);
|
|
21571
22338
|
errors = vErrors.length;
|
|
21572
22339
|
}
|
|
21573
22340
|
if (!(_errs94 === errors)) break;
|
|
@@ -21624,7 +22391,7 @@ function validate172(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21624
22391
|
validate172.errors = vErrors;
|
|
21625
22392
|
return errors === 0;
|
|
21626
22393
|
}
|
|
21627
|
-
const
|
|
22394
|
+
const schema143 = {
|
|
21628
22395
|
"type": "object",
|
|
21629
22396
|
"properties": {
|
|
21630
22397
|
"devices": {
|
|
@@ -21680,12 +22447,12 @@ const schema137 = {
|
|
|
21680
22447
|
"intervalMs"
|
|
21681
22448
|
]
|
|
21682
22449
|
};
|
|
21683
|
-
function
|
|
22450
|
+
function validate274(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
21684
22451
|
let vErrors = null;
|
|
21685
22452
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
21686
22453
|
let missing0;
|
|
21687
22454
|
if (data.devices === void 0 && (missing0 = "devices") || data.endAt === void 0 && (missing0 = "endAt") || data.environments === void 0 && (missing0 = "environments") || data.intervalMs === void 0 && (missing0 = "intervalMs")) {
|
|
21688
|
-
|
|
22455
|
+
validate274.errors = [{
|
|
21689
22456
|
instancePath,
|
|
21690
22457
|
schemaPath: "#/required",
|
|
21691
22458
|
keyword: "required",
|
|
@@ -21703,7 +22470,7 @@ function validate262(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21703
22470
|
if (data1 && typeof data1 == "object" && !Array.isArray(data1)) {
|
|
21704
22471
|
let missing1;
|
|
21705
22472
|
if (data1.cpuPercent === void 0 && (missing1 = "cpuPercent") || data1.id === void 0 && (missing1 = "id") || data1.kind === void 0 && (missing1 = "kind") || data1.memoryMb === void 0 && (missing1 = "memoryMb") || data1.workspace === void 0 && (missing1 = "workspace")) {
|
|
21706
|
-
|
|
22473
|
+
validate274.errors = [{
|
|
21707
22474
|
instancePath: instancePath + "/devices/" + i0,
|
|
21708
22475
|
schemaPath: "#/properties/devices/items/required",
|
|
21709
22476
|
keyword: "required",
|
|
@@ -21714,7 +22481,7 @@ function validate262(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21714
22481
|
} else {
|
|
21715
22482
|
if (data1.kind !== void 0) {
|
|
21716
22483
|
if (typeof data1.kind !== "string") {
|
|
21717
|
-
|
|
22484
|
+
validate274.errors = [{
|
|
21718
22485
|
instancePath: instancePath + "/devices/" + i0 + "/kind",
|
|
21719
22486
|
schemaPath: "#/properties/devices/items/properties/kind/type",
|
|
21720
22487
|
keyword: "type",
|
|
@@ -21728,7 +22495,7 @@ function validate262(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21728
22495
|
if (valid2) {
|
|
21729
22496
|
if (data1.id !== void 0) {
|
|
21730
22497
|
if (typeof data1.id !== "string") {
|
|
21731
|
-
|
|
22498
|
+
validate274.errors = [{
|
|
21732
22499
|
instancePath: instancePath + "/devices/" + i0 + "/id",
|
|
21733
22500
|
schemaPath: "#/properties/devices/items/properties/id/type",
|
|
21734
22501
|
keyword: "type",
|
|
@@ -21743,11 +22510,11 @@ function validate262(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21743
22510
|
if (data1.workspace !== void 0) {
|
|
21744
22511
|
let data4 = data1.workspace;
|
|
21745
22512
|
if (typeof data4 !== "string" && data4 !== null) {
|
|
21746
|
-
|
|
22513
|
+
validate274.errors = [{
|
|
21747
22514
|
instancePath: instancePath + "/devices/" + i0 + "/workspace",
|
|
21748
22515
|
schemaPath: "#/properties/devices/items/properties/workspace/type",
|
|
21749
22516
|
keyword: "type",
|
|
21750
|
-
params: { type:
|
|
22517
|
+
params: { type: schema143.properties.devices.items.properties.workspace.type },
|
|
21751
22518
|
message: "must be string,null"
|
|
21752
22519
|
}];
|
|
21753
22520
|
return false;
|
|
@@ -21757,7 +22524,7 @@ function validate262(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21757
22524
|
if (valid2) {
|
|
21758
22525
|
if (data1.slot !== void 0) {
|
|
21759
22526
|
if (typeof data1.slot !== "string") {
|
|
21760
|
-
|
|
22527
|
+
validate274.errors = [{
|
|
21761
22528
|
instancePath: instancePath + "/devices/" + i0 + "/slot",
|
|
21762
22529
|
schemaPath: "#/properties/devices/items/properties/slot/type",
|
|
21763
22530
|
keyword: "type",
|
|
@@ -21773,7 +22540,7 @@ function validate262(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21773
22540
|
}
|
|
21774
22541
|
}
|
|
21775
22542
|
} else {
|
|
21776
|
-
|
|
22543
|
+
validate274.errors = [{
|
|
21777
22544
|
instancePath: instancePath + "/devices/" + i0,
|
|
21778
22545
|
schemaPath: "#/properties/devices/items/type",
|
|
21779
22546
|
keyword: "type",
|
|
@@ -21784,7 +22551,7 @@ function validate262(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21784
22551
|
}
|
|
21785
22552
|
}
|
|
21786
22553
|
} else {
|
|
21787
|
-
|
|
22554
|
+
validate274.errors = [{
|
|
21788
22555
|
instancePath: instancePath + "/devices",
|
|
21789
22556
|
schemaPath: "#/properties/devices/type",
|
|
21790
22557
|
keyword: "type",
|
|
@@ -21798,7 +22565,7 @@ function validate262(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21798
22565
|
if (valid0) {
|
|
21799
22566
|
if (data.intervalMs !== void 0) {
|
|
21800
22567
|
if (!(typeof data.intervalMs == "number")) {
|
|
21801
|
-
|
|
22568
|
+
validate274.errors = [{
|
|
21802
22569
|
instancePath: instancePath + "/intervalMs",
|
|
21803
22570
|
schemaPath: "#/properties/intervalMs/type",
|
|
21804
22571
|
keyword: "type",
|
|
@@ -21812,7 +22579,7 @@ function validate262(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21812
22579
|
if (valid0) {
|
|
21813
22580
|
if (data.endAt !== void 0) {
|
|
21814
22581
|
if (!(typeof data.endAt == "number")) {
|
|
21815
|
-
|
|
22582
|
+
validate274.errors = [{
|
|
21816
22583
|
instancePath: instancePath + "/endAt",
|
|
21817
22584
|
schemaPath: "#/properties/endAt/type",
|
|
21818
22585
|
keyword: "type",
|
|
@@ -21833,7 +22600,7 @@ function validate262(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21833
22600
|
if (data9 && typeof data9 == "object" && !Array.isArray(data9)) {
|
|
21834
22601
|
let missing2;
|
|
21835
22602
|
if (data9.cpuPercent === void 0 && (missing2 = "cpuPercent") || data9.memoryMb === void 0 && (missing2 = "memoryMb") || data9.workspace === void 0 && (missing2 = "workspace")) {
|
|
21836
|
-
|
|
22603
|
+
validate274.errors = [{
|
|
21837
22604
|
instancePath: instancePath + "/environments/" + i1,
|
|
21838
22605
|
schemaPath: "#/properties/environments/items/required",
|
|
21839
22606
|
keyword: "required",
|
|
@@ -21844,7 +22611,7 @@ function validate262(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21844
22611
|
} else {
|
|
21845
22612
|
if (data9.workspace !== void 0) {
|
|
21846
22613
|
if (typeof data9.workspace !== "string") {
|
|
21847
|
-
|
|
22614
|
+
validate274.errors = [{
|
|
21848
22615
|
instancePath: instancePath + "/environments/" + i1 + "/workspace",
|
|
21849
22616
|
schemaPath: "#/properties/environments/items/properties/workspace/type",
|
|
21850
22617
|
keyword: "type",
|
|
@@ -21863,18 +22630,18 @@ function validate262(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21863
22630
|
for (let i2 = 0; i2 < len2; i2++) {
|
|
21864
22631
|
let data12 = data11[i2];
|
|
21865
22632
|
if (!(typeof data12 == "number") && data12 !== null) {
|
|
21866
|
-
|
|
22633
|
+
validate274.errors = [{
|
|
21867
22634
|
instancePath: instancePath + "/environments/" + i1 + "/cpuPercent/" + i2,
|
|
21868
22635
|
schemaPath: "#/properties/environments/items/properties/cpuPercent/items/type",
|
|
21869
22636
|
keyword: "type",
|
|
21870
|
-
params: { type:
|
|
22637
|
+
params: { type: schema143.properties.environments.items.properties.cpuPercent.items.type },
|
|
21871
22638
|
message: "must be number,null"
|
|
21872
22639
|
}];
|
|
21873
22640
|
return false;
|
|
21874
22641
|
}
|
|
21875
22642
|
}
|
|
21876
22643
|
} else {
|
|
21877
|
-
|
|
22644
|
+
validate274.errors = [{
|
|
21878
22645
|
instancePath: instancePath + "/environments/" + i1 + "/cpuPercent",
|
|
21879
22646
|
schemaPath: "#/properties/environments/items/properties/cpuPercent/type",
|
|
21880
22647
|
keyword: "type",
|
|
@@ -21893,18 +22660,18 @@ function validate262(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21893
22660
|
for (let i3 = 0; i3 < len3; i3++) {
|
|
21894
22661
|
let data14 = data13[i3];
|
|
21895
22662
|
if (!(typeof data14 == "number") && data14 !== null) {
|
|
21896
|
-
|
|
22663
|
+
validate274.errors = [{
|
|
21897
22664
|
instancePath: instancePath + "/environments/" + i1 + "/memoryMb/" + i3,
|
|
21898
22665
|
schemaPath: "#/properties/environments/items/properties/memoryMb/items/type",
|
|
21899
22666
|
keyword: "type",
|
|
21900
|
-
params: { type:
|
|
22667
|
+
params: { type: schema143.properties.environments.items.properties.memoryMb.items.type },
|
|
21901
22668
|
message: "must be number,null"
|
|
21902
22669
|
}];
|
|
21903
22670
|
return false;
|
|
21904
22671
|
}
|
|
21905
22672
|
}
|
|
21906
22673
|
} else {
|
|
21907
|
-
|
|
22674
|
+
validate274.errors = [{
|
|
21908
22675
|
instancePath: instancePath + "/environments/" + i1 + "/memoryMb",
|
|
21909
22676
|
schemaPath: "#/properties/environments/items/properties/memoryMb/type",
|
|
21910
22677
|
keyword: "type",
|
|
@@ -21919,7 +22686,7 @@ function validate262(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21919
22686
|
}
|
|
21920
22687
|
}
|
|
21921
22688
|
} else {
|
|
21922
|
-
|
|
22689
|
+
validate274.errors = [{
|
|
21923
22690
|
instancePath: instancePath + "/environments/" + i1,
|
|
21924
22691
|
schemaPath: "#/properties/environments/items/type",
|
|
21925
22692
|
keyword: "type",
|
|
@@ -21930,7 +22697,7 @@ function validate262(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21930
22697
|
}
|
|
21931
22698
|
}
|
|
21932
22699
|
} else {
|
|
21933
|
-
|
|
22700
|
+
validate274.errors = [{
|
|
21934
22701
|
instancePath: instancePath + "/environments",
|
|
21935
22702
|
schemaPath: "#/properties/environments/type",
|
|
21936
22703
|
keyword: "type",
|
|
@@ -21946,7 +22713,7 @@ function validate262(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21946
22713
|
}
|
|
21947
22714
|
}
|
|
21948
22715
|
} else {
|
|
21949
|
-
|
|
22716
|
+
validate274.errors = [{
|
|
21950
22717
|
instancePath,
|
|
21951
22718
|
schemaPath: "#/type",
|
|
21952
22719
|
keyword: "type",
|
|
@@ -21955,7 +22722,7 @@ function validate262(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21955
22722
|
}];
|
|
21956
22723
|
return false;
|
|
21957
22724
|
}
|
|
21958
|
-
|
|
22725
|
+
validate274.errors = vErrors;
|
|
21959
22726
|
return true;
|
|
21960
22727
|
}
|
|
21961
22728
|
function validate171(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
@@ -21990,13 +22757,13 @@ function validate171(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21990
22757
|
if (valid0) {
|
|
21991
22758
|
if (data.usage !== void 0) {
|
|
21992
22759
|
const _errs2 = errors;
|
|
21993
|
-
if (!
|
|
22760
|
+
if (!validate274(data.usage, {
|
|
21994
22761
|
instancePath: instancePath + "/usage",
|
|
21995
22762
|
parentData: data,
|
|
21996
22763
|
parentDataProperty: "usage",
|
|
21997
22764
|
rootData
|
|
21998
22765
|
})) {
|
|
21999
|
-
vErrors = vErrors === null ?
|
|
22766
|
+
vErrors = vErrors === null ? validate274.errors : vErrors.concat(validate274.errors);
|
|
22000
22767
|
errors = vErrors.length;
|
|
22001
22768
|
}
|
|
22002
22769
|
var valid0 = _errs2 === errors;
|
|
@@ -22095,15 +22862,15 @@ function validate171(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22095
22862
|
validate171.errors = vErrors;
|
|
22096
22863
|
return errors === 0;
|
|
22097
22864
|
}
|
|
22098
|
-
const event8 =
|
|
22099
|
-
function
|
|
22865
|
+
const event8 = validate276;
|
|
22866
|
+
function validate277(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
22100
22867
|
let vErrors = null;
|
|
22101
22868
|
let errors = 0;
|
|
22102
22869
|
if (errors === 0) {
|
|
22103
22870
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
22104
22871
|
let missing0;
|
|
22105
22872
|
if (data.live === void 0 && (missing0 = "live") || data.memoryMb === void 0 && (missing0 = "memoryMb") || data.path === void 0 && (missing0 = "path") || data.warnings === void 0 && (missing0 = "warnings")) {
|
|
22106
|
-
|
|
22873
|
+
validate277.errors = [{
|
|
22107
22874
|
instancePath,
|
|
22108
22875
|
schemaPath: "#/required",
|
|
22109
22876
|
keyword: "required",
|
|
@@ -22211,7 +22978,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22211
22978
|
if (vErrors === null) vErrors = [err5];
|
|
22212
22979
|
else vErrors.push(err5);
|
|
22213
22980
|
errors++;
|
|
22214
|
-
|
|
22981
|
+
validate277.errors = vErrors;
|
|
22215
22982
|
return false;
|
|
22216
22983
|
} else {
|
|
22217
22984
|
errors = _errs2;
|
|
@@ -22226,7 +22993,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22226
22993
|
if (data.phase !== void 0) {
|
|
22227
22994
|
const _errs11 = errors;
|
|
22228
22995
|
if (typeof data.phase !== "string") {
|
|
22229
|
-
|
|
22996
|
+
validate277.errors = [{
|
|
22230
22997
|
instancePath: instancePath + "/phase",
|
|
22231
22998
|
schemaPath: "#/properties/phase/type",
|
|
22232
22999
|
keyword: "type",
|
|
@@ -22255,7 +23022,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22255
23022
|
if (data.warmStep !== void 0) {
|
|
22256
23023
|
const _errs14 = errors;
|
|
22257
23024
|
if (typeof data.warmStep !== "string") {
|
|
22258
|
-
|
|
23025
|
+
validate277.errors = [{
|
|
22259
23026
|
instancePath: instancePath + "/warmStep",
|
|
22260
23027
|
schemaPath: "#/properties/warmStep/type",
|
|
22261
23028
|
keyword: "type",
|
|
@@ -22270,7 +23037,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22270
23037
|
if (data.memorySource !== void 0) {
|
|
22271
23038
|
const _errs16 = errors;
|
|
22272
23039
|
if (typeof data.memorySource !== "string") {
|
|
22273
|
-
|
|
23040
|
+
validate277.errors = [{
|
|
22274
23041
|
instancePath: instancePath + "/memorySource",
|
|
22275
23042
|
schemaPath: "#/properties/memorySource/type",
|
|
22276
23043
|
keyword: "type",
|
|
@@ -22327,7 +23094,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22327
23094
|
if (vErrors === null) vErrors = [err7];
|
|
22328
23095
|
else vErrors.push(err7);
|
|
22329
23096
|
errors++;
|
|
22330
|
-
|
|
23097
|
+
validate277.errors = vErrors;
|
|
22331
23098
|
return false;
|
|
22332
23099
|
} else {
|
|
22333
23100
|
errors = _errs19;
|
|
@@ -22384,7 +23151,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22384
23151
|
if (vErrors === null) vErrors = [err9];
|
|
22385
23152
|
else vErrors.push(err9);
|
|
22386
23153
|
errors++;
|
|
22387
|
-
|
|
23154
|
+
validate277.errors = vErrors;
|
|
22388
23155
|
return false;
|
|
22389
23156
|
} else {
|
|
22390
23157
|
errors = _errs24;
|
|
@@ -22416,7 +23183,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22416
23183
|
if (!(_errs30 === errors)) break;
|
|
22417
23184
|
}
|
|
22418
23185
|
} else {
|
|
22419
|
-
|
|
23186
|
+
validate277.errors = [{
|
|
22420
23187
|
instancePath: instancePath + "/remoteDevices",
|
|
22421
23188
|
schemaPath: "#/properties/remoteDevices/type",
|
|
22422
23189
|
keyword: "type",
|
|
@@ -22449,7 +23216,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22449
23216
|
if (!(_errs33 === errors)) break;
|
|
22450
23217
|
}
|
|
22451
23218
|
} else {
|
|
22452
|
-
|
|
23219
|
+
validate277.errors = [{
|
|
22453
23220
|
instancePath: instancePath + "/physicalDevices",
|
|
22454
23221
|
schemaPath: "#/properties/physicalDevices/type",
|
|
22455
23222
|
keyword: "type",
|
|
@@ -22480,7 +23247,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22480
23247
|
if (!(_errs37 === errors)) break;
|
|
22481
23248
|
}
|
|
22482
23249
|
else {
|
|
22483
|
-
|
|
23250
|
+
validate277.errors = [{
|
|
22484
23251
|
instancePath: instancePath + "/lastBuilds",
|
|
22485
23252
|
schemaPath: "#/properties/lastBuilds/type",
|
|
22486
23253
|
keyword: "type",
|
|
@@ -22517,7 +23284,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22517
23284
|
if (!(_errs43 === errors)) break;
|
|
22518
23285
|
}
|
|
22519
23286
|
} else {
|
|
22520
|
-
|
|
23287
|
+
validate277.errors = [{
|
|
22521
23288
|
instancePath: instancePath + "/builds/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"),
|
|
22522
23289
|
schemaPath: "#/properties/builds/additionalProperties/type",
|
|
22523
23290
|
keyword: "type",
|
|
@@ -22530,7 +23297,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22530
23297
|
if (!(_errs41 === errors)) break;
|
|
22531
23298
|
}
|
|
22532
23299
|
else {
|
|
22533
|
-
|
|
23300
|
+
validate277.errors = [{
|
|
22534
23301
|
instancePath: instancePath + "/builds",
|
|
22535
23302
|
schemaPath: "#/properties/builds/type",
|
|
22536
23303
|
keyword: "type",
|
|
@@ -22563,7 +23330,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22563
23330
|
if (!(_errs46 === errors)) break;
|
|
22564
23331
|
}
|
|
22565
23332
|
} else {
|
|
22566
|
-
|
|
23333
|
+
validate277.errors = [{
|
|
22567
23334
|
instancePath: instancePath + "/agents",
|
|
22568
23335
|
schemaPath: "#/properties/agents/type",
|
|
22569
23336
|
keyword: "type",
|
|
@@ -22596,7 +23363,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22596
23363
|
if (!(_errs49 === errors)) break;
|
|
22597
23364
|
}
|
|
22598
23365
|
} else {
|
|
22599
|
-
|
|
23366
|
+
validate277.errors = [{
|
|
22600
23367
|
instancePath: instancePath + "/endedAgents",
|
|
22601
23368
|
schemaPath: "#/properties/endedAgents/type",
|
|
22602
23369
|
keyword: "type",
|
|
@@ -22654,7 +23421,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22654
23421
|
if (vErrors === null) vErrors = [err11];
|
|
22655
23422
|
else vErrors.push(err11);
|
|
22656
23423
|
errors++;
|
|
22657
|
-
|
|
23424
|
+
validate277.errors = vErrors;
|
|
22658
23425
|
return false;
|
|
22659
23426
|
} else {
|
|
22660
23427
|
errors = _errs51;
|
|
@@ -22686,7 +23453,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22686
23453
|
if (!(_errs57 === errors)) break;
|
|
22687
23454
|
}
|
|
22688
23455
|
} else {
|
|
22689
|
-
|
|
23456
|
+
validate277.errors = [{
|
|
22690
23457
|
instancePath: instancePath + "/issues",
|
|
22691
23458
|
schemaPath: "#/properties/issues/type",
|
|
22692
23459
|
keyword: "type",
|
|
@@ -22744,7 +23511,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22744
23511
|
if (vErrors === null) vErrors = [err13];
|
|
22745
23512
|
else vErrors.push(err13);
|
|
22746
23513
|
errors++;
|
|
22747
|
-
|
|
23514
|
+
validate277.errors = vErrors;
|
|
22748
23515
|
return false;
|
|
22749
23516
|
} else {
|
|
22750
23517
|
errors = _errs59;
|
|
@@ -22801,7 +23568,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22801
23568
|
if (vErrors === null) vErrors = [err15];
|
|
22802
23569
|
else vErrors.push(err15);
|
|
22803
23570
|
errors++;
|
|
22804
|
-
|
|
23571
|
+
validate277.errors = vErrors;
|
|
22805
23572
|
return false;
|
|
22806
23573
|
} else {
|
|
22807
23574
|
errors = _errs64;
|
|
@@ -22816,7 +23583,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22816
23583
|
if (data.labelOnly !== void 0) {
|
|
22817
23584
|
const _errs68 = errors;
|
|
22818
23585
|
if (typeof data.labelOnly !== "boolean") {
|
|
22819
|
-
|
|
23586
|
+
validate277.errors = [{
|
|
22820
23587
|
instancePath: instancePath + "/labelOnly",
|
|
22821
23588
|
schemaPath: "#/properties/labelOnly/type",
|
|
22822
23589
|
keyword: "type",
|
|
@@ -22873,7 +23640,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22873
23640
|
if (vErrors === null) vErrors = [err17];
|
|
22874
23641
|
else vErrors.push(err17);
|
|
22875
23642
|
errors++;
|
|
22876
|
-
|
|
23643
|
+
validate277.errors = vErrors;
|
|
22877
23644
|
return false;
|
|
22878
23645
|
} else {
|
|
22879
23646
|
errors = _errs71;
|
|
@@ -22898,7 +23665,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22898
23665
|
if (data30 && typeof data30 == "object" && !Array.isArray(data30)) {
|
|
22899
23666
|
let missing2;
|
|
22900
23667
|
if (data30.slot === void 0 && (missing2 = "slot")) {
|
|
22901
|
-
|
|
23668
|
+
validate277.errors = [{
|
|
22902
23669
|
instancePath: instancePath + "/slots/" + i6,
|
|
22903
23670
|
schemaPath: "#/properties/slots/items/required",
|
|
22904
23671
|
keyword: "required",
|
|
@@ -22910,7 +23677,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22910
23677
|
if (data30.slot !== void 0) {
|
|
22911
23678
|
const _errs79 = errors;
|
|
22912
23679
|
if (typeof data30.slot !== "string") {
|
|
22913
|
-
|
|
23680
|
+
validate277.errors = [{
|
|
22914
23681
|
instancePath: instancePath + "/slots/" + i6 + "/slot",
|
|
22915
23682
|
schemaPath: "#/properties/slots/items/properties/slot/type",
|
|
22916
23683
|
keyword: "type",
|
|
@@ -22967,7 +23734,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22967
23734
|
if (vErrors === null) vErrors = [err19];
|
|
22968
23735
|
else vErrors.push(err19);
|
|
22969
23736
|
errors++;
|
|
22970
|
-
|
|
23737
|
+
validate277.errors = vErrors;
|
|
22971
23738
|
return false;
|
|
22972
23739
|
} else {
|
|
22973
23740
|
errors = _errs82;
|
|
@@ -23024,7 +23791,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23024
23791
|
if (vErrors === null) vErrors = [err21];
|
|
23025
23792
|
else vErrors.push(err21);
|
|
23026
23793
|
errors++;
|
|
23027
|
-
|
|
23794
|
+
validate277.errors = vErrors;
|
|
23028
23795
|
return false;
|
|
23029
23796
|
} else {
|
|
23030
23797
|
errors = _errs87;
|
|
@@ -23039,7 +23806,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23039
23806
|
}
|
|
23040
23807
|
}
|
|
23041
23808
|
} else {
|
|
23042
|
-
|
|
23809
|
+
validate277.errors = [{
|
|
23043
23810
|
instancePath: instancePath + "/slots/" + i6,
|
|
23044
23811
|
schemaPath: "#/properties/slots/items/type",
|
|
23045
23812
|
keyword: "type",
|
|
@@ -23052,7 +23819,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23052
23819
|
if (!(_errs77 === errors)) break;
|
|
23053
23820
|
}
|
|
23054
23821
|
} else {
|
|
23055
|
-
|
|
23822
|
+
validate277.errors = [{
|
|
23056
23823
|
instancePath: instancePath + "/slots",
|
|
23057
23824
|
schemaPath: "#/properties/slots/type",
|
|
23058
23825
|
keyword: "type",
|
|
@@ -23497,7 +24264,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23497
24264
|
if (vErrors === null) vErrors = [err45];
|
|
23498
24265
|
else vErrors.push(err45);
|
|
23499
24266
|
errors++;
|
|
23500
|
-
|
|
24267
|
+
validate277.errors = vErrors;
|
|
23501
24268
|
return false;
|
|
23502
24269
|
} else {
|
|
23503
24270
|
errors = _errs92;
|
|
@@ -23512,7 +24279,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23512
24279
|
if (data.path !== void 0) {
|
|
23513
24280
|
const _errs130 = errors;
|
|
23514
24281
|
if (typeof data.path !== "string") {
|
|
23515
|
-
|
|
24282
|
+
validate277.errors = [{
|
|
23516
24283
|
instancePath: instancePath + "/path",
|
|
23517
24284
|
schemaPath: "#/properties/path/type",
|
|
23518
24285
|
keyword: "type",
|
|
@@ -23527,7 +24294,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23527
24294
|
if (data.workspaceId !== void 0) {
|
|
23528
24295
|
const _errs132 = errors;
|
|
23529
24296
|
if (typeof data.workspaceId !== "string") {
|
|
23530
|
-
|
|
24297
|
+
validate277.errors = [{
|
|
23531
24298
|
instancePath: instancePath + "/workspaceId",
|
|
23532
24299
|
schemaPath: "#/properties/workspaceId/type",
|
|
23533
24300
|
keyword: "type",
|
|
@@ -23548,7 +24315,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23548
24315
|
for (let i7 = 0; i7 < len7; i7++) {
|
|
23549
24316
|
const _errs136 = errors;
|
|
23550
24317
|
if (typeof data54[i7] !== "string") {
|
|
23551
|
-
|
|
24318
|
+
validate277.errors = [{
|
|
23552
24319
|
instancePath: instancePath + "/platforms/" + i7,
|
|
23553
24320
|
schemaPath: "#/properties/platforms/items/type",
|
|
23554
24321
|
keyword: "type",
|
|
@@ -23560,7 +24327,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23560
24327
|
if (!(_errs136 === errors)) break;
|
|
23561
24328
|
}
|
|
23562
24329
|
} else {
|
|
23563
|
-
|
|
24330
|
+
validate277.errors = [{
|
|
23564
24331
|
instancePath: instancePath + "/platforms",
|
|
23565
24332
|
schemaPath: "#/properties/platforms/type",
|
|
23566
24333
|
keyword: "type",
|
|
@@ -23580,7 +24347,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23580
24347
|
if (data56 && typeof data56 == "object" && !Array.isArray(data56)) {
|
|
23581
24348
|
let missing8;
|
|
23582
24349
|
if (data56.version === void 0 && (missing8 = "version")) {
|
|
23583
|
-
|
|
24350
|
+
validate277.errors = [{
|
|
23584
24351
|
instancePath: instancePath + "/tutorial",
|
|
23585
24352
|
schemaPath: "#/properties/tutorial/required",
|
|
23586
24353
|
keyword: "required",
|
|
@@ -23590,7 +24357,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23590
24357
|
return false;
|
|
23591
24358
|
} else if (data56.version !== void 0) {
|
|
23592
24359
|
if (!(typeof data56.version == "number")) {
|
|
23593
|
-
|
|
24360
|
+
validate277.errors = [{
|
|
23594
24361
|
instancePath: instancePath + "/tutorial/version",
|
|
23595
24362
|
schemaPath: "#/properties/tutorial/properties/version/type",
|
|
23596
24363
|
keyword: "type",
|
|
@@ -23601,7 +24368,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23601
24368
|
}
|
|
23602
24369
|
}
|
|
23603
24370
|
} else {
|
|
23604
|
-
|
|
24371
|
+
validate277.errors = [{
|
|
23605
24372
|
instancePath: instancePath + "/tutorial",
|
|
23606
24373
|
schemaPath: "#/properties/tutorial/type",
|
|
23607
24374
|
keyword: "type",
|
|
@@ -23626,7 +24393,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23626
24393
|
if (data59 && typeof data59 == "object" && !Array.isArray(data59)) {
|
|
23627
24394
|
let missing9;
|
|
23628
24395
|
if (data59.at === void 0 && (missing9 = "at")) {
|
|
23629
|
-
|
|
24396
|
+
validate277.errors = [{
|
|
23630
24397
|
instancePath: instancePath + "/doctorRuns/ios",
|
|
23631
24398
|
schemaPath: "#/properties/doctorRuns/properties/ios/required",
|
|
23632
24399
|
keyword: "required",
|
|
@@ -23636,7 +24403,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23636
24403
|
return false;
|
|
23637
24404
|
} else if (data59.at !== void 0) {
|
|
23638
24405
|
if (typeof data59.at !== "string") {
|
|
23639
|
-
|
|
24406
|
+
validate277.errors = [{
|
|
23640
24407
|
instancePath: instancePath + "/doctorRuns/ios/at",
|
|
23641
24408
|
schemaPath: "#/properties/doctorRuns/properties/ios/properties/at/type",
|
|
23642
24409
|
keyword: "type",
|
|
@@ -23647,7 +24414,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23647
24414
|
}
|
|
23648
24415
|
}
|
|
23649
24416
|
} else {
|
|
23650
|
-
|
|
24417
|
+
validate277.errors = [{
|
|
23651
24418
|
instancePath: instancePath + "/doctorRuns/ios",
|
|
23652
24419
|
schemaPath: "#/properties/doctorRuns/properties/ios/type",
|
|
23653
24420
|
keyword: "type",
|
|
@@ -23667,7 +24434,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23667
24434
|
if (data61 && typeof data61 == "object" && !Array.isArray(data61)) {
|
|
23668
24435
|
let missing10;
|
|
23669
24436
|
if (data61.at === void 0 && (missing10 = "at")) {
|
|
23670
|
-
|
|
24437
|
+
validate277.errors = [{
|
|
23671
24438
|
instancePath: instancePath + "/doctorRuns/android",
|
|
23672
24439
|
schemaPath: "#/properties/doctorRuns/properties/android/required",
|
|
23673
24440
|
keyword: "required",
|
|
@@ -23677,7 +24444,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23677
24444
|
return false;
|
|
23678
24445
|
} else if (data61.at !== void 0) {
|
|
23679
24446
|
if (typeof data61.at !== "string") {
|
|
23680
|
-
|
|
24447
|
+
validate277.errors = [{
|
|
23681
24448
|
instancePath: instancePath + "/doctorRuns/android/at",
|
|
23682
24449
|
schemaPath: "#/properties/doctorRuns/properties/android/properties/at/type",
|
|
23683
24450
|
keyword: "type",
|
|
@@ -23688,7 +24455,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23688
24455
|
}
|
|
23689
24456
|
}
|
|
23690
24457
|
} else {
|
|
23691
|
-
|
|
24458
|
+
validate277.errors = [{
|
|
23692
24459
|
instancePath: instancePath + "/doctorRuns/android",
|
|
23693
24460
|
schemaPath: "#/properties/doctorRuns/properties/android/type",
|
|
23694
24461
|
keyword: "type",
|
|
@@ -23702,7 +24469,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23702
24469
|
} else var valid29 = true;
|
|
23703
24470
|
}
|
|
23704
24471
|
} else {
|
|
23705
|
-
|
|
24472
|
+
validate277.errors = [{
|
|
23706
24473
|
instancePath: instancePath + "/doctorRuns",
|
|
23707
24474
|
schemaPath: "#/properties/doctorRuns/type",
|
|
23708
24475
|
keyword: "type",
|
|
@@ -23718,7 +24485,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23718
24485
|
if (data.live !== void 0) {
|
|
23719
24486
|
const _errs152 = errors;
|
|
23720
24487
|
if (typeof data.live !== "boolean") {
|
|
23721
|
-
|
|
24488
|
+
validate277.errors = [{
|
|
23722
24489
|
instancePath: instancePath + "/live",
|
|
23723
24490
|
schemaPath: "#/properties/live/type",
|
|
23724
24491
|
keyword: "type",
|
|
@@ -23734,7 +24501,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23734
24501
|
let data64 = data.phaseSince;
|
|
23735
24502
|
const _errs154 = errors;
|
|
23736
24503
|
if (typeof data64 !== "string" && data64 !== null) {
|
|
23737
|
-
|
|
24504
|
+
validate277.errors = [{
|
|
23738
24505
|
instancePath: instancePath + "/phaseSince",
|
|
23739
24506
|
schemaPath: "#/properties/phaseSince/type",
|
|
23740
24507
|
keyword: "type",
|
|
@@ -23753,7 +24520,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23753
24520
|
if (data65 && typeof data65 == "object" && !Array.isArray(data65)) {
|
|
23754
24521
|
let missing11;
|
|
23755
24522
|
if (data65.enabled === void 0 && (missing11 = "enabled")) {
|
|
23756
|
-
|
|
24523
|
+
validate277.errors = [{
|
|
23757
24524
|
instancePath: instancePath + "/recording",
|
|
23758
24525
|
schemaPath: "#/properties/recording/required",
|
|
23759
24526
|
keyword: "required",
|
|
@@ -23763,7 +24530,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23763
24530
|
return false;
|
|
23764
24531
|
} else if (data65.enabled !== void 0) {
|
|
23765
24532
|
if (typeof data65.enabled !== "boolean") {
|
|
23766
|
-
|
|
24533
|
+
validate277.errors = [{
|
|
23767
24534
|
instancePath: instancePath + "/recording/enabled",
|
|
23768
24535
|
schemaPath: "#/properties/recording/properties/enabled/type",
|
|
23769
24536
|
keyword: "type",
|
|
@@ -23774,7 +24541,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23774
24541
|
}
|
|
23775
24542
|
}
|
|
23776
24543
|
} else {
|
|
23777
|
-
|
|
24544
|
+
validate277.errors = [{
|
|
23778
24545
|
instancePath: instancePath + "/recording",
|
|
23779
24546
|
schemaPath: "#/properties/recording/type",
|
|
23780
24547
|
keyword: "type",
|
|
@@ -23791,7 +24558,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23791
24558
|
let data67 = data.hidden;
|
|
23792
24559
|
const _errs160 = errors;
|
|
23793
24560
|
if (typeof data67 !== "boolean") {
|
|
23794
|
-
|
|
24561
|
+
validate277.errors = [{
|
|
23795
24562
|
instancePath: instancePath + "/hidden",
|
|
23796
24563
|
schemaPath: "#/properties/hidden/type",
|
|
23797
24564
|
keyword: "type",
|
|
@@ -23801,7 +24568,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23801
24568
|
return false;
|
|
23802
24569
|
}
|
|
23803
24570
|
if (true !== data67) {
|
|
23804
|
-
|
|
24571
|
+
validate277.errors = [{
|
|
23805
24572
|
instancePath: instancePath + "/hidden",
|
|
23806
24573
|
schemaPath: "#/properties/hidden/const",
|
|
23807
24574
|
keyword: "const",
|
|
@@ -23816,7 +24583,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23816
24583
|
if (data.memoryMb !== void 0) {
|
|
23817
24584
|
const _errs162 = errors;
|
|
23818
24585
|
if (!(typeof data.memoryMb == "number")) {
|
|
23819
|
-
|
|
24586
|
+
validate277.errors = [{
|
|
23820
24587
|
instancePath: instancePath + "/memoryMb",
|
|
23821
24588
|
schemaPath: "#/properties/memoryMb/type",
|
|
23822
24589
|
keyword: "type",
|
|
@@ -23837,7 +24604,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23837
24604
|
for (let i8 = 0; i8 < len8; i8++) {
|
|
23838
24605
|
const _errs166 = errors;
|
|
23839
24606
|
if (typeof data69[i8] !== "string") {
|
|
23840
|
-
|
|
24607
|
+
validate277.errors = [{
|
|
23841
24608
|
instancePath: instancePath + "/warnings/" + i8,
|
|
23842
24609
|
schemaPath: "#/properties/warnings/items/type",
|
|
23843
24610
|
keyword: "type",
|
|
@@ -23849,7 +24616,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23849
24616
|
if (!(_errs166 === errors)) break;
|
|
23850
24617
|
}
|
|
23851
24618
|
} else {
|
|
23852
|
-
|
|
24619
|
+
validate277.errors = [{
|
|
23853
24620
|
instancePath: instancePath + "/warnings",
|
|
23854
24621
|
schemaPath: "#/properties/warnings/type",
|
|
23855
24622
|
keyword: "type",
|
|
@@ -24000,7 +24767,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24000
24767
|
if (vErrors === null) vErrors = [err53];
|
|
24001
24768
|
else vErrors.push(err53);
|
|
24002
24769
|
errors++;
|
|
24003
|
-
|
|
24770
|
+
validate277.errors = vErrors;
|
|
24004
24771
|
return false;
|
|
24005
24772
|
} else {
|
|
24006
24773
|
errors = _errs169;
|
|
@@ -24019,7 +24786,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24019
24786
|
if (data76 && typeof data76 == "object" && !Array.isArray(data76)) {
|
|
24020
24787
|
let missing13;
|
|
24021
24788
|
if (data76.stateDir === void 0 && (missing13 = "stateDir")) {
|
|
24022
|
-
|
|
24789
|
+
validate277.errors = [{
|
|
24023
24790
|
instancePath: instancePath + "/agentDevice",
|
|
24024
24791
|
schemaPath: "#/properties/agentDevice/required",
|
|
24025
24792
|
keyword: "required",
|
|
@@ -24031,7 +24798,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24031
24798
|
if (data76.stateDir !== void 0) {
|
|
24032
24799
|
const _errs184 = errors;
|
|
24033
24800
|
if (typeof data76.stateDir !== "string") {
|
|
24034
|
-
|
|
24801
|
+
validate277.errors = [{
|
|
24035
24802
|
instancePath: instancePath + "/agentDevice/stateDir",
|
|
24036
24803
|
schemaPath: "#/properties/agentDevice/properties/stateDir/type",
|
|
24037
24804
|
keyword: "type",
|
|
@@ -24046,7 +24813,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24046
24813
|
if (data76.installed !== void 0) {
|
|
24047
24814
|
const _errs186 = errors;
|
|
24048
24815
|
if (typeof data76.installed !== "boolean") {
|
|
24049
|
-
|
|
24816
|
+
validate277.errors = [{
|
|
24050
24817
|
instancePath: instancePath + "/agentDevice/installed",
|
|
24051
24818
|
schemaPath: "#/properties/agentDevice/properties/installed/type",
|
|
24052
24819
|
keyword: "type",
|
|
@@ -24060,7 +24827,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24060
24827
|
}
|
|
24061
24828
|
}
|
|
24062
24829
|
} else {
|
|
24063
|
-
|
|
24830
|
+
validate277.errors = [{
|
|
24064
24831
|
instancePath: instancePath + "/agentDevice",
|
|
24065
24832
|
schemaPath: "#/properties/agentDevice/type",
|
|
24066
24833
|
keyword: "type",
|
|
@@ -24122,7 +24889,7 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24122
24889
|
}
|
|
24123
24890
|
}
|
|
24124
24891
|
} else {
|
|
24125
|
-
|
|
24892
|
+
validate277.errors = [{
|
|
24126
24893
|
instancePath,
|
|
24127
24894
|
schemaPath: "#/type",
|
|
24128
24895
|
keyword: "type",
|
|
@@ -24132,10 +24899,10 @@ function validate265(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24132
24899
|
return false;
|
|
24133
24900
|
}
|
|
24134
24901
|
}
|
|
24135
|
-
|
|
24902
|
+
validate277.errors = vErrors;
|
|
24136
24903
|
return errors === 0;
|
|
24137
24904
|
}
|
|
24138
|
-
const
|
|
24905
|
+
const schema146 = {
|
|
24139
24906
|
"type": "object",
|
|
24140
24907
|
"properties": {
|
|
24141
24908
|
"path": { "type": "string" },
|
|
@@ -24205,14 +24972,14 @@ const schema140 = {
|
|
|
24205
24972
|
},
|
|
24206
24973
|
"required": ["path"]
|
|
24207
24974
|
};
|
|
24208
|
-
function
|
|
24975
|
+
function validate297(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
24209
24976
|
let vErrors = null;
|
|
24210
24977
|
let errors = 0;
|
|
24211
24978
|
if (errors === 0) {
|
|
24212
24979
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
24213
24980
|
let missing0;
|
|
24214
24981
|
if (data.path === void 0 && (missing0 = "path")) {
|
|
24215
|
-
|
|
24982
|
+
validate297.errors = [{
|
|
24216
24983
|
instancePath,
|
|
24217
24984
|
schemaPath: "#/required",
|
|
24218
24985
|
keyword: "required",
|
|
@@ -24224,7 +24991,7 @@ function validate285(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24224
24991
|
if (data.path !== void 0) {
|
|
24225
24992
|
const _errs1 = errors;
|
|
24226
24993
|
if (typeof data.path !== "string") {
|
|
24227
|
-
|
|
24994
|
+
validate297.errors = [{
|
|
24228
24995
|
instancePath: instancePath + "/path",
|
|
24229
24996
|
schemaPath: "#/properties/path/type",
|
|
24230
24997
|
keyword: "type",
|
|
@@ -24239,7 +25006,7 @@ function validate285(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24239
25006
|
if (data.branch !== void 0) {
|
|
24240
25007
|
const _errs3 = errors;
|
|
24241
25008
|
if (typeof data.branch !== "string") {
|
|
24242
|
-
|
|
25009
|
+
validate297.errors = [{
|
|
24243
25010
|
instancePath: instancePath + "/branch",
|
|
24244
25011
|
schemaPath: "#/properties/branch/type",
|
|
24245
25012
|
keyword: "type",
|
|
@@ -24254,7 +25021,7 @@ function validate285(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24254
25021
|
if (data.repository !== void 0) {
|
|
24255
25022
|
const _errs5 = errors;
|
|
24256
25023
|
if (typeof data.repository !== "string") {
|
|
24257
|
-
|
|
25024
|
+
validate297.errors = [{
|
|
24258
25025
|
instancePath: instancePath + "/repository",
|
|
24259
25026
|
schemaPath: "#/properties/repository/type",
|
|
24260
25027
|
keyword: "type",
|
|
@@ -24329,7 +25096,7 @@ function validate285(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24329
25096
|
instancePath: instancePath + "/git/upstream",
|
|
24330
25097
|
schemaPath: "#/properties/git/anyOf/0/properties/upstream/type",
|
|
24331
25098
|
keyword: "type",
|
|
24332
|
-
params: { type:
|
|
25099
|
+
params: { type: schema146.properties.git.anyOf[0].properties.upstream.type },
|
|
24333
25100
|
message: "must be string,null"
|
|
24334
25101
|
};
|
|
24335
25102
|
if (vErrors === null) vErrors = [err3];
|
|
@@ -24347,7 +25114,7 @@ function validate285(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24347
25114
|
instancePath: instancePath + "/git/ahead",
|
|
24348
25115
|
schemaPath: "#/properties/git/anyOf/0/properties/ahead/type",
|
|
24349
25116
|
keyword: "type",
|
|
24350
|
-
params: { type:
|
|
25117
|
+
params: { type: schema146.properties.git.anyOf[0].properties.ahead.type },
|
|
24351
25118
|
message: "must be number,null"
|
|
24352
25119
|
};
|
|
24353
25120
|
if (vErrors === null) vErrors = [err4];
|
|
@@ -24365,7 +25132,7 @@ function validate285(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24365
25132
|
instancePath: instancePath + "/git/behind",
|
|
24366
25133
|
schemaPath: "#/properties/git/anyOf/0/properties/behind/type",
|
|
24367
25134
|
keyword: "type",
|
|
24368
|
-
params: { type:
|
|
25135
|
+
params: { type: schema146.properties.git.anyOf[0].properties.behind.type },
|
|
24369
25136
|
message: "must be number,null"
|
|
24370
25137
|
};
|
|
24371
25138
|
if (vErrors === null) vErrors = [err5];
|
|
@@ -24383,7 +25150,7 @@ function validate285(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24383
25150
|
instancePath: instancePath + "/git/mergedInto",
|
|
24384
25151
|
schemaPath: "#/properties/git/anyOf/0/properties/mergedInto/type",
|
|
24385
25152
|
keyword: "type",
|
|
24386
|
-
params: { type:
|
|
25153
|
+
params: { type: schema146.properties.git.anyOf[0].properties.mergedInto.type },
|
|
24387
25154
|
message: "must be string,null"
|
|
24388
25155
|
};
|
|
24389
25156
|
if (vErrors === null) vErrors = [err6];
|
|
@@ -24441,7 +25208,7 @@ function validate285(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24441
25208
|
if (vErrors === null) vErrors = [err9];
|
|
24442
25209
|
else vErrors.push(err9);
|
|
24443
25210
|
errors++;
|
|
24444
|
-
|
|
25211
|
+
validate297.errors = vErrors;
|
|
24445
25212
|
return false;
|
|
24446
25213
|
} else {
|
|
24447
25214
|
errors = _errs8;
|
|
@@ -24460,7 +25227,7 @@ function validate285(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24460
25227
|
if (data10 && typeof data10 == "object" && !Array.isArray(data10)) {
|
|
24461
25228
|
let missing2;
|
|
24462
25229
|
if (data10.ci === void 0 && (missing2 = "ci") || data10.parts === void 0 && (missing2 = "parts")) {
|
|
24463
|
-
|
|
25230
|
+
validate297.errors = [{
|
|
24464
25231
|
instancePath: instancePath + "/gitChip",
|
|
24465
25232
|
schemaPath: "#/properties/gitChip/required",
|
|
24466
25233
|
keyword: "required",
|
|
@@ -24473,11 +25240,11 @@ function validate285(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24473
25240
|
let data11 = data10.ci;
|
|
24474
25241
|
const _errs27 = errors;
|
|
24475
25242
|
if (typeof data11 !== "string" && data11 !== null) {
|
|
24476
|
-
|
|
25243
|
+
validate297.errors = [{
|
|
24477
25244
|
instancePath: instancePath + "/gitChip/ci",
|
|
24478
25245
|
schemaPath: "#/properties/gitChip/properties/ci/type",
|
|
24479
25246
|
keyword: "type",
|
|
24480
|
-
params: { type:
|
|
25247
|
+
params: { type: schema146.properties.gitChip.properties.ci.type },
|
|
24481
25248
|
message: "must be string,null"
|
|
24482
25249
|
}];
|
|
24483
25250
|
return false;
|
|
@@ -24505,7 +25272,7 @@ function validate285(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24505
25272
|
if (!(_errs31 === errors)) break;
|
|
24506
25273
|
}
|
|
24507
25274
|
} else {
|
|
24508
|
-
|
|
25275
|
+
validate297.errors = [{
|
|
24509
25276
|
instancePath: instancePath + "/gitChip/parts",
|
|
24510
25277
|
schemaPath: "#/properties/gitChip/properties/parts/type",
|
|
24511
25278
|
keyword: "type",
|
|
@@ -24520,7 +25287,7 @@ function validate285(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24520
25287
|
}
|
|
24521
25288
|
}
|
|
24522
25289
|
} else {
|
|
24523
|
-
|
|
25290
|
+
validate297.errors = [{
|
|
24524
25291
|
instancePath: instancePath + "/gitChip",
|
|
24525
25292
|
schemaPath: "#/properties/gitChip/type",
|
|
24526
25293
|
keyword: "type",
|
|
@@ -24579,7 +25346,7 @@ function validate285(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24579
25346
|
instancePath: instancePath + "/pullRequest/reviewDecision",
|
|
24580
25347
|
schemaPath: "#/properties/pullRequest/anyOf/0/properties/reviewDecision/type",
|
|
24581
25348
|
keyword: "type",
|
|
24582
|
-
params: { type:
|
|
25349
|
+
params: { type: schema146.properties.pullRequest.anyOf[0].properties.reviewDecision.type },
|
|
24583
25350
|
message: "must be string,null"
|
|
24584
25351
|
};
|
|
24585
25352
|
if (vErrors === null) vErrors = [err12];
|
|
@@ -24833,7 +25600,7 @@ function validate285(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24833
25600
|
if (vErrors === null) vErrors = [err26];
|
|
24834
25601
|
else vErrors.push(err26);
|
|
24835
25602
|
errors++;
|
|
24836
|
-
|
|
25603
|
+
validate297.errors = vErrors;
|
|
24837
25604
|
return false;
|
|
24838
25605
|
} else {
|
|
24839
25606
|
errors = _errs33;
|
|
@@ -24851,7 +25618,7 @@ function validate285(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24851
25618
|
}
|
|
24852
25619
|
}
|
|
24853
25620
|
} else {
|
|
24854
|
-
|
|
25621
|
+
validate297.errors = [{
|
|
24855
25622
|
instancePath,
|
|
24856
25623
|
schemaPath: "#/type",
|
|
24857
25624
|
keyword: "type",
|
|
@@ -24861,15 +25628,15 @@ function validate285(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24861
25628
|
return false;
|
|
24862
25629
|
}
|
|
24863
25630
|
}
|
|
24864
|
-
|
|
25631
|
+
validate297.errors = vErrors;
|
|
24865
25632
|
return errors === 0;
|
|
24866
25633
|
}
|
|
24867
|
-
function
|
|
25634
|
+
function validate300(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
24868
25635
|
let vErrors = null;
|
|
24869
25636
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
24870
25637
|
let missing0;
|
|
24871
25638
|
if (data.count === void 0 && (missing0 = "count") || data.bytes === void 0 && (missing0 = "bytes") || data.newest === void 0 && (missing0 = "newest")) {
|
|
24872
|
-
|
|
25639
|
+
validate300.errors = [{
|
|
24873
25640
|
instancePath,
|
|
24874
25641
|
schemaPath: "#/required",
|
|
24875
25642
|
keyword: "required",
|
|
@@ -24880,7 +25647,7 @@ function validate288(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24880
25647
|
} else {
|
|
24881
25648
|
if (data.count !== void 0) {
|
|
24882
25649
|
if (!(typeof data.count == "number")) {
|
|
24883
|
-
|
|
25650
|
+
validate300.errors = [{
|
|
24884
25651
|
instancePath: instancePath + "/count",
|
|
24885
25652
|
schemaPath: "#/properties/count/type",
|
|
24886
25653
|
keyword: "type",
|
|
@@ -24894,7 +25661,7 @@ function validate288(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24894
25661
|
if (valid0) {
|
|
24895
25662
|
if (data.bytes !== void 0) {
|
|
24896
25663
|
if (!(typeof data.bytes == "number")) {
|
|
24897
|
-
|
|
25664
|
+
validate300.errors = [{
|
|
24898
25665
|
instancePath: instancePath + "/bytes",
|
|
24899
25666
|
schemaPath: "#/properties/bytes/type",
|
|
24900
25667
|
keyword: "type",
|
|
@@ -24915,7 +25682,7 @@ function validate288(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24915
25682
|
if (data3 && typeof data3 == "object" && !Array.isArray(data3)) {
|
|
24916
25683
|
let missing1;
|
|
24917
25684
|
if (data3.id === void 0 && (missing1 = "id") || data3.projectRoot === void 0 && (missing1 = "projectRoot") || data3.project === void 0 && (missing1 = "project") || data3.workspace === void 0 && (missing1 = "workspace") || data3.removedAt === void 0 && (missing1 = "removedAt")) {
|
|
24918
|
-
|
|
25685
|
+
validate300.errors = [{
|
|
24919
25686
|
instancePath: instancePath + "/newest/" + i0,
|
|
24920
25687
|
schemaPath: "#/properties/newest/items/required",
|
|
24921
25688
|
keyword: "required",
|
|
@@ -24926,7 +25693,7 @@ function validate288(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24926
25693
|
} else {
|
|
24927
25694
|
if (data3.id !== void 0) {
|
|
24928
25695
|
if (typeof data3.id !== "string") {
|
|
24929
|
-
|
|
25696
|
+
validate300.errors = [{
|
|
24930
25697
|
instancePath: instancePath + "/newest/" + i0 + "/id",
|
|
24931
25698
|
schemaPath: "#/properties/newest/items/properties/id/type",
|
|
24932
25699
|
keyword: "type",
|
|
@@ -24940,7 +25707,7 @@ function validate288(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24940
25707
|
if (valid2) {
|
|
24941
25708
|
if (data3.projectRoot !== void 0) {
|
|
24942
25709
|
if (typeof data3.projectRoot !== "string") {
|
|
24943
|
-
|
|
25710
|
+
validate300.errors = [{
|
|
24944
25711
|
instancePath: instancePath + "/newest/" + i0 + "/projectRoot",
|
|
24945
25712
|
schemaPath: "#/properties/newest/items/properties/projectRoot/type",
|
|
24946
25713
|
keyword: "type",
|
|
@@ -24954,7 +25721,7 @@ function validate288(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24954
25721
|
if (valid2) {
|
|
24955
25722
|
if (data3.project !== void 0) {
|
|
24956
25723
|
if (typeof data3.project !== "string") {
|
|
24957
|
-
|
|
25724
|
+
validate300.errors = [{
|
|
24958
25725
|
instancePath: instancePath + "/newest/" + i0 + "/project",
|
|
24959
25726
|
schemaPath: "#/properties/newest/items/properties/project/type",
|
|
24960
25727
|
keyword: "type",
|
|
@@ -24968,7 +25735,7 @@ function validate288(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24968
25735
|
if (valid2) {
|
|
24969
25736
|
if (data3.workspace !== void 0) {
|
|
24970
25737
|
if (typeof data3.workspace !== "string") {
|
|
24971
|
-
|
|
25738
|
+
validate300.errors = [{
|
|
24972
25739
|
instancePath: instancePath + "/newest/" + i0 + "/workspace",
|
|
24973
25740
|
schemaPath: "#/properties/newest/items/properties/workspace/type",
|
|
24974
25741
|
keyword: "type",
|
|
@@ -24982,7 +25749,7 @@ function validate288(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24982
25749
|
if (valid2) {
|
|
24983
25750
|
if (data3.removedAt !== void 0) {
|
|
24984
25751
|
if (typeof data3.removedAt !== "string") {
|
|
24985
|
-
|
|
25752
|
+
validate300.errors = [{
|
|
24986
25753
|
instancePath: instancePath + "/newest/" + i0 + "/removedAt",
|
|
24987
25754
|
schemaPath: "#/properties/newest/items/properties/removedAt/type",
|
|
24988
25755
|
keyword: "type",
|
|
@@ -24999,7 +25766,7 @@ function validate288(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24999
25766
|
}
|
|
25000
25767
|
}
|
|
25001
25768
|
} else {
|
|
25002
|
-
|
|
25769
|
+
validate300.errors = [{
|
|
25003
25770
|
instancePath: instancePath + "/newest/" + i0,
|
|
25004
25771
|
schemaPath: "#/properties/newest/items/type",
|
|
25005
25772
|
keyword: "type",
|
|
@@ -25010,7 +25777,7 @@ function validate288(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25010
25777
|
}
|
|
25011
25778
|
}
|
|
25012
25779
|
} else {
|
|
25013
|
-
|
|
25780
|
+
validate300.errors = [{
|
|
25014
25781
|
instancePath: instancePath + "/newest",
|
|
25015
25782
|
schemaPath: "#/properties/newest/type",
|
|
25016
25783
|
keyword: "type",
|
|
@@ -25025,7 +25792,7 @@ function validate288(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25025
25792
|
}
|
|
25026
25793
|
}
|
|
25027
25794
|
} else {
|
|
25028
|
-
|
|
25795
|
+
validate300.errors = [{
|
|
25029
25796
|
instancePath,
|
|
25030
25797
|
schemaPath: "#/type",
|
|
25031
25798
|
keyword: "type",
|
|
@@ -25034,17 +25801,17 @@ function validate288(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25034
25801
|
}];
|
|
25035
25802
|
return false;
|
|
25036
25803
|
}
|
|
25037
|
-
|
|
25804
|
+
validate300.errors = vErrors;
|
|
25038
25805
|
return true;
|
|
25039
25806
|
}
|
|
25040
|
-
function
|
|
25807
|
+
function validate302(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
25041
25808
|
let vErrors = null;
|
|
25042
25809
|
let errors = 0;
|
|
25043
25810
|
if (errors === 0) {
|
|
25044
25811
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
25045
25812
|
let missing0;
|
|
25046
25813
|
if (data.upsert === void 0 && (missing0 = "upsert") || data.remove === void 0 && (missing0 = "remove")) {
|
|
25047
|
-
|
|
25814
|
+
validate302.errors = [{
|
|
25048
25815
|
instancePath,
|
|
25049
25816
|
schemaPath: "#/required",
|
|
25050
25817
|
keyword: "required",
|
|
@@ -25061,19 +25828,19 @@ function validate290(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25061
25828
|
const len0 = data0.length;
|
|
25062
25829
|
for (let i0 = 0; i0 < len0; i0++) {
|
|
25063
25830
|
const _errs3 = errors;
|
|
25064
|
-
if (!
|
|
25831
|
+
if (!validate277(data0[i0], {
|
|
25065
25832
|
instancePath: instancePath + "/upsert/" + i0,
|
|
25066
25833
|
parentData: data0,
|
|
25067
25834
|
parentDataProperty: i0,
|
|
25068
25835
|
rootData
|
|
25069
25836
|
})) {
|
|
25070
|
-
vErrors = vErrors === null ?
|
|
25837
|
+
vErrors = vErrors === null ? validate277.errors : vErrors.concat(validate277.errors);
|
|
25071
25838
|
errors = vErrors.length;
|
|
25072
25839
|
}
|
|
25073
25840
|
if (!(_errs3 === errors)) break;
|
|
25074
25841
|
}
|
|
25075
25842
|
} else {
|
|
25076
|
-
|
|
25843
|
+
validate302.errors = [{
|
|
25077
25844
|
instancePath: instancePath + "/upsert",
|
|
25078
25845
|
schemaPath: "#/properties/upsert/type",
|
|
25079
25846
|
keyword: "type",
|
|
@@ -25095,7 +25862,7 @@ function validate290(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25095
25862
|
for (let i1 = 0; i1 < len1; i1++) {
|
|
25096
25863
|
const _errs6 = errors;
|
|
25097
25864
|
if (typeof data2[i1] !== "string") {
|
|
25098
|
-
|
|
25865
|
+
validate302.errors = [{
|
|
25099
25866
|
instancePath: instancePath + "/remove/" + i1,
|
|
25100
25867
|
schemaPath: "#/properties/remove/items/type",
|
|
25101
25868
|
keyword: "type",
|
|
@@ -25107,7 +25874,7 @@ function validate290(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25107
25874
|
if (!(_errs6 === errors)) break;
|
|
25108
25875
|
}
|
|
25109
25876
|
} else {
|
|
25110
|
-
|
|
25877
|
+
validate302.errors = [{
|
|
25111
25878
|
instancePath: instancePath + "/remove",
|
|
25112
25879
|
schemaPath: "#/properties/remove/type",
|
|
25113
25880
|
keyword: "type",
|
|
@@ -25122,7 +25889,7 @@ function validate290(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25122
25889
|
}
|
|
25123
25890
|
}
|
|
25124
25891
|
} else {
|
|
25125
|
-
|
|
25892
|
+
validate302.errors = [{
|
|
25126
25893
|
instancePath,
|
|
25127
25894
|
schemaPath: "#/type",
|
|
25128
25895
|
keyword: "type",
|
|
@@ -25132,17 +25899,17 @@ function validate290(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25132
25899
|
return false;
|
|
25133
25900
|
}
|
|
25134
25901
|
}
|
|
25135
|
-
|
|
25902
|
+
validate302.errors = vErrors;
|
|
25136
25903
|
return errors === 0;
|
|
25137
25904
|
}
|
|
25138
|
-
function
|
|
25905
|
+
function validate305(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
25139
25906
|
let vErrors = null;
|
|
25140
25907
|
let errors = 0;
|
|
25141
25908
|
if (errors === 0) {
|
|
25142
25909
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
25143
25910
|
let missing0;
|
|
25144
25911
|
if (data.upsert === void 0 && (missing0 = "upsert") || data.remove === void 0 && (missing0 = "remove")) {
|
|
25145
|
-
|
|
25912
|
+
validate305.errors = [{
|
|
25146
25913
|
instancePath,
|
|
25147
25914
|
schemaPath: "#/required",
|
|
25148
25915
|
keyword: "required",
|
|
@@ -25159,19 +25926,19 @@ function validate293(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25159
25926
|
const len0 = data0.length;
|
|
25160
25927
|
for (let i0 = 0; i0 < len0; i0++) {
|
|
25161
25928
|
const _errs3 = errors;
|
|
25162
|
-
if (!
|
|
25929
|
+
if (!validate297(data0[i0], {
|
|
25163
25930
|
instancePath: instancePath + "/upsert/" + i0,
|
|
25164
25931
|
parentData: data0,
|
|
25165
25932
|
parentDataProperty: i0,
|
|
25166
25933
|
rootData
|
|
25167
25934
|
})) {
|
|
25168
|
-
vErrors = vErrors === null ?
|
|
25935
|
+
vErrors = vErrors === null ? validate297.errors : vErrors.concat(validate297.errors);
|
|
25169
25936
|
errors = vErrors.length;
|
|
25170
25937
|
}
|
|
25171
25938
|
if (!(_errs3 === errors)) break;
|
|
25172
25939
|
}
|
|
25173
25940
|
} else {
|
|
25174
|
-
|
|
25941
|
+
validate305.errors = [{
|
|
25175
25942
|
instancePath: instancePath + "/upsert",
|
|
25176
25943
|
schemaPath: "#/properties/upsert/type",
|
|
25177
25944
|
keyword: "type",
|
|
@@ -25193,7 +25960,7 @@ function validate293(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25193
25960
|
for (let i1 = 0; i1 < len1; i1++) {
|
|
25194
25961
|
const _errs6 = errors;
|
|
25195
25962
|
if (typeof data2[i1] !== "string") {
|
|
25196
|
-
|
|
25963
|
+
validate305.errors = [{
|
|
25197
25964
|
instancePath: instancePath + "/remove/" + i1,
|
|
25198
25965
|
schemaPath: "#/properties/remove/items/type",
|
|
25199
25966
|
keyword: "type",
|
|
@@ -25205,7 +25972,7 @@ function validate293(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25205
25972
|
if (!(_errs6 === errors)) break;
|
|
25206
25973
|
}
|
|
25207
25974
|
} else {
|
|
25208
|
-
|
|
25975
|
+
validate305.errors = [{
|
|
25209
25976
|
instancePath: instancePath + "/remove",
|
|
25210
25977
|
schemaPath: "#/properties/remove/type",
|
|
25211
25978
|
keyword: "type",
|
|
@@ -25220,7 +25987,7 @@ function validate293(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25220
25987
|
}
|
|
25221
25988
|
}
|
|
25222
25989
|
} else {
|
|
25223
|
-
|
|
25990
|
+
validate305.errors = [{
|
|
25224
25991
|
instancePath,
|
|
25225
25992
|
schemaPath: "#/type",
|
|
25226
25993
|
keyword: "type",
|
|
@@ -25230,15 +25997,15 @@ function validate293(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25230
25997
|
return false;
|
|
25231
25998
|
}
|
|
25232
25999
|
}
|
|
25233
|
-
|
|
26000
|
+
validate305.errors = vErrors;
|
|
25234
26001
|
return errors === 0;
|
|
25235
26002
|
}
|
|
25236
|
-
function
|
|
26003
|
+
function validate308(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
25237
26004
|
let vErrors = null;
|
|
25238
26005
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
25239
26006
|
let missing0;
|
|
25240
26007
|
if (data.count === void 0 && (missing0 = "count") || data.bytes === void 0 && (missing0 = "bytes") || data.newest === void 0 && (missing0 = "newest")) {
|
|
25241
|
-
|
|
26008
|
+
validate308.errors = [{
|
|
25242
26009
|
instancePath,
|
|
25243
26010
|
schemaPath: "#/required",
|
|
25244
26011
|
keyword: "required",
|
|
@@ -25249,7 +26016,7 @@ function validate296(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25249
26016
|
} else {
|
|
25250
26017
|
if (data.count !== void 0) {
|
|
25251
26018
|
if (!(typeof data.count == "number")) {
|
|
25252
|
-
|
|
26019
|
+
validate308.errors = [{
|
|
25253
26020
|
instancePath: instancePath + "/count",
|
|
25254
26021
|
schemaPath: "#/properties/count/type",
|
|
25255
26022
|
keyword: "type",
|
|
@@ -25263,7 +26030,7 @@ function validate296(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25263
26030
|
if (valid0) {
|
|
25264
26031
|
if (data.bytes !== void 0) {
|
|
25265
26032
|
if (!(typeof data.bytes == "number")) {
|
|
25266
|
-
|
|
26033
|
+
validate308.errors = [{
|
|
25267
26034
|
instancePath: instancePath + "/bytes",
|
|
25268
26035
|
schemaPath: "#/properties/bytes/type",
|
|
25269
26036
|
keyword: "type",
|
|
@@ -25284,7 +26051,7 @@ function validate296(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25284
26051
|
if (data3 && typeof data3 == "object" && !Array.isArray(data3)) {
|
|
25285
26052
|
let missing1;
|
|
25286
26053
|
if (data3.id === void 0 && (missing1 = "id") || data3.projectRoot === void 0 && (missing1 = "projectRoot") || data3.project === void 0 && (missing1 = "project") || data3.workspace === void 0 && (missing1 = "workspace") || data3.removedAt === void 0 && (missing1 = "removedAt")) {
|
|
25287
|
-
|
|
26054
|
+
validate308.errors = [{
|
|
25288
26055
|
instancePath: instancePath + "/newest/" + i0,
|
|
25289
26056
|
schemaPath: "#/properties/newest/items/required",
|
|
25290
26057
|
keyword: "required",
|
|
@@ -25295,7 +26062,7 @@ function validate296(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25295
26062
|
} else {
|
|
25296
26063
|
if (data3.id !== void 0) {
|
|
25297
26064
|
if (typeof data3.id !== "string") {
|
|
25298
|
-
|
|
26065
|
+
validate308.errors = [{
|
|
25299
26066
|
instancePath: instancePath + "/newest/" + i0 + "/id",
|
|
25300
26067
|
schemaPath: "#/properties/newest/items/properties/id/type",
|
|
25301
26068
|
keyword: "type",
|
|
@@ -25309,7 +26076,7 @@ function validate296(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25309
26076
|
if (valid2) {
|
|
25310
26077
|
if (data3.projectRoot !== void 0) {
|
|
25311
26078
|
if (typeof data3.projectRoot !== "string") {
|
|
25312
|
-
|
|
26079
|
+
validate308.errors = [{
|
|
25313
26080
|
instancePath: instancePath + "/newest/" + i0 + "/projectRoot",
|
|
25314
26081
|
schemaPath: "#/properties/newest/items/properties/projectRoot/type",
|
|
25315
26082
|
keyword: "type",
|
|
@@ -25323,7 +26090,7 @@ function validate296(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25323
26090
|
if (valid2) {
|
|
25324
26091
|
if (data3.project !== void 0) {
|
|
25325
26092
|
if (typeof data3.project !== "string") {
|
|
25326
|
-
|
|
26093
|
+
validate308.errors = [{
|
|
25327
26094
|
instancePath: instancePath + "/newest/" + i0 + "/project",
|
|
25328
26095
|
schemaPath: "#/properties/newest/items/properties/project/type",
|
|
25329
26096
|
keyword: "type",
|
|
@@ -25337,7 +26104,7 @@ function validate296(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25337
26104
|
if (valid2) {
|
|
25338
26105
|
if (data3.workspace !== void 0) {
|
|
25339
26106
|
if (typeof data3.workspace !== "string") {
|
|
25340
|
-
|
|
26107
|
+
validate308.errors = [{
|
|
25341
26108
|
instancePath: instancePath + "/newest/" + i0 + "/workspace",
|
|
25342
26109
|
schemaPath: "#/properties/newest/items/properties/workspace/type",
|
|
25343
26110
|
keyword: "type",
|
|
@@ -25351,7 +26118,7 @@ function validate296(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25351
26118
|
if (valid2) {
|
|
25352
26119
|
if (data3.removedAt !== void 0) {
|
|
25353
26120
|
if (typeof data3.removedAt !== "string") {
|
|
25354
|
-
|
|
26121
|
+
validate308.errors = [{
|
|
25355
26122
|
instancePath: instancePath + "/newest/" + i0 + "/removedAt",
|
|
25356
26123
|
schemaPath: "#/properties/newest/items/properties/removedAt/type",
|
|
25357
26124
|
keyword: "type",
|
|
@@ -25368,7 +26135,7 @@ function validate296(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25368
26135
|
}
|
|
25369
26136
|
}
|
|
25370
26137
|
} else {
|
|
25371
|
-
|
|
26138
|
+
validate308.errors = [{
|
|
25372
26139
|
instancePath: instancePath + "/newest/" + i0,
|
|
25373
26140
|
schemaPath: "#/properties/newest/items/type",
|
|
25374
26141
|
keyword: "type",
|
|
@@ -25379,7 +26146,7 @@ function validate296(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25379
26146
|
}
|
|
25380
26147
|
}
|
|
25381
26148
|
} else {
|
|
25382
|
-
|
|
26149
|
+
validate308.errors = [{
|
|
25383
26150
|
instancePath: instancePath + "/newest",
|
|
25384
26151
|
schemaPath: "#/properties/newest/type",
|
|
25385
26152
|
keyword: "type",
|
|
@@ -25394,7 +26161,7 @@ function validate296(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25394
26161
|
}
|
|
25395
26162
|
}
|
|
25396
26163
|
} else {
|
|
25397
|
-
|
|
26164
|
+
validate308.errors = [{
|
|
25398
26165
|
instancePath,
|
|
25399
26166
|
schemaPath: "#/type",
|
|
25400
26167
|
keyword: "type",
|
|
@@ -25403,17 +26170,17 @@ function validate296(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25403
26170
|
}];
|
|
25404
26171
|
return false;
|
|
25405
26172
|
}
|
|
25406
|
-
|
|
26173
|
+
validate308.errors = vErrors;
|
|
25407
26174
|
return true;
|
|
25408
26175
|
}
|
|
25409
|
-
function
|
|
26176
|
+
function validate276(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
25410
26177
|
let vErrors = null;
|
|
25411
26178
|
let errors = 0;
|
|
25412
26179
|
if (errors === 0) {
|
|
25413
26180
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
25414
26181
|
let missing0;
|
|
25415
26182
|
if (data.event === void 0 && (missing0 = "event") || data.seq === void 0 && (missing0 = "seq") || data.subscription === void 0 && (missing0 = "subscription")) {
|
|
25416
|
-
|
|
26183
|
+
validate276.errors = [{
|
|
25417
26184
|
instancePath,
|
|
25418
26185
|
schemaPath: "#/required",
|
|
25419
26186
|
keyword: "required",
|
|
@@ -25429,7 +26196,7 @@ function validate264(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25429
26196
|
if (data0 && typeof data0 == "object" && !Array.isArray(data0)) {
|
|
25430
26197
|
let missing1;
|
|
25431
26198
|
if (data0.workspaces === void 0 && (missing1 = "workspaces") || data0.worktrees === void 0 && (missing1 = "worktrees") || data0.archived === void 0 && (missing1 = "archived")) {
|
|
25432
|
-
|
|
26199
|
+
validate276.errors = [{
|
|
25433
26200
|
instancePath: instancePath + "/snapshot",
|
|
25434
26201
|
schemaPath: "#/properties/snapshot/required",
|
|
25435
26202
|
keyword: "required",
|
|
@@ -25446,19 +26213,19 @@ function validate264(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25446
26213
|
const len0 = data1.length;
|
|
25447
26214
|
for (let i0 = 0; i0 < len0; i0++) {
|
|
25448
26215
|
const _errs5 = errors;
|
|
25449
|
-
if (!
|
|
26216
|
+
if (!validate277(data1[i0], {
|
|
25450
26217
|
instancePath: instancePath + "/snapshot/workspaces/" + i0,
|
|
25451
26218
|
parentData: data1,
|
|
25452
26219
|
parentDataProperty: i0,
|
|
25453
26220
|
rootData
|
|
25454
26221
|
})) {
|
|
25455
|
-
vErrors = vErrors === null ?
|
|
26222
|
+
vErrors = vErrors === null ? validate277.errors : vErrors.concat(validate277.errors);
|
|
25456
26223
|
errors = vErrors.length;
|
|
25457
26224
|
}
|
|
25458
26225
|
if (!(_errs5 === errors)) break;
|
|
25459
26226
|
}
|
|
25460
26227
|
} else {
|
|
25461
|
-
|
|
26228
|
+
validate276.errors = [{
|
|
25462
26229
|
instancePath: instancePath + "/snapshot/workspaces",
|
|
25463
26230
|
schemaPath: "#/properties/snapshot/properties/workspaces/type",
|
|
25464
26231
|
keyword: "type",
|
|
@@ -25479,19 +26246,19 @@ function validate264(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25479
26246
|
const len1 = data3.length;
|
|
25480
26247
|
for (let i1 = 0; i1 < len1; i1++) {
|
|
25481
26248
|
const _errs8 = errors;
|
|
25482
|
-
if (!
|
|
26249
|
+
if (!validate297(data3[i1], {
|
|
25483
26250
|
instancePath: instancePath + "/snapshot/worktrees/" + i1,
|
|
25484
26251
|
parentData: data3,
|
|
25485
26252
|
parentDataProperty: i1,
|
|
25486
26253
|
rootData
|
|
25487
26254
|
})) {
|
|
25488
|
-
vErrors = vErrors === null ?
|
|
26255
|
+
vErrors = vErrors === null ? validate297.errors : vErrors.concat(validate297.errors);
|
|
25489
26256
|
errors = vErrors.length;
|
|
25490
26257
|
}
|
|
25491
26258
|
if (!(_errs8 === errors)) break;
|
|
25492
26259
|
}
|
|
25493
26260
|
} else {
|
|
25494
|
-
|
|
26261
|
+
validate276.errors = [{
|
|
25495
26262
|
instancePath: instancePath + "/snapshot/worktrees",
|
|
25496
26263
|
schemaPath: "#/properties/snapshot/properties/worktrees/type",
|
|
25497
26264
|
keyword: "type",
|
|
@@ -25506,13 +26273,13 @@ function validate264(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25506
26273
|
if (valid1) {
|
|
25507
26274
|
if (data0.archived !== void 0) {
|
|
25508
26275
|
const _errs9 = errors;
|
|
25509
|
-
if (!
|
|
26276
|
+
if (!validate300(data0.archived, {
|
|
25510
26277
|
instancePath: instancePath + "/snapshot/archived",
|
|
25511
26278
|
parentData: data0,
|
|
25512
26279
|
parentDataProperty: "archived",
|
|
25513
26280
|
rootData
|
|
25514
26281
|
})) {
|
|
25515
|
-
vErrors = vErrors === null ?
|
|
26282
|
+
vErrors = vErrors === null ? validate300.errors : vErrors.concat(validate300.errors);
|
|
25516
26283
|
errors = vErrors.length;
|
|
25517
26284
|
}
|
|
25518
26285
|
var valid1 = _errs9 === errors;
|
|
@@ -25521,7 +26288,7 @@ function validate264(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25521
26288
|
}
|
|
25522
26289
|
}
|
|
25523
26290
|
} else {
|
|
25524
|
-
|
|
26291
|
+
validate276.errors = [{
|
|
25525
26292
|
instancePath: instancePath + "/snapshot",
|
|
25526
26293
|
schemaPath: "#/properties/snapshot/type",
|
|
25527
26294
|
keyword: "type",
|
|
@@ -25536,13 +26303,13 @@ function validate264(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25536
26303
|
if (valid0) {
|
|
25537
26304
|
if (data.workspaces !== void 0) {
|
|
25538
26305
|
const _errs10 = errors;
|
|
25539
|
-
if (!
|
|
26306
|
+
if (!validate302(data.workspaces, {
|
|
25540
26307
|
instancePath: instancePath + "/workspaces",
|
|
25541
26308
|
parentData: data,
|
|
25542
26309
|
parentDataProperty: "workspaces",
|
|
25543
26310
|
rootData
|
|
25544
26311
|
})) {
|
|
25545
|
-
vErrors = vErrors === null ?
|
|
26312
|
+
vErrors = vErrors === null ? validate302.errors : vErrors.concat(validate302.errors);
|
|
25546
26313
|
errors = vErrors.length;
|
|
25547
26314
|
}
|
|
25548
26315
|
var valid0 = _errs10 === errors;
|
|
@@ -25550,13 +26317,13 @@ function validate264(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25550
26317
|
if (valid0) {
|
|
25551
26318
|
if (data.worktrees !== void 0) {
|
|
25552
26319
|
const _errs11 = errors;
|
|
25553
|
-
if (!
|
|
26320
|
+
if (!validate305(data.worktrees, {
|
|
25554
26321
|
instancePath: instancePath + "/worktrees",
|
|
25555
26322
|
parentData: data,
|
|
25556
26323
|
parentDataProperty: "worktrees",
|
|
25557
26324
|
rootData
|
|
25558
26325
|
})) {
|
|
25559
|
-
vErrors = vErrors === null ?
|
|
26326
|
+
vErrors = vErrors === null ? validate305.errors : vErrors.concat(validate305.errors);
|
|
25560
26327
|
errors = vErrors.length;
|
|
25561
26328
|
}
|
|
25562
26329
|
var valid0 = _errs11 === errors;
|
|
@@ -25566,7 +26333,7 @@ function validate264(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25566
26333
|
let data8 = data.event;
|
|
25567
26334
|
const _errs12 = errors;
|
|
25568
26335
|
if (typeof data8 !== "string") {
|
|
25569
|
-
|
|
26336
|
+
validate276.errors = [{
|
|
25570
26337
|
instancePath: instancePath + "/event",
|
|
25571
26338
|
schemaPath: "#/properties/event/type",
|
|
25572
26339
|
keyword: "type",
|
|
@@ -25576,7 +26343,7 @@ function validate264(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25576
26343
|
return false;
|
|
25577
26344
|
}
|
|
25578
26345
|
if ("workspaces" !== data8) {
|
|
25579
|
-
|
|
26346
|
+
validate276.errors = [{
|
|
25580
26347
|
instancePath: instancePath + "/event",
|
|
25581
26348
|
schemaPath: "#/properties/event/const",
|
|
25582
26349
|
keyword: "const",
|
|
@@ -25591,7 +26358,7 @@ function validate264(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25591
26358
|
if (data.subscription !== void 0) {
|
|
25592
26359
|
const _errs14 = errors;
|
|
25593
26360
|
if (typeof data.subscription !== "string") {
|
|
25594
|
-
|
|
26361
|
+
validate276.errors = [{
|
|
25595
26362
|
instancePath: instancePath + "/subscription",
|
|
25596
26363
|
schemaPath: "#/properties/subscription/type",
|
|
25597
26364
|
keyword: "type",
|
|
@@ -25606,7 +26373,7 @@ function validate264(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25606
26373
|
if (data.seq !== void 0) {
|
|
25607
26374
|
const _errs16 = errors;
|
|
25608
26375
|
if (!(typeof data.seq == "number")) {
|
|
25609
|
-
|
|
26376
|
+
validate276.errors = [{
|
|
25610
26377
|
instancePath: instancePath + "/seq",
|
|
25611
26378
|
schemaPath: "#/properties/seq/type",
|
|
25612
26379
|
keyword: "type",
|
|
@@ -25620,13 +26387,13 @@ function validate264(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25620
26387
|
if (valid0) {
|
|
25621
26388
|
if (data.archived !== void 0) {
|
|
25622
26389
|
const _errs18 = errors;
|
|
25623
|
-
if (!
|
|
26390
|
+
if (!validate308(data.archived, {
|
|
25624
26391
|
instancePath: instancePath + "/archived",
|
|
25625
26392
|
parentData: data,
|
|
25626
26393
|
parentDataProperty: "archived",
|
|
25627
26394
|
rootData
|
|
25628
26395
|
})) {
|
|
25629
|
-
vErrors = vErrors === null ?
|
|
26396
|
+
vErrors = vErrors === null ? validate308.errors : vErrors.concat(validate308.errors);
|
|
25630
26397
|
errors = vErrors.length;
|
|
25631
26398
|
}
|
|
25632
26399
|
var valid0 = _errs18 === errors;
|
|
@@ -25639,7 +26406,7 @@ function validate264(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25639
26406
|
}
|
|
25640
26407
|
}
|
|
25641
26408
|
} else {
|
|
25642
|
-
|
|
26409
|
+
validate276.errors = [{
|
|
25643
26410
|
instancePath,
|
|
25644
26411
|
schemaPath: "#/type",
|
|
25645
26412
|
keyword: "type",
|
|
@@ -25649,18 +26416,18 @@ function validate264(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25649
26416
|
return false;
|
|
25650
26417
|
}
|
|
25651
26418
|
}
|
|
25652
|
-
|
|
26419
|
+
validate276.errors = vErrors;
|
|
25653
26420
|
return errors === 0;
|
|
25654
26421
|
}
|
|
25655
|
-
const event9 =
|
|
25656
|
-
function
|
|
26422
|
+
const event9 = validate310;
|
|
26423
|
+
function validate310(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
25657
26424
|
let vErrors = null;
|
|
25658
26425
|
let errors = 0;
|
|
25659
26426
|
if (errors === 0) {
|
|
25660
26427
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
25661
26428
|
let missing0;
|
|
25662
26429
|
if (data.environment === void 0 && (missing0 = "environment") || data.event === void 0 && (missing0 = "event") || data.seq === void 0 && (missing0 = "seq") || data.subscription === void 0 && (missing0 = "subscription")) {
|
|
25663
|
-
|
|
26430
|
+
validate310.errors = [{
|
|
25664
26431
|
instancePath,
|
|
25665
26432
|
schemaPath: "#/required",
|
|
25666
26433
|
keyword: "required",
|
|
@@ -25714,7 +26481,7 @@ function validate298(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25714
26481
|
if (vErrors === null) vErrors = [err1];
|
|
25715
26482
|
else vErrors.push(err1);
|
|
25716
26483
|
errors++;
|
|
25717
|
-
|
|
26484
|
+
validate310.errors = vErrors;
|
|
25718
26485
|
return false;
|
|
25719
26486
|
} else {
|
|
25720
26487
|
errors = _errs2;
|
|
@@ -25730,7 +26497,7 @@ function validate298(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25730
26497
|
let data1 = data.event;
|
|
25731
26498
|
const _errs6 = errors;
|
|
25732
26499
|
if (typeof data1 !== "string") {
|
|
25733
|
-
|
|
26500
|
+
validate310.errors = [{
|
|
25734
26501
|
instancePath: instancePath + "/event",
|
|
25735
26502
|
schemaPath: "#/properties/event/type",
|
|
25736
26503
|
keyword: "type",
|
|
@@ -25740,7 +26507,7 @@ function validate298(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25740
26507
|
return false;
|
|
25741
26508
|
}
|
|
25742
26509
|
if ("workspace" !== data1) {
|
|
25743
|
-
|
|
26510
|
+
validate310.errors = [{
|
|
25744
26511
|
instancePath: instancePath + "/event",
|
|
25745
26512
|
schemaPath: "#/properties/event/const",
|
|
25746
26513
|
keyword: "const",
|
|
@@ -25755,7 +26522,7 @@ function validate298(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25755
26522
|
if (data.subscription !== void 0) {
|
|
25756
26523
|
const _errs8 = errors;
|
|
25757
26524
|
if (typeof data.subscription !== "string") {
|
|
25758
|
-
|
|
26525
|
+
validate310.errors = [{
|
|
25759
26526
|
instancePath: instancePath + "/subscription",
|
|
25760
26527
|
schemaPath: "#/properties/subscription/type",
|
|
25761
26528
|
keyword: "type",
|
|
@@ -25770,7 +26537,7 @@ function validate298(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25770
26537
|
if (data.seq !== void 0) {
|
|
25771
26538
|
const _errs10 = errors;
|
|
25772
26539
|
if (!(typeof data.seq == "number")) {
|
|
25773
|
-
|
|
26540
|
+
validate310.errors = [{
|
|
25774
26541
|
instancePath: instancePath + "/seq",
|
|
25775
26542
|
schemaPath: "#/properties/seq/type",
|
|
25776
26543
|
keyword: "type",
|
|
@@ -25786,7 +26553,7 @@ function validate298(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25786
26553
|
}
|
|
25787
26554
|
}
|
|
25788
26555
|
} else {
|
|
25789
|
-
|
|
26556
|
+
validate310.errors = [{
|
|
25790
26557
|
instancePath,
|
|
25791
26558
|
schemaPath: "#/type",
|
|
25792
26559
|
keyword: "type",
|
|
@@ -25796,18 +26563,18 @@ function validate298(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25796
26563
|
return false;
|
|
25797
26564
|
}
|
|
25798
26565
|
}
|
|
25799
|
-
|
|
26566
|
+
validate310.errors = vErrors;
|
|
25800
26567
|
return errors === 0;
|
|
25801
26568
|
}
|
|
25802
|
-
const event10 =
|
|
25803
|
-
function
|
|
26569
|
+
const event10 = validate312;
|
|
26570
|
+
function validate313(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
25804
26571
|
let vErrors = null;
|
|
25805
26572
|
let errors = 0;
|
|
25806
26573
|
if (errors === 0) {
|
|
25807
26574
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
25808
26575
|
let missing0;
|
|
25809
26576
|
if (data.capacity === void 0 && (missing0 = "capacity") || data.deviceLeases === void 0 && (missing0 = "deviceLeases") || data.machine === void 0 && (missing0 = "machine") || data.maintenance === void 0 && (missing0 = "maintenance") || data.simctlAvailable === void 0 && (missing0 = "simctlAvailable")) {
|
|
25810
|
-
|
|
26577
|
+
validate313.errors = [{
|
|
25811
26578
|
instancePath,
|
|
25812
26579
|
schemaPath: "#/required",
|
|
25813
26580
|
keyword: "required",
|
|
@@ -25861,7 +26628,7 @@ function validate301(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25861
26628
|
if (vErrors === null) vErrors = [err1];
|
|
25862
26629
|
else vErrors.push(err1);
|
|
25863
26630
|
errors++;
|
|
25864
|
-
|
|
26631
|
+
validate313.errors = vErrors;
|
|
25865
26632
|
return false;
|
|
25866
26633
|
} else {
|
|
25867
26634
|
errors = _errs2;
|
|
@@ -25918,7 +26685,7 @@ function validate301(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25918
26685
|
if (vErrors === null) vErrors = [err3];
|
|
25919
26686
|
else vErrors.push(err3);
|
|
25920
26687
|
errors++;
|
|
25921
|
-
|
|
26688
|
+
validate313.errors = vErrors;
|
|
25922
26689
|
return false;
|
|
25923
26690
|
} else {
|
|
25924
26691
|
errors = _errs7;
|
|
@@ -25952,19 +26719,19 @@ function validate301(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25952
26719
|
const len0 = data3.length;
|
|
25953
26720
|
for (let i0 = 0; i0 < len0; i0++) {
|
|
25954
26721
|
const _errs14 = errors;
|
|
25955
|
-
if (!
|
|
26722
|
+
if (!validate271(data3[i0], {
|
|
25956
26723
|
instancePath: instancePath + "/deviceLeases/" + i0,
|
|
25957
26724
|
parentData: data3,
|
|
25958
26725
|
parentDataProperty: i0,
|
|
25959
26726
|
rootData
|
|
25960
26727
|
})) {
|
|
25961
|
-
vErrors = vErrors === null ?
|
|
26728
|
+
vErrors = vErrors === null ? validate271.errors : vErrors.concat(validate271.errors);
|
|
25962
26729
|
errors = vErrors.length;
|
|
25963
26730
|
}
|
|
25964
26731
|
if (!(_errs14 === errors)) break;
|
|
25965
26732
|
}
|
|
25966
26733
|
} else {
|
|
25967
|
-
|
|
26734
|
+
validate313.errors = [{
|
|
25968
26735
|
instancePath: instancePath + "/deviceLeases",
|
|
25969
26736
|
schemaPath: "#/properties/deviceLeases/type",
|
|
25970
26737
|
keyword: "type",
|
|
@@ -25980,7 +26747,7 @@ function validate301(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25980
26747
|
if (data.simctlAvailable !== void 0) {
|
|
25981
26748
|
const _errs15 = errors;
|
|
25982
26749
|
if (typeof data.simctlAvailable !== "boolean") {
|
|
25983
|
-
|
|
26750
|
+
validate313.errors = [{
|
|
25984
26751
|
instancePath: instancePath + "/simctlAvailable",
|
|
25985
26752
|
schemaPath: "#/properties/simctlAvailable/type",
|
|
25986
26753
|
keyword: "type",
|
|
@@ -25997,7 +26764,7 @@ function validate301(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25997
26764
|
}
|
|
25998
26765
|
}
|
|
25999
26766
|
} else {
|
|
26000
|
-
|
|
26767
|
+
validate313.errors = [{
|
|
26001
26768
|
instancePath,
|
|
26002
26769
|
schemaPath: "#/type",
|
|
26003
26770
|
keyword: "type",
|
|
@@ -26007,17 +26774,17 @@ function validate301(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26007
26774
|
return false;
|
|
26008
26775
|
}
|
|
26009
26776
|
}
|
|
26010
|
-
|
|
26777
|
+
validate313.errors = vErrors;
|
|
26011
26778
|
return errors === 0;
|
|
26012
26779
|
}
|
|
26013
|
-
function
|
|
26780
|
+
function validate312(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
26014
26781
|
let vErrors = null;
|
|
26015
26782
|
let errors = 0;
|
|
26016
26783
|
if (errors === 0) {
|
|
26017
26784
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
26018
26785
|
let missing0;
|
|
26019
26786
|
if (data.event === void 0 && (missing0 = "event") || data.machine === void 0 && (missing0 = "machine") || data.seq === void 0 && (missing0 = "seq") || data.subscription === void 0 && (missing0 = "subscription")) {
|
|
26020
|
-
|
|
26787
|
+
validate312.errors = [{
|
|
26021
26788
|
instancePath,
|
|
26022
26789
|
schemaPath: "#/required",
|
|
26023
26790
|
keyword: "required",
|
|
@@ -26028,13 +26795,13 @@ function validate300(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26028
26795
|
} else {
|
|
26029
26796
|
if (data.machine !== void 0) {
|
|
26030
26797
|
const _errs1 = errors;
|
|
26031
|
-
if (!
|
|
26798
|
+
if (!validate313(data.machine, {
|
|
26032
26799
|
instancePath: instancePath + "/machine",
|
|
26033
26800
|
parentData: data,
|
|
26034
26801
|
parentDataProperty: "machine",
|
|
26035
26802
|
rootData
|
|
26036
26803
|
})) {
|
|
26037
|
-
vErrors = vErrors === null ?
|
|
26804
|
+
vErrors = vErrors === null ? validate313.errors : vErrors.concat(validate313.errors);
|
|
26038
26805
|
errors = vErrors.length;
|
|
26039
26806
|
}
|
|
26040
26807
|
var valid0 = _errs1 === errors;
|
|
@@ -26042,13 +26809,13 @@ function validate300(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26042
26809
|
if (valid0) {
|
|
26043
26810
|
if (data.usage !== void 0) {
|
|
26044
26811
|
const _errs2 = errors;
|
|
26045
|
-
if (!
|
|
26812
|
+
if (!validate274(data.usage, {
|
|
26046
26813
|
instancePath: instancePath + "/usage",
|
|
26047
26814
|
parentData: data,
|
|
26048
26815
|
parentDataProperty: "usage",
|
|
26049
26816
|
rootData
|
|
26050
26817
|
})) {
|
|
26051
|
-
vErrors = vErrors === null ?
|
|
26818
|
+
vErrors = vErrors === null ? validate274.errors : vErrors.concat(validate274.errors);
|
|
26052
26819
|
errors = vErrors.length;
|
|
26053
26820
|
}
|
|
26054
26821
|
var valid0 = _errs2 === errors;
|
|
@@ -26058,7 +26825,7 @@ function validate300(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26058
26825
|
let data2 = data.event;
|
|
26059
26826
|
const _errs3 = errors;
|
|
26060
26827
|
if (typeof data2 !== "string") {
|
|
26061
|
-
|
|
26828
|
+
validate312.errors = [{
|
|
26062
26829
|
instancePath: instancePath + "/event",
|
|
26063
26830
|
schemaPath: "#/properties/event/type",
|
|
26064
26831
|
keyword: "type",
|
|
@@ -26068,7 +26835,7 @@ function validate300(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26068
26835
|
return false;
|
|
26069
26836
|
}
|
|
26070
26837
|
if ("machine" !== data2) {
|
|
26071
|
-
|
|
26838
|
+
validate312.errors = [{
|
|
26072
26839
|
instancePath: instancePath + "/event",
|
|
26073
26840
|
schemaPath: "#/properties/event/const",
|
|
26074
26841
|
keyword: "const",
|
|
@@ -26083,7 +26850,7 @@ function validate300(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26083
26850
|
if (data.subscription !== void 0) {
|
|
26084
26851
|
const _errs5 = errors;
|
|
26085
26852
|
if (typeof data.subscription !== "string") {
|
|
26086
|
-
|
|
26853
|
+
validate312.errors = [{
|
|
26087
26854
|
instancePath: instancePath + "/subscription",
|
|
26088
26855
|
schemaPath: "#/properties/subscription/type",
|
|
26089
26856
|
keyword: "type",
|
|
@@ -26098,7 +26865,7 @@ function validate300(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26098
26865
|
if (data.seq !== void 0) {
|
|
26099
26866
|
const _errs7 = errors;
|
|
26100
26867
|
if (!(typeof data.seq == "number")) {
|
|
26101
|
-
|
|
26868
|
+
validate312.errors = [{
|
|
26102
26869
|
instancePath: instancePath + "/seq",
|
|
26103
26870
|
schemaPath: "#/properties/seq/type",
|
|
26104
26871
|
keyword: "type",
|
|
@@ -26119,7 +26886,7 @@ function validate300(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26119
26886
|
for (let i0 = 0; i0 < len0; i0++) {
|
|
26120
26887
|
const _errs11 = errors;
|
|
26121
26888
|
if (typeof data5[i0] !== "string") {
|
|
26122
|
-
|
|
26889
|
+
validate312.errors = [{
|
|
26123
26890
|
instancePath: instancePath + "/ownLeases/" + i0,
|
|
26124
26891
|
schemaPath: "#/properties/ownLeases/items/type",
|
|
26125
26892
|
keyword: "type",
|
|
@@ -26131,7 +26898,7 @@ function validate300(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26131
26898
|
if (!(_errs11 === errors)) break;
|
|
26132
26899
|
}
|
|
26133
26900
|
} else {
|
|
26134
|
-
|
|
26901
|
+
validate312.errors = [{
|
|
26135
26902
|
instancePath: instancePath + "/ownLeases",
|
|
26136
26903
|
schemaPath: "#/properties/ownLeases/type",
|
|
26137
26904
|
keyword: "type",
|
|
@@ -26150,7 +26917,7 @@ function validate300(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26150
26917
|
}
|
|
26151
26918
|
}
|
|
26152
26919
|
} else {
|
|
26153
|
-
|
|
26920
|
+
validate312.errors = [{
|
|
26154
26921
|
instancePath,
|
|
26155
26922
|
schemaPath: "#/type",
|
|
26156
26923
|
keyword: "type",
|
|
@@ -26160,18 +26927,18 @@ function validate300(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26160
26927
|
return false;
|
|
26161
26928
|
}
|
|
26162
26929
|
}
|
|
26163
|
-
|
|
26930
|
+
validate312.errors = vErrors;
|
|
26164
26931
|
return errors === 0;
|
|
26165
26932
|
}
|
|
26166
|
-
const event11 =
|
|
26167
|
-
function
|
|
26933
|
+
const event11 = validate320;
|
|
26934
|
+
function validate320(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
26168
26935
|
let vErrors = null;
|
|
26169
26936
|
let errors = 0;
|
|
26170
26937
|
if (errors === 0) {
|
|
26171
26938
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
26172
26939
|
let missing0;
|
|
26173
26940
|
if (data.event === void 0 && (missing0 = "event") || data.records === void 0 && (missing0 = "records") || data.subscription === void 0 && (missing0 = "subscription")) {
|
|
26174
|
-
|
|
26941
|
+
validate320.errors = [{
|
|
26175
26942
|
instancePath,
|
|
26176
26943
|
schemaPath: "#/required",
|
|
26177
26944
|
keyword: "required",
|
|
@@ -26200,7 +26967,7 @@ function validate308(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26200
26967
|
if (!(_errs3 === errors)) break;
|
|
26201
26968
|
}
|
|
26202
26969
|
} else {
|
|
26203
|
-
|
|
26970
|
+
validate320.errors = [{
|
|
26204
26971
|
instancePath: instancePath + "/records",
|
|
26205
26972
|
schemaPath: "#/properties/records/type",
|
|
26206
26973
|
keyword: "type",
|
|
@@ -26217,7 +26984,7 @@ function validate308(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26217
26984
|
let data2 = data.event;
|
|
26218
26985
|
const _errs4 = errors;
|
|
26219
26986
|
if (typeof data2 !== "string") {
|
|
26220
|
-
|
|
26987
|
+
validate320.errors = [{
|
|
26221
26988
|
instancePath: instancePath + "/event",
|
|
26222
26989
|
schemaPath: "#/properties/event/type",
|
|
26223
26990
|
keyword: "type",
|
|
@@ -26227,7 +26994,7 @@ function validate308(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26227
26994
|
return false;
|
|
26228
26995
|
}
|
|
26229
26996
|
if ("logs" !== data2) {
|
|
26230
|
-
|
|
26997
|
+
validate320.errors = [{
|
|
26231
26998
|
instancePath: instancePath + "/event",
|
|
26232
26999
|
schemaPath: "#/properties/event/const",
|
|
26233
27000
|
keyword: "const",
|
|
@@ -26242,7 +27009,7 @@ function validate308(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26242
27009
|
if (data.subscription !== void 0) {
|
|
26243
27010
|
const _errs6 = errors;
|
|
26244
27011
|
if (typeof data.subscription !== "string") {
|
|
26245
|
-
|
|
27012
|
+
validate320.errors = [{
|
|
26246
27013
|
instancePath: instancePath + "/subscription",
|
|
26247
27014
|
schemaPath: "#/properties/subscription/type",
|
|
26248
27015
|
keyword: "type",
|
|
@@ -26257,7 +27024,7 @@ function validate308(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26257
27024
|
}
|
|
26258
27025
|
}
|
|
26259
27026
|
} else {
|
|
26260
|
-
|
|
27027
|
+
validate320.errors = [{
|
|
26261
27028
|
instancePath,
|
|
26262
27029
|
schemaPath: "#/type",
|
|
26263
27030
|
keyword: "type",
|
|
@@ -26267,18 +27034,18 @@ function validate308(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26267
27034
|
return false;
|
|
26268
27035
|
}
|
|
26269
27036
|
}
|
|
26270
|
-
|
|
27037
|
+
validate320.errors = vErrors;
|
|
26271
27038
|
return errors === 0;
|
|
26272
27039
|
}
|
|
26273
|
-
const event12 =
|
|
26274
|
-
function
|
|
27040
|
+
const event12 = validate322;
|
|
27041
|
+
function validate322(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
26275
27042
|
let vErrors = null;
|
|
26276
27043
|
let errors = 0;
|
|
26277
27044
|
if (errors === 0) {
|
|
26278
27045
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
26279
27046
|
let missing0;
|
|
26280
27047
|
if (data.error === void 0 && (missing0 = "error") || data.event === void 0 && (missing0 = "event")) {
|
|
26281
|
-
|
|
27048
|
+
validate322.errors = [{
|
|
26282
27049
|
instancePath,
|
|
26283
27050
|
schemaPath: "#/required",
|
|
26284
27051
|
keyword: "required",
|
|
@@ -26304,7 +27071,7 @@ function validate310(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26304
27071
|
if (data.subscription !== void 0) {
|
|
26305
27072
|
const _errs2 = errors;
|
|
26306
27073
|
if (typeof data.subscription !== "string") {
|
|
26307
|
-
|
|
27074
|
+
validate322.errors = [{
|
|
26308
27075
|
instancePath: instancePath + "/subscription",
|
|
26309
27076
|
schemaPath: "#/properties/subscription/type",
|
|
26310
27077
|
keyword: "type",
|
|
@@ -26333,7 +27100,7 @@ function validate310(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26333
27100
|
if (data.slot !== void 0) {
|
|
26334
27101
|
const _errs5 = errors;
|
|
26335
27102
|
if (typeof data.slot !== "string") {
|
|
26336
|
-
|
|
27103
|
+
validate322.errors = [{
|
|
26337
27104
|
instancePath: instancePath + "/slot",
|
|
26338
27105
|
schemaPath: "#/properties/slot/type",
|
|
26339
27106
|
keyword: "type",
|
|
@@ -26349,7 +27116,7 @@ function validate310(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26349
27116
|
let data4 = data.event;
|
|
26350
27117
|
const _errs7 = errors;
|
|
26351
27118
|
if (typeof data4 !== "string") {
|
|
26352
|
-
|
|
27119
|
+
validate322.errors = [{
|
|
26353
27120
|
instancePath: instancePath + "/event",
|
|
26354
27121
|
schemaPath: "#/properties/event/type",
|
|
26355
27122
|
keyword: "type",
|
|
@@ -26359,7 +27126,7 @@ function validate310(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26359
27126
|
return false;
|
|
26360
27127
|
}
|
|
26361
27128
|
if ("error" !== data4) {
|
|
26362
|
-
|
|
27129
|
+
validate322.errors = [{
|
|
26363
27130
|
instancePath: instancePath + "/event",
|
|
26364
27131
|
schemaPath: "#/properties/event/const",
|
|
26365
27132
|
keyword: "const",
|
|
@@ -26376,7 +27143,7 @@ function validate310(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26376
27143
|
}
|
|
26377
27144
|
}
|
|
26378
27145
|
} else {
|
|
26379
|
-
|
|
27146
|
+
validate322.errors = [{
|
|
26380
27147
|
instancePath,
|
|
26381
27148
|
schemaPath: "#/type",
|
|
26382
27149
|
keyword: "type",
|
|
@@ -26386,16 +27153,16 @@ function validate310(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26386
27153
|
return false;
|
|
26387
27154
|
}
|
|
26388
27155
|
}
|
|
26389
|
-
|
|
27156
|
+
validate322.errors = vErrors;
|
|
26390
27157
|
return errors === 0;
|
|
26391
27158
|
}
|
|
26392
|
-
const event13 =
|
|
26393
|
-
function
|
|
27159
|
+
const event13 = validate325;
|
|
27160
|
+
function validate326(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
26394
27161
|
let vErrors = null;
|
|
26395
27162
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
26396
27163
|
let missing0;
|
|
26397
27164
|
if (data.revision === void 0 && (missing0 = "revision") || data.screenID === void 0 && (missing0 = "screenID") || data.angle === void 0 && (missing0 = "angle") || data.orientation === void 0 && (missing0 = "orientation")) {
|
|
26398
|
-
|
|
27165
|
+
validate326.errors = [{
|
|
26399
27166
|
instancePath,
|
|
26400
27167
|
schemaPath: "#/required",
|
|
26401
27168
|
keyword: "required",
|
|
@@ -26406,7 +27173,7 @@ function validate314(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26406
27173
|
} else {
|
|
26407
27174
|
if (data.revision !== void 0) {
|
|
26408
27175
|
if (typeof data.revision !== "string") {
|
|
26409
|
-
|
|
27176
|
+
validate326.errors = [{
|
|
26410
27177
|
instancePath: instancePath + "/revision",
|
|
26411
27178
|
schemaPath: "#/properties/revision/type",
|
|
26412
27179
|
keyword: "type",
|
|
@@ -26420,7 +27187,7 @@ function validate314(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26420
27187
|
if (valid0) {
|
|
26421
27188
|
if (data.screenID !== void 0) {
|
|
26422
27189
|
if (!(typeof data.screenID == "number")) {
|
|
26423
|
-
|
|
27190
|
+
validate326.errors = [{
|
|
26424
27191
|
instancePath: instancePath + "/screenID",
|
|
26425
27192
|
schemaPath: "#/properties/screenID/type",
|
|
26426
27193
|
keyword: "type",
|
|
@@ -26434,7 +27201,7 @@ function validate314(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26434
27201
|
if (valid0) {
|
|
26435
27202
|
if (data.angle !== void 0) {
|
|
26436
27203
|
if (!(typeof data.angle == "number")) {
|
|
26437
|
-
|
|
27204
|
+
validate326.errors = [{
|
|
26438
27205
|
instancePath: instancePath + "/angle",
|
|
26439
27206
|
schemaPath: "#/properties/angle/type",
|
|
26440
27207
|
keyword: "type",
|
|
@@ -26448,7 +27215,7 @@ function validate314(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26448
27215
|
if (valid0) {
|
|
26449
27216
|
if (data.orientation !== void 0) {
|
|
26450
27217
|
if (!(typeof data.orientation == "number")) {
|
|
26451
|
-
|
|
27218
|
+
validate326.errors = [{
|
|
26452
27219
|
instancePath: instancePath + "/orientation",
|
|
26453
27220
|
schemaPath: "#/properties/orientation/type",
|
|
26454
27221
|
keyword: "type",
|
|
@@ -26464,7 +27231,7 @@ function validate314(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26464
27231
|
}
|
|
26465
27232
|
}
|
|
26466
27233
|
} else {
|
|
26467
|
-
|
|
27234
|
+
validate326.errors = [{
|
|
26468
27235
|
instancePath,
|
|
26469
27236
|
schemaPath: "#/type",
|
|
26470
27237
|
keyword: "type",
|
|
@@ -26473,17 +27240,17 @@ function validate314(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26473
27240
|
}];
|
|
26474
27241
|
return false;
|
|
26475
27242
|
}
|
|
26476
|
-
|
|
27243
|
+
validate326.errors = vErrors;
|
|
26477
27244
|
return true;
|
|
26478
27245
|
}
|
|
26479
|
-
function
|
|
27246
|
+
function validate325(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
26480
27247
|
let vErrors = null;
|
|
26481
27248
|
let errors = 0;
|
|
26482
27249
|
if (errors === 0) {
|
|
26483
27250
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
26484
27251
|
let missing0;
|
|
26485
27252
|
if (data.capturedAt === void 0 && (missing0 = "capturedAt") || data.data === void 0 && (missing0 = "data") || data.event === void 0 && (missing0 = "event") || data.height === void 0 && (missing0 = "height") || data.mime === void 0 && (missing0 = "mime") || data.platform === void 0 && (missing0 = "platform") || data.slot === void 0 && (missing0 = "slot") || data.subscription === void 0 && (missing0 = "subscription") || data.width === void 0 && (missing0 = "width")) {
|
|
26486
|
-
|
|
27253
|
+
validate325.errors = [{
|
|
26487
27254
|
instancePath,
|
|
26488
27255
|
schemaPath: "#/required",
|
|
26489
27256
|
keyword: "required",
|
|
@@ -26495,7 +27262,7 @@ function validate313(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26495
27262
|
if (data.platform !== void 0) {
|
|
26496
27263
|
const _errs1 = errors;
|
|
26497
27264
|
if (typeof data.platform !== "string") {
|
|
26498
|
-
|
|
27265
|
+
validate325.errors = [{
|
|
26499
27266
|
instancePath: instancePath + "/platform",
|
|
26500
27267
|
schemaPath: "#/properties/platform/type",
|
|
26501
27268
|
keyword: "type",
|
|
@@ -26510,7 +27277,7 @@ function validate313(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26510
27277
|
if (data.posture !== void 0) {
|
|
26511
27278
|
const _errs3 = errors;
|
|
26512
27279
|
if (typeof data.posture !== "string") {
|
|
26513
|
-
|
|
27280
|
+
validate325.errors = [{
|
|
26514
27281
|
instancePath: instancePath + "/posture",
|
|
26515
27282
|
schemaPath: "#/properties/posture/type",
|
|
26516
27283
|
keyword: "type",
|
|
@@ -26525,7 +27292,7 @@ function validate313(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26525
27292
|
if (data.mime !== void 0) {
|
|
26526
27293
|
const _errs5 = errors;
|
|
26527
27294
|
if (typeof data.mime !== "string") {
|
|
26528
|
-
|
|
27295
|
+
validate325.errors = [{
|
|
26529
27296
|
instancePath: instancePath + "/mime",
|
|
26530
27297
|
schemaPath: "#/properties/mime/type",
|
|
26531
27298
|
keyword: "type",
|
|
@@ -26541,7 +27308,7 @@ function validate313(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26541
27308
|
let data3 = data.event;
|
|
26542
27309
|
const _errs7 = errors;
|
|
26543
27310
|
if (typeof data3 !== "string") {
|
|
26544
|
-
|
|
27311
|
+
validate325.errors = [{
|
|
26545
27312
|
instancePath: instancePath + "/event",
|
|
26546
27313
|
schemaPath: "#/properties/event/type",
|
|
26547
27314
|
keyword: "type",
|
|
@@ -26551,7 +27318,7 @@ function validate313(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26551
27318
|
return false;
|
|
26552
27319
|
}
|
|
26553
27320
|
if ("frame" !== data3) {
|
|
26554
|
-
|
|
27321
|
+
validate325.errors = [{
|
|
26555
27322
|
instancePath: instancePath + "/event",
|
|
26556
27323
|
schemaPath: "#/properties/event/const",
|
|
26557
27324
|
keyword: "const",
|
|
@@ -26566,7 +27333,7 @@ function validate313(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26566
27333
|
if (data.subscription !== void 0) {
|
|
26567
27334
|
const _errs9 = errors;
|
|
26568
27335
|
if (typeof data.subscription !== "string") {
|
|
26569
|
-
|
|
27336
|
+
validate325.errors = [{
|
|
26570
27337
|
instancePath: instancePath + "/subscription",
|
|
26571
27338
|
schemaPath: "#/properties/subscription/type",
|
|
26572
27339
|
keyword: "type",
|
|
@@ -26581,7 +27348,7 @@ function validate313(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26581
27348
|
if (data.slot !== void 0) {
|
|
26582
27349
|
const _errs11 = errors;
|
|
26583
27350
|
if (typeof data.slot !== "string") {
|
|
26584
|
-
|
|
27351
|
+
validate325.errors = [{
|
|
26585
27352
|
instancePath: instancePath + "/slot",
|
|
26586
27353
|
schemaPath: "#/properties/slot/type",
|
|
26587
27354
|
keyword: "type",
|
|
@@ -26596,7 +27363,7 @@ function validate313(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26596
27363
|
if (data.width !== void 0) {
|
|
26597
27364
|
const _errs13 = errors;
|
|
26598
27365
|
if (!(typeof data.width == "number")) {
|
|
26599
|
-
|
|
27366
|
+
validate325.errors = [{
|
|
26600
27367
|
instancePath: instancePath + "/width",
|
|
26601
27368
|
schemaPath: "#/properties/width/type",
|
|
26602
27369
|
keyword: "type",
|
|
@@ -26611,7 +27378,7 @@ function validate313(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26611
27378
|
if (data.height !== void 0) {
|
|
26612
27379
|
const _errs15 = errors;
|
|
26613
27380
|
if (!(typeof data.height == "number")) {
|
|
26614
|
-
|
|
27381
|
+
validate325.errors = [{
|
|
26615
27382
|
instancePath: instancePath + "/height",
|
|
26616
27383
|
schemaPath: "#/properties/height/type",
|
|
26617
27384
|
keyword: "type",
|
|
@@ -26626,7 +27393,7 @@ function validate313(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26626
27393
|
if (data.capturedAt !== void 0) {
|
|
26627
27394
|
const _errs17 = errors;
|
|
26628
27395
|
if (typeof data.capturedAt !== "string") {
|
|
26629
|
-
|
|
27396
|
+
validate325.errors = [{
|
|
26630
27397
|
instancePath: instancePath + "/capturedAt",
|
|
26631
27398
|
schemaPath: "#/properties/capturedAt/type",
|
|
26632
27399
|
keyword: "type",
|
|
@@ -26641,7 +27408,7 @@ function validate313(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26641
27408
|
if (data.data !== void 0) {
|
|
26642
27409
|
const _errs19 = errors;
|
|
26643
27410
|
if (typeof data.data !== "string") {
|
|
26644
|
-
|
|
27411
|
+
validate325.errors = [{
|
|
26645
27412
|
instancePath: instancePath + "/data",
|
|
26646
27413
|
schemaPath: "#/properties/data/type",
|
|
26647
27414
|
keyword: "type",
|
|
@@ -26656,7 +27423,7 @@ function validate313(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26656
27423
|
if (data.artworkTurns !== void 0) {
|
|
26657
27424
|
const _errs21 = errors;
|
|
26658
27425
|
if (!(typeof data.artworkTurns == "number")) {
|
|
26659
|
-
|
|
27426
|
+
validate325.errors = [{
|
|
26660
27427
|
instancePath: instancePath + "/artworkTurns",
|
|
26661
27428
|
schemaPath: "#/properties/artworkTurns/type",
|
|
26662
27429
|
keyword: "type",
|
|
@@ -26670,13 +27437,13 @@ function validate313(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26670
27437
|
if (valid0) {
|
|
26671
27438
|
if (data.duo !== void 0) {
|
|
26672
27439
|
const _errs23 = errors;
|
|
26673
|
-
if (!
|
|
27440
|
+
if (!validate326(data.duo, {
|
|
26674
27441
|
instancePath: instancePath + "/duo",
|
|
26675
27442
|
parentData: data,
|
|
26676
27443
|
parentDataProperty: "duo",
|
|
26677
27444
|
rootData
|
|
26678
27445
|
})) {
|
|
26679
|
-
vErrors = vErrors === null ?
|
|
27446
|
+
vErrors = vErrors === null ? validate326.errors : vErrors.concat(validate326.errors);
|
|
26680
27447
|
errors = vErrors.length;
|
|
26681
27448
|
}
|
|
26682
27449
|
var valid0 = _errs23 === errors;
|
|
@@ -26694,7 +27461,7 @@ function validate313(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26694
27461
|
}
|
|
26695
27462
|
}
|
|
26696
27463
|
} else {
|
|
26697
|
-
|
|
27464
|
+
validate325.errors = [{
|
|
26698
27465
|
instancePath,
|
|
26699
27466
|
schemaPath: "#/type",
|
|
26700
27467
|
keyword: "type",
|
|
@@ -26704,14 +27471,14 @@ function validate313(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26704
27471
|
return false;
|
|
26705
27472
|
}
|
|
26706
27473
|
}
|
|
26707
|
-
|
|
27474
|
+
validate325.errors = vErrors;
|
|
26708
27475
|
return errors === 0;
|
|
26709
27476
|
}
|
|
26710
|
-
const event14 =
|
|
26711
|
-
function
|
|
27477
|
+
const event14 = validate328;
|
|
27478
|
+
function validate329(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
26712
27479
|
let vErrors = null;
|
|
26713
27480
|
if (typeof data !== "string") {
|
|
26714
|
-
|
|
27481
|
+
validate329.errors = [{
|
|
26715
27482
|
instancePath,
|
|
26716
27483
|
schemaPath: "#/type",
|
|
26717
27484
|
keyword: "type",
|
|
@@ -26721,7 +27488,7 @@ function validate317(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26721
27488
|
return false;
|
|
26722
27489
|
}
|
|
26723
27490
|
if (!(data === "ios" || data === "android" || data === "web" || data === "macos")) {
|
|
26724
|
-
|
|
27491
|
+
validate329.errors = [{
|
|
26725
27492
|
instancePath,
|
|
26726
27493
|
schemaPath: "#/enum",
|
|
26727
27494
|
keyword: "enum",
|
|
@@ -26730,17 +27497,17 @@ function validate317(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26730
27497
|
}];
|
|
26731
27498
|
return false;
|
|
26732
27499
|
}
|
|
26733
|
-
|
|
27500
|
+
validate329.errors = vErrors;
|
|
26734
27501
|
return true;
|
|
26735
27502
|
}
|
|
26736
|
-
function
|
|
27503
|
+
function validate328(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
26737
27504
|
let vErrors = null;
|
|
26738
27505
|
let errors = 0;
|
|
26739
27506
|
if (errors === 0) {
|
|
26740
27507
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
26741
27508
|
let missing0;
|
|
26742
27509
|
if (data.event === void 0 && (missing0 = "event") || data.message === void 0 && (missing0 = "message") || data.reason === void 0 && (missing0 = "reason") || data.session === void 0 && (missing0 = "session")) {
|
|
26743
|
-
|
|
27510
|
+
validate328.errors = [{
|
|
26744
27511
|
instancePath,
|
|
26745
27512
|
schemaPath: "#/required",
|
|
26746
27513
|
keyword: "required",
|
|
@@ -26752,7 +27519,7 @@ function validate316(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26752
27519
|
if (data.reason !== void 0) {
|
|
26753
27520
|
const _errs1 = errors;
|
|
26754
27521
|
if (typeof data.reason !== "string") {
|
|
26755
|
-
|
|
27522
|
+
validate328.errors = [{
|
|
26756
27523
|
instancePath: instancePath + "/reason",
|
|
26757
27524
|
schemaPath: "#/properties/reason/type",
|
|
26758
27525
|
keyword: "type",
|
|
@@ -26766,13 +27533,13 @@ function validate316(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26766
27533
|
if (valid0) {
|
|
26767
27534
|
if (data.platform !== void 0) {
|
|
26768
27535
|
const _errs3 = errors;
|
|
26769
|
-
if (!
|
|
27536
|
+
if (!validate329(data.platform, {
|
|
26770
27537
|
instancePath: instancePath + "/platform",
|
|
26771
27538
|
parentData: data,
|
|
26772
27539
|
parentDataProperty: "platform",
|
|
26773
27540
|
rootData
|
|
26774
27541
|
})) {
|
|
26775
|
-
vErrors = vErrors === null ?
|
|
27542
|
+
vErrors = vErrors === null ? validate329.errors : vErrors.concat(validate329.errors);
|
|
26776
27543
|
errors = vErrors.length;
|
|
26777
27544
|
}
|
|
26778
27545
|
var valid0 = _errs3 === errors;
|
|
@@ -26781,7 +27548,7 @@ function validate316(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26781
27548
|
if (data.slot !== void 0) {
|
|
26782
27549
|
const _errs4 = errors;
|
|
26783
27550
|
if (typeof data.slot !== "string") {
|
|
26784
|
-
|
|
27551
|
+
validate328.errors = [{
|
|
26785
27552
|
instancePath: instancePath + "/slot",
|
|
26786
27553
|
schemaPath: "#/properties/slot/type",
|
|
26787
27554
|
keyword: "type",
|
|
@@ -26797,7 +27564,7 @@ function validate316(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26797
27564
|
let data3 = data.event;
|
|
26798
27565
|
const _errs6 = errors;
|
|
26799
27566
|
if (typeof data3 !== "string") {
|
|
26800
|
-
|
|
27567
|
+
validate328.errors = [{
|
|
26801
27568
|
instancePath: instancePath + "/event",
|
|
26802
27569
|
schemaPath: "#/properties/event/type",
|
|
26803
27570
|
keyword: "type",
|
|
@@ -26807,7 +27574,7 @@ function validate316(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26807
27574
|
return false;
|
|
26808
27575
|
}
|
|
26809
27576
|
if ("control-ended" !== data3) {
|
|
26810
|
-
|
|
27577
|
+
validate328.errors = [{
|
|
26811
27578
|
instancePath: instancePath + "/event",
|
|
26812
27579
|
schemaPath: "#/properties/event/const",
|
|
26813
27580
|
keyword: "const",
|
|
@@ -26822,7 +27589,7 @@ function validate316(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26822
27589
|
if (data.session !== void 0) {
|
|
26823
27590
|
const _errs8 = errors;
|
|
26824
27591
|
if (typeof data.session !== "string") {
|
|
26825
|
-
|
|
27592
|
+
validate328.errors = [{
|
|
26826
27593
|
instancePath: instancePath + "/session",
|
|
26827
27594
|
schemaPath: "#/properties/session/type",
|
|
26828
27595
|
keyword: "type",
|
|
@@ -26837,7 +27604,7 @@ function validate316(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26837
27604
|
if (data.message !== void 0) {
|
|
26838
27605
|
const _errs10 = errors;
|
|
26839
27606
|
if (typeof data.message !== "string") {
|
|
26840
|
-
|
|
27607
|
+
validate328.errors = [{
|
|
26841
27608
|
instancePath: instancePath + "/message",
|
|
26842
27609
|
schemaPath: "#/properties/message/type",
|
|
26843
27610
|
keyword: "type",
|
|
@@ -26855,7 +27622,7 @@ function validate316(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26855
27622
|
}
|
|
26856
27623
|
}
|
|
26857
27624
|
} else {
|
|
26858
|
-
|
|
27625
|
+
validate328.errors = [{
|
|
26859
27626
|
instancePath,
|
|
26860
27627
|
schemaPath: "#/type",
|
|
26861
27628
|
keyword: "type",
|
|
@@ -26865,18 +27632,18 @@ function validate316(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26865
27632
|
return false;
|
|
26866
27633
|
}
|
|
26867
27634
|
}
|
|
26868
|
-
|
|
27635
|
+
validate328.errors = vErrors;
|
|
26869
27636
|
return errors === 0;
|
|
26870
27637
|
}
|
|
26871
|
-
const event15 =
|
|
26872
|
-
function
|
|
27638
|
+
const event15 = validate331;
|
|
27639
|
+
function validate331(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
|
|
26873
27640
|
let vErrors = null;
|
|
26874
27641
|
let errors = 0;
|
|
26875
27642
|
if (errors === 0) {
|
|
26876
27643
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
26877
27644
|
let missing0;
|
|
26878
27645
|
if (data.event === void 0 && (missing0 = "event") || data.log === void 0 && (missing0 = "log") || data.notification === void 0 && (missing0 = "notification")) {
|
|
26879
|
-
|
|
27646
|
+
validate331.errors = [{
|
|
26880
27647
|
instancePath,
|
|
26881
27648
|
schemaPath: "#/required",
|
|
26882
27649
|
keyword: "required",
|
|
@@ -26903,7 +27670,7 @@ function validate319(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26903
27670
|
let data1 = data.event;
|
|
26904
27671
|
const _errs2 = errors;
|
|
26905
27672
|
if (typeof data1 !== "string") {
|
|
26906
|
-
|
|
27673
|
+
validate331.errors = [{
|
|
26907
27674
|
instancePath: instancePath + "/event",
|
|
26908
27675
|
schemaPath: "#/properties/event/type",
|
|
26909
27676
|
keyword: "type",
|
|
@@ -26913,7 +27680,7 @@ function validate319(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26913
27680
|
return false;
|
|
26914
27681
|
}
|
|
26915
27682
|
if ("notification" !== data1) {
|
|
26916
|
-
|
|
27683
|
+
validate331.errors = [{
|
|
26917
27684
|
instancePath: instancePath + "/event",
|
|
26918
27685
|
schemaPath: "#/properties/event/const",
|
|
26919
27686
|
keyword: "const",
|
|
@@ -26928,7 +27695,7 @@ function validate319(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26928
27695
|
if (data.log !== void 0) {
|
|
26929
27696
|
const _errs4 = errors;
|
|
26930
27697
|
if (typeof data.log !== "string") {
|
|
26931
|
-
|
|
27698
|
+
validate331.errors = [{
|
|
26932
27699
|
instancePath: instancePath + "/log",
|
|
26933
27700
|
schemaPath: "#/properties/log/type",
|
|
26934
27701
|
keyword: "type",
|
|
@@ -26943,7 +27710,7 @@ function validate319(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26943
27710
|
}
|
|
26944
27711
|
}
|
|
26945
27712
|
} else {
|
|
26946
|
-
|
|
27713
|
+
validate331.errors = [{
|
|
26947
27714
|
instancePath,
|
|
26948
27715
|
schemaPath: "#/type",
|
|
26949
27716
|
keyword: "type",
|
|
@@ -26953,7 +27720,7 @@ function validate319(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
26953
27720
|
return false;
|
|
26954
27721
|
}
|
|
26955
27722
|
}
|
|
26956
|
-
|
|
27723
|
+
validate331.errors = vErrors;
|
|
26957
27724
|
return errors === 0;
|
|
26958
27725
|
}
|
|
26959
27726
|
const eventNames = [
|