@nxtedition/types 23.0.57 → 23.0.58

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.
@@ -2517,6 +2517,121 @@ function _schemasDomainRecord(domain) {
2517
2517
  ]
2518
2518
  };
2519
2519
  }
2520
+ case ":calendarevent": {
2521
+ return {
2522
+ version: "3.1",
2523
+ components: {
2524
+ schemas: {
2525
+ CalendarEventDomainRecord: {
2526
+ type: "object",
2527
+ properties: {
2528
+ start: {
2529
+ oneOf: [
2530
+ {
2531
+ type: "null"
2532
+ },
2533
+ {
2534
+ type: "string"
2535
+ }
2536
+ ]
2537
+ },
2538
+ end: {
2539
+ oneOf: [
2540
+ {
2541
+ type: "null"
2542
+ },
2543
+ {
2544
+ type: "string"
2545
+ }
2546
+ ]
2547
+ },
2548
+ description: {
2549
+ type: "string"
2550
+ },
2551
+ recurrence: {
2552
+ oneOf: [
2553
+ {
2554
+ type: "null"
2555
+ },
2556
+ {
2557
+ $ref: "#/components/schemas/CalendarEventDomainRecurrenceRule"
2558
+ }
2559
+ ]
2560
+ },
2561
+ color: {
2562
+ type: "string"
2563
+ }
2564
+ },
2565
+ required: []
2566
+ },
2567
+ CalendarEventDomainRecurrenceRule: {
2568
+ type: "object",
2569
+ properties: {
2570
+ interval: {
2571
+ type: "number",
2572
+ description: "\"Repeat every {interval} {frequency}\""
2573
+ },
2574
+ frequency: {
2575
+ oneOf: [
2576
+ {
2577
+ type: "null"
2578
+ },
2579
+ {
2580
+ "const": "days"
2581
+ },
2582
+ {
2583
+ "const": "weeks"
2584
+ },
2585
+ {
2586
+ "const": "months"
2587
+ },
2588
+ {
2589
+ "const": "years"
2590
+ }
2591
+ ],
2592
+ description: "\"Repeat every {interval} {frequency}\""
2593
+ },
2594
+ byweekday: {
2595
+ oneOf: [
2596
+ {
2597
+ type: "null"
2598
+ },
2599
+ {
2600
+ type: "array",
2601
+ items: {
2602
+ type: "number"
2603
+ }
2604
+ }
2605
+ ],
2606
+ description: "\"Repeat on\"\n1 = Monday, 2 = Tuesday, ..., 7 = Sunday\nUsed when frequency is 'weeks'"
2607
+ },
2608
+ count: {
2609
+ type: "null",
2610
+ description: "\"Ends after\""
2611
+ },
2612
+ until: {
2613
+ oneOf: [
2614
+ {
2615
+ type: "null"
2616
+ },
2617
+ {
2618
+ type: "string"
2619
+ }
2620
+ ],
2621
+ description: "\"Ends on date\""
2622
+ }
2623
+ },
2624
+ required: []
2625
+ }
2626
+ }
2627
+ },
2628
+ schemas: [
2629
+ {
2630
+ $ref: "#/components/schemas/CalendarEventDomainRecord"
2631
+ }
2632
+ ]
2633
+ };
2634
+ }
2520
2635
  case ":clone": {
2521
2636
  return {
2522
2637
  version: "3.1",
@@ -3057,6 +3172,36 @@ function _schemasDomainRecord(domain) {
3057
3172
  ]
3058
3173
  };
3059
3174
  }
3175
+ case ":condition": {
3176
+ return {
3177
+ version: "3.1",
3178
+ components: {
3179
+ schemas: {
3180
+ SearchCondition: {
3181
+ type: "object",
3182
+ properties: {
3183
+ field: {
3184
+ type: "string"
3185
+ },
3186
+ type: {
3187
+ type: "string"
3188
+ },
3189
+ op: {
3190
+ type: "string"
3191
+ },
3192
+ value: {}
3193
+ },
3194
+ required: []
3195
+ }
3196
+ }
3197
+ },
3198
+ schemas: [
3199
+ {
3200
+ $ref: "#/components/schemas/SearchCondition"
3201
+ }
3202
+ ]
3203
+ };
3204
+ }
3060
3205
  case ":connection": {
3061
3206
  return {
3062
3207
  version: "3.1",
@@ -6694,6 +6839,112 @@ function _schemasDomainRecord(domain) {
6694
6839
  ]
6695
6840
  };
6696
6841
  }
