@nxtedition/types 23.1.3 → 23.1.5

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.
Files changed (39) hide show
  1. package/dist/common/block.d.ts +1 -0
  2. package/dist/common/block.js +31 -13
  3. package/dist/common/file.js +9 -8
  4. package/dist/common/index.d.ts +2 -0
  5. package/dist/common/index.js +2 -0
  6. package/dist/common/json-schema.d.ts +95 -0
  7. package/dist/common/json-schema.js +1 -0
  8. package/dist/common/location.js +1 -1
  9. package/dist/common/nxtpression.d.ts +1 -1
  10. package/dist/common/print.d.ts +30 -0
  11. package/dist/common/print.js +1 -0
  12. package/dist/common/render-scene.d.ts +1 -0
  13. package/dist/common/rule.js +2 -2
  14. package/dist/common/settings.d.ts +11 -2
  15. package/dist/nxtpression.d.ts +451 -205
  16. package/dist/records/domains/connection/file/smb.d.ts +2 -0
  17. package/dist/records/domains/event.d.ts +20 -0
  18. package/dist/records/domains/gallery.d.ts +8 -0
  19. package/dist/records/domains/gallery.js +1 -0
  20. package/dist/records/domains/index.d.ts +5 -1
  21. package/dist/records/domains/index.js +2 -0
  22. package/dist/records/domains/role.d.ts +8 -0
  23. package/dist/records/domains/storage.d.ts +87 -0
  24. package/dist/records/domains/storage.js +1 -0
  25. package/dist/records/domains/template.d.ts +32 -0
  26. package/dist/records/exact/index.d.ts +6 -0
  27. package/dist/records/exact/monitor.d.ts +1 -0
  28. package/dist/records/validate/assert-guard.js +1641 -454
  29. package/dist/records/validate/assert.js +1645 -448
  30. package/dist/records/validate/is.js +92 -26
  31. package/dist/records/validate/schemas.d.ts +3 -10
  32. package/dist/records/validate/schemas.js +1336 -254
  33. package/dist/records/validate/stringify.js +348 -253
  34. package/dist/records/validate/utils.js +2 -2
  35. package/dist/records/validate/validate-equals.js +2245 -481
  36. package/dist/records/validate/validate.js +1549 -429
  37. package/dist/rpc.js +2 -2
  38. package/dist/tsdoc-metadata.json +1 -1
  39. package/package.json +13 -14
@@ -1,9 +1,10 @@
1
1
  import { parseRecordName } from "./utils.js";
2
2
  import typia from 'typia';
