@nxtedition/types 23.1.8 → 23.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -125,6 +125,14 @@ export interface Settings {
125
125
  rundown?: {
126
126
  eventThumbnails?: boolean;
127
127
  scriptEventFolding: "folded" | "unfoldedUntilFolded";
128
+ stickyHeaders?: boolean;
129
+ triggersColumn?: "triggers" | "title";
130
+ density?: "normal" | "compact" | "spacious";
131
+ showEvents?: boolean;
132
+ showTriggers?: boolean;
133
+ showReferenceDuration?: boolean;
134
+ showSettingsColumn?: boolean;
135
+ thumbnailColumnWidth?: number;
128
136
  };
129
137
  gallery?: {
130
138
  dimOnBlur?: boolean;
@@ -196,6 +204,7 @@ export interface Settings {
196
204
  defaultExitOption?: "update" | "leave" | "none";
197
205
  };
198
206
  transcribe?: {
207
+ showSpeakers?: boolean;
199
208
  subtitleDisclaimer?: {
200
209
  isUserConfigurable?: boolean;
201
210
  defaultValue?: {
@@ -352,6 +361,7 @@ export interface Settings {
352
361
  multiplexWebSockets?: boolean;
353
362
  systemHealth?: boolean;
354
363
  systemHealthIgnore?: boolean;
364
+ systemHealthDebugLevel?: boolean;
355
365
  };
356
366
  notifications?: {
357
367
  events?: {
@@ -674,7 +674,7 @@ declare interface DeviceDomainStatusRecord {
674
674
  version?: string;
675
675
  }
676
676
 
677
- declare interface DomainRecords extends AssetDomainRecords, AuthDomainRecords, BundleDomainRecords, CalendarEventDomainRecords, CloneDomainRecords, CommentReactionDomainRecords, CommentReadMarkDomainRecords, CommentDomainRecords, ConditionDomainRecords, ConnectionDomainRecords, ContactDomainRecords, DeepstreamDomainRecords, DesignDomainRecords, DeviceDomainRecords, EditDomainRecords, EventDomainRecords, FileDomainRecords, FolderDomainRecords, GalleryDomainRecords, GeneralDomainRecords, HarvestDomainRecords, IngestclipDomainRecords, IngestScheduleDomainRecords, MediaDomainRecords, MonitorDomainRecords, NoteDomainRecords, PanelDomainRecords, PermissionDomainRecords, PipelinePresetDomainRecords, PipelineDomainRecords, PlanningDomainRecords, PrompterDomainRecords, PublishDomainRecords, PublishedDomainRecords, RenderPresetDomainRecords, RenderDomainRecords, RevsDomainRecords, RoleDomainRecords, SchemaDomainRecords, ScriptDomainRecords, SearchDomainRecords, SettingsDomainRecords, ShotboxDomainRecords, StorageDomainRecords, StoryboardDomainRecords, StreamDomainRecords, SubtitleStyleDomainRecords, SubtitleDomainRecords, TemplateDomainRecords, UserNotificationStatusDomainRecords, UserNotificationDomainRecords, UserDomainRecords, UsernameDomainRecords {
677
+ declare interface DomainRecords extends AssetDomainRecords, AuthDomainRecords, BundleDomainRecords, CalendarEventDomainRecords, CloneDomainRecords, CommentReactionDomainRecords, CommentReadMarkDomainRecords, CommentDomainRecords, ConditionDomainRecords, ConnectionDomainRecords, ContactDomainRecords, DeepstreamDomainRecords, DesignDomainRecords, DeviceDomainRecords, EditDomainRecords, EventDomainRecords, FileDomainRecords, FolderDomainRecords, GalleryDomainRecords, GeneralDomainRecords, HarvestDomainRecords, IngestclipDomainRecords, IngestScheduleDomainRecords, MediaDomainRecords, MonitorDomainRecords, NoteDomainRecords, PanelDomainRecords, PermissionDomainRecords, PipelinePresetDomainRecords, PipelineDomainRecords, PlanningDomainRecords, PrompterDomainRecords, PublishDomainRecords, PublishedDomainRecords, RenderPresetDomainRecords, RenderDomainRecords, RevsDomainRecords, RoleDomainRecords, SchemaDomainRecords, ScriptDomainRecords, SearchDomainRecords, SettingsDomainRecords, ShotboxDomainRecords, StorageDomainRecords, StoryDomainRecords, StoryboardDomainRecords, StreamDomainRecords, SubtitleStyleDomainRecords, SubtitleDomainRecords, TemplateDomainRecords, UserNotificationStatusDomainRecords, UserNotificationDomainRecords, UserDomainRecords, UsernameDomainRecords {
678
678
  }
679
679
 
680
680
  declare type Dynamic = false | string[];
@@ -798,6 +798,8 @@ declare interface EventDomainRecords {
798
798
  ":event.children?": EventChildrenRecord;
799
799
  ":event.props?": EventPropsRecord;
800
800
  ":event.stats?": EventStatsRecord;
801
+ ":event.status?": EventStatusRecord;
802
+ ":event.schedule?": EventScheduleRecord;
801
803
  ":event.readDuration?": EventReadDurationRecord;
802
804
  ":event.readRate?": EventReadRateRecord;
803
805
  }
@@ -857,13 +859,35 @@ declare interface EventRecord {
857
859
  styleOverrides?: SubtitleEventStyleOverrides;
858
860
  }
859
861
 
862
+ declare interface EventScheduleRecord {
863
+ startTime?: number;
864
+ transition?: boolean;
865
+ transitionTime?: number;
866
+ transitionDuration?: number;
867
+ endTime?: number;
868
+ }
869
+
860
870
  declare interface EventStatsRecord {
861
871
  type?: string;
862
872
  }
863
873
 
874
+ declare interface EventStatusRecord {
875
+ messages?: Array<{
876
+ id: string;
877
+ msg: string;
878
+ level: number;
879
+ code?: string;
880
+ expose?: boolean | null;
881
+ index?: number | null;
882
+ data?: {
883
+ progress?: number | null;
884
+ };
885
+ }>;
886
+ }
887
+
864
888
  declare interface EventTemplateRecord {
865
889
  mixin?: string[];
866
- properties?: object;
890
+ properties?: Record<string, TemplateProperty>;
867
891
  layout?: {
868
892
  title?: string;
869
893
  };
@@ -1787,6 +1811,7 @@ declare interface MediaDomainConsolidateRecordProvided {
1787
1811
 
1788
1812
  declare interface MediaDomainRecords {
1789
1813
  ":media.source": MediaSourceRecord;
1814
+ ":media.placeholder": MediaPlaceholderRecord;
1790
1815
  ":media.consolidate": MediaDomainConsolidateRecord;
1791
1816
  ":media.consolidate?": MediaDomainConsolidateRecordProvided;
1792
1817
  ":media.renders?": MediaRendersRecord;
@@ -1820,6 +1845,10 @@ declare interface MediaFonts {
1820
1845
  fontFamilyNames?: Array<FontFace["family"]>;
1821
1846
  }
1822
1847
 
1848
+ declare interface MediaPlaceholderRecord {
1849
+ asset: string;
1850
+ }
1851
+
1823
1852
  declare interface MediaProbeRecord {
1824
1853
  duration?: number | null;
1825
1854
  error: NxtError | null;
@@ -1900,6 +1929,14 @@ declare type MediaTranscriptChangesRecord = {
1900
1929
 
1901
1930
  declare interface MediaTranscriptChangesRecordValue {
1902
1931
  patch?: Operation[];
1932
+ /** Labels for speakers */
1933
+ speakerLabels?: {
1934
+ [speakerId: string]: string;
1935
+ };
1936
+ /** Override speaker IDs for specific paragraphs */
1937
+ speakerRemaps?: {
1938
+ [paragraphId: string]: string;
1939
+ };
1903
1940
  }
1904
1941
 
1905
1942
  declare type MediaType = "audio" | "video" | "image";
@@ -1982,6 +2019,20 @@ declare interface MonitorStatsBuddyInfo {
1982
2019
  timestamp: number;
1983
2020
  }
1984
2021
 
2022
+ declare interface MonitorStatsHostBridge {
2023
+ types: Record<string, string>;
2024
+ messages: MonitorStatsHostBridgeMessage[];
2025
+ timestamp: number;
2026
+ }
2027
+
2028
+ declare interface MonitorStatsHostBridgeMessage {
2029
+ type: string;
2030
+ id: string;
2031
+ level: number;
2032
+ title: string;
2033
+ msg: string;
2034
+ }
2035
+
1985
2036
  declare interface MonitorStatsMemInfo {
1986
2037
  [key: string]: string | number | boolean | null;
1987
2038
  }
@@ -2061,6 +2112,7 @@ declare interface MonitorStatsRecord {
2061
2112
  available: number;
2062
2113
  timestamp: number;
2063
2114
  };
2115
+ hostBridge: MonitorStatsHostBridge;
2064
2116
  }
2065
2117
 
2066
2118
  declare interface MoveOperation {
@@ -3705,6 +3757,14 @@ declare interface Settings {
3705
3757
  rundown?: {
3706
3758
  eventThumbnails?: boolean;
3707
3759
  scriptEventFolding: "folded" | "unfoldedUntilFolded";
3760
+ stickyHeaders?: boolean;
3761
+ triggersColumn?: "triggers" | "title";
3762
+ density?: "normal" | "compact" | "spacious";
3763
+ showEvents?: boolean;
3764
+ showTriggers?: boolean;
3765
+ showReferenceDuration?: boolean;
3766
+ showSettingsColumn?: boolean;
3767
+ thumbnailColumnWidth?: number;
3708
3768
  };
3709
3769
  gallery?: {
3710
3770
  dimOnBlur?: boolean;
@@ -3776,6 +3836,7 @@ declare interface Settings {
3776
3836
  defaultExitOption?: "update" | "leave" | "none";
3777
3837
  };
3778
3838
  transcribe?: {
3839
+ showSpeakers?: boolean;
3779
3840
  subtitleDisclaimer?: {
3780
3841
  isUserConfigurable?: boolean;
3781
3842
  defaultValue?: {
@@ -3932,6 +3993,7 @@ declare interface Settings {
3932
3993
  multiplexWebSockets?: boolean;
3933
3994
  systemHealth?: boolean;
3934
3995
  systemHealthIgnore?: boolean;
3996
+ systemHealthDebugLevel?: boolean;
3935
3997
  };
3936
3998
  notifications?: {
3937
3999
  events?: {
@@ -4233,6 +4295,23 @@ declare interface StoryboardDomainRecords {
4233
4295
  ":storyboard.ancestors?": StoryboardAncestorsRecord;
4234
4296
  }
4235
4297
 
4298
+ declare interface StoryDomainEditorRecord {
4299
+ value?: {
4300
+ object?: string;
4301
+ document?: StoryDomainEditorRecordNode;
4302
+ };
4303
+ }
4304
+
4305
+ declare interface StoryDomainEditorRecordNode {
4306
+ type?: string;
4307
+ data?: Record<string, unknown>;
4308
+ nodes?: StoryDomainEditorRecordNode[];
4309
+ }
4310
+
4311
+ declare interface StoryDomainRecords {
4312
+ ":story.editor": StoryDomainEditorRecord;
4313
+ }
4314
+
4236
4315
  declare interface StreamDomainIngestRecord {
4237
4316
  server?: string;
4238
4317
  enabled?: boolean;
@@ -4593,18 +4672,8 @@ declare interface TemplateDomainRecords {
4593
4672
  ":template": TemplateRecord;
4594
4673
  }
4595
4674
 
4596
- declare interface TemplateProperty {
4675
+ declare interface TemplateProperty extends SchemaProperty {
4597
4676
  path?: string;
4598
- type?: string;
4599
- label?: string;
4600
- defaultValue?: string;
4601
- widget?: {
4602
- type: string;
4603
- };
4604
- properties?: object;
4605
- items?: {
4606
- properties?: Record<string, TemplatePropertySchema>;
4607
- };
4608
4677
  render?: {
4609
4678
  type: "image";
4610
4679
  profile?: {
@@ -4618,18 +4687,6 @@ declare interface TemplateProperty {
4618
4687
  };
4619
4688
  }
4620
4689
 
4621
- declare interface TemplatePropertySchema {
4622
- path?: string;
4623
- type?: string;
4624
- label?: string;
4625
- defaultValue?: string;
4626
- widget?: {
4627
- type: string;
4628
- };
4629
- items?: TemplatePropertySchema;
4630
- properties?: Record<string, TemplatePropertySchema>;
4631
- }
4632
-
4633
4690
  declare interface TemplateRecord {
4634
4691
  source?: string;
4635
4692
  controller?: string;
@@ -1,3 +1,4 @@
1
+ import type { TemplateProperty } from './template.ts';
1
2
  export type JsonPrimitive = string | number | boolean | null;
2
3
  export type JsonValue = JsonPrimitive | JsonValue[] | {
3
4
  [key: string]: JsonValue;
@@ -11,6 +12,8 @@ export interface EventDomainRecords {
11
12
  ":event.children?": EventChildrenRecord;
12
13
  ":event.props?": EventPropsRecord;
13
14
  ":event.stats?": EventStatsRecord;
15
+ ":event.status?": EventStatusRecord;
16
+ ":event.schedule?": EventScheduleRecord;
14
17
  ":event.readDuration?": EventReadDurationRecord;
15
18
  ":event.readRate?": EventReadRateRecord;
16
19
  }
@@ -26,7 +29,7 @@ export interface EventRecord {
26
29
  }
27
30
  export interface EventTemplateRecord {
28
31
  mixin?: string[];
29
- properties?: object;
32
+ properties?: Record<string, TemplateProperty>;
30
33
  layout?: {
31
34
  title?: string;
32
35
  };
@@ -53,6 +56,19 @@ export type EventPropsRecord = EventProps & Record<Exclude<string, keyof EventPr
53
56
  export interface EventStatsRecord {
54
57
  type?: string;
55
58
  }
59
+ export interface EventStatusRecord {
60
+ messages?: Array<{
61
+ id: string;
62
+ msg: string;
63
+ level: number;
64
+ code?: string;
65
+ expose?: boolean | null;
66
+ index?: number | null;
67
+ data?: {
68
+ progress?: number | null;
69
+ };
70
+ }>;
71
+ }
56
72
  export interface EventOverlayRecord {
57
73
  [eventId: string]: {
58
74
  data: EventPropsRecord;
@@ -86,4 +102,11 @@ export interface SubtitleEventStyleOverrides {
86
102
  strikeOut?: string;
87
103
  }
88
104
  export type ReadType = "characters" | "words" | "wordsPerMinute";
105
+ export interface EventScheduleRecord {
106
+ startTime?: number;
107
+ transition?: boolean;
108
+ transitionTime?: number;
109
+ transitionDuration?: number;
110
+ endTime?: number;
111
+ }
89
112
  export {};
@@ -42,6 +42,7 @@ import type { SearchDomainRecords } from './search.ts';
42
42
  import type { SettingsDomainRecords } from './settings.ts';
43
43
  import type { ShotboxDomainRecords } from './shotbox.ts';
44
44
  import type { StorageDomainRecords } from './storage.ts';
45
+ import type { StoryDomainRecords } from './story.ts';
45
46
  import type { StoryboardDomainRecords } from './storyboard.ts';
46
47
  import type { StreamDomainRecords } from './stream.ts';
47
48
  import type { SubtitleStyleDomainRecords } from './subtitle-style.ts';
@@ -95,6 +96,7 @@ export * from './search.ts';
95
96
  export * from './settings.ts';
96
97
  export * from './shotbox.ts';
97
98
  export * from './storage.ts';
99
+ export * from './story.ts';
98
100
  export * from './storyboard.ts';
99
101
  export * from './stream.ts';
100
102
  export * from './subtitle-style.ts';
@@ -104,5 +106,5 @@ export * from './user-notification-status.ts';
104
106
  export * from './user-notification.ts';
105
107
  export * from './user.ts';
106
108
  export * from './username.ts';
107
- export interface DomainRecords extends AssetDomainRecords, AuthDomainRecords, BundleDomainRecords, CalendarEventDomainRecords, CloneDomainRecords, CommentReactionDomainRecords, CommentReadMarkDomainRecords, CommentDomainRecords, ConditionDomainRecords, ConnectionDomainRecords, ContactDomainRecords, DeepstreamDomainRecords, DesignDomainRecords, DeviceDomainRecords, EditDomainRecords, EventDomainRecords, FileDomainRecords, FolderDomainRecords, GalleryDomainRecords, GeneralDomainRecords, HarvestDomainRecords, IngestclipDomainRecords, IngestScheduleDomainRecords, MediaDomainRecords, MonitorDomainRecords, NoteDomainRecords, PanelDomainRecords, PermissionDomainRecords, PipelinePresetDomainRecords, PipelineDomainRecords, PlanningDomainRecords, PrompterDomainRecords, PublishDomainRecords, PublishedDomainRecords, RenderPresetDomainRecords, RenderDomainRecords, RevsDomainRecords, RoleDomainRecords, SchemaDomainRecords, ScriptDomainRecords, SearchDomainRecords, SettingsDomainRecords, ShotboxDomainRecords, StorageDomainRecords, StoryboardDomainRecords, StreamDomainRecords, SubtitleStyleDomainRecords, SubtitleDomainRecords, TemplateDomainRecords, UserNotificationStatusDomainRecords, UserNotificationDomainRecords, UserDomainRecords, UsernameDomainRecords {
109
+ export interface DomainRecords extends AssetDomainRecords, AuthDomainRecords, BundleDomainRecords, CalendarEventDomainRecords, CloneDomainRecords, CommentReactionDomainRecords, CommentReadMarkDomainRecords, CommentDomainRecords, ConditionDomainRecords, ConnectionDomainRecords, ContactDomainRecords, DeepstreamDomainRecords, DesignDomainRecords, DeviceDomainRecords, EditDomainRecords, EventDomainRecords, FileDomainRecords, FolderDomainRecords, GalleryDomainRecords, GeneralDomainRecords, HarvestDomainRecords, IngestclipDomainRecords, IngestScheduleDomainRecords, MediaDomainRecords, MonitorDomainRecords, NoteDomainRecords, PanelDomainRecords, PermissionDomainRecords, PipelinePresetDomainRecords, PipelineDomainRecords, PlanningDomainRecords, PrompterDomainRecords, PublishDomainRecords, PublishedDomainRecords, RenderPresetDomainRecords, RenderDomainRecords, RevsDomainRecords, RoleDomainRecords, SchemaDomainRecords, ScriptDomainRecords, SearchDomainRecords, SettingsDomainRecords, ShotboxDomainRecords, StorageDomainRecords, StoryDomainRecords, StoryboardDomainRecords, StreamDomainRecords, SubtitleStyleDomainRecords, SubtitleDomainRecords, TemplateDomainRecords, UserNotificationStatusDomainRecords, UserNotificationDomainRecords, UserDomainRecords, UsernameDomainRecords {
108
110
  }
@@ -42,6 +42,7 @@ export * from "./search.js";
42
42
  export * from "./settings.js";
43
43
  export * from "./shotbox.js";
44
44
  export * from "./storage.js";
45
+ export * from "./story.js";
45
46
  export * from "./storyboard.js";
46
47
  export * from "./stream.js";
47
48
  export * from "./subtitle-style.js";
@@ -2,6 +2,7 @@ import type { Operation } from 'rfc6902';
2
2
  import type { NxtError, MediaType, RenderPreset, RenderSceneObject } from '../../common/index.ts';
3
3
  export interface MediaDomainRecords {
4
4
  ":media.source": MediaSourceRecord;
5
+ ":media.placeholder": MediaPlaceholderRecord;
5
6
  ":media.consolidate": MediaDomainConsolidateRecord;
6
7
  ":media.consolidate?": MediaDomainConsolidateRecordProvided;
7
8
  ":media.renders?": MediaRendersRecord;
@@ -14,6 +15,9 @@ export interface MediaDomainRecords {
14
15
  ":media.revisions": MediaDomainRevisionsRecord;
15
16
  }
16
17
  export type MediaSourceRecord = RenderSceneObject;
18
+ export interface MediaPlaceholderRecord {
19
+ asset: string;
20
+ }
17
21
  export interface MediaDomainConsolidateRecord {
18
22
  source?: unknown;
19
23
  target?: unknown;
@@ -38,6 +42,14 @@ export type MediaTranscriptChangesRecord = {
38
42
  };
39
43
  export interface MediaTranscriptChangesRecordValue {
40
44
  patch?: Operation[];
45
+ /** Labels for speakers */
46
+ speakerLabels?: {
47
+ [speakerId: string]: string;
48
+ };
49
+ /** Override speaker IDs for specific paragraphs */
50
+ speakerRemaps?: {
51
+ [paragraphId: string]: string;
52
+ };
41
53
  }
42
54
  export interface MediaFontRecord {
43
55
  sampleText?: string;
@@ -12,6 +12,19 @@ export interface MonitorStatsRecord {
12
12
  available: number;
13
13
  timestamp: number;
14
14
  };
15
+ hostBridge: MonitorStatsHostBridge;
16
+ }
17
+ export interface MonitorStatsHostBridgeMessage {
18
+ type: string;
19
+ id: string;
20
+ level: number;
21
+ title: string;
22
+ msg: string;
23
+ }
24
+ export interface MonitorStatsHostBridge {
25
+ types: Record<string, string>;
26
+ messages: MonitorStatsHostBridgeMessage[];
27
+ timestamp: number;
15
28
  }
16
29
  export interface MonitorStatsProcInfoCpu {
17
30
  [key: string]: string | number | boolean | null;
@@ -0,0 +1,14 @@
1
+ export interface StoryDomainRecords {
2
+ ":story.editor": StoryDomainEditorRecord;
3
+ }
4
+ export interface StoryDomainEditorRecord {
5
+ value?: {
6
+ object?: string;
7
+ document?: StoryDomainEditorRecordNode;
8
+ };
9
+ }
10
+ export interface StoryDomainEditorRecordNode {
11
+ type?: string;
12
+ data?: Record<string, unknown>;
13
+ nodes?: StoryDomainEditorRecordNode[];
14
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -1,3 +1,4 @@
1
+ import type { SchemaProperty } from '../../common/schema-property.ts';
1
2
  export interface TemplateDomainRecords {
2
3
  ":template": TemplateRecord;
3
4
  }
@@ -8,18 +9,8 @@ export interface TemplateRecord {
8
9
  mixin?: string[];
9
10
  properties?: Record<string, TemplateProperty>;
10
11
  }
11
- export interface TemplateProperty {
12
+ export interface TemplateProperty extends SchemaProperty {
12
13
  path?: string;
13
- type?: string;
14
- label?: string;
15
- defaultValue?: string;
16
- widget?: {
17
- type: string;
18
- };
19
- properties?: object;
20
- items?: {
21
- properties?: Record<string, TemplatePropertySchema>;
22
- };
23
14
  render?: {
24
15
  type: "image";
25
16
  profile?: {
@@ -32,14 +23,3 @@ export interface TemplateProperty {
32
23
  };
33
24
  };
34
25
  }
35
- export interface TemplatePropertySchema {
36
- path?: string;
37
- type?: string;
38
- label?: string;
39
- defaultValue?: string;
40
- widget?: {
41
- type: string;
42
- };
43
- items?: TemplatePropertySchema;
44
- properties?: Record<string, TemplatePropertySchema>;
45
- }