6842
+ case ":harvest": {
6843
+ return {
6844
+ version: "3.1",
6845
+ components: {
6846
+ schemas: {
6847
+ HarvestDomainRecord: {
6848
+ type: "object",
6849
+ properties: {
6850
+ active: {
6851
+ type: "boolean"
6852
+ },
6853
+ tags: {
6854
+ type: "array",
6855
+ items: {
6856
+ type: "string"
6857
+ }
6858
+ },
6859
+ revisions: {
6860
+ type: "boolean"
6861
+ },
6862
+ concurrency: {
6863
+ type: "number"
6864
+ },
6865
+ throttle: {
6866
+ type: "number"
6867
+ }
6868
+ },
6869
+ required: []
6870
+ }
6871
+ }
6872
+ },
6873
+ schemas: [
6874
+ {
6875
+ $ref: "#/components/schemas/HarvestDomainRecord"
6876
+ }
6877
+ ]
6878
+ };
6879
+ }
6880
+ case ":ingestclip": {
6881
+ return {
6882
+ version: "3.1",
6883
+ components: {
6884
+ schemas: {
6885
+ IngestclipDomainRecord: {
6886
+ type: "object",
6887
+ properties: {
6888
+ time: {
6889
+ type: "number"
6890
+ },
6891
+ duration: {
6892
+ type: "number"
6893
+ },
6894
+ type: {
6895
+ type: "string"
6896
+ },
6897
+ record: {
6898
+ type: "string"
6899
+ },
6900
+ data: {
6901
+ type: "boolean"
6902
+ },
6903
+ gallery: {
6904
+ type: "string"
6905
+ },
6906
+ rundown: {
6907
+ type: "string"
6908
+ },
6909
+ segment: {
6910
+ type: "string"
6911
+ },
6912
+ story: {
6913
+ type: "string"
6914
+ },
6915
+ event: {
6916
+ type: "string"
6917
+ },
6918
+ title: {
6919
+ type: "string"
6920
+ },
6921
+ start: {
6922
+ type: "number"
6923
+ },
6924
+ end: {
6925
+ type: "number"
6926
+ },
6927
+ channel: {
6928
+ type: "string"
6929
+ },
6930
+ schedule: {
6931
+ type: "string"
6932
+ },
6933
+ parent: {
6934
+ type: "string"
6935
+ }
6936
+ },
6937
+ required: []
6938
+ }
6939
+ }
6940
+ },
6941
+ schemas: [
6942
+ {
6943
+ $ref: "#/components/schemas/IngestclipDomainRecord"
6944
+ }
6945
+ ]
6946
+ };
6947
+ }
6697
6948
  case ":media.source": {
6698
6949
  return {
6699
6950
  version: "3.1",
@@ -8243,54 +8494,8 @@ function _schemasDomainRecord(domain) {
8243
8494
  },
8244
8495
  required: []
8245
8496
  },
8246
- filter: {
8247
- oneOf: [
8248
- {
8249
- type: "string"
8250
- },
8251
- {
8252
- type: "object",
8253
- properties: {
8254
- __context: {
8255
- $ref: "#/components/schemas/object",
8256
- 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."
8257
- },
8258
- __returnValue: {
8259
- type: "string",
8260
- 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."
8261
- }
8262
- },
8263
- required: [
8264
- "__context",
8265
- "__returnValue"
8266
- ]
8267
- }
8268
- ]
8269
- },
8270
- expand: {
8271
- oneOf: [
8272
- {
8273
- type: "string"
8274
- },
8275
- {
8276
- type: "object",
8277
- properties: {
8278
- __context: {
8279
- $ref: "#/components/schemas/object",
8280
- 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."
8281
- },
8282
- __returnValue: {
8283
- type: "string",
8284
- 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."
8285
- }
8286
- },
8287
- required: [
8288
- "__context",
8289
- "__returnValue"
8290
- ]
8291
- }
8292
- ]
8293
- }
8497
+ filter: {},
8498
+ expand: {}
8294
8499
  },
8295
8500
  required: []
8296
8501
  },
@@ -8364,7 +8569,29 @@ function _schemasDomainRecord(domain) {
8364
8569
  },
