@nxtedition/types 23.0.55 → 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.
Files changed (36) hide show
  1. package/dist/common/nxtpression.d.ts +1 -1
  2. package/dist/common/search.d.ts +9 -0
  3. package/dist/common/settings.d.ts +11 -0
  4. package/dist/nxtpression.d.ts +191 -18
  5. package/dist/records/domains/asset.d.ts +4 -0
  6. package/dist/records/domains/calendarevent.d.ts +27 -0
  7. package/dist/records/domains/calendarevent.js +1 -0
  8. package/dist/records/domains/condition.d.ts +5 -0
  9. package/dist/records/domains/condition.js +1 -0
  10. package/dist/records/domains/harvest.d.ts +10 -0
  11. package/dist/records/domains/harvest.js +1 -0
  12. package/dist/records/domains/index.d.ts +11 -1
  13. package/dist/records/domains/index.js +5 -0
  14. package/dist/records/domains/ingestclip.d.ts +21 -0
  15. package/dist/records/domains/ingestclip.js +1 -0
  16. package/dist/records/domains/panel.d.ts +8 -1
  17. package/dist/records/domains/publish/empty.d.ts +3 -3
  18. package/dist/records/domains/publish/facebook.d.ts +1 -1
  19. package/dist/records/domains/publish/file-legacy.d.ts +1 -1
  20. package/dist/records/domains/publish/file.d.ts +1 -1
  21. package/dist/records/domains/publish/index.d.ts +6 -2
  22. package/dist/records/domains/publish/youtube.d.ts +1 -1
  23. package/dist/records/domains/published.d.ts +7 -3
  24. package/dist/records/domains/search.d.ts +24 -4
  25. package/dist/records/domains/shotbox.d.ts +33 -0
  26. package/dist/records/domains/shotbox.js +1 -0
  27. package/dist/records/validate/assert-guard.js +1077 -325
  28. package/dist/records/validate/assert.js +1080 -320
  29. package/dist/records/validate/is.js +57 -31
  30. package/dist/records/validate/schemas.js +709 -111
  31. package/dist/records/validate/stringify.js +102 -71
  32. package/dist/records/validate/utils.js +1 -1
  33. package/dist/records/validate/validate-equals.js +1563 -459
  34. package/dist/records/validate/validate.js +1018 -292
  35. package/dist/rpc.d.ts +4 -1
  36. package/package.json +1 -1
@@ -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";
@@ -251,6 +251,7 @@ export interface Settings {
251
251
  };
252
252
  item?: {
253
253
  maxHeight?: number;
254
+ titleLines?: number;
254
255
  };
255
256
  };
256
257
  print?: {
@@ -277,6 +278,8 @@ export interface Settings {
277
278
  };
278
279
  flags?: {
279
280
  utils?: boolean;
281
+ utilsAssetEditor?: boolean;
282
+ utilsAssetPanel?: boolean;
280
283
  history?: boolean;
281
284
  refs?: boolean;
282
285
  access?: boolean;
@@ -305,6 +308,14 @@ export interface Settings {
305
308
  };
306
309
  };
307
310
  suppressDeleteAlert?: boolean;
311
+ utilsAssetEditorPanel?: {
312
+ stateFilter?: number[];
313
+ textFilter?: string;
314
+ showEmpty?: boolean;
315
+ selectedRecord?: string;
316
+ subscribeSearchHits?: boolean;
317
+ parseRegex?: boolean;
318
+ };
308
319
  }
309
320
  export type SettingsPaths = Paths<Settings>;
