@nxtedition/types 23.0.57 → 23.0.59

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.
@@ -1,4 +1,4 @@
1
- export type Nxtpression<ReturnValue = string, Context extends object = object> = {
1
+ export type Nxtpression<ReturnValue = unknown, Context extends object = object> = {
2
2
  /**
3
3
  * TS-HACK: this property doesn't really exist on the nxtpression string,
4
4
  * it is only here to make sure the generic Context won't get stripped.
@@ -42,3 +42,12 @@ export interface SearchHighlightOption {
42
42
  [field: string]: unknown;
43
43
  };
44
44
  }
45
+ export interface SearchCondition {
46
+ field?: string;
47
+ type?: string;
48
+ op?: string;
49
+ value?: unknown;
50
+ }
51
+ export type SearchType = "conditions_and" | "conditions_or";
52
+ export type SearchView = "GRID_VIEW" | "LIST_VIEW" | "CALENDAR_VIEW" | "MAP_VIEW" | "AGENDA_VIEW" | "RESOURCE_VIEW";
53
+ export type SearchCalendarView = "day" | "week" | "month" | "work_week";
@@ -10,6 +10,7 @@ export interface Settings {
10
10
  overrideUserLogin?: boolean;
11
11
  };
12
12
  module?: {
13
+ editor?: string;
13
14
  tabs?: ModuleTabs;
14
15
  };
15
16
  upload?: {
@@ -39,6 +40,7 @@ export interface Settings {
39
40
  };
40
41
  };
41
42
  toolbarTags?: {
43
+ include?: string[];
42
44
  exclude?: string[];
43
45
  };
44
46
  /**
@@ -74,6 +76,10 @@ export interface Settings {
74
76
  dashboard?: {
75
77
  maxMru?: number;
76
78
  maxTabs?: number;
79
+ layout?: {
80
+ bookmarks?: number;
81
+ browser?: number;
82
+ };
77
83
  };
78
84
  script?: {
79
85
  createMenu?: {
@@ -104,6 +110,7 @@ export interface Settings {
104
110
  gallery?: {
105
111
  dimOnBlur?: boolean;
106
112
  float?: "rundown" | "gallery" | "disabled";
113
+ countFloatedDuration?: boolean;
107
114
  };
108
115
  history?: boolean;
109
116
  keymap?: {
@@ -251,6 +258,7 @@ export interface Settings {
251
258
  };
252
259
  item?: {
253
260
  maxHeight?: number;
261
+ titleLines?: number;
254
262
  };
255
263
  };
256
264
  print?: {
@@ -277,6 +285,8 @@ export interface Settings {
277
285
  };
278
286
  flags?: {
279
287
  utils?: boolean;
288
+ utilsAssetEditor?: boolean;
289
+ utilsAssetPanel?: boolean;
280
290
  history?: boolean;
281
291
  refs?: boolean;
282
292
  access?: boolean;
@@ -305,6 +315,20 @@ export interface Settings {
305
315
  };
306
316
  };
307
317
  suppressDeleteAlert?: boolean;
318
+ clone?: {
319
+ duplicate?: {
320
+ titlePrefix?: string;
321
+ titleSuffix?: string;
322
+ };
323
+ };
324
+ utilsAssetEditorPanel?: {
325
+ stateFilter?: number[];
326
+ textFilter?: string;
327
+ showEmpty?: boolean;
328
+ selectedRecord?: string;
329
+ subscribeSearchHits?: boolean;
330
+ parseRegex?: boolean;
331
+ };
308
332
  }
309
333
  export type SettingsPaths = Paths<Settings>;
310
334
  interface ModuleTabs {
@@ -312,7 +336,8 @@ interface ModuleTabs {
312
336
  settingsPanelStore?: SettingsPanelStoreTab;
313
337
  }
314
338
  interface ModuleTabsSettingsValue {
315
- activeTab?: string;
339
+ activeTab?: string | null;
340
+ priority?: number;
316
341
  }
317
342
  interface SettingsPanelStoreTab extends ModuleTabsSettingsValue {
318
343
  activeSectionIndex?: number;
@@ -290,6 +290,37 @@ declare interface BundleRevisionsRecord {
290
290
  [revisionId: string]: BundleRecord;
291
291
  }
292
292
 
293
+ declare type CalendarEventDomainFrequency = "days" | "weeks" | "months" | "years";
294
+
295
+ declare interface CalendarEventDomainRecord {
296
+ start?: string | null;
297
+ end?: string | null;
298
+ description?: string;
299
+ recurrence?: CalendarEventDomainRecurrenceRule | null;
300
+ color?: string;
301
+ }
302
+
303
+ declare interface CalendarEventDomainRecords {
304
+ ":calendarevent": CalendarEventDomainRecord;
305
+ }
306
+
307
+ declare interface CalendarEventDomainRecurrenceRule {
308
+ /** "Repeat every {interval} {frequency}" */
309
+ interval?: number;
310
+ /** "Repeat every {interval} {frequency}" */
311
+ frequency?: CalendarEventDomainFrequency | null;
312
+ /**
313
+ * "Repeat on"
314
+ * 1 = Monday, 2 = Tuesday, ..., 7 = Sunday
315
+ * Used when frequency is 'weeks'
316
+ */
317
+ byweekday?: number[] | null;
318
+ /** "Ends after" */
319
+ count?: null;
320
+ /** "Ends on date" */
321
+ until?: string | null;
322
+ }
323
+
293
324
  declare type Cast<Value extends number | bigint> = Value extends number ? Value : `BigInt(${Value})`;
294
325
 
295
326
  declare type Cast_2<Value extends number | bigint> = Value extends number ? Value : `BigInt(${Value})`;
@@ -365,6 +396,12 @@ declare interface CommentReadMarkDomainRecords {
365
396
  ":comment-read-mark": CommentReadMarkDomainRecord;
366
397
  }
367
398
 
399
+ declare type ConditionDomainRecord = SearchCondition;
400
+
401
+ declare interface ConditionDomainRecords {
402
+ ":condition": ConditionDomainRecord;
403
+ }
404
+
368
405
  declare interface ConnectionBase {
369
406
  type?: string | null;
370
407
  userNotificationsEnabled?: boolean;
@@ -468,7 +505,7 @@ declare interface DesignViewRow<Id = string, Key = string, Value = void> {
468
505
  value: Value;
469
506
  }
470
507
 
471
- declare interface DomainRecords extends AssetDomainRecords, AuthDomainRecords, BundleDomainRecords, CloneDomainRecords, CommentReactionDomainRecords, CommentReadMarkDomainRecords, CommentDomainRecords, ConnectionDomainRecords, ContactDomainRecords, DeepstreamDomainRecords, DesignDomainRecords, EditDomainRecords, EventDomainRecords, FileDomainRecords, GeneralDomainRecords, MediaDomainRecords, MonitorDomainRecords, PanelDomainRecords, PermissionDomainRecords, PipelinePresetDomainRecords, PipelineDomainRecords, PlanningDomainRecords, PrompterDomainRecords, PublishDomainRecords, PublishedDomainRecords, RenderPresetDomainRecords, RenderDomainRecords, RevsDomainRecords, RoleDomainRecords, ScriptDomainRecords, SearchDomainRecords, SettingsDomainRecords, StoryboardDomainRecords, SubtitleStyleDomainRecords, SubtitleDomainRecords, TemplateDomainRecords, UserNotificationStatusDomainRecords, UserNotificationDomainRecords, UserDomainRecords, UsernameDomainRecords {
508
+ declare interface DomainRecords extends AssetDomainRecords, AuthDomainRecords, BundleDomainRecords, CalendarEventDomainRecords, CloneDomainRecords, CommentReactionDomainRecords, CommentReadMarkDomainRecords, CommentDomainRecords, ConditionDomainRecords, ConnectionDomainRecords, ContactDomainRecords, DeepstreamDomainRecords, DesignDomainRecords, EditDomainRecords, EventDomainRecords, FileDomainRecords, GeneralDomainRecords, HarvestDomainRecords, IngestclipDomainRecords, MediaDomainRecords, MonitorDomainRecords, PanelDomainRecords, PermissionDomainRecords, PipelinePresetDomainRecords, PipelineDomainRecords, PlanningDomainRecords, PrompterDomainRecords, PublishDomainRecords, PublishedDomainRecords, RenderPresetDomainRecords, RenderDomainRecords, RevsDomainRecords, RoleDomainRecords, ScriptDomainRecords, SearchDomainRecords, SettingsDomainRecords, ShotboxDomainRecords, StoryboardDomainRecords, SubtitleStyleDomainRecords, SubtitleDomainRecords, TemplateDomainRecords, UserNotificationStatusDomainRecords, UserNotificationDomainRecords, UserDomainRecords, UsernameDomainRecords {
472
509
  }
473
510
 
474
511
  declare type Dynamic = false | string[];
@@ -994,6 +1031,18 @@ declare type GettablePossibleEmpty<Data> = keyof Data extends never ? EmptyObjec
994
1031
  [K in keyof Data]+?: Data[K];
995
1032
  };
996
1033
 
1034
+ declare interface HarvestDomainRecord {
1035
+ active?: boolean;
1036
+ tags?: string[];
1037
+ revisions?: boolean;
1038
+ concurrency?: number;
1039
+ throttle?: number;
1040
+ }
1041
+
1042
+ declare interface HarvestDomainRecords {
1043
+ ":harvest": HarvestDomainRecord;
1044
+ }
1045
+
997
1046
  declare interface HeadingNodeContent extends ElementNodeContent {
998
1047
  type: "heading";
999
1048
  tag: "h1" | "h2" | "h3";
@@ -1132,6 +1181,29 @@ declare type If<Type extends boolean, IfBranch, ElseBranch> =
1132
1181
  ? IfBranch
1133
1182
  : ElseBranch;
1134
1183
 
1184
+ declare interface IngestclipDomainRecord {
1185
+ time?: number;
1186
+ duration?: number;
1187
+ type?: string;
1188
+ record?: string;
1189
+ data?: boolean;
1190
+ gallery?: string;
1191
+ rundown?: string;
1192
+ segment?: string;
1193
+ story?: string;
1194
+ event?: string;
1195
+ title?: string;
1196
+ start?: number;
1197
+ end?: number;
1198
+ channel?: string;
1199
+ schedule?: string;
1200
+ parent?: string;
1201
+ }
1202
+
1203
+ declare interface IngestclipDomainRecords {
1204
+ ":ingestclip": IngestclipDomainRecord;
1205
+ }
1206
+
1135
1207
  /**
1136
1208
  The actual implementation of `IsUnion`.
1137
1209
  */
@@ -1464,7 +1536,8 @@ declare interface ModuleTabs {
1464
1536
  }
1465
1537
 
1466
1538
  declare interface ModuleTabsSettingsValue {
1467
- activeTab?: string;
1539
+ activeTab?: string | null;
1540
+ priority?: number;
1468
1541
  }
1469
1542
 
1470
1543
  declare interface MonitorDomainRecords {
@@ -1624,7 +1697,7 @@ declare interface NxtError {
1624
1697
  errors?: NxtError[] | null;
1625
1698
  }
1626
1699
 
1627
- declare type Nxtpression<ReturnValue = string, Context extends object = object> = {
1700
+ declare type Nxtpression<ReturnValue = unknown, Context extends object = object> = {
1628
1701
  /**
1629
1702
  * TS-HACK: this property doesn't really exist on the nxtpression string,
1630
1703
  * it is only here to make sure the generic Context won't get stripped.
@@ -1946,7 +2019,14 @@ declare interface PanelProperty {
1946
2019
  };
1947
2020
  /** If present, indicates that the user must specify a value for the asset to be treated as valid. */
1948
2021
  required?: boolean;
1949
- oneOf?: unknown[];
2022
+ oneOf?: Array<{
2023
+ const?: unknown;
2024
+ title?: string;
2025
+ }>;
2026
+ anyOf?: Array<{
2027
+ const?: unknown;
2028
+ title?: string;
2029
+ }>;
1950
2030
  }
1951
2031
 
1952
2032
  declare interface ParagraphNodeContent extends ElementNodeContent {
@@ -2115,10 +2195,14 @@ declare interface PublishedDomainRecords {
2115
2195
 
2116
2196
  declare interface PublishedRecord {
2117
2197
  type: string;
2118
- parent: string;
2119
- asset: string[];
2198
+ parent?: string;
2199
+ /** Only write array, single string is deprecated */
2200
+ asset?: string[] | string;
2201
+ /** @deprecated - do not write */
2202
+ assets?: string[];
2120
2203
  time: number;
2121
- connection: string;
2204
+ connection?: string;
2205
+ gallery?: string;
2122
2206
  user?: string;
2123
2207
  error?: boolean;
2124
2208
  }
@@ -2463,6 +2547,10 @@ declare interface ScriptEditorStateRevisionRecord {
2463
2547
 
2464
2548
  declare interface ScriptRecord {
2465
2549
  value: YjsSnapshot;
2550
+ refs?: {
2551
+ mixin: string;
2552
+ asset?: string;
2553
+ }[];
2466
2554
  }
2467
2555
 
2468
2556
  declare interface ScriptRevision {
@@ -2486,32 +2574,67 @@ declare interface ScriptTextRecord {
2486
2574
  graphics: string;
2487
2575
  }
2488
2576
 
2577
+ declare type SearchCalendarView = "day" | "week" | "month" | "work_week";
2578
+
2579
+ declare interface SearchCondition {
2580
+ field?: string;
2581
+ type?: string;
2582
+ op?: string;
2583
+ value?: unknown;
2584
+ }
2585
+
2586
+ /** legacy */
2587
+ declare interface SearchDomainConditionsRecord {
2588
+ value?: string[];
2589
+ }
2590
+
2489
2591
  declare interface SearchDomainRecords {
2490
2592
  ":search": SearchRecord;
2491
2593
  ":search?": SearchRecordProvided;
2594
+ /** legacy */
2595
+ ":search.conditions": SearchDomainConditionsRecord;
2596
+ /** legacy */
2597
+ ":search.visibleColumnKeys": SearchDomainVisibleColumnKeysRecord;
2598
+ }
2599
+
2600
+ /** legacy */
2601
+ declare interface SearchDomainVisibleColumnKeysRecord {
2602
+ value?: string[];
2492
2603
  }
2493
2604
 
2494
2605
  declare interface SearchRecord {
2495
- type?: "conditions_and";
2606
+ type?: SearchType;
2496
2607
  sort?: Array<{
2497
2608
  [key: string]: "asc" | "desc";
2498
2609
  }>;
2499
2610
  showDefault?: boolean;
2500
2611
  showDeleted?: boolean;
2501
2612
  showHidden?: boolean;
2502
- view?: "GRID_VIEW" | "LIST_VIEW" | "CALENDAR_VIEW" | "MAP_VIEW" | "AGENDA_VIEW" | "RESOURCE_VIEW";
2503
- conditions?: Array<unknown>;
2613
+ view?: SearchView | null;
2614
+ conditions?: SearchCondition[];
2504
2615
  visibleColumnKeys?: null | string[];
2505
2616
  connectionId?: string | null;
2617
+ calendar?: {
2618
+ view?: SearchCalendarView | null;
2619
+ dateAccessor?: string | null;
2620
+ agenda?: boolean;
2621
+ };
2622
+ refreshInterval?: number;
2623
+ color?: string;
2624
+ icon?: string;
2506
2625
  }
2507
2626
 
2508
2627
  declare interface SearchRecordProvided {
2509
- hits: string[];
2628
+ hits?: string[];
2510
2629
  total?: number;
2511
2630
  relation?: string;
2512
2631
  error?: string;
2513
2632
  }
2514
2633
 
2634
+ declare type SearchType = "conditions_and" | "conditions_or";
2635
+
2636
+ declare type SearchView = "GRID_VIEW" | "LIST_VIEW" | "CALENDAR_VIEW" | "MAP_VIEW" | "AGENDA_VIEW" | "RESOURCE_VIEW";
2637
+
2515
2638
  declare type Serialize<T extends string, Output extends string = ""> = string extends T ? never : T extends "" ? Output : T extends `${infer P}${infer R}` ? Serialize<R, `${Output}${P extends keyof Escaper ? Escaper[P] : P}`> : never;
2516
2639
 
2517
2640
  declare interface SerializedAutoLinkNode {
@@ -2607,6 +2730,7 @@ declare interface Settings {
2607
2730
  overrideUserLogin?: boolean;
2608
2731
  };
2609
2732
  module?: {
2733
+ editor?: string;
2610
2734
  tabs?: ModuleTabs;
2611
2735
  };
2612
2736
  upload?: {
@@ -2636,6 +2760,7 @@ declare interface Settings {
2636
2760
  };
2637
2761
  };
2638
2762
  toolbarTags?: {
2763
+ include?: string[];
2639
2764
  exclude?: string[];
2640
2765
  };
2641
2766
  /**
@@ -2671,6 +2796,10 @@ declare interface Settings {
2671
2796
  dashboard?: {
2672
2797
  maxMru?: number;
2673
2798
  maxTabs?: number;
2799
+ layout?: {
2800
+ bookmarks?: number;
2801
+ browser?: number;
2802
+ };
2674
2803
  };
2675
2804
  script?: {
2676
2805
  createMenu?: {
@@ -2701,6 +2830,7 @@ declare interface Settings {
2701
2830
  gallery?: {
2702
2831
  dimOnBlur?: boolean;
2703
2832
  float?: "rundown" | "gallery" | "disabled";
2833
+ countFloatedDuration?: boolean;
2704
2834
  };
2705
2835
  history?: boolean;
2706
2836
  keymap?: {
@@ -2848,6 +2978,7 @@ declare interface Settings {
2848
2978
  };
2849
2979
  item?: {
2850
2980
  maxHeight?: number;
2981
+ titleLines?: number;
2851
2982
  };
2852
2983
  };
2853
2984
  print?: {
@@ -2874,6 +3005,8 @@ declare interface Settings {
2874
3005
  };
2875
3006
  flags?: {
2876
3007
  utils?: boolean;
3008
+ utilsAssetEditor?: boolean;
3009
+ utilsAssetPanel?: boolean;
2877
3010
  history?: boolean;
2878
3011
  refs?: boolean;
2879
3012
  access?: boolean;
@@ -2902,6 +3035,20 @@ declare interface Settings {
2902
3035
  };
2903
3036
  };
2904
3037
  suppressDeleteAlert?: boolean;
3038
+ clone?: {
3039
+ duplicate?: {
3040
+ titlePrefix?: string;
3041
+ titleSuffix?: string;
3042
+ };
3043
+ };
3044
+ utilsAssetEditorPanel?: {
3045
+ stateFilter?: number[];
3046
+ textFilter?: string;
3047
+ showEmpty?: boolean;
3048
+ selectedRecord?: string;
3049
+ subscribeSearchHits?: boolean;
3050
+ parseRegex?: boolean;
3051
+ };
2905
3052
  }
2906
3053
 
2907
3054
  declare interface SettingsDomainRecords {
@@ -2914,6 +3061,45 @@ declare interface SettingsPanelStoreTab extends ModuleTabsSettingsValue {
2914
3061
 
2915
3062
  declare type SettingsRecord = Settings;
2916
3063
 
3064
+ declare interface ShotboxDomainRecord {
3065
+ pages?: ShotboxPage[];
3066
+ }
3067
+
3068
+ declare interface ShotboxDomainRecords {
3069
+ ":shotbox": ShotboxDomainRecord;
3070
+ }
3071
+
3072
+ declare interface ShotboxEventGroup {
3073
+ id?: string;
3074
+ title?: string;
3075
+ sticky?: boolean;
3076
+ type?: "trigger" | "toggle";
3077
+ width?: string;
3078
+ include?: string[];
3079
+ exclude?: string[];
3080
+ states?: {
3081
+ completed: boolean;
3082
+ };
3083
+ flow?: "column" | "row";
3084
+ minRows?: number;
3085
+ maxRows?: number;
3086
+ }
3087
+
3088
+ declare type ShotboxGroup = ShotboxEventGroup | ShotboxStreamGroup;
3089
+
3090
+ declare interface ShotboxPage {
3091
+ stickyTopRow?: boolean;
3092
+ inferGroups?: boolean;
3093
+ layout?: Array<ShotboxGroup[] | ShotboxGroup>;
3094
+ }
3095
+
3096
+ declare interface ShotboxStreamGroup {
3097
+ type: "stream";
3098
+ title?: string;
3099
+ width?: string;
3100
+ source?: string;
3101
+ }
3102
+
2917
3103
  /**
2918
3104
  Create a type that only accepts an object with a single key.
2919
3105
 
@@ -0,0 +1,27 @@
1
+ export interface CalendarEventDomainRecords {
2
+ ":calendarevent": CalendarEventDomainRecord;
3
+ }
4
+ export interface CalendarEventDomainRecord {
5
+ start?: string | null;
6
+ end?: string | null;
7
+ description?: string;
8
+ recurrence?: CalendarEventDomainRecurrenceRule | null;
9
+ color?: string;
10
+ }
11
+ export interface CalendarEventDomainRecurrenceRule {
12
+ /** "Repeat every {interval} {frequency}" */
13
+ interval?: number;
14
+ /** "Repeat every {interval} {frequency}" */
15
+ frequency?: CalendarEventDomainFrequency | null;
16
+ /**
17
+ * "Repeat on"
18
+ * 1 = Monday, 2 = Tuesday, ..., 7 = Sunday
19
+ * Used when frequency is 'weeks'
20
+ */
21
+ byweekday?: number[] | null;
22
+ /** "Ends after" */
23
+ count?: null;
24
+ /** "Ends on date" */
25
+ until?: string | null;
26
+ }
27
+ export type CalendarEventDomainFrequency = "days" | "weeks" | "months" | "years";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ import type { SearchCondition } from '../../common';
2
+ export interface ConditionDomainRecords {
3
+ ":condition": ConditionDomainRecord;
4
+ }
5
+ export type ConditionDomainRecord = SearchCondition;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,10 @@
1
+ export interface HarvestDomainRecords {
2
+ ":harvest": HarvestDomainRecord;
3
+ }
4
+ export interface HarvestDomainRecord {
5
+ active?: boolean;
6
+ tags?: string[];
7
+ revisions?: boolean;
8
+ concurrency?: number;
9
+ throttle?: number;
10
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -1,10 +1,12 @@
1
1
  import type { AssetDomainRecords } from './asset.ts';
2
2
  import type { AuthDomainRecords } from './auth.ts';
3
3
  import type { BundleDomainRecords } from './bundle.ts';
4
+ import type { CalendarEventDomainRecords } from './calendarevent.ts';
4
5
  import type { CloneDomainRecords } from './clone.ts';
5
6
  import type { CommentReactionDomainRecords } from './comment-reaction.ts';
6
7
  import type { CommentReadMarkDomainRecords } from './comment-read-mark.ts';
7
8
  import type { CommentDomainRecords } from './comment.ts';
9
+ import type { ConditionDomainRecords } from './condition.ts';
8
10
  import type { ConnectionDomainRecords } from './connection/index.ts';
9
11
  import type { ContactDomainRecords } from './contact.ts';
10
12
  import type { DeepstreamDomainRecords } from './deepstream.ts';
@@ -13,6 +15,8 @@ import type { EditDomainRecords } from './edit.ts';
13
15
  import type { EventDomainRecords } from './event.ts';
14
16
  import type { FileDomainRecords } from './file.ts';
15
17
  import type { GeneralDomainRecords } from './general.ts';
18
+ import type { HarvestDomainRecords } from './harvest.ts';
19
+ import type { IngestclipDomainRecords } from './ingestclip.ts';
16
20
  import type { MediaDomainRecords } from './media.ts';
17
21
  import type { MonitorDomainRecords } from './monitor.ts';
18
22
  import type { PanelDomainRecords } from './panel.ts';
@@ -30,6 +34,7 @@ import type { RoleDomainRecords } from './role.ts';
30
34
  import type { ScriptDomainRecords } from './script.ts';
31
35
  import type { SearchDomainRecords } from './search.ts';
32
36
  import type { SettingsDomainRecords } from './settings.ts';
37
+ import type { ShotboxDomainRecords } from './shotbox.ts';
33
38
  import type { StoryboardDomainRecords } from './storyboard.ts';
34
39
  import type { SubtitleStyleDomainRecords } from './subtitle-style.ts';
35
40
  import type { SubtitleDomainRecords } from './subtitle.ts';
@@ -41,10 +46,12 @@ import type { UsernameDomainRecords } from './username.ts';
41
46
  export * from './asset.ts';
42
47
  export * from './auth.ts';
43
48
  export * from './bundle.ts';
49
+ export * from './calendarevent.ts';
44
50
  export * from './clone.ts';
45
51
  export * from './comment-reaction.ts';
46
52
  export * from './comment-read-mark.ts';
47
53
  export * from './comment.ts';
54
+ export * from './condition.ts';
48
55
  export * from './connection/index.ts';
49
56
  export * from './contact.ts';
50
57
  export * from './deepstream.ts';
@@ -53,6 +60,8 @@ export * from './edit.ts';
53
60
  export * from './event.ts';
54
61
  export * from './file.ts';
55
62
  export * from './general.ts';
63
+ export * from './harvest.ts';
64
+ export * from './ingestclip.ts';
56
65
  export * from './media.ts';
57
66
  export * from './monitor.ts';
58
67
  export * from './panel.ts';
@@ -70,6 +79,7 @@ export * from './role.ts';
70
79
  export * from './script.ts';
71
80
  export * from './search.ts';
72
81
  export * from './settings.ts';
82
+ export * from './shotbox.ts';
73
83
  export * from './storyboard.ts';
74
84
  export * from './subtitle-style.ts';
75
85
  export * from './subtitle.ts';
@@ -78,5 +88,5 @@ export * from './user-notification-status.ts';
78
88
  export * from './user-notification.ts';
79
89
  export * from './user.ts';
80
90
  export * from './username.ts';
81
- export interface DomainRecords extends AssetDomainRecords, AuthDomainRecords, BundleDomainRecords, CloneDomainRecords, CommentReactionDomainRecords, CommentReadMarkDomainRecords, CommentDomainRecords, ConnectionDomainRecords, ContactDomainRecords, DeepstreamDomainRecords, DesignDomainRecords, EditDomainRecords, EventDomainRecords, FileDomainRecords, GeneralDomainRecords, MediaDomainRecords, MonitorDomainRecords, PanelDomainRecords, PermissionDomainRecords, PipelinePresetDomainRecords, PipelineDomainRecords, PlanningDomainRecords, PrompterDomainRecords, PublishDomainRecords, PublishedDomainRecords, RenderPresetDomainRecords, RenderDomainRecords, RevsDomainRecords, RoleDomainRecords, ScriptDomainRecords, SearchDomainRecords, SettingsDomainRecords, StoryboardDomainRecords, SubtitleStyleDomainRecords, SubtitleDomainRecords, TemplateDomainRecords, UserNotificationStatusDomainRecords, UserNotificationDomainRecords, UserDomainRecords, UsernameDomainRecords {
91
+ export interface DomainRecords extends AssetDomainRecords, AuthDomainRecords, BundleDomainRecords, CalendarEventDomainRecords, CloneDomainRecords, CommentReactionDomainRecords, CommentReadMarkDomainRecords, CommentDomainRecords, ConditionDomainRecords, ConnectionDomainRecords, ContactDomainRecords, DeepstreamDomainRecords, DesignDomainRecords, EditDomainRecords, EventDomainRecords, FileDomainRecords, GeneralDomainRecords, HarvestDomainRecords, IngestclipDomainRecords, MediaDomainRecords, MonitorDomainRecords, PanelDomainRecords, PermissionDomainRecords, PipelinePresetDomainRecords, PipelineDomainRecords, PlanningDomainRecords, PrompterDomainRecords, PublishDomainRecords, PublishedDomainRecords, RenderPresetDomainRecords, RenderDomainRecords, RevsDomainRecords, RoleDomainRecords, ScriptDomainRecords, SearchDomainRecords, SettingsDomainRecords, ShotboxDomainRecords, StoryboardDomainRecords, SubtitleStyleDomainRecords, SubtitleDomainRecords, TemplateDomainRecords, UserNotificationStatusDomainRecords, UserNotificationDomainRecords, UserDomainRecords, UsernameDomainRecords {
82
92
  }
@@ -1,10 +1,12 @@
1
1
  export * from "./asset.js";
2
2
  export * from "./auth.js";
3
3
  export * from "./bundle.js";
4
+ export * from "./calendarevent.js";
4
5
  export * from "./clone.js";
5
6
  export * from "./comment-reaction.js";
6
7
  export * from "./comment-read-mark.js";
7
8
  export * from "./comment.js";
9
+ export * from "./condition.js";
8
10
  export * from "./connection/index.js";
9
11
  export * from "./contact.js";
10
12
  export * from "./deepstream.js";
@@ -13,6 +15,8 @@ export * from "./edit.js";
13
15
  export * from "./event.js";
14
16
  export * from "./file.js";
15
17
  export * from "./general.js";
18
+ export * from "./harvest.js";
19
+ export * from "./ingestclip.js";
16
20
  export * from "./media.js";
17
21
  export * from "./monitor.js";
18
22
  export * from "./panel.js";
@@ -30,6 +34,7 @@ export * from "./role.js";
30
34
  export * from "./script.js";
31
35
  export * from "./search.js";
32
36
  export * from "./settings.js";
37
+ export * from "./shotbox.js";
33
38
  export * from "./storyboard.js";
34
39
  export * from "./subtitle-style.js";
35
40
  export * from "./subtitle.js";
@@ -0,0 +1,21 @@
1
+ export interface IngestclipDomainRecords {
2
+ ":ingestclip": IngestclipDomainRecord;
3
+ }
4
+ export interface IngestclipDomainRecord {
5
+ time?: number;
6
+ duration?: number;
7
+ type?: string;
8
+ record?: string;
9
+ data?: boolean;
10
+ gallery?: string;
11
+ rundown?: string;
12
+ segment?: string;
13
+ story?: string;
14
+ event?: string;
15
+ title?: string;
16
+ start?: number;
17
+ end?: number;
18
+ channel?: string;
19
+ schedule?: string;
20
+ parent?: string;
21
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -35,7 +35,14 @@ export interface PanelProperty {
35
35
  };
36
36
  /** If present, indicates that the user must specify a value for the asset to be treated as valid. */
37
37
  required?: boolean;
38
- oneOf?: unknown[];
38
+ oneOf?: Array<{
39
+ const?: unknown;
40
+ title?: string;
41
+ }>;
42
+ anyOf?: Array<{
43
+ const?: unknown;
44
+ title?: string;
45
+ }>;
39
46
  }
40
47
  export type PanelLayout = string | PanelLayoutDivider | PanelLayoutItem | PanelLayout[];
41
48
  export interface PanelLayoutItem {
@@ -3,10 +3,14 @@ export interface PublishedDomainRecords {
3
3
  }
4
4
  export interface PublishedRecord {
5
5
  type: string;
6
- parent: string;
7
- asset: string[];
6
+ parent?: string;
7
+ /** Only write array, single string is deprecated */
8
+ asset?: string[] | string;
9
+ /** @deprecated - do not write */
10
+ assets?: string[];
8
11
  time: number;
9
- connection: string;
12
+ connection?: string;
13
+ gallery?: string;
10
14
  user?: string;
11
15
  error?: boolean;
12
16
  }
@@ -17,6 +17,10 @@ export interface ScriptDomainRecords {
17
17
  }
18
18
  export interface ScriptRecord {
19
19
  value: YjsSnapshot;
20
+ refs?: {
21
+ mixin: string;
22
+ asset?: string;
23
+ }[];
20
24
  }
21
25
  export interface ScriptEditorStateRecord {
22
26
  value: SerializedEditorState;