8365
8570
  oneOf: {
8366
8571
  type: "array",
8367
- items: {}
8572
+ items: {
8573
+ type: "object",
8574
+ properties: {
8575
+ "const": {},
8576
+ title: {
8577
+ type: "string"
8578
+ }
8579
+ },
8580
+ required: []
8581
+ }
8582
+ },
8583
+ anyOf: {
8584
+ type: "array",
8585
+ items: {
8586
+ type: "object",
8587
+ properties: {
8588
+ "const": {},
8589
+ title: {
8590
+ type: "string"
8591
+ }
8592
+ },
8593
+ required: []
8594
+ }
8368
8595
  }
8369
8596
  },
8370
8597
  required: [
@@ -8494,11 +8721,6 @@ function _schemasDomainRecord(domain) {
8494
8721
  "const": "tags"
8495
8722
  }
8496
8723
  ]
8497
- },
8498
- object: {
8499
- type: "object",
8500
- properties: {},
8501
- required: []
8502
8724
  }
8503
8725
  }
8504
8726
  },
@@ -10647,10 +10869,25 @@ function _schemasDomainRecord(domain) {
10647
10869
  type: "string"
10648
10870
  },
10649
10871
  asset: {
10872
+ oneOf: [
10873
+ {
10874
+ type: "string"
10875
+ },
10876
+ {
10877
+ type: "array",
10878
+ items: {
10879
+ type: "string"
10880
+ }
10881
+ }
10882
+ ],
10883
+ description: "Only write array, single string is deprecated"
10884
+ },
10885
+ assets: {
10650
10886
  type: "array",
10651
10887
  items: {
10652
10888
  type: "string"
10653
- }
10889
+ },
10890
+ deprecated: true
10654
10891
  },
10655
10892
  time: {
10656
10893
  type: "number"
@@ -10658,6 +10895,9 @@ function _schemasDomainRecord(domain) {
10658
10895
  connection: {
10659
10896
  type: "string"
10660
10897
  },
10898
+ gallery: {
10899
+ type: "string"
10900
+ },
10661
10901
  user: {
10662
10902
  type: "string"
10663
10903
  },
@@ -10667,10 +10907,7 @@ function _schemasDomainRecord(domain) {
10667
10907
  },
10668
10908
  required: [
10669
10909
  "type",
10670
- "parent",
10671
- "asset",
10672
- "time",
10673
- "connection"
10910
+ "time"
10674
10911
  ]
10675
10912
  }
10676
10913
  }
@@ -12752,7 +12989,14 @@ function _schemasDomainRecord(domain) {
12752
12989
  type: "object",
12753
12990
  properties: {
12754
12991
  type: {
12755
- "const": "conditions_and"
12992
+ oneOf: [
12993
+ {
12994
+ "const": "conditions_and"
12995
+ },
12996
+ {
12997
+ "const": "conditions_or"
12998
+ }
12999
+ ]
12756
13000
  },
12757
13001
  sort: {
12758
13002
  type: "array",
@@ -12783,6 +13027,9 @@ function _schemasDomainRecord(domain) {
12783
13027
  },
12784
13028
  view: {
12785
13029
  oneOf: [
13030
+ {
13031
+ type: "null"
13032
+ },
12786
13033
  {
12787
13034
  "const": "GRID_VIEW"
12788
13035
  },
@@ -12805,7 +13052,9 @@ function _schemasDomainRecord(domain) {
12805
13052
  },
12806
13053
  conditions: {
12807
13054
  type: "array",
12808
- items: {}
13055
+ items: {
13056
+ $ref: "#/components/schemas/SearchCondition"
13057
+ }
12809
13058
  },
12810
13059
  visibleColumnKeys: {
12811
13060
  oneOf: [
@@ -12829,9 +13078,69 @@ function _schemasDomainRecord(domain) {
12829
13078
  type: "string"
12830
13079
  }
12831
13080
  ]
13081
+ },
13082
+ calendar: {
13083
+ type: "object",
13084
+ properties: {
13085
+ view: {
13086
+ oneOf: [
13087
+ {
13088
+ type: "null"
13089
+ },
13090
+ {
13091
+ "const": "day"
13092
+ },
13093
+ {
13094
+ "const": "week"
13095
+ },
13096
+ {
13097
+ "const": "month"
13098
+ },
13099
+ {
13100
+ "const": "work_week"
13101
+ }
13102
+ ]
13103
+ },
13104
+ dateAccessor: {
13105
+ oneOf: [
13106
+ {
13107
+ type: "null"
13108
+ },
13109
+ {
13110
+ type: "string"
13111
+ }
13112
+ ]
13113
+ },
13114
+ agenda: {
13115
+ type: "boolean"
13116
+ }
13117
+ },
13118
+ required: []
13119
+ },
13120
+ refreshInterval: {
13121
+ type: "number"
13122
+ },
13123
+ color: {
13124
+ type: "string"
12832
13125
  }
12833
13126
  },
12834
13127
  required: []
13128
+ },
13129
+ SearchCondition: {
13130
+ type: "object",
13131
+ properties: {
13132
+ field: {
13133
+ type: "string"
13134
+ },
13135
+ type: {
13136
+ type: "string"
13137
+ },
13138
+ op: {
13139
+ type: "string"
13140
+ },
13141
+ value: {}
13142
+ },
13143
+ required: []
12835
13144
  }
12836
13145
  }
12837
13146
  },
@@ -12866,9 +13175,7 @@ function _schemasDomainRecord(domain) {
12866
13175
  type: "string"
12867
13176
  }
12868
13177
  },
