@nxtedition/types 23.1.0 → 23.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/settings.d.ts +18 -0
- package/dist/nxtpression.d.ts +44 -10
- package/dist/records/domains/media.d.ts +6 -0
- package/dist/records/domains/publish/facebook.d.ts +1 -2
- package/dist/records/exact/media.d.ts +2 -0
- package/dist/records/exact/monitor.d.ts +14 -8
- package/dist/records/validate/assert-guard.js +548 -377
- package/dist/records/validate/assert.js +549 -377
- package/dist/records/validate/is.js +22 -21
- package/dist/records/validate/schemas.js +172 -62
- package/dist/records/validate/stringify.js +46 -35
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +705 -486
- package/dist/records/validate/validate.js +519 -367
- package/package.json +1 -1
|
@@ -1230,19 +1230,7 @@ function _schemaExactRecord(name) {
|
|
|
1230
1230
|
messages: {
|
|
1231
1231
|
type: "array",
|
|
1232
1232
|
items: {
|
|
1233
|
-
|
|
1234
|
-
properties: {
|
|
1235
|
-
msg: {
|
|
1236
|
-
type: "string"
|
|
1237
|
-
},
|
|
1238
|
-
level: {
|
|
1239
|
-
type: "number"
|
|
1240
|
-
}
|
|
1241
|
-
},
|
|
1242
|
-
required: [
|
|
1243
|
-
"msg",
|
|
1244
|
-
"level"
|
|
1245
|
-
]
|
|
1233
|
+
$ref: "#/components/schemas/NxtStatusMessage"
|
|
1246
1234
|
}
|
|
1247
1235
|
}
|
|
1248
1236
|
},
|
|
@@ -1252,6 +1240,53 @@ function _schemaExactRecord(name) {
|
|
|
1252
1240
|
"messages"
|
|
1253
1241
|
]
|
|
1254
1242
|
},
|
|
1243
|
+
NxtStatusMessage: {
|
|
1244
|
+
type: "object",
|
|
1245
|
+
properties: {
|
|
1246
|
+
id: {
|
|
1247
|
+
type: "string"
|
|
1248
|
+
},
|
|
1249
|
+
msg: {
|
|
1250
|
+
type: "string"
|
|
1251
|
+
},
|
|
1252
|
+
level: {
|
|
1253
|
+
type: "number"
|
|
1254
|
+
},
|
|
1255
|
+
ignored: {
|
|
1256
|
+
type: "boolean"
|
|
1257
|
+
},
|
|
1258
|
+
title: {
|
|
1259
|
+
type: "string"
|
|
1260
|
+
},
|
|
1261
|
+
url: {
|
|
1262
|
+
oneOf: [
|
|
1263
|
+
{
|
|
1264
|
+
type: "string"
|
|
1265
|
+
},
|
|
1266
|
+
{
|
|
1267
|
+
type: "object",
|
|
1268
|
+
properties: {
|
|
1269
|
+
title: {
|
|
1270
|
+
type: "string"
|
|
1271
|
+
},
|
|
1272
|
+
url: {
|
|
1273
|
+
type: "string"
|
|
1274
|
+
}
|
|
1275
|
+
},
|
|
1276
|
+
required: [
|
|
1277
|
+
"title",
|
|
1278
|
+
"url"
|
|
1279
|
+
]
|
|
1280
|
+
}
|
|
1281
|
+
]
|
|
1282
|
+
}
|
|
1283
|
+
},
|
|
1284
|
+
required: [
|
|
1285
|
+
"id",
|
|
1286
|
+
"msg",
|
|
1287
|
+
"level"
|
|
1288
|
+
]
|
|
1289
|
+
},
|
|
1255
1290
|
NxtStatusService: {
|
|
1256
1291
|
type: "object",
|
|
1257
1292
|
properties: {
|
|
@@ -1267,6 +1302,9 @@ function _schemaExactRecord(name) {
|
|
|
1267
1302
|
total: {
|
|
1268
1303
|
type: "number"
|
|
1269
1304
|
},
|
|
1305
|
+
ignored: {
|
|
1306
|
+
type: "boolean"
|
|
1307
|
+
},
|
|
1270
1308
|
tasks: {
|
|
1271
1309
|
type: "array",
|
|
1272
1310
|
items: {
|
|
@@ -1290,19 +1328,7 @@ function _schemaExactRecord(name) {
|
|
|
1290
1328
|
messages: {
|
|
1291
1329
|
type: "array",
|
|
1292
1330
|
items: {
|
|
1293
|
-
|
|
1294
|
-
properties: {
|
|
1295
|
-
msg: {
|
|
1296
|
-
type: "string"
|
|
1297
|
-
},
|
|
1298
|
-
level: {
|
|
1299
|
-
type: "number"
|
|
1300
|
-
}
|
|
1301
|
-
},
|
|
1302
|
-
required: [
|
|
1303
|
-
"msg",
|
|
1304
|
-
"level"
|
|
1305
|
-
]
|
|
1331
|
+
$ref: "#/components/schemas/NxtStatusMessage"
|
|
1306
1332
|
}
|
|
1307
1333
|
}
|
|
1308
1334
|
},
|
|
@@ -1323,19 +1349,7 @@ function _schemaExactRecord(name) {
|
|
|
1323
1349
|
messages: {
|
|
1324
1350
|
type: "array",
|
|
1325
1351
|
items: {
|
|
1326
|
-
|
|
1327
|
-
properties: {
|
|
1328
|
-
msg: {
|
|
1329
|
-
type: "string"
|
|
1330
|
-
},
|
|
1331
|
-
level: {
|
|
1332
|
-
type: "number"
|
|
1333
|
-
}
|
|
1334
|
-
},
|
|
1335
|
-
required: [
|
|
1336
|
-
"msg",
|
|
1337
|
-
"level"
|
|
1338
|
-
]
|
|
1352
|
+
$ref: "#/components/schemas/NxtStatusMessage"
|
|
1339
1353
|
}
|
|
1340
1354
|
}
|
|
1341
1355
|
},
|
|
@@ -1360,6 +1374,9 @@ function _schemaExactRecord(name) {
|
|
|
1360
1374
|
MediaSubtitlesRecord: {
|
|
1361
1375
|
type: "object",
|
|
1362
1376
|
properties: {
|
|
1377
|
+
defaultLanguage: {
|
|
1378
|
+
type: "string"
|
|
1379
|
+
},
|
|
1363
1380
|
languages: {
|
|
1364
1381
|
$ref: "#/components/schemas/Recordstringstring"
|
|
1365
1382
|
},
|
|
@@ -1430,6 +1447,9 @@ function _schemaExactRecord(name) {
|
|
|
1430
1447
|
MediaSubtitlesProvidedRecord: {
|
|
1431
1448
|
type: "object",
|
|
1432
1449
|
properties: {
|
|
1450
|
+
defaultLanguage: {
|
|
1451
|
+
type: "string"
|
|
1452
|
+
},
|
|
1433
1453
|
languages: {
|
|
1434
1454
|
$ref: "#/components/schemas/Recordstringstring"
|
|
1435
1455
|
},
|
|
@@ -8474,6 +8494,49 @@ function _schemaDomainRecord(domain) {
|
|
|
8474
8494
|
}
|
|
8475
8495
|
};
|
|
8476
8496
|
}
|
|
8497
|
+
case ":media.consolidate?": {
|
|
8498
|
+
return {
|
|
8499
|
+
version: "3.1",
|
|
8500
|
+
components: {
|
|
8501
|
+
schemas: {
|
|
8502
|
+
MediaDomainConsolidateRecordProvided: {
|
|
8503
|
+
type: "object",
|
|
8504
|
+
properties: {
|
|
8505
|
+
status: {
|
|
8506
|
+
oneOf: [
|
|
8507
|
+
{
|
|
8508
|
+
"const": "completed"
|
|
8509
|
+
},
|
|
8510
|
+
{
|
|
8511
|
+
"const": "error"
|
|
8512
|
+
},
|
|
8513
|
+
{
|
|
8514
|
+
"const": "idle"
|
|
8515
|
+
},
|
|
8516
|
+
{
|
|
8517
|
+
"const": "pending"
|
|
8518
|
+
},
|
|
8519
|
+
{
|
|
8520
|
+
"const": "source_mismatch"
|
|
8521
|
+
}
|
|
8522
|
+
]
|
|
8523
|
+
},
|
|
8524
|
+
progress: {
|
|
8525
|
+
type: "number"
|
|
8526
|
+
},
|
|
8527
|
+
error: {}
|
|
8528
|
+
},
|
|
8529
|
+
required: [
|
|
8530
|
+
"status"
|
|
8531
|
+
]
|
|
8532
|
+
}
|
|
8533
|
+
}
|
|
8534
|
+
},
|
|
8535
|
+
schema: {
|
|
8536
|
+
$ref: "#/components/schemas/MediaDomainConsolidateRecordProvided"
|
|
8537
|
+
}
|
|
8538
|
+
};
|
|
8539
|
+
}
|
|
8477
8540
|
case ":media.renders?": {
|
|
8478
8541
|
return {
|
|
8479
8542
|
version: "3.1",
|
|
@@ -11962,26 +12025,6 @@ function _schemaDomainRecord(domain) {
|
|
|
11962
12025
|
],
|
|
11963
12026
|
description: "render preset + overrides"
|
|
11964
12027
|
},
|
|
11965
|
-
FacebookPublishStatsRecord: {
|
|
11966
|
-
type: "object",
|
|
11967
|
-
properties: {
|
|
11968
|
-
status: {
|
|
11969
|
-
type: "string"
|
|
11970
|
-
},
|
|
11971
|
-
substatus: {
|
|
11972
|
-
type: "string"
|
|
11973
|
-
},
|
|
11974
|
-
messages: {
|
|
11975
|
-
type: "array",
|
|
11976
|
-
items: {
|
|
11977
|
-
$ref: "#/components/schemas/Message"
|
|
11978
|
-
}
|
|
11979
|
-
},
|
|
11980
|
-
retrieved: {},
|
|
11981
|
-
defaults: {}
|
|
11982
|
-
},
|
|
11983
|
-
required: []
|
|
11984
|
-
},
|
|
11985
12028
|
PublishStatsRecordBase: {
|
|
11986
12029
|
type: "object",
|
|
11987
12030
|
properties: {
|
|
@@ -12009,9 +12052,6 @@ function _schemaDomainRecord(domain) {
|
|
|
12009
12052
|
{
|
|
12010
12053
|
$ref: "#/components/schemas/FilePublishStatsRecord"
|
|
12011
12054
|
},
|
|
12012
|
-
{
|
|
12013
|
-
$ref: "#/components/schemas/FacebookPublishStatsRecord"
|
|
12014
|
-
},
|
|
12015
12055
|
{
|
|
12016
12056
|
$ref: "#/components/schemas/PublishStatsRecordBase"
|
|
12017
12057
|
}
|
|
@@ -15498,6 +15538,18 @@ function _schemaDomainRecord(domain) {
|
|
|
15498
15538
|
}
|
|
15499
15539
|
]
|
|
15500
15540
|
},
|
|
15541
|
+
audioMapping: {
|
|
15542
|
+
type: "object",
|
|
15543
|
+
properties: {
|
|
15544
|
+
presets: {
|
|
15545
|
+
type: "array",
|
|
15546
|
+
items: {
|
|
15547
|
+
$ref: "#/components/schemas/AudioMappingPreset"
|
|
15548
|
+
}
|
|
15549
|
+
}
|
|
15550
|
+
},
|
|
15551
|
+
required: []
|
|
15552
|
+
},
|
|
15501
15553
|
normalize: {
|
|
15502
15554
|
type: "object",
|
|
15503
15555
|
properties: {
|
|
@@ -15837,6 +15889,9 @@ function _schemaDomainRecord(domain) {
|
|
|
15837
15889
|
},
|
|
15838
15890
|
systemHealth: {
|
|
15839
15891
|
type: "boolean"
|
|
15892
|
+
},
|
|
15893
|
+
systemHealthIgnore: {
|
|
15894
|
+
type: "boolean"
|
|
15840
15895
|
}
|
|
15841
15896
|
},
|
|
15842
15897
|
required: []
|
|
@@ -15968,6 +16023,19 @@ function _schemaDomainRecord(domain) {
|
|
|
15968
16023
|
}
|
|
15969
16024
|
},
|
|
15970
16025
|
required: []
|
|
16026
|
+
},
|
|
16027
|
+
performance: {
|
|
16028
|
+
type: "object",
|
|
16029
|
+
properties: {
|
|
16030
|
+
ignoredMessages: {
|
|
16031
|
+
type: "array",
|
|
16032
|
+
items: {
|
|
16033
|
+
type: "string"
|
|
16034
|
+
},
|
|
16035
|
+
description: "List of message identifiers to ignore in overall health aggregation (format: \"serviceName:messageText\")"
|
|
16036
|
+
}
|
|
16037
|
+
},
|
|
16038
|
+
required: []
|
|
15971
16039
|
}
|
|
15972
16040
|
},
|
|
15973
16041
|
required: []
|
|
@@ -16126,6 +16194,48 @@ function _schemaDomainRecord(domain) {
|
|
|
16126
16194
|
},
|
|
16127
16195
|
required: []
|
|
16128
16196
|
},
|
|
16197
|
+
AudioMappingPreset: {
|
|
16198
|
+
type: "object",
|
|
16199
|
+
properties: {
|
|
16200
|
+
id: {
|
|
16201
|
+
type: "string"
|
|
16202
|
+
},
|
|
16203
|
+
title: {
|
|
16204
|
+
type: "string"
|
|
16205
|
+
},
|
|
16206
|
+
mapping: {
|
|
16207
|
+
type: "array",
|
|
16208
|
+
items: {
|
|
16209
|
+
type: "array",
|
|
16210
|
+
items: {
|
|
16211
|
+
type: "number"
|
|
16212
|
+
}
|
|
16213
|
+
}
|
|
16214
|
+
},
|
|
16215
|
+
mute: {
|
|
16216
|
+
type: "array",
|
|
16217
|
+
items: {
|
|
16218
|
+
type: "boolean"
|
|
16219
|
+
}
|
|
16220
|
+
},
|
|
16221
|
+
minInChannels: {
|
|
16222
|
+
type: "number"
|
|
16223
|
+
},
|
|
16224
|
+
maxInChannels: {
|
|
16225
|
+
type: "number"
|
|
16226
|
+
},
|
|
16227
|
+
minOutChannels: {
|
|
16228
|
+
type: "number"
|
|
16229
|
+
},
|
|
16230
|
+
maxOutChannels: {
|
|
16231
|
+
type: "number"
|
|
16232
|
+
}
|
|
16233
|
+
},
|
|
16234
|
+
required: [
|
|
16235
|
+
"id",
|
|
16236
|
+
"title"
|
|
16237
|
+
]
|
|
16238
|
+
},
|
|
16129
16239
|
NotificationReason: {
|
|
16130
16240
|
oneOf: [
|
|
16131
16241
|
{
|