310
321
  interface ModuleTabs {
@@ -117,6 +117,7 @@ declare interface AssetDomainPublishProvidedRecord {
117
117
 
118
118
  declare interface AssetDomainRecords {
119
119
  ":asset.title?": AssetTitleProvidedRecord;
120
+ ":asset.rawTypes?": AssetRawTypesProvidedRecord;
120
121
  ":asset.types?": AssetTypesProvidedRecord;
121
122
  ":asset.assignees?": AssetAssigneesProvidedRecord;
122
123
  ":asset.refs?": AssetRefsProvidedRecord;
@@ -203,6 +204,10 @@ declare interface AssetPermission {
203
204
  tags?: undefined;
204
205
  }
205
206
 
207
+ declare interface AssetRawTypesProvidedRecord {
208
+ value?: string[];
209
+ }
210
+
206
211
  declare interface AssetRecords {
207
212
  "asset.assignees": AssetAssigneesRecord;
208
213
  "asset.clone": AssetCloneRecord;
@@ -285,6 +290,37 @@ declare interface BundleRevisionsRecord {
285
290
  [revisionId: string]: BundleRecord;
286
291
  }
287
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
+
288
324
  declare type Cast<Value extends number | bigint> = Value extends number ? Value : `BigInt(${Value})`;
289
325
 
290
326
  declare type Cast_2<Value extends number | bigint> = Value extends number ? Value : `BigInt(${Value})`;
@@ -360,6 +396,12 @@ declare interface CommentReadMarkDomainRecords {
360
396
  ":comment-read-mark": CommentReadMarkDomainRecord;
361
397
  }
362
398
 
399
+ declare type ConditionDomainRecord = SearchCondition;
400
+
401
+ declare interface ConditionDomainRecords {
402
+ ":condition": ConditionDomainRecord;
403
+ }
404
+
363
405
  declare interface ConnectionBase {
364
406
  type?: string | null;
365
407
  userNotificationsEnabled?: boolean;
@@ -463,7 +505,7 @@ declare interface DesignViewRow<Id = string, Key = string, Value = void> {
463
505
  value: Value;
464
506
  }
465
507
 
466
- 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 {
467
509
  }
468
510
 
469
511
  declare type Dynamic = false | string[];
@@ -529,8 +571,8 @@ declare interface EmptyPublishDef extends PublishDef<null> {
529
571
  publish: EmptyPublishRecord;
530
572
  }
531
573
 
532
- declare interface EmptyPublishRecord {
533
- type: null;
574
+ declare interface EmptyPublishRecord extends PublishRecordBase {
575
+ type?: null;
534
576
  asset?: string | null;
535
577
  }
536
578
 
@@ -621,7 +663,7 @@ declare interface FacebookPublishDef extends PublishDef<"facebook"> {
621
663
  }
622
664
 
623
665
  declare interface FacebookPublishRecord extends PublishRecordBase {
624
- type: "facebook";
666
+ type?: "facebook";
625
667
  pageId?: string;
626
668
  }
627
669
 
@@ -796,7 +838,7 @@ declare interface FilePublishPublished {
796
838
  }
797
839
 
798
840
  declare interface FilePublishRecord extends PublishRecordBase {
799
- type: "file";
841
+ type?: "file";
800
842
  directory?: string;
801
843
  filename?: string;
802
844
  renders?: Record<string, FilePublishRender>;
@@ -806,7 +848,7 @@ declare interface FilePublishRecord extends PublishRecordBase {
806
848
  }
807
849
 
808
850
  declare interface FilePublishRecordLegacy extends PublishRecordBase {
809
- type: "file";
851
+ type?: "file";
810
852
  directory?: string;
811
853
  filename?: string;
812
854
  draft?: FilePublishDraft;
@@ -989,6 +1031,18 @@ declare type GettablePossibleEmpty<Data> = keyof Data extends never ? EmptyObjec
989
1031
  [K in keyof Data]+?: Data[K];
990
1032
  };
991
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
+
992
1046
  declare interface HeadingNodeContent extends ElementNodeContent {
993
1047
  type: "heading";
994
1048
  tag: "h1" | "h2" | "h3";
@@ -1127,6 +1181,29 @@ declare type If<Type extends boolean, IfBranch, ElseBranch> =
1127
1181
  ? IfBranch
1128
1182
  : ElseBranch;
1129
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
+
1130
1207
  /**
1131
1208
  The actual implementation of `IsUnion`.
1132
1209
  */
@@ -1619,7 +1696,7 @@ declare interface NxtError {
1619
1696
  errors?: NxtError[] | null;
1620
1697
  }
1621
1698
 
1622
- declare type Nxtpression<ReturnValue = string, Context extends object = object> = {
1699
+ declare type Nxtpression<ReturnValue = unknown, Context extends object = object> = {
1623
1700
  /**
1624
1701
  * TS-HACK: this property doesn't really exist on the nxtpression string,
1625
1702
  * it is only here to make sure the generic Context won't get stripped.
@@ -1941,7 +2018,14 @@ declare interface PanelProperty {
1941
2018
  };
1942
2019
  /** If present, indicates that the user must specify a value for the asset to be treated as valid. */
1943
2020
  required?: boolean;
1944
- oneOf?: unknown[];
2021
+ oneOf?: Array<{
2022
+ const?: unknown;
2023
+ title?: string;
2024
+ }>;
2025
+ anyOf?: Array<{
2026
+ const?: unknown;
2027
+ title?: string;
2028
+ }>;
1945
2029
  }
1946
2030
 
1947
2031
  declare interface ParagraphNodeContent extends ElementNodeContent {
@@ -2077,8 +2161,9 @@ declare interface ProvidedPermissionRecord {
2077
2161
  declare type PublishAcceptsProvidedRecord = Union_2["accepts"];
2078
2162
 
2079
2163
  declare interface PublishDef<Type extends string | null> {
2164
+ type: Type;
2080
2165
  publish: PublishRecordBase & {
2081
- type: Type;
2166
+ type?: Type;
2082
2167
  };
2083
2168
  stats: PublishStatsRecordBase;
2084
2169
  methods: PublishDomainMethodsRecordBase;
@@ -2109,10 +2194,14 @@ declare interface PublishedDomainRecords {
2109
2194
 
2110
2195
  declare interface PublishedRecord {
2111
2196
  type: string;
2112
- parent: string;
2113
- asset: string[];
2197
+ parent?: string;
2198
+ /** Only write array, single string is deprecated */
2199
+ asset?: string[] | string;
2200
+ /** @deprecated - do not write */
2201
+ assets?: string[];
2114
2202
  time: number;
2115
- connection: string;
2203
+ connection?: string;
2204
+ gallery?: string;
2116
2205
  user?: string;
2117
2206
  error?: boolean;
2118
2207
  }
@@ -2122,7 +2211,7 @@ declare type PublishMethodsRecord = Union_2["methods"];
2122
2211
  declare type PublishRecord = Union_2["publish"];
2123
2212
 
2124
2213
  declare interface PublishRecordBase {
2125
- type: string | null;
2214
+ type?: string | null;
2126
2215
  asset?: string | null;
2127
2216
  connection?: string;
2128
2217
  render?: PublishRenderBase;
@@ -2480,32 +2569,66 @@ declare interface ScriptTextRecord {
2480
2569
  graphics: string;
2481
2570
  }
2482
2571
 
2572
+ declare type SearchCalendarView = "day" | "week" | "month" | "work_week";
2573
+
2574
+ declare interface SearchCondition {
2575
+ field?: string;
2576
+ type?: string;
2577
+ op?: string;
2578
+ value?: unknown;
2579
+ }
2580
+
2581
+ /** legacy */
2582
+ declare interface SearchDomainConditionsRecord {
2583
+ value?: string[];
2584
+ }
2585
+
2483
2586
  declare interface SearchDomainRecords {
2484
2587
  ":search": SearchRecord;
2485
2588
  ":search?": SearchRecordProvided;
2589
+ /** legacy */
2590
+ ":search.conditions": SearchDomainConditionsRecord;
2591
+ /** legacy */
2592
+ ":search.visibleColumnKeys": SearchDomainVisibleColumnKeysRecord;
2593
+ }
2594
+
2595
+ /** legacy */
2596
+ declare interface SearchDomainVisibleColumnKeysRecord {
2597
+ value?: string[];
2486
2598
  }
2487
2599
 
2488
2600
  declare interface SearchRecord {
2489
- type?: "conditions_and";
2601
+ type?: SearchType;
2490
2602
  sort?: Array<{
2491
2603
  [key: string]: "asc" | "desc";
2492
2604
  }>;
2493
2605
  showDefault?: boolean;
2494
2606
  showDeleted?: boolean;
2495
2607
  showHidden?: boolean;
2496
- view?: "GRID_VIEW" | "LIST_VIEW" | "CALENDAR_VIEW" | "MAP_VIEW" | "AGENDA_VIEW" | "RESOURCE_VIEW";
2497
- conditions?: Array<unknown>;
2608
+ view?: SearchView | null;
2609
+ conditions?: SearchCondition[];
2498
2610
  visibleColumnKeys?: null | string[];
2499
2611
  connectionId?: string | null;
2612
+ calendar?: {
2613
+ view?: SearchCalendarView | null;
2614
+ dateAccessor?: string | null;
2615
+ agenda?: boolean;
2616
+ };
2617
+ refreshInterval?: number;
2618
+ color?: string;
2500
2619
  }
2501
2620
 
2502
2621
  declare interface SearchRecordProvided {
2503
- hits: string[];
2622
+ hits?: string[];
2504
2623
  total?: number;
2505
2624
  relation?: string;
2506
2625
  error?: string;
2507
2626
  }
2508
2627
 
2628
+ declare type SearchType = "conditions_and" | "conditions_or";
2629
+
2630
+ declare type SearchView = "GRID_VIEW" | "LIST_VIEW" | "CALENDAR_VIEW" | "MAP_VIEW" | "AGENDA_VIEW" | "RESOURCE_VIEW";
2631
+
2509
2632
  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;
2510
2633
 
2511
2634
  declare interface SerializedAutoLinkNode {
@@ -2842,6 +2965,7 @@ declare interface Settings {
2842
2965
  };
2843
2966
  item?: {
2844
2967
  maxHeight?: number;
2968
+ titleLines?: number;
2845
2969
  };
2846
2970
  };
2847
2971
  print?: {
@@ -2868,6 +2992,8 @@ declare interface Settings {
2868
2992
  };
2869
2993
  flags?: {
2870
2994
  utils?: boolean;
2995
+ utilsAssetEditor?: boolean;
2996
+ utilsAssetPanel?: boolean;
2871
2997
  history?: boolean;
2872
2998
  refs?: boolean;
2873
2999
  access?: boolean;
@@ -2896,6 +3022,14 @@ declare interface Settings {
2896
3022
  };
2897
3023
  };
2898
3024
  suppressDeleteAlert?: boolean;
3025
+ utilsAssetEditorPanel?: {
3026
+ stateFilter?: number[];
3027
+ textFilter?: string;
3028
+ showEmpty?: boolean;
3029
+ selectedRecord?: string;
3030
+ subscribeSearchHits?: boolean;
3031
+ parseRegex?: boolean;
3032
+ };
2899
3033
  }
2900
3034
 
2901
3035
  declare interface SettingsDomainRecords {
@@ -2908,6 +3042,45 @@ declare interface SettingsPanelStoreTab extends ModuleTabsSettingsValue {
2908
3042
 
2909
3043
  declare type SettingsRecord = Settings;
2910
3044
 
3045
+ declare interface ShotboxDomainRecord {
3046
+ pages?: ShotboxPage[];
3047
+ }
3048
+
3049
+ declare interface ShotboxDomainRecords {
3050
+ ":shotbox": ShotboxDomainRecord;
3051
+ }
3052
+
3053
+ declare interface ShotboxEventGroup {
3054
+ id?: string;
3055
+ title?: string;
3056
+ sticky?: boolean;
3057
+ type?: "trigger" | "toggle";
3058
+ width?: string;
3059
+ include?: string[];
3060
+ exclude?: string[];
3061
+ states?: {
3062
+ completed: boolean;
3063
+ };
3064
+ flow?: "column" | "row";
3065
+ minRows?: number;
3066
+ maxRows?: number;
3067
+ }
3068
+
3069
+ declare type ShotboxGroup = ShotboxEventGroup | ShotboxStreamGroup;
3070
+
3071
+ declare interface ShotboxPage {
3072
+ stickyTopRow?: boolean;
3073
+ inferGroups?: boolean;
3074
+ layout?: Array<ShotboxGroup[] | ShotboxGroup>;
3075
+ }
3076
+
3077
+ declare interface ShotboxStreamGroup {
3078
+ type: "stream";
3079
+ title?: string;
3080
+ width?: string;
3081
+ source?: string;
3082
+ }
3083
+
2911
3084
  /**
2912
3085
  Create a type that only accepts an object with a single key.
2913
3086
 
@@ -3650,7 +3823,7 @@ declare interface YoutubePublishDef extends PublishDef<"youtube"> {
3650
3823
  }
3651
3824
 
3652
3825
  declare interface YoutubePublishRecord extends PublishRecordBase {
3653
- type: "youtube";
3826
+ type?: "youtube";
3654
3827
  draft?: {
3655
3828
  snippet?: {
3656
3829
  title?: string;
@@ -1,6 +1,7 @@
1
1
  import type { IsoTimestamp } from '../../common/index.ts';
2
2
  export interface AssetDomainRecords {
3
3
  ":asset.title?": AssetTitleProvidedRecord;
4
+ ":asset.rawTypes?": AssetRawTypesProvidedRecord;
4
5
  ":asset.types?": AssetTypesProvidedRecord;
5
6
  ":asset.assignees?": AssetAssigneesProvidedRecord;
6
7
  ":asset.refs?": AssetRefsProvidedRecord;
@@ -24,6 +25,9 @@ export interface AssetDomainRecords {
24
25
  export interface AssetTitleProvidedRecord {
25
26
  value?: string;
26
27
  }
28
+ export interface AssetRawTypesProvidedRecord {
29
+ value?: string[];
30
+ }
27
31
  export interface AssetTypesProvidedRecord {
28
32
  value?: string[];
29
33
  }
@@ -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 {
@@ -1,8 +1,8 @@
1
- import type { PublishDef } from './index.ts';
1
+ import type { PublishDef, PublishRecordBase } from './index.ts';
2
2
  export interface EmptyPublishDef extends PublishDef<null> {
3
3
  publish: EmptyPublishRecord;
4
4
  }
5
- export interface EmptyPublishRecord {
6
- type: null;
5
+ export interface EmptyPublishRecord extends PublishRecordBase {
6
+ type?: null;
7
7
  asset?: string | null;
8
8
  }
@@ -4,7 +4,7 @@ export interface FacebookPublishDef extends PublishDef<"facebook"> {
4
4
  stats: FacebookPublishStatsRecord;
5
5
  }
6
6
  export interface FacebookPublishRecord extends PublishRecordBase {
7
- type: "facebook";
7
+ type?: "facebook";
8
8
  pageId?: string;
9
9
  }
10
10
  export interface FacebookPublishStatsRecord extends PublishStatsRecordBase {
@@ -4,7 +4,7 @@ export interface FileLegacyPublishDef extends PublishDef<"file"> {
4
4
  publish: FilePublishRecordLegacy;
5
5
  }
6
6
  export interface FilePublishRecordLegacy extends PublishRecordBase {
7
- type: "file";
7
+ type?: "file";
8
8
  directory?: string;
9
9
  filename?: string;
10
10
  draft?: FilePublishDraft;