12869
- required: [
12870
- "hits"
12871
- ]
13178
+ required: []
12872
13179
  }
12873
13180
  }
12874
13181
  },
@@ -12879,6 +13186,60 @@ function _schemasDomainRecord(domain) {
12879
13186
  ]
12880
13187
  };
12881
13188
  }
13189
+ case ":search.conditions": {
13190
+ return {
13191
+ version: "3.1",
13192
+ components: {
13193
+ schemas: {
13194
+ SearchDomainConditionsRecord: {
13195
+ type: "object",
13196
+ properties: {
13197
+ value: {
13198
+ type: "array",
13199
+ items: {
13200
+ type: "string"
13201
+ }
13202
+ }
13203
+ },
13204
+ required: [],
13205
+ description: "legacy"
13206
+ }
13207
+ }
13208
+ },
13209
+ schemas: [
13210
+ {
13211
+ $ref: "#/components/schemas/SearchDomainConditionsRecord"
13212
+ }
13213
+ ]
13214
+ };
13215
+ }
13216
+ case ":search.visibleColumnKeys": {
13217
+ return {
13218
+ version: "3.1",
13219
+ components: {
13220
+ schemas: {
13221
+ SearchDomainVisibleColumnKeysRecord: {
13222
+ type: "object",
13223
+ properties: {
13224
+ value: {
13225
+ type: "array",
13226
+ items: {
13227
+ type: "string"
13228
+ }
13229
+ }
13230
+ },
13231
+ required: [],
13232
+ description: "legacy"
13233
+ }
13234
+ }
13235
+ },
13236
+ schemas: [
13237
+ {
13238
+ $ref: "#/components/schemas/SearchDomainVisibleColumnKeysRecord"
13239
+ }
13240
+ ]
13241
+ };
13242
+ }
12882
13243
  case ":settings": {
12883
13244
  return {
12884
13245
  version: "3.1",
@@ -13908,6 +14269,9 @@ function _schemasDomainRecord(domain) {
13908
14269
  properties: {
13909
14270
  maxHeight: {
13910
14271
  type: "number"
14272
+ },
14273
+ titleLines: {
14274
+ type: "number"
13911
14275
  }
13912
14276
  },
13913
14277
  required: []
@@ -13993,6 +14357,12 @@ function _schemasDomainRecord(domain) {
13993
14357
  utils: {
13994
14358
  type: "boolean"
13995
14359
  },
14360
+ utilsAssetEditor: {
14361
+ type: "boolean"
14362
+ },
14363
+ utilsAssetPanel: {
14364
+ type: "boolean"
14365
+ },
13996
14366
  history: {
13997
14367
  type: "boolean"
13998
14368
  },
@@ -14087,6 +14457,33 @@ function _schemasDomainRecord(domain) {
14087
14457
  },
14088
14458
  suppressDeleteAlert: {
14089
14459
  type: "boolean"
14460
+ },
14461
+ utilsAssetEditorPanel: {
14462
+ type: "object",
14463
+ properties: {
14464
+ stateFilter: {
14465
+ type: "array",
14466
+ items: {
14467
+ type: "number"
14468
+ }
14469
+ },
14470
+ textFilter: {
14471
+ type: "string"
14472
+ },
14473
+ showEmpty: {
14474
+ type: "boolean"
14475
+ },
14476
+ selectedRecord: {
14477
+ type: "string"
14478
+ },
14479
+ subscribeSearchHits: {
14480
+ type: "boolean"
14481
+ },
14482
+ parseRegex: {
14483
+ type: "boolean"
14484
+ }
14485
+ },
14486
+ required: []
14090
14487
  }
14091
14488
  },
14092
14489
  required: []
@@ -14233,6 +14630,160 @@ function _schemasDomainRecord(domain) {
14233
14630
  ]
14234
14631
  };
14235
14632
  }
14633
+ case ":shotbox": {
14634
+ return {
14635
+ version: "3.1",
14636
+ components: {
14637
+ schemas: {
14638
+ ShotboxDomainRecord: {
14639
+ type: "object",
14640
+ properties: {
14641
+ pages: {
14642
+ type: "array",
14643
+ items: {
14644
+ $ref: "#/components/schemas/ShotboxPage"
14645
+ }
14646
+ }
14647
+ },
14648
+ required: []
14649
+ },
14650
+ ShotboxPage: {
14651
+ type: "object",
14652
+ properties: {
14653
+ stickyTopRow: {
14654
+ type: "boolean"
14655
+ },
14656
+ inferGroups: {
14657
+ type: "boolean"
14658
+ },
14659
+ layout: {
14660
+ type: "array",
14661
+ items: {
14662
+ oneOf: [
14663
+ {
14664
+ type: "array",
14665
+ items: {
14666
+ $ref: "#/components/schemas/ShotboxGroup"
14667
+ }
14668
+ },
14669
+ {
14670
+ $ref: "#/components/schemas/ShotboxEventGroup"
14671
+ },
14672
+ {
14673
+ $ref: "#/components/schemas/ShotboxStreamGroup"
14674
+ }
14675
+ ]
14676
+ }
14677
+ }
14678
+ },
14679
+ required: []
14680
+ },
14681
+ ShotboxGroup: {
14682
+ oneOf: [
14683
+ {
14684
+ $ref: "#/components/schemas/ShotboxEventGroup"
14685
+ },
14686
+ {
14687
+ $ref: "#/components/schemas/ShotboxStreamGroup"
14688
+ }
14689
+ ]
14690
+ },
14691
+ ShotboxEventGroup: {
14692
+ type: "object",
14693
+ properties: {
14694
+ id: {
14695
+ type: "string"
14696
+ },
14697
+ title: {
14698
+ type: "string"
14699
+ },
14700
+ sticky: {
14701
+ type: "boolean"
14702
+ },
14703
+ type: {
14704
+ oneOf: [
14705
+ {
14706
+ "const": "trigger"
14707
+ },
14708
+ {
14709
+ "const": "toggle"
14710
+ }
14711
+ ]
14712
+ },
14713
+ width: {
14714
+ type: "string"
14715
+ },
14716
+ include: {
14717
+ type: "array",
14718
+ items: {
14719
+ type: "string"
14720
+ }
14721
+ },
14722
+ exclude: {
14723
+ type: "array",
14724
+ items: {
14725
+ type: "string"
14726
+ }
14727
+ },
14728
+ states: {
14729
+ type: "object",
14730
+ properties: {
14731
+ completed: {
14732
+ type: "boolean"
14733
+ }
14734
+ },
14735
+ required: [
14736
+ "completed"
14737
+ ]
14738
+ },
14739
+ flow: {
14740
+ oneOf: [
14741
+ {
14742
+ "const": "column"
14743
+ },
14744
+ {
14745
+ "const": "row"
14746
+ }
14747
+ ]
14748
+ },
14749
+ minRows: {
14750
+ type: "number"
14751
+ },
14752
+ maxRows: {
14753
+ type: "number"
14754
+ }
14755
+ },
14756
+ required: []
14757
+ },
14758
+ ShotboxStreamGroup: {
14759
+ type: "object",
14760
+ properties: {
14761
+ type: {
14762
+ "const": "stream"
14763
+ },
14764
+ title: {
14765
+ type: "string"
14766
+ },
14767
+ width: {
14768
+ type: "string"
14769
+ },
14770
+ source: {
14771
+ type: "string"
14772
+ }
14773
+ },
14774
+ required: [
14775
+ "type"
14776
+ ]
14777
+ }
14778
+ }
14779
+ },
14780
+ schemas: [
14781
+ {
14782
+ $ref: "#/components/schemas/ShotboxDomainRecord"
14783
+ }
14784
+ ]
14785
+ };
14786
+ }
14236
14787
  case ":storyboard": {
14237
14788
  return {
14238
14789
  version: "3.1",