3
- export function getSchemaByRecordName(name) {
3
+ export function getJsonSchemaByRecordName(name) {
4
4
  const parsed = parseRecordName(name);
5
+ let unit;
5
6
  if (parsed.type === "domain-rows") {
6
- return {
7
+ unit = {
7
8
  version: "3.1",
8
9
  components: {
9
10
  schemas: {
@@ -29,14 +30,26 @@ export function getSchemaByRecordName(name) {
29
30
  };
30
31
  }
31
32
  else if (parsed.type === "domain") {
32
- return _schemaDomainRecord(parsed.domain);
33
+ unit = _schemaDomainRecord(parsed.domain);
33
34
  }
34
35
  else {
35
- return _schemaExactRecord(parsed.exact);
36
+ unit = _schemaExactRecord(parsed.exact);
36
37
  }
38
+ return {
39
+ ...unit.schema,
40
+ components: unit.components,
41
+ // 'satisfies' ensures we're only casting because of the generic type,
42
+ // typias IJsonSchema should be compatible with our JsonSchema type.
43
+ };
37
44
  }
38
- export function getSchemaByDomain(domain) {
39
- return _schemaDomainRecord(domain);
45
+ export function getJsonSchemaByDomain(domain) {
46
+ const unit = _schemaDomainRecord(domain);
47
+ return {
48
+ ...unit.schema,
49
+ components: unit.components,
50
+ // 'satisfies' ensures we're only casting because of the generic type,
51
+ // typias IJsonSchema should be compatible with our JsonSchema type.
52
+ };
40
53
  }
41
54
  // Implemented by the ts-patch transform
42
55
  function _schemaExactRecord(name) {
@@ -370,33 +383,17 @@ function _schemaExactRecord(name) {
370
383
  ],
371
384
  description: "Specifying what type of data will be entered into the field."
372
385
  },
373
- index: {
374
- type: "object",
375
- properties: {
376
- label: {
377
- type: "string",
378
- description: "A string specifying the user-friendly title of the search property. This is what users will see when creating search filters and bookmarks."
379
- },
380
- path: {
381
- type: "string",
382
- description: "A string specifying where to store the data in the search index. Note that this should be a globally unique value in the system. Typically you'd use `{domain}.{path}` and you should prefer English in camel case"
383
- }
384
- },
385
- required: [
386
- "label",
387
- "path"
388
- ],
389
- description: "An object specifying where to index the data. Adding this will effectively make the data searchable."
386
+ items: {
387
+ $ref: "#/components/schemas/BaseSchemaPropertyunknown"
390
388
  },
391
- title: {
392
- type: "string",
393
- description: "User-friendly title of the property. This will be used as the field's label in the UI."
389
+ minItems: {
390
+ type: "number"
394
391
  },
395
- description: {
396
- type: "string"
392
+ maxItems: {
393
+ type: "number"
397
394
  },
398
- placeholder: {
399
- type: "string"
395
+ properties: {
396
+ $ref: "#/components/schemas/RecordstringBaseSchemaPropertyunknown"
400
397
  },
401
398
  required: {
402
399
  type: "boolean",
@@ -418,6 +415,34 @@ function _schemaExactRecord(name) {
418
415
  type: "array",
419
416
  items: {}
420
417
  },
418
+ title: {
419
+ type: "string",
420
+ description: "User-friendly title of the property. This will be used as the field's label in the UI."
421
+ },
422
+ index: {
423
+ type: "object",
424
+ properties: {
425
+ label: {
426
+ type: "string",
427
+ description: "A string specifying the user-friendly title of the search property. This is what users will see when creating search filters and bookmarks."
428
+ },
429
+ path: {
430
+ type: "string",
431
+ description: "A string specifying where to store the data in the search index. Note that this should be a globally unique value in the system. Typically you'd use `{domain}.{path}` and you should prefer English in camel case"
432
+ }
433
+ },
434
+ required: [
435
+ "label",
436
+ "path"
437
+ ],
438
+ description: "An object specifying where to index the data. Adding this will effectively make the data searchable."
439
+ },
440
+ description: {
441
+ type: "string"
442
+ },
443
+ placeholder: {
444
+ type: "string"
445
+ },
421
446
  widget: {
422
447
  oneOf: [
423
448
  {
@@ -435,18 +460,6 @@ function _schemaExactRecord(name) {
435
460
  type: "boolean"
436
461
  },
437
462
  emptyValue: {},
438
- minItems: {
439
- type: "number"
440
- },
441
- maxItems: {
442
- type: "number"
443
- },
444
- items: {
445
- $ref: "#/components/schemas/BaseSchemaPropertyunknown"
446
- },
447
- properties: {
448
- $ref: "#/components/schemas/RecordstringBaseSchemaPropertyunknown"
449
- },
450
463
  computed: {}
451
464
  },
452
465
  required: [
@@ -638,6 +651,40 @@ function _schemaExactRecord(name) {
638
651
  ],
639
652
  description: "Specifying what type of data will be entered into the field."
640
653
  },
654
+ "default": {},
655
+ items: {
656
+ $ref: "#/components/schemas/BaseSchemaPropertyunknown"
657
+ },
658
+ minItems: {
659
+ type: "number"
660
+ },
661
+ maxItems: {
662
+ type: "number"
663
+ },
664
+ properties: {
665
+ $ref: "#/components/schemas/RecordstringBaseSchemaPropertyunknown"
666
+ },
667
+ required: {
668
+ type: "boolean",
669
+ description: "If present, indicates that the user must specify a value for the asset to be treated as valid."
670
+ },
671
+ oneOf: {
672
+ type: "array",
673
+ items: {
674
+ $ref: "#/components/schemas/BaseSchemaPropertyunknown"
675
+ }
676
+ },
677
+ anyOf: {
678
+ type: "array",
679
+ items: {
680
+ $ref: "#/components/schemas/BaseSchemaPropertyunknown"
681
+ }
682
+ },
683
+ "enum": {
684
+ type: "array",
685
+ items: {}
686
+ },
687
+ "const": {},
641
688
  recordName: {
642
689
  oneOf: [
643
690
  {
@@ -699,8 +746,10 @@ function _schemaExactRecord(name) {
699
746
  }
700
747
  ]
701
748
  },
702
- "default": {},
703
- "const": {},
749
+ title: {
750
+ type: "string",
751
+ description: "User-friendly title of the property. This will be used as the field's label in the UI."
752
+ },
704
753
  index: {
705
754
  type: "object",
706
755
  properties: {
@@ -719,36 +768,12 @@ function _schemaExactRecord(name) {
719
768
  ],
720
769
  description: "An object specifying where to index the data. Adding this will effectively make the data searchable."
721
770
  },
722
- title: {
723
- type: "string",
724
- description: "User-friendly title of the property. This will be used as the field's label in the UI."
725
- },
726
771
  description: {
727
772
  type: "string"
728
773
  },
729
774
  placeholder: {
730
775
  type: "string"
731
776
  },
732
- required: {
733
- type: "boolean",
734
- description: "If present, indicates that the user must specify a value for the asset to be treated as valid."
735
- },
736
- oneOf: {
737
- type: "array",
738
- items: {
739
- $ref: "#/components/schemas/BaseSchemaPropertyunknown"
740
- }
741
- },
742
- anyOf: {
743
- type: "array",
744
- items: {
745
- $ref: "#/components/schemas/BaseSchemaPropertyunknown"
746
- }
747
- },
748
- "enum": {
749
- type: "array",
750
- items: {}
751
- },
752
777
  widget: {
753
778
  oneOf: [
754
779
  {
@@ -766,18 +791,6 @@ function _schemaExactRecord(name) {
766
791
  type: "boolean"
767
792
  },
768
793
  emptyValue: {},
769
- minItems: {
770
- type: "number"
771
- },
772
- maxItems: {
773
- type: "number"
774
- },
775
- items: {
776
- $ref: "#/components/schemas/BaseSchemaPropertyunknown"
777
- },
778
- properties: {
779
- $ref: "#/components/schemas/RecordstringBaseSchemaPropertyunknown"
780
- },
781
794
  computed: {}
782
795
  },
783
796
  required: [
@@ -1611,7 +1624,8 @@ function _schemaExactRecord(name) {
1611
1624
  ]
1612
1625
  }
1613
1626
  ]
1614
- }
1627
+ },
1628
+ data: {}
1615
1629
  },
1616
1630
  required: [
1617
1631
  "id",
@@ -2567,6 +2581,9 @@ function _schemaExactRecord(name) {
2567
2581
  properties: {
2568
2582
  "user-notify": {
2569
2583
  type: "boolean"
2584
+ },
2585
+ validate: {
2586
+ type: "boolean"
2570
2587
  }
2571
2588
  },
2572
2589
  required: []
@@ -2612,6 +2629,40 @@ function _schemaExactRecord(name) {
2612
2629
  }
2613
2630
  };
2614
2631
  }
2632
+ case "asset-daemon:validate.state": {
2633
+ return {
2634
+ version: "3.1",
2635
+ components: {
2636
+ schemas: {
2637
+ AssetDaemonValidateStateRecord: {
2638
+ type: "object",
2639
+ properties: {
2640
+ since: {
2641
+ oneOf: [
2642
+ {
2643
+ type: "null"
2644
+ },
2645
+ {
2646
+ "const": 0
2647
+ },
2648
+ {
2649
+ type: "string"
2650
+ }
2651
+ ]
2652
+ },
2653
+ version: {
2654
+ type: "number"
2655
+ }
2656
+ },
2657
+ required: []
2658
+ }
2659
+ }
2660
+ },
2661
+ schema: {
2662
+ $ref: "#/components/schemas/AssetDaemonValidateStateRecord"
2663
+ }
2664
+ };
2665
+ }
2615
2666
  case "deepstream-replicator.stats?": {
2616
2667
  return {
2617
2668
  version: "3.1",
@@ -6539,6 +6590,9 @@ function _schemaDomainRecord(domain) {
6539
6590
  share: {
6540
6591
  type: "string"
6541
6592
  },
6593
+ root: {
6594
+ type: "string"
6595
+ },
6542
6596
  workgroup: {
6543
6597
  type: "string"
6544
6598
  },
@@ -6548,6 +6602,9 @@ function _schemaDomainRecord(domain) {
6548
6602
  password: {
6549
6603
  type: "string"
6550
6604
  },
6605
+ createFolders: {
6606
+ type: "boolean"
6607
+ },
6551
6608
  type: {
6552
6609
  "const": "file"
6553
6610
  },
@@ -7086,6 +7143,9 @@ function _schemaDomainRecord(domain) {
7086
7143
  }
7087
7144
  ]
7088
7145
  },
7146
+ position: {
7147
+ type: "string"
7148
+ },
7089
7149
  text: {
7090
7150
  type: "string"
7091
7151
  },
@@ -7237,6 +7297,9 @@ function _schemaDomainRecord(domain) {
7237
7297
  }
7238
7298
  ]
7239
7299
  },
7300
+ printRundownColor: {
7301
+ type: "string"
7302
+ },
7240
7303
  startTime: {
7241
7304
  type: "number"
7242
7305
  },
@@ -7433,6 +7496,9 @@ function _schemaDomainRecord(domain) {
7433
7496
  }
7434
7497
  ]
7435
7498
  },
7499
+ printRundownColor: {
7500
+ type: "string"
7501
+ },
7436
7502
  startTime: {
7437
7503
  type: "number"
7438
7504
  },
@@ -7501,73 +7567,171 @@ function _schemaDomainRecord(domain) {
7501
7567
  }
7502
7568
  };
7503
7569
  }
7504
- case ":file.replicate": {
7570
+ case ":event.stats?": {
7505
7571
  return {
7506
7572
  version: "3.1",
7507
7573
  components: {
7508
7574
  schemas: {
7509
- FileReplicateRecord: {
7575
+ EventStatsRecord: {
7510
7576
  type: "object",
7511
7577
  properties: {
7512
- replicas: {
7513
- type: "array",
7514
- items: {
7515
- type: "string"
7516
- }
7517
- },
7518
- error: {
7519
- oneOf: [
7520
- {
7521
- type: "null"
7522
- },
7523
- {
7524
- $ref: "#/components/schemas/NxtError"
7525
- }
7526
- ]
7578
+ type: {
7579
+ type: "string"
7527
7580
  }
7528
7581
  },
7529
- required: [
7530
- "replicas",
7531
- "error"
7532
- ]
7533
- },
7534
- NxtError: {
7582
+ required: []
7583
+ }
7584
+ }
7585
+ },
7586
+ schema: {
7587
+ $ref: "#/components/schemas/EventStatsRecord"
7588
+ }
7589
+ };
7590
+ }
7591
+ case ":event.readDuration?": {
7592
+ return {
7593
+ version: "3.1",
7594
+ components: {
7595
+ schemas: {
7596
+ EventReadDurationRecord: {
7535
7597
  type: "object",
7536
7598
  properties: {
7537
- message: {
7538
- type: "string"
7539
- },
7540
- type: {
7541
- type: "string"
7542
- },
7543
- code: {
7544
- type: "string"
7545
- },
7546
- exitCode: {
7599
+ numChars: {
7547
7600
  type: "number"
7548
7601
  },
7549
- signalCode: {
7602
+ numWords: {
7550
7603
  type: "number"
7551
7604
  },
7552
- statusCode: {
7605
+ readRate: {
7553
7606
  type: "number"
7554
7607
  },
7555
- headers: {
7556
- $ref: "#/components/schemas/Recordstringstring"
7557
- },
7558
- data: {
7559
- $ref: "#/components/schemas/object"
7608
+ readDuration: {
7609
+ type: "number"
7560
7610
  },
7561
- cause: {
7611
+ readType: {
7562
7612
  oneOf: [
7563
7613
  {
7564
- type: "null"
7614
+ "const": "characters"
7565
7615
  },
7566
7616
  {
7567
- $ref: "#/components/schemas/NxtError"
7617
+ "const": "words"
7618
+ },
7619
+ {
7620
+ "const": "wordsPerMinute"
7568
7621
  }
7569
7622
  ]
7570
- },
7623
+ }
7624
+ },
7625
+ required: []
7626
+ }
7627
+ }
7628
+ },
7629
+ schema: {
7630
+ $ref: "#/components/schemas/EventReadDurationRecord"
7631
+ }
7632
+ };
7633
+ }
7634
+ case ":event.readRate?": {
7635
+ return {
7636
+ version: "3.1",
7637
+ components: {
7638
+ schemas: {
7639
+ EventReadRateRecord: {
7640
+ type: "object",
7641
+ properties: {
7642
+ readRate: {
7643
+ type: "number"
7644
+ },
7645
+ readType: {
7646
+ oneOf: [
7647
+ {
7648
+ "const": "characters"
7649
+ },
7650
+ {
7651
+ "const": "words"
7652
+ },
7653
+ {
7654
+ "const": "wordsPerMinute"
7655
+ }
7656
+ ]
7657
+ }
7658
+ },
7659
+ required: []
7660
+ }
7661
+ }
7662
+ },
7663
+ schema: {
7664
+ $ref: "#/components/schemas/EventReadRateRecord"
7665
+ }
7666
+ };
7667
+ }
7668
+ case ":file.replicate": {
7669
+ return {
7670
+ version: "3.1",
7671
+ components: {
7672
+ schemas: {
7673
+ FileReplicateRecord: {
7674
+ type: "object",
7675
+ properties: {
7676
+ replicas: {
7677
+ type: "array",
7678
+ items: {
7679
+ type: "string"
7680
+ }
7681
+ },
7682
+ error: {
7683
+ oneOf: [
7684
+ {
7685
+ type: "null"
7686
+ },
7687
+ {
7688
+ $ref: "#/components/schemas/NxtError"
7689
+ }
7690
+ ]
7691
+ }
7692
+ },
7693
+ required: [
7694
+ "replicas",
7695
+ "error"
7696
+ ]
7697
+ },
7698
+ NxtError: {
7699
+ type: "object",
7700
+ properties: {
7701
+ message: {
7702
+ type: "string"
7703
+ },
7704
+ type: {
7705
+ type: "string"
7706
+ },
7707
+ code: {
7708
+ type: "string"
7709
+ },
7710
+ exitCode: {
7711
+ type: "number"
7712
+ },
7713
+ signalCode: {
7714
+ type: "number"
7715
+ },
7716
+ statusCode: {
7717
+ type: "number"
7718
+ },
7719
+ headers: {
7720
+ $ref: "#/components/schemas/Recordstringstring"
7721
+ },
7722
+ data: {
7723
+ $ref: "#/components/schemas/object"
7724
+ },
7725
+ cause: {
7726
+ oneOf: [
7727
+ {
7728
+ type: "null"
7729
+ },
7730
+ {
7731
+ $ref: "#/components/schemas/NxtError"
7732
+ }
7733
+ ]
7734
+ },
7571
7735
  errors: {
7572
7736
  oneOf: [
7573
7737
  {
@@ -7947,6 +8111,33 @@ function _schemaDomainRecord(domain) {
7947
8111
  }
7948
8112
  };
7949
8113
  }
8114
+ case ":gallery": {
8115
+ return {
8116
+ version: "3.1",
8117
+ components: {
8118
+ schemas: {
8119
+ GalleryDomainRecord: {
8120
+ type: "object",
8121
+ properties: {
8122
+ sources: {
8123
+ type: "object",
8124
+ properties: {
8125
+ program: {
8126
+ type: "string"
8127
+ }
8128
+ },
8129
+ required: []
8130
+ }
8131
+ },
8132
+ required: []
8133
+ }
8134
+ }
8135
+ },
8136
+ schema: {
8137
+ $ref: "#/components/schemas/GalleryDomainRecord"
8138
+ }
8139
+ };
8140
+ }
7950
8141
  case ":general.title": {
7951
8142
  return {
7952
8143
  version: "3.1",
@@ -8309,7 +8500,7 @@ function _schemaDomainRecord(domain) {
8309
8500
  type: "object",
8310
8501
  properties: {
8311
8502
  __context: {
8312
- $ref: "#/components/schemas/object",
8503
+ $ref: "#/components/schemas/Recordstringunknown",
8313
8504
  description: "TS-HACK: this property doesn't really exist on the nxtpression string,\nit is only here to make sure the generic Context won't get stripped."
8314
8505
  },
8315
8506
  __returnValue: {
@@ -8404,10 +8595,12 @@ function _schemaDomainRecord(domain) {
8404
8595
  },
8405
8596
  required: []
8406
8597
  },
8407
- object: {
8598
+ Recordstringunknown: {
8408
8599
  type: "object",
8409
8600
  properties: {},
8410
- required: []
8601
+ required: [],
8602
+ description: "Construct a type with a set of properties K of type T",
8603
+ additionalProperties: {}
8411
8604
  },
8412
8605
  IngestScheduleRepeat: {
8413
8606
  type: "object",
@@ -8677,6 +8870,9 @@ function _schemaDomainRecord(domain) {
8677
8870
  items: {
8678
8871
  type: "number"
8679
8872
  }
8873
+ },
8874
+ diarization: {
8875
+ type: "boolean"
8680
8876
  }
8681
8877
  },
8682
8878
  required: []
@@ -9852,6 +10048,9 @@ function _schemaDomainRecord(domain) {
9852
10048
  items: {
9853
10049
  type: "number"
9854
10050
  }
10051
+ },
10052
+ diarization: {
10053
+ type: "boolean"
9855
10054
  }
9856
10055
  },
9857
10056
  required: []
@@ -11925,6 +12124,9 @@ function _schemaDomainRecord(domain) {
11925
12124
  items: {
11926
12125
  type: "number"
11927
12126
  }
12127
+ },
12128
+ diarization: {
12129
+ type: "boolean"
11928
12130
  }
11929
12131
  },
11930
12132
  required: []
@@ -13153,6 +13355,9 @@ function _schemaDomainRecord(domain) {
13153
13355
  items: {
13154
13356
  type: "number"
13155
13357
  }
13358
+ },
13359
+ diarization: {
13360
+ type: "boolean"
13156
13361
  }
13157
13362
  },
13158
13363
  required: []
@@ -15016,6 +15221,9 @@ function _schemaDomainRecord(domain) {
15016
15221
  items: {
15017
15222
  type: "number"
15018
15223
  }
15224
+ },
15225
+ diarization: {
15226
+ type: "boolean"
15019
15227
  }
15020
15228
  },
15021
15229
  required: []
@@ -15700,6 +15908,63 @@ function _schemaDomainRecord(domain) {
15700
15908
  }
15701
15909
  };
15702
15910
  }
15911
+ case ":role": {
15912
+ return {
15913
+ version: "3.1",
15914
+ components: {
15915
+ schemas: {
15916
+ RoleRecord: {
15917
+ type: "object",
15918
+ properties: {
15919
+ permissions: {
15920
+ $ref: "#/components/schemas/RecordstringArraystring"
15921
+ }
15922
+ },
15923
+ required: []
15924
+ },
15925
+ RecordstringArraystring: {
15926
+ type: "object",
15927
+ properties: {},
15928
+ required: [],
15929
+ description: "Construct a type with a set of properties K of type T",
15930
+ additionalProperties: {
15931
+ type: "array",
15932
+ items: {
15933
+ type: "string"
15934
+ }
15935
+ }
15936
+ }
15937
+ }
15938
+ },
15939
+ schema: {
15940
+ $ref: "#/components/schemas/RoleRecord"
15941
+ }
15942
+ };
15943
+ }
15944
+ case ":role.users?": {
15945
+ return {
15946
+ version: "3.1",
15947
+ components: {
15948
+ schemas: {
15949
+ RoleUsersRecord: {
15950
+ type: "object",
15951
+ properties: {
15952
+ value: {
15953
+ type: "array",
15954
+ items: {
15955
+ type: "string"
15956
+ }
15957
+ }
15958
+ },
15959
+ required: []
15960
+ }
15961
+ }
15962
+ },
15963
+ schema: {
15964
+ $ref: "#/components/schemas/RoleUsersRecord"
15965
+ }
15966
+ };
15967
+ }
15703
15968
  case ":role.tags": {
15704
15969
  return {
15705
15970
  version: "3.1",
@@ -16278,7 +16543,8 @@ function _schemaDomainRecord(domain) {
16278
16543
  description: "The type string used by the Node class"
16279
16544
  },
16280
16545
  $: {
16281
- $ref: "#/components/schemas/Recordstringunknown"
16546
+ $ref: "#/components/schemas/Recordstringunknown",
16547
+ description: "Any state persisted with the NodeState API that is not\nconfigured for flat storage"
16282
16548
  },
16283
16549
  version: {
16284
16550
  type: "number",
@@ -16344,7 +16610,8 @@ function _schemaDomainRecord(domain) {
16344
16610
  description: "A numeric version for this schema, defaulting to 1, but not generally recommended for use"
16345
16611
  },
16346
16612
  $: {
16347
- $ref: "#/components/schemas/Recordstringunknown"
16613
+ $ref: "#/components/schemas/Recordstringunknown",
16614
+ description: "Any state persisted with the NodeState API that is not\nconfigured for flat storage"
16348
16615
  }
16349
16616
  },
16350
16617
  required: [
@@ -16359,19 +16626,19 @@ function _schemaDomainRecord(domain) {
16359
16626
  "const": ""
16360
16627
  },
16361
16628
  {
16362
- "const": "center"
16629
+ "const": "right"
16363
16630
  },
16364
16631
  {
16365
- "const": "start"
16632
+ "const": "left"
16366
16633
  },
16367
16634
  {
16368
- "const": "end"
16635
+ "const": "center"
16369
16636
  },
16370
16637
  {
16371
- "const": "left"
16638
+ "const": "start"
16372
16639
  },
16373
16640
  {
16374
- "const": "right"
16641
+ "const": "end"
16375
16642
  },
16376
16643
  {
16377
16644
  "const": "justify"
@@ -16508,7 +16775,8 @@ function _schemaDomainRecord(domain) {
16508
16775
  description: "The type string used by the Node class"
16509
16776
  },
16510
16777
  $: {
16511
- $ref: "#/components/schemas/Recordstringunknown"
16778
+ $ref: "#/components/schemas/Recordstringunknown",
16779
+ description: "Any state persisted with the NodeState API that is not\nconfigured for flat storage"
16512
16780
  },
16513
16781
  version: {
16514
16782
  type: "number",
@@ -16574,7 +16842,8 @@ function _schemaDomainRecord(domain) {
16574
16842
  description: "A numeric version for this schema, defaulting to 1, but not generally recommended for use"
16575
16843
  },
16576
16844
  $: {
16577
- $ref: "#/components/schemas/Recordstringunknown"
16845
+ $ref: "#/components/schemas/Recordstringunknown",
16846
+ description: "Any state persisted with the NodeState API that is not\nconfigured for flat storage"
16578
16847
  }
16579
16848
  },
16580
16849
  required: [
@@ -16589,19 +16858,19 @@ function _schemaDomainRecord(domain) {
16589
16858
  "const": ""
16590
16859
  },
16591
16860
  {
16592
- "const": "center"
16861
+ "const": "right"
16593
16862
  },
16594
16863
  {
16595
- "const": "start"
16864
+ "const": "left"
16596
16865
  },
16597
16866
  {
16598
- "const": "end"
16867
+ "const": "center"
16599
16868
  },
16600
16869
  {
16601
- "const": "left"
16870
+ "const": "start"
16602
16871
  },
16603
16872
  {
16604
- "const": "right"
16873
+ "const": "end"
16605
16874
  },
16606
16875
  {
16607
16876
  "const": "justify"
@@ -17562,10 +17831,10 @@ function _schemaDomainRecord(domain) {
17562
17831
  sortBy: {
17563
17832
  oneOf: [
17564
17833
  {
17565
- "const": "index"
17834
+ "const": "title"
17566
17835
  },
17567
17836
  {
17568
- "const": "title"
17837
+ "const": "index"
17569
17838
  }
17570
17839
  ]
17571
17840
  },
@@ -17575,6 +17844,9 @@ function _schemaDomainRecord(domain) {
17575
17844
  },
17576
17845
  required: []
17577
17846
  },
17847
+ contentMaxWidth: {
17848
+ type: "number"
17849
+ },
17578
17850
  colorTags: {
17579
17851
  type: "array",
17580
17852
  items: {
@@ -18428,6 +18700,12 @@ function _schemaDomainRecord(domain) {
18428
18700
  items: {
18429
18701
  type: "string"
18430
18702
  }
18703
+ },
18704
+ presets: {
18705
+ type: "array",
18706
+ items: {
18707
+ $ref: "#/components/schemas/PrintOptions"
18708
+ }
18431
18709
  }
18432
18710
  },
18433
18711
  required: []
@@ -18477,6 +18755,12 @@ function _schemaDomainRecord(domain) {
18477
18755
  renderPresetPath: {
18478
18756
  type: "string"
18479
18757
  },
18758
+ renderPresets: {
18759
+ type: "array",
18760
+ items: {
18761
+ type: "string"
18762
+ }
18763
+ },
18480
18764
  videoRenderPreset: {
18481
18765
  type: "string"
18482
18766
  },
@@ -18507,6 +18791,15 @@ function _schemaDomainRecord(domain) {
18507
18791
  },
18508
18792
  required: []
18509
18793
  },
18794
+ ograf: {
18795
+ type: "object",
18796
+ properties: {
18797
+ template: {
18798
+ type: "string"
18799
+ }
18800
+ },
18801
+ required: []
18802
+ },
18510
18803
  rive: {
18511
18804
  type: "object",
18512
18805
  properties: {
@@ -18746,12 +19039,19 @@ function _schemaDomainRecord(domain) {
18746
19039
  performance: {
18747
19040
  type: "object",
18748
19041
  properties: {
18749
- ignoredMessages: {
19042
+ ignoredWarnings: {
19043
+ type: "array",
19044
+ items: {
19045
+ type: "string"
19046
+ },
19047
+ description: "List of message identifiers to ignore warnings (format: \"serviceName:messageText\")"
19048
+ },
19049
+ ignoredErrors: {
18750
19050
  type: "array",
18751
19051
  items: {
18752
19052
  type: "string"
18753
19053
  },
18754
- description: "List of message identifiers to ignore in overall health aggregation (format: \"serviceName:messageText\")"
19054
+ description: "List of message identifiers to ignore errors (format: \"serviceName:messageText\")"
18755
19055
  }
18756
19056
  },
18757
19057
  required: []
@@ -19023,24 +19323,264 @@ function _schemaDomainRecord(domain) {
19023
19323
  "title"
19024
19324
  ]
19025
19325
  },
19026
- NotificationReason: {
19326
+ PrintOptions: {
19027
19327
  oneOf: [
19028
19328
  {
19029
- "const": "mentioned"
19030
- },
19031
- {
19032
- "const": "assigned"
19033
- },
19034
- {
19035
- "const": "author"
19036
- },
19037
- {
19038
- "const": "participated"
19329
+ $ref: "#/components/schemas/PrintScriptOptions"
19039
19330
  },
19040
19331
  {
19041
- "const": "always"
19332
+ $ref: "#/components/schemas/PrintRundownOptions"
19042
19333
  }
19043
- ]
19334
+ ],
19335
+ discriminator: {
19336
+ propertyName: "type",
19337
+ mapping: {
19338
+ script: "#/components/schemas/PrintScriptOptions",
19339
+ rundown: "#/components/schemas/PrintRundownOptions"
19340
+ }
19341
+ }
19342
+ },
19343
+ PrintScriptOptions: {
19344
+ type: "object",
19345
+ properties: {
19346
+ type: {
19347
+ "const": "script"
19348
+ },
19349
+ title: {
19350
+ type: "string"
19351
+ },
19352
+ horizontalMargin: {
19353
+ type: "number"
19354
+ },
19355
+ pageSize: {
19356
+ $ref: "#/components/schemas/PageSize"
19357
+ },
19358
+ orientation: {
19359
+ $ref: "#/components/schemas/PageOrientation"
19360
+ },
19361
+ fontSize: {
19362
+ type: "number"
19363
+ },
19364
+ fontFamily: {
19365
+ type: "string"
19366
+ },
19367
+ hide: {
19368
+ type: "array",
19369
+ items: {
19370
+ $ref: "#/components/schemas/PrintOptionalScriptNodes"
19371
+ }
19372
+ }
19373
+ },
19374
+ required: [
19375
+ "type",
19376
+ "title",
19377
+ "horizontalMargin",
19378
+ "pageSize",
19379
+ "orientation",
19380
+ "fontSize",
19381
+ "hide"
19382
+ ]
19383
+ },
19384
+ PageSize: {
19385
+ oneOf: [
19386
+ {
19387
+ "const": "A5"
19388
+ },
19389
+ {
19390
+ "const": "A4"
19391
+ },
19392
+ {
19393
+ "const": "A3"
19394
+ }
19395
+ ]
19396
+ },
19397
+ PageOrientation: {
19398
+ oneOf: [
19399
+ {
19400
+ "const": "landscape"
19401
+ },
19402
+ {
19403
+ "const": "portrait"
19404
+ }
19405
+ ]
19406
+ },
19407
+ PrintOptionalScriptNodes: {
19408
+ oneOf: [
19409
+ {
19410
+ "const": "event"
19411
+ },
19412
+ {
19413
+ "const": "event-data"
19414
+ },
19415
+ {
19416
+ "const": "comment"
19417
+ },
19418
+ {
19419
+ "const": "heading"
19420
+ },
19421
+ {
19422
+ "const": "list"
19423
+ },
19424
+ {
19425
+ "const": "quote"
19426
+ },
19427
+ {
19428
+ "const": "paragraph"
19429
+ },
19430
+ {
19431
+ "const": "horizontalrule"
19432
+ }
19433
+ ]
19434
+ },
19435
+ PrintRundownOptions: {
19436
+ type: "object",
19437
+ properties: {
19438
+ type: {
19439
+ "const": "rundown"
19440
+ },
19441
+ columns: {
19442
+ type: "array",
19443
+ items: {
19444
+ $ref: "#/components/schemas/PrintRundownColumn"
19445
+ }
19446
+ },
19447
+ rangeStart: {
19448
+ type: "number"
19449
+ },
19450
+ rangeEnd: {
19451
+ type: "number"
19452
+ },
19453
+ hide: {
19454
+ type: "array",
19455
+ items: {
19456
+ oneOf: [
19457
+ {
19458
+ "const": "event"
19459
+ },
19460
+ {
19461
+ "const": "comment"
19462
+ },
19463
+ {
19464
+ "const": "heading"
19465
+ },
19466
+ {
19467
+ "const": "list"
19468
+ },
19469
+ {
19470
+ "const": "quote"
19471
+ },
19472
+ {
19473
+ "const": "paragraph"
19474
+ },
19475
+ {
19476
+ "const": "horizontalrule"
19477
+ }
19478
+ ]
19479
+ }
19480
+ },
19481
+ title: {
19482
+ type: "string"
19483
+ },
19484
+ horizontalMargin: {
19485
+ type: "number"
19486
+ },
19487
+ pageSize: {
19488
+ $ref: "#/components/schemas/PageSize"
19489
+ },
19490
+ orientation: {
19491
+ $ref: "#/components/schemas/PageOrientation"
19492
+ },
19493
+ fontSize: {
19494
+ type: "number"
19495
+ },
19496
+ fontFamily: {
19497
+ type: "string"
19498
+ }
19499
+ },
19500
+ required: [
19501
+ "type",
19502
+ "columns",
19503
+ "hide",
19504
+ "title",
19505
+ "horizontalMargin",
19506
+ "pageSize",
19507
+ "orientation",
19508
+ "fontSize"
19509
+ ]
19510
+ },
19511
+ PrintRundownColumn: {
19512
+ type: "object",
19513
+ properties: {
19514
+ key: {
19515
+ oneOf: [
19516
+ {
19517
+ "const": "type"
19518
+ },
19519
+ {
19520
+ "const": "id"
19521
+ },
19522
+ {
19523
+ "const": "title"
19524
+ },
19525
+ {
19526
+ "const": "time"
19527
+ },
19528
+ {
19529
+ "const": "duration"
19530
+ },
19531
+ {
19532
+ "const": "position"
19533
+ },
19534
+ {
19535
+ "const": "accDuration"
19536
+ }
19537
+ ]
19538
+ },
19539
+ label: {
19540
+ type: "string"
19541
+ },
19542
+ width: {
19543
+ type: "string"
19544
+ },
19545
+ textAlign: {
19546
+ oneOf: [
19547
+ {
19548
+ "const": "right"
19549
+ },
19550
+ {
19551
+ "const": "left"
19552
+ },
19553
+ {
19554
+ "const": "center"
19555
+ }
19556
+ ]
19557
+ }
19558
+ },
19559
+ required: [
19560
+ "key",
19561
+ "label",
19562
+ "width",
19563
+ "textAlign"
19564
+ ]
19565
+ },
19566
+ NotificationReason: {
19567
+ oneOf: [
19568
+ {
19569
+ "const": "mentioned"
19570
+ },
19571
+ {
19572
+ "const": "assigned"
19573
+ },
19574
+ {
19575
+ "const": "author"
19576
+ },
19577
+ {
19578
+ "const": "participated"
19579
+ },
19580
+ {
19581
+ "const": "always"
19582
+ }
19583
+ ]
19044
19584
  }
19045
19585
  }
19046
19586
  },
@@ -19098,144 +19638,566 @@ function _schemaDomainRecord(domain) {
19098
19638
  },
19099
19639
  required: []
19100
19640
  },
19101
- ShotboxPage: {
19641
+ ShotboxPage: {
19642
+ type: "object",
19643
+ properties: {
19644
+ stickyTopRow: {
19645
+ type: "boolean"
19646
+ },
19647
+ inferGroups: {
19648
+ type: "boolean"
19649
+ },
19650
+ excludeFromInferredGroups: {
19651
+ type: "array",
19652
+ items: {
19653
+ type: "string"
19654
+ }
19655
+ },
19656
+ layout: {
19657
+ type: "array",
19658
+ items: {
19659
+ oneOf: [
19660
+ {
19661
+ type: "array",
19662
+ items: {
19663
+ $ref: "#/components/schemas/ShotboxGroup"
19664
+ }
19665
+ },
19666
+ {
19667
+ $ref: "#/components/schemas/ShotboxEventGroup"
19668
+ },
19669
+ {
19670
+ $ref: "#/components/schemas/ShotboxStreamGroup"
19671
+ }
19672
+ ]
19673
+ }
19674
+ }
19675
+ },
19676
+ required: []
19677
+ },
19678
+ ShotboxGroup: {
19679
+ oneOf: [
19680
+ {
19681
+ $ref: "#/components/schemas/ShotboxEventGroup"
19682
+ },
19683
+ {
19684
+ $ref: "#/components/schemas/ShotboxStreamGroup"
19685
+ }
19686
+ ]
19687
+ },
19688
+ ShotboxEventGroup: {
19689
+ type: "object",
19690
+ properties: {
19691
+ id: {
19692
+ type: "string"
19693
+ },
19694
+ title: {
19695
+ type: "string"
19696
+ },
19697
+ sticky: {
19698
+ type: "boolean"
19699
+ },
19700
+ type: {
19701
+ oneOf: [
19702
+ {
19703
+ "const": "trigger"
19704
+ },
19705
+ {
19706
+ "const": "toggle"
19707
+ }
19708
+ ]
19709
+ },
19710
+ width: {
19711
+ type: "string"
19712
+ },
19713
+ include: {
19714
+ type: "array",
19715
+ items: {
19716
+ type: "string"
19717
+ }
19718
+ },
19719
+ exclude: {
19720
+ type: "array",
19721
+ items: {
19722
+ type: "string"
19723
+ }
19724
+ },
19725
+ states: {
19726
+ type: "object",
19727
+ properties: {
19728
+ completed: {
19729
+ type: "boolean"
19730
+ }
19731
+ },
19732
+ required: [
19733
+ "completed"
19734
+ ]
19735
+ },
19736
+ flow: {
19737
+ oneOf: [
19738
+ {
19739
+ "const": "column"
19740
+ },
19741
+ {
19742
+ "const": "row"
19743
+ }
19744
+ ]
19745
+ },
19746
+ minRows: {
19747
+ type: "number"
19748
+ },
19749
+ maxRows: {
19750
+ type: "number"
19751
+ }
19752
+ },
19753
+ required: []
19754
+ },
19755
+ ShotboxStreamGroup: {
19756
+ type: "object",
19757
+ properties: {
19758
+ type: {
19759
+ "const": "stream"
19760
+ },
19761
+ title: {
19762
+ type: "string"
19763
+ },
19764
+ width: {
19765
+ type: "string"
19766
+ },
19767
+ source: {
19768
+ type: "string"
19769
+ }
19770
+ },
19771
+ required: [
19772
+ "type"
19773
+ ]
19774
+ }
19775
+ }
19776
+ },
19777
+ schema: {
19778
+ $ref: "#/components/schemas/ShotboxDomainRecord"
19779
+ }
19780
+ };
19781
+ }
19782
+ case ":storage": {
19783
+ return {
19784
+ version: "3.1",
19785
+ components: {
19786
+ schemas: {
19787
+ StorageDomainRecord: {
19788
+ type: "object",
19789
+ properties: {
19790
+ zone: {
19791
+ type: "string"
19792
+ },
19793
+ hostname: {
19794
+ oneOf: [
19795
+ {
19796
+ type: "null"
19797
+ },
19798
+ {
19799
+ type: "string"
19800
+ }
19801
+ ]
19802
+ },
19803
+ port: {
19804
+ oneOf: [
19805
+ {
19806
+ type: "null"
19807
+ },
19808
+ {
19809
+ type: "number"
19810
+ }
19811
+ ]
19812
+ },
19813
+ location: {
19814
+ type: "string"
19815
+ },
19816
+ cache: {
19817
+ oneOf: [
19818
+ {
19819
+ type: "null"
19820
+ },
19821
+ {
19822
+ type: "boolean"
19823
+ }
19824
+ ]
19825
+ },
19826
+ allows: {
19827
+ type: "array",
19828
+ items: {
19829
+ type: "string"
19830
+ }
19831
+ },
19832
+ capacity: {
19833
+ oneOf: [
19834
+ {
19835
+ type: "null"
19836
+ },
19837
+ {
19838
+ type: "number"
19839
+ }
19840
+ ]
19841
+ },
19842
+ rxBytesSecMax: {
19843
+ oneOf: [
19844
+ {
19845
+ type: "null"
19846
+ },
19847
+ {
19848
+ type: "number"
19849
+ }
19850
+ ]
19851
+ },
19852
+ txBytesSecMax: {
19853
+ oneOf: [
19854
+ {
19855
+ type: "null"
19856
+ },
19857
+ {
19858
+ type: "number"
19859
+ }
19860
+ ]
19861
+ },
19862
+ rxBytesSecLimit: {
19863
+ oneOf: [
19864
+ {
19865
+ type: "null"
19866
+ },
19867
+ {
19868
+ type: "number"
19869
+ }
19870
+ ]
19871
+ },
19872
+ txBytesSecLimit: {
19873
+ oneOf: [
19874
+ {
19875
+ type: "null"
19876
+ },
19877
+ {
19878
+ type: "number"
19879
+ }
19880
+ ]
19881
+ }
19882
+ },
19883
+ required: [
19884
+ "zone",
19885
+ "hostname"
19886
+ ]
19887
+ }
19888
+ }
19889
+ },
19890
+ schema: {
19891
+ $ref: "#/components/schemas/StorageDomainRecord"
19892
+ }
19893
+ };
19894
+ }
19895
+ case ":storage.stats": {
19896
+ return {
19897
+ version: "3.1",
19898
+ components: {
19899
+ schemas: {
19900
+ StorageStatsDomainRecord: {
19901
+ type: "object",
19902
+ properties: {
19903
+ id: {
19904
+ type: "string"
19905
+ },
19906
+ location: {
19907
+ type: "string"
19908
+ },
19909
+ timestamp: {
19910
+ type: "string"
19911
+ },
19912
+ type: {
19913
+ type: "string"
19914
+ },
19915
+ zone: {
19916
+ type: "string"
19917
+ },
19918
+ origin: {
19919
+ type: "string"
19920
+ },
19921
+ free: {
19922
+ oneOf: [
19923
+ {
19924
+ type: "null"
19925
+ },
19926
+ {
19927
+ type: "number"
19928
+ }
19929
+ ]
19930
+ },
19931
+ size: {
19932
+ oneOf: [
19933
+ {
19934
+ type: "null"
19935
+ },
19936
+ {
19937
+ type: "number"
19938
+ }
19939
+ ]
19940
+ },
19941
+ available: {
19942
+ oneOf: [
19943
+ {
19944
+ type: "null"
19945
+ },
19946
+ {
19947
+ type: "number"
19948
+ }
19949
+ ]
19950
+ },
19951
+ cache: {
19952
+ oneOf: [
19953
+ {
19954
+ type: "null"
19955
+ },
19956
+ {
19957
+ type: "boolean"
19958
+ }
19959
+ ]
19960
+ },
19961
+ capacity: {
19962
+ oneOf: [
19963
+ {
19964
+ type: "null"
19965
+ },
19966
+ {
19967
+ type: "number"
19968
+ }
19969
+ ]
19970
+ },
19971
+ limiter: {
19972
+ type: "object",
19973
+ properties: {
19974
+ readBytesPerSecond: {
19975
+ type: "number"
19976
+ },
19977
+ writeBytesPerSecond: {
19978
+ type: "number"
19979
+ }
19980
+ },
19981
+ required: []
19982
+ },
19983
+ http: {
19984
+ type: "object",
19985
+ properties: {
19986
+ downstreamConnected: {
19987
+ type: "number"
19988
+ },
19989
+ upstreamConnected: {
19990
+ type: "number"
19991
+ },
19992
+ pending: {
19993
+ type: "number"
19994
+ },
19995
+ completed: {
19996
+ type: "number"
19997
+ },
19998
+ failed: {
19999
+ type: "number"
20000
+ }
20001
+ },
20002
+ required: [
20003
+ "downstreamConnected",
20004
+ "upstreamConnected",
20005
+ "pending",
20006
+ "completed",
20007
+ "failed"
20008
+ ]
20009
+ },
20010
+ io: {
20011
+ type: "object",
20012
+ properties: {
20013
+ read: {
20014
+ type: "object",
20015
+ properties: {
20016
+ bytesPerSecond: {
20017
+ type: "number"
20018
+ },
20019
+ pending: {
20020
+ type: "number"
20021
+ },
20022
+ queues: {
20023
+ $ref: "#/components/schemas/StorageIoQueues"
20024
+ }
20025
+ },
20026
+ required: [
20027
+ "bytesPerSecond",
20028
+ "pending",
20029
+ "queues"
20030
+ ]
20031
+ },
20032
+ write: {
20033
+ type: "object",
20034
+ properties: {
20035
+ bytesPerSecond: {
20036
+ type: "number"
20037
+ },
20038
+ pending: {
20039
+ type: "number"
20040
+ },
20041
+ queues: {
20042
+ $ref: "#/components/schemas/StorageIoQueues"
20043
+ }
20044
+ },
20045
+ required: [
20046
+ "bytesPerSecond",
20047
+ "pending",
20048
+ "queues"
20049
+ ]
20050
+ }
20051
+ },
20052
+ required: [
20053
+ "read",
20054
+ "write"
20055
+ ]
20056
+ },
20057
+ fs: {
20058
+ $ref: "#/components/schemas/StorageFsStats"
20059
+ },
20060
+ s3: {
20061
+ $ref: "#/components/schemas/StorageS3Stats"
20062
+ }
20063
+ },
20064
+ required: [
20065
+ "id",
20066
+ "location",
20067
+ "timestamp",
20068
+ "type",
20069
+ "zone",
20070
+ "origin",
20071
+ "free",
20072
+ "size",
20073
+ "available",
20074
+ "cache",
20075
+ "capacity",
20076
+ "limiter",
20077
+ "http",
20078
+ "io"
20079
+ ]
20080
+ },
20081
+ StorageIoQueues: {
19102
20082
  type: "object",
19103
20083
  properties: {
19104
- stickyTopRow: {
19105
- type: "boolean"
20084
+ highest: {
20085
+ type: "number"
19106
20086
  },
19107
- inferGroups: {
19108
- type: "boolean"
20087
+ higher: {
20088
+ type: "number"
19109
20089
  },
19110
- excludeFromInferredGroups: {
19111
- type: "array",
19112
- items: {
19113
- type: "string"
19114
- }
20090
+ high: {
20091
+ type: "number"
19115
20092
  },
19116
- layout: {
19117
- type: "array",
19118
- items: {
19119
- oneOf: [
19120
- {
19121
- type: "array",
19122
- items: {
19123
- $ref: "#/components/schemas/ShotboxGroup"
19124
- }
19125
- },
19126
- {
19127
- $ref: "#/components/schemas/ShotboxEventGroup"
19128
- },
19129
- {
19130
- $ref: "#/components/schemas/ShotboxStreamGroup"
19131
- }
19132
- ]
19133
- }
19134
- }
19135
- },
19136
- required: []
19137
- },
19138
- ShotboxGroup: {
19139
- oneOf: [
19140
- {
19141
- $ref: "#/components/schemas/ShotboxEventGroup"
20093
+ normal: {
20094
+ type: "number"
19142
20095
  },
19143
- {
19144
- $ref: "#/components/schemas/ShotboxStreamGroup"
20096
+ low: {
20097
+ type: "number"
20098
+ },
20099
+ lower: {
20100
+ type: "number"
20101
+ },
20102
+ lowest: {
20103
+ type: "number"
19145
20104
  }
20105
+ },
20106
+ required: [
20107
+ "highest",
20108
+ "higher",
20109
+ "high",
20110
+ "normal",
20111
+ "low",
20112
+ "lower",
20113
+ "lowest"
19146
20114
  ]
19147
20115
  },
19148
- ShotboxEventGroup: {
20116
+ StorageFsStats: {
19149
20117
  type: "object",
19150
20118
  properties: {
19151
- id: {
19152
- type: "string"
20119
+ concurrency: {
20120
+ type: "number"
19153
20121
  },
19154
- title: {
20122
+ path: {
19155
20123
  type: "string"
19156
20124
  },
19157
- sticky: {
19158
- type: "boolean"
19159
- },
19160
- type: {
20125
+ snapshot: {
19161
20126
  oneOf: [
19162
20127
  {
19163
- "const": "trigger"
20128
+ type: "null"
19164
20129
  },
19165
20130
  {
19166
- "const": "toggle"
20131
+ type: "number"
19167
20132
  }
19168
20133
  ]
19169
20134
  },
19170
- width: {
19171
- type: "string"
19172
- },
19173
- include: {
19174
- type: "array",
19175
- items: {
19176
- type: "string"
19177
- }
19178
- },
19179
- exclude: {
19180
- type: "array",
19181
- items: {
19182
- type: "string"
19183
- }
19184
- },
19185
- states: {
19186
- type: "object",
19187
- properties: {
19188
- completed: {
19189
- type: "boolean"
19190
- }
19191
- },
19192
- required: [
19193
- "completed"
19194
- ]
20135
+ available: {
20136
+ type: "number"
19195
20137
  },
19196
- flow: {
19197
- oneOf: [
19198
- {
19199
- "const": "column"
19200
- },
19201
- {
19202
- "const": "row"
19203
- }
19204
- ]
20138
+ free: {
20139
+ type: "number"
19205
20140
  },
19206
- minRows: {
20141
+ used: {
19207
20142
  type: "number"
19208
20143
  },
19209
- maxRows: {
20144
+ size: {
19210
20145
  type: "number"
20146
+ },
20147
+ state: {
20148
+ type: "string"
19211
20149
  }
19212
20150
  },
19213
- required: []
20151
+ required: [],
20152
+ additionalProperties: {}
19214
20153
  },
19215
- ShotboxStreamGroup: {
20154
+ StorageS3Stats: {
19216
20155
  type: "object",
19217
20156
  properties: {
19218
- type: {
19219
- "const": "stream"
20157
+ bucket: {
20158
+ type: "string"
19220
20159
  },
19221
- title: {
20160
+ region: {
19222
20161
  type: "string"
19223
20162
  },
19224
- width: {
20163
+ endpoint: {
19225
20164
  type: "string"
19226
20165
  },
19227
- source: {
20166
+ path: {
20167
+ type: "string"
20168
+ },
20169
+ storageClass: {
19228
20170
  type: "string"
19229
20171
  }
19230
20172
  },
19231
- required: [
19232
- "type"
19233
- ]
20173
+ required: [],
20174
+ additionalProperties: {}
19234
20175
  }
19235
20176
  }
19236
20177
  },
19237
20178
  schema: {
19238
- $ref: "#/components/schemas/ShotboxDomainRecord"
20179
+ $ref: "#/components/schemas/StorageStatsDomainRecord"
20180
+ }
20181
+ };
20182
+ }
20183
+ case ":storage-zone": {
20184
+ return {
20185
+ version: "3.1",
20186
+ components: {
20187
+ schemas: {
20188
+ StorageZoneDomainRecord: {
20189
+ type: "object",
20190
+ properties: {
20191
+ priority: {
20192
+ type: "number"
20193
+ }
20194
+ },
20195
+ required: []
20196
+ }
20197
+ }
20198
+ },
20199
+ schema: {
20200
+ $ref: "#/components/schemas/StorageZoneDomainRecord"
19239
20201
  }
19240
20202
  };
19241
20203
  }
@@ -19930,6 +20892,126 @@ function _schemaDomainRecord(domain) {
19930
20892
  properties: {
19931
20893
  path: {
19932
20894
  type: "string"
20895
+ },
20896
+ type: {
20897
+ type: "string"
20898
+ },
20899
+ label: {
20900
+ type: "string"
20901
+ },
20902
+ defaultValue: {
20903
+ type: "string"
20904
+ },
20905
+ widget: {
20906
+ type: "object",
20907
+ properties: {
20908
+ type: {
20909
+ type: "string"
20910
+ }
20911
+ },
20912
+ required: [
20913
+ "type"
20914
+ ]
20915
+ },
20916
+ properties: {
20917
+ $ref: "#/components/schemas/object"
20918
+ },
20919
+ items: {
20920
+ type: "object",
20921
+ properties: {
20922
+ properties: {
20923
+ $ref: "#/components/schemas/RecordstringTemplatePropertySchema"
20924
+ }
20925
+ },
20926
+ required: []
20927
+ },
20928
+ render: {
20929
+ type: "object",
20930
+ properties: {
20931
+ type: {
20932
+ "const": "image"
20933
+ },
20934
+ profile: {
20935
+ type: "object",
20936
+ properties: {
20937
+ format: {
20938
+ type: "string"
20939
+ },
20940
+ video: {
20941
+ type: "object",
20942
+ properties: {
20943
+ width: {
20944
+ type: "number"
20945
+ },
20946
+ height: {
20947
+ type: "number"
20948
+ },
20949
+ fit: {
20950
+ "const": "cover"
20951
+ }
20952
+ },
20953
+ required: [
20954
+ "width",
20955
+ "height",
20956
+ "fit"
20957
+ ]
20958
+ }
20959
+ },
20960
+ required: []
20961
+ }
20962
+ },
20963
+ required: [
20964
+ "type"
20965
+ ]
20966
+ }
20967
+ },
20968
+ required: []
20969
+ },
20970
+ object: {
20971
+ type: "object",
20972
+ properties: {},
20973
+ required: []
20974
+ },
20975
+ RecordstringTemplatePropertySchema: {
20976
+ type: "object",
20977
+ properties: {},
20978
+ required: [],
20979
+ description: "Construct a type with a set of properties K of type T",
20980
+ additionalProperties: {
20981
+ $ref: "#/components/schemas/TemplatePropertySchema"
20982
+ }
20983
+ },
20984
+ TemplatePropertySchema: {
20985
+ type: "object",
20986
+ properties: {
20987
+ path: {
20988
+ type: "string"
20989
+ },
20990
+ type: {
20991
+ type: "string"
20992
+ },
20993
+ label: {
20994
+ type: "string"
20995
+ },
20996
+ defaultValue: {
20997
+ type: "string"
20998
+ },
20999
+ widget: {
21000
+ type: "object",
21001
+ properties: {
21002
+ type: {
21003
+ type: "string"
21004
+ }
21005
+ },
21006
+ required: [
21007
+ "type"
21008
+ ]
21009
+ },
21010
+ items: {
21011
+ $ref: "#/components/schemas/TemplatePropertySchema"
21012
+ },
21013
+ properties: {
21014
+ $ref: "#/components/schemas/RecordstringTemplatePropertySchema"
19933
21015
  }
19934
21016
  },
19935
21017
  required: []