@nxtedition/types 23.1.9 → 23.1.10
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 +9 -0
- package/dist/nxtpression.d.ts +71 -1
- package/dist/records/domains/event.d.ts +22 -0
- package/dist/records/domains/index.d.ts +3 -1
- package/dist/records/domains/index.js +1 -0
- package/dist/records/domains/media.d.ts +4 -0
- package/dist/records/domains/monitor.d.ts +13 -0
- package/dist/records/domains/story.d.ts +14 -0
- package/dist/records/domains/story.js +1 -0
- package/dist/records/validate/assert-guard.js +405 -38
- package/dist/records/validate/assert.js +409 -38
- package/dist/records/validate/is.js +29 -7
- package/dist/records/validate/schemas.js +307 -11
- package/dist/records/validate/stringify.js +34 -10
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +634 -44
- package/dist/records/validate/validate.js +398 -38
- package/dist/rpc.d.ts +1 -1
- package/dist/rpc.js +3 -3
- package/package.json +2 -2
|
@@ -1737,20 +1737,20 @@ function _schemaExactRecord(name) {
|
|
|
1737
1737
|
weight: {
|
|
1738
1738
|
oneOf: [
|
|
1739
1739
|
{
|
|
1740
|
-
"const": "
|
|
1740
|
+
"const": "normal"
|
|
1741
1741
|
},
|
|
1742
1742
|
{
|
|
1743
|
-
"const": "
|
|
1743
|
+
"const": "bold"
|
|
1744
1744
|
}
|
|
1745
1745
|
]
|
|
1746
1746
|
},
|
|
1747
1747
|
style: {
|
|
1748
1748
|
oneOf: [
|
|
1749
1749
|
{
|
|
1750
|
-
"const": "
|
|
1750
|
+
"const": "normal"
|
|
1751
1751
|
},
|
|
1752
1752
|
{
|
|
1753
|
-
"const": "
|
|
1753
|
+
"const": "italic"
|
|
1754
1754
|
}
|
|
1755
1755
|
]
|
|
1756
1756
|
}
|
|
@@ -1810,20 +1810,20 @@ function _schemaExactRecord(name) {
|
|
|
1810
1810
|
weight: {
|
|
1811
1811
|
oneOf: [
|
|
1812
1812
|
{
|
|
1813
|
-
"const": "
|
|
1813
|
+
"const": "normal"
|
|
1814
1814
|
},
|
|
1815
1815
|
{
|
|
1816
|
-
"const": "
|
|
1816
|
+
"const": "bold"
|
|
1817
1817
|
}
|
|
1818
1818
|
]
|
|
1819
1819
|
},
|
|
1820
1820
|
style: {
|
|
1821
1821
|
oneOf: [
|
|
1822
1822
|
{
|
|
1823
|
-
"const": "
|
|
1823
|
+
"const": "normal"
|
|
1824
1824
|
},
|
|
1825
1825
|
{
|
|
1826
|
-
"const": "
|
|
1826
|
+
"const": "italic"
|
|
1827
1827
|
}
|
|
1828
1828
|
]
|
|
1829
1829
|
}
|
|
@@ -2315,10 +2315,10 @@ function _schemaExactRecord(name) {
|
|
|
2315
2315
|
style: {
|
|
2316
2316
|
oneOf: [
|
|
2317
2317
|
{
|
|
2318
|
-
"const": "
|
|
2318
|
+
"const": "normal"
|
|
2319
2319
|
},
|
|
2320
2320
|
{
|
|
2321
|
-
"const": "
|
|
2321
|
+
"const": "italic"
|
|
2322
2322
|
}
|
|
2323
2323
|
]
|
|
2324
2324
|
},
|
|
@@ -8405,6 +8405,118 @@ function _schemaDomainRecord(domain) {
|
|
|
8405
8405
|
}
|
|
8406
8406
|
};
|
|
8407
8407
|
}
|
|
8408
|
+
case ":event.status?": {
|
|
8409
|
+
return {
|
|
8410
|
+
version: "3.1",
|
|
8411
|
+
components: {
|
|
8412
|
+
schemas: {
|
|
8413
|
+
EventStatusRecord: {
|
|
8414
|
+
type: "object",
|
|
8415
|
+
properties: {
|
|
8416
|
+
messages: {
|
|
8417
|
+
type: "array",
|
|
8418
|
+
items: {
|
|
8419
|
+
type: "object",
|
|
8420
|
+
properties: {
|
|
8421
|
+
id: {
|
|
8422
|
+
type: "string"
|
|
8423
|
+
},
|
|
8424
|
+
msg: {
|
|
8425
|
+
type: "string"
|
|
8426
|
+
},
|
|
8427
|
+
level: {
|
|
8428
|
+
type: "number"
|
|
8429
|
+
},
|
|
8430
|
+
code: {
|
|
8431
|
+
type: "string"
|
|
8432
|
+
},
|
|
8433
|
+
expose: {
|
|
8434
|
+
oneOf: [
|
|
8435
|
+
{
|
|
8436
|
+
type: "null"
|
|
8437
|
+
},
|
|
8438
|
+
{
|
|
8439
|
+
type: "boolean"
|
|
8440
|
+
}
|
|
8441
|
+
]
|
|
8442
|
+
},
|
|
8443
|
+
index: {
|
|
8444
|
+
oneOf: [
|
|
8445
|
+
{
|
|
8446
|
+
type: "null"
|
|
8447
|
+
},
|
|
8448
|
+
{
|
|
8449
|
+
type: "number"
|
|
8450
|
+
}
|
|
8451
|
+
]
|
|
8452
|
+
},
|
|
8453
|
+
data: {
|
|
8454
|
+
type: "object",
|
|
8455
|
+
properties: {
|
|
8456
|
+
progress: {
|
|
8457
|
+
oneOf: [
|
|
8458
|
+
{
|
|
8459
|
+
type: "null"
|
|
8460
|
+
},
|
|
8461
|
+
{
|
|
8462
|
+
type: "number"
|
|
8463
|
+
}
|
|
8464
|
+
]
|
|
8465
|
+
}
|
|
8466
|
+
},
|
|
8467
|
+
required: []
|
|
8468
|
+
}
|
|
8469
|
+
},
|
|
8470
|
+
required: [
|
|
8471
|
+
"id",
|
|
8472
|
+
"msg",
|
|
8473
|
+
"level"
|
|
8474
|
+
]
|
|
8475
|
+
}
|
|
8476
|
+
}
|
|
8477
|
+
},
|
|
8478
|
+
required: []
|
|
8479
|
+
}
|
|
8480
|
+
}
|
|
8481
|
+
},
|
|
8482
|
+
schema: {
|
|
8483
|
+
$ref: "#/components/schemas/EventStatusRecord"
|
|
8484
|
+
}
|
|
8485
|
+
};
|
|
8486
|
+
}
|
|
8487
|
+
case ":event.schedule?": {
|
|
8488
|
+
return {
|
|
8489
|
+
version: "3.1",
|
|
8490
|
+
components: {
|
|
8491
|
+
schemas: {
|
|
8492
|
+
EventScheduleRecord: {
|
|
8493
|
+
type: "object",
|
|
8494
|
+
properties: {
|
|
8495
|
+
startTime: {
|
|
8496
|
+
type: "number"
|
|
8497
|
+
},
|
|
8498
|
+
transition: {
|
|
8499
|
+
type: "boolean"
|
|
8500
|
+
},
|
|
8501
|
+
transitionTime: {
|
|
8502
|
+
type: "number"
|
|
8503
|
+
},
|
|
8504
|
+
transitionDuration: {
|
|
8505
|
+
type: "number"
|
|
8506
|
+
},
|
|
8507
|
+
endTime: {
|
|
8508
|
+
type: "number"
|
|
8509
|
+
}
|
|
8510
|
+
},
|
|
8511
|
+
required: []
|
|
8512
|
+
}
|
|
8513
|
+
}
|
|
8514
|
+
},
|
|
8515
|
+
schema: {
|
|
8516
|
+
$ref: "#/components/schemas/EventScheduleRecord"
|
|
8517
|
+
}
|
|
8518
|
+
};
|
|
8519
|
+
}
|
|
8408
8520
|
case ":event.readDuration?": {
|
|
8409
8521
|
return {
|
|
8410
8522
|
version: "3.1",
|
|
@@ -9998,6 +10110,29 @@ function _schemaDomainRecord(domain) {
|
|
|
9998
10110
|
}
|
|
9999
10111
|
};
|
|
10000
10112
|
}
|
|
10113
|
+
case ":media.placeholder": {
|
|
10114
|
+
return {
|
|
10115
|
+
version: "3.1",
|
|
10116
|
+
components: {
|
|
10117
|
+
schemas: {
|
|
10118
|
+
MediaPlaceholderRecord: {
|
|
10119
|
+
type: "object",
|
|
10120
|
+
properties: {
|
|
10121
|
+
asset: {
|
|
10122
|
+
type: "string"
|
|
10123
|
+
}
|
|
10124
|
+
},
|
|
10125
|
+
required: [
|
|
10126
|
+
"asset"
|
|
10127
|
+
]
|
|
10128
|
+
}
|
|
10129
|
+
}
|
|
10130
|
+
},
|
|
10131
|
+
schema: {
|
|
10132
|
+
$ref: "#/components/schemas/MediaPlaceholderRecord"
|
|
10133
|
+
}
|
|
10134
|
+
};
|
|
10135
|
+
}
|
|
10001
10136
|
case ":media.consolidate": {
|
|
10002
10137
|
return {
|
|
10003
10138
|
version: "3.1",
|
|
@@ -11254,6 +11389,9 @@ function _schemaDomainRecord(domain) {
|
|
|
11254
11389
|
"available",
|
|
11255
11390
|
"timestamp"
|
|
11256
11391
|
]
|
|
11392
|
+
},
|
|
11393
|
+
hostBridge: {
|
|
11394
|
+
$ref: "#/components/schemas/MonitorStatsHostBridge"
|
|
11257
11395
|
}
|
|
11258
11396
|
},
|
|
11259
11397
|
required: [
|
|
@@ -11262,7 +11400,8 @@ function _schemaDomainRecord(domain) {
|
|
|
11262
11400
|
"buddyinfo",
|
|
11263
11401
|
"meminfo",
|
|
11264
11402
|
"net",
|
|
11265
|
-
"var"
|
|
11403
|
+
"var",
|
|
11404
|
+
"hostBridge"
|
|
11266
11405
|
]
|
|
11267
11406
|
},
|
|
11268
11407
|
MonitorStatsProcInfo: {
|
|
@@ -11823,6 +11962,64 @@ function _schemaDomainRecord(domain) {
|
|
|
11823
11962
|
"name"
|
|
11824
11963
|
],
|
|
11825
11964
|
additionalProperties: {}
|
|
11965
|
+
},
|
|
11966
|
+
MonitorStatsHostBridge: {
|
|
11967
|
+
type: "object",
|
|
11968
|
+
properties: {
|
|
11969
|
+
types: {
|
|
11970
|
+
$ref: "#/components/schemas/Recordstringstring"
|
|
11971
|
+
},
|
|
11972
|
+
messages: {
|
|
11973
|
+
type: "array",
|
|
11974
|
+
items: {
|
|
11975
|
+
$ref: "#/components/schemas/MonitorStatsHostBridgeMessage"
|
|
11976
|
+
}
|
|
11977
|
+
},
|
|
11978
|
+
timestamp: {
|
|
11979
|
+
type: "number"
|
|
11980
|
+
}
|
|
11981
|
+
},
|
|
11982
|
+
required: [
|
|
11983
|
+
"types",
|
|
11984
|
+
"messages",
|
|
11985
|
+
"timestamp"
|
|
11986
|
+
]
|
|
11987
|
+
},
|
|
11988
|
+
Recordstringstring: {
|
|
11989
|
+
type: "object",
|
|
11990
|
+
properties: {},
|
|
11991
|
+
required: [],
|
|
11992
|
+
description: "Construct a type with a set of properties K of type T",
|
|
11993
|
+
additionalProperties: {
|
|
11994
|
+
type: "string"
|
|
11995
|
+
}
|
|
11996
|
+
},
|
|
11997
|
+
MonitorStatsHostBridgeMessage: {
|
|
11998
|
+
type: "object",
|
|
11999
|
+
properties: {
|
|
12000
|
+
type: {
|
|
12001
|
+
type: "string"
|
|
12002
|
+
},
|
|
12003
|
+
id: {
|
|
12004
|
+
type: "string"
|
|
12005
|
+
},
|
|
12006
|
+
level: {
|
|
12007
|
+
type: "number"
|
|
12008
|
+
},
|
|
12009
|
+
title: {
|
|
12010
|
+
type: "string"
|
|
12011
|
+
},
|
|
12012
|
+
msg: {
|
|
12013
|
+
type: "string"
|
|
12014
|
+
}
|
|
12015
|
+
},
|
|
12016
|
+
required: [
|
|
12017
|
+
"type",
|
|
12018
|
+
"id",
|
|
12019
|
+
"level",
|
|
12020
|
+
"title",
|
|
12021
|
+
"msg"
|
|
12022
|
+
]
|
|
11826
12023
|
}
|
|
11827
12024
|
}
|
|
11828
12025
|
},
|
|
@@ -20069,6 +20266,47 @@ function _schemaDomainRecord(domain) {
|
|
|
20069
20266
|
"const": "unfoldedUntilFolded"
|
|
20070
20267
|
}
|
|
20071
20268
|
]
|
|
20269
|
+
},
|
|
20270
|
+
stickyHeaders: {
|
|
20271
|
+
type: "boolean"
|
|
20272
|
+
},
|
|
20273
|
+
triggersColumn: {
|
|
20274
|
+
oneOf: [
|
|
20275
|
+
{
|
|
20276
|
+
"const": "title"
|
|
20277
|
+
},
|
|
20278
|
+
{
|
|
20279
|
+
"const": "triggers"
|
|
20280
|
+
}
|
|
20281
|
+
]
|
|
20282
|
+
},
|
|
20283
|
+
density: {
|
|
20284
|
+
oneOf: [
|
|
20285
|
+
{
|
|
20286
|
+
"const": "normal"
|
|
20287
|
+
},
|
|
20288
|
+
{
|
|
20289
|
+
"const": "compact"
|
|
20290
|
+
},
|
|
20291
|
+
{
|
|
20292
|
+
"const": "spacious"
|
|
20293
|
+
}
|
|
20294
|
+
]
|
|
20295
|
+
},
|
|
20296
|
+
showEvents: {
|
|
20297
|
+
type: "boolean"
|
|
20298
|
+
},
|
|
20299
|
+
showTriggers: {
|
|
20300
|
+
type: "boolean"
|
|
20301
|
+
},
|
|
20302
|
+
showReferenceDuration: {
|
|
20303
|
+
type: "boolean"
|
|
20304
|
+
},
|
|
20305
|
+
showSettingsColumn: {
|
|
20306
|
+
type: "boolean"
|
|
20307
|
+
},
|
|
20308
|
+
thumbnailColumnWidth: {
|
|
20309
|
+
type: "number"
|
|
20072
20310
|
}
|
|
20073
20311
|
},
|
|
20074
20312
|
required: [
|
|
@@ -21042,6 +21280,9 @@ function _schemaDomainRecord(domain) {
|
|
|
21042
21280
|
},
|
|
21043
21281
|
systemHealthIgnore: {
|
|
21044
21282
|
type: "boolean"
|
|
21283
|
+
},
|
|
21284
|
+
systemHealthDebugLevel: {
|
|
21285
|
+
type: "boolean"
|
|
21045
21286
|
}
|
|
21046
21287
|
},
|
|
21047
21288
|
required: []
|
|
@@ -22339,6 +22580,61 @@ function _schemaDomainRecord(domain) {
|
|
|
22339
22580
|
}
|
|
22340
22581
|
};
|
|
22341
22582
|
}
|
|
22583
|
+
case ":story.editor": {
|
|
22584
|
+
return {
|
|
22585
|
+
version: "3.1",
|
|
22586
|
+
components: {
|
|
22587
|
+
schemas: {
|
|
22588
|
+
StoryDomainEditorRecord: {
|
|
22589
|
+
type: "object",
|
|
22590
|
+
properties: {
|
|
22591
|
+
value: {
|
|
22592
|
+
type: "object",
|
|
22593
|
+
properties: {
|
|
22594
|
+
object: {
|
|
22595
|
+
type: "string"
|
|
22596
|
+
},
|
|
22597
|
+
document: {
|
|
22598
|
+
$ref: "#/components/schemas/StoryDomainEditorRecordNode"
|
|
22599
|
+
}
|
|
22600
|
+
},
|
|
22601
|
+
required: []
|
|
22602
|
+
}
|
|
22603
|
+
},
|
|
22604
|
+
required: []
|
|
22605
|
+
},
|
|
22606
|
+
StoryDomainEditorRecordNode: {
|
|
22607
|
+
type: "object",
|
|
22608
|
+
properties: {
|
|
22609
|
+
type: {
|
|
22610
|
+
type: "string"
|
|
22611
|
+
},
|
|
22612
|
+
data: {
|
|
22613
|
+
$ref: "#/components/schemas/Recordstringunknown"
|
|
22614
|
+
},
|
|
22615
|
+
nodes: {
|
|
22616
|
+
type: "array",
|
|
22617
|
+
items: {
|
|
22618
|
+
$ref: "#/components/schemas/StoryDomainEditorRecordNode"
|
|
22619
|
+
}
|
|
22620
|
+
}
|
|
22621
|
+
},
|
|
22622
|
+
required: []
|
|
22623
|
+
},
|
|
22624
|
+
Recordstringunknown: {
|
|
22625
|
+
type: "object",
|
|
22626
|
+
properties: {},
|
|
22627
|
+
required: [],
|
|
22628
|
+
description: "Construct a type with a set of properties K of type T",
|
|
22629
|
+
additionalProperties: {}
|
|
22630
|
+
}
|
|
22631
|
+
}
|
|
22632
|
+
},
|
|
22633
|
+
schema: {
|
|
22634
|
+
$ref: "#/components/schemas/StoryDomainEditorRecord"
|
|
22635
|
+
}
|
|
22636
|
+
};
|
|
22637
|
+
}
|
|
22342
22638
|
case ":storyboard": {
|
|
22343
22639
|
return {
|
|
22344
22640
|
version: "3.1",
|