@nxtedition/types 23.0.66 → 23.1.1
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.
- package/dist/common/settings.d.ts +27 -4
- package/dist/nxtpression.d.ts +38 -24
- package/dist/records/domains/media.d.ts +0 -6
- package/dist/records/domains/publish/facebook.d.ts +2 -1
- package/dist/records/exact/media.d.ts +0 -2
- package/dist/records/exact/monitor.d.ts +8 -9
- package/dist/records/validate/assert-guard.js +548 -414
- package/dist/records/validate/assert.js +548 -415
- package/dist/records/validate/is.js +19 -20
- package/dist/records/validate/schemas.d.ts +9 -6
- package/dist/records/validate/schemas.js +682 -926
- package/dist/records/validate/stringify.js +34 -35
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +744 -535
- package/dist/records/validate/validate.js +505 -413
- package/package.json +2 -2
|
@@ -223,9 +223,25 @@ export interface Settings {
|
|
|
223
223
|
app?: string;
|
|
224
224
|
args?: string[];
|
|
225
225
|
} | string;
|
|
226
|
+
recorder?: {
|
|
227
|
+
microphone?: {
|
|
228
|
+
deviceId?: string;
|
|
229
|
+
inputGainDb?: number;
|
|
230
|
+
monitorInput?: boolean;
|
|
231
|
+
};
|
|
232
|
+
webcam?: {
|
|
233
|
+
deviceId?: string;
|
|
234
|
+
frameRate?: number;
|
|
235
|
+
aspectRatio?: number;
|
|
236
|
+
};
|
|
237
|
+
countdown?: number;
|
|
238
|
+
};
|
|
226
239
|
};
|
|
227
240
|
edit?: {
|
|
228
241
|
thumbnailView?: "filmStrip" | "thumbnail" | "none";
|
|
242
|
+
audioMapping?: {
|
|
243
|
+
presets?: Array<AudioMappingPreset>;
|
|
244
|
+
};
|
|
229
245
|
normalize?: {
|
|
230
246
|
presets?: Array<{
|
|
231
247
|
id: string;
|
|
@@ -238,6 +254,7 @@ export interface Settings {
|
|
|
238
254
|
voiceOver?: {
|
|
239
255
|
inputDevice?: string;
|
|
240
256
|
inputGainDb?: number;
|
|
257
|
+
monitorInput?: boolean;
|
|
241
258
|
backgroundReductionDb?: number;
|
|
242
259
|
recordMode?: "instant" | "punchAndRoll";
|
|
243
260
|
preRollDuration?: number;
|
|
@@ -357,10 +374,6 @@ export interface Settings {
|
|
|
357
374
|
shotbox?: {
|
|
358
375
|
layout?: string;
|
|
359
376
|
};
|
|
360
|
-
performance?: {
|
|
361
|
-
/** List of message identifiers to ignore in overall health aggregation (format: "serviceName:messageText") */
|
|
362
|
-
ignoredMessages?: string[];
|
|
363
|
-
};
|
|
364
377
|
}
|
|
365
378
|
export type SettingsPaths = Paths<Settings>;
|
|
366
379
|
interface ModuleTabs {
|
|
@@ -379,4 +392,14 @@ interface KeymapSetting {
|
|
|
379
392
|
title?: string;
|
|
380
393
|
sequence?: string;
|
|
381
394
|
}
|
|
395
|
+
export interface AudioMappingPreset {
|
|
396
|
+
id: string;
|
|
397
|
+
title: string;
|
|
398
|
+
mapping?: number[][];
|
|
399
|
+
mute?: boolean[];
|
|
400
|
+
minInChannels?: number;
|
|
401
|
+
maxInChannels?: number;
|
|
402
|
+
minOutChannels?: number;
|
|
403
|
+
maxOutChannels?: number;
|
|
404
|
+
}
|
|
382
405
|
export {};
|
package/dist/nxtpression.d.ts
CHANGED
|
@@ -379,6 +379,17 @@ declare interface AssetTypesRecord {
|
|
|
379
379
|
};
|
|
380
380
|
}
|
|
381
381
|
|
|
382
|
+
declare interface AudioMappingPreset {
|
|
383
|
+
id: string;
|
|
384
|
+
title: string;
|
|
385
|
+
mapping?: number[][];
|
|
386
|
+
mute?: boolean[];
|
|
387
|
+
minInChannels?: number;
|
|
388
|
+
maxInChannels?: number;
|
|
389
|
+
minOutChannels?: number;
|
|
390
|
+
maxOutChannels?: number;
|
|
391
|
+
}
|
|
392
|
+
|
|
382
393
|
declare interface AuthDomainRecord {
|
|
383
394
|
/** hash of a user's password, or null if not set */
|
|
384
395
|
hash?: string | null;
|
|
@@ -815,7 +826,8 @@ declare interface FacebookPublishRecord extends PublishRecordBase {
|
|
|
815
826
|
pageId?: string;
|
|
816
827
|
}
|
|
817
828
|
|
|
818
|
-
declare
|
|
829
|
+
declare interface FacebookPublishStatsRecord extends PublishStatsRecordBase {
|
|
830
|
+
}
|
|
819
831
|
|
|
820
832
|
declare interface File_2 {
|
|
821
833
|
id: string & Pattern<'^[0-9A-Za-z~][0-9A-Za-z~._: -]*$'>;
|
|
@@ -1595,16 +1607,9 @@ declare interface MediaDomainConsolidateRecord {
|
|
|
1595
1607
|
error?: unknown;
|
|
1596
1608
|
}
|
|
1597
1609
|
|
|
1598
|
-
declare interface MediaDomainConsolidateRecordProvided {
|
|
1599
|
-
status: "idle" | "pending" | "completed" | "error" | "source_mismatch";
|
|
1600
|
-
progress?: number;
|
|
1601
|
-
error?: unknown;
|
|
1602
|
-
}
|
|
1603
|
-
|
|
1604
1610
|
declare interface MediaDomainRecords {
|
|
1605
1611
|
":media.source": MediaSourceRecord;
|
|
1606
1612
|
":media.consolidate": MediaDomainConsolidateRecord;
|
|
1607
|
-
":media.consolidate?": MediaDomainConsolidateRecordProvided;
|
|
1608
1613
|
":media.renders?": MediaRendersRecord;
|
|
1609
1614
|
":media.transcriptChanges": MediaTranscriptChangesRecord;
|
|
1610
1615
|
":media.font": MediaFontRecord;
|
|
@@ -1676,13 +1681,11 @@ declare interface MediaRestrictionsRecord {
|
|
|
1676
1681
|
declare type MediaSourceRecord = RenderSceneObject;
|
|
1677
1682
|
|
|
1678
1683
|
declare interface MediaSubtitlesProvidedRecord {
|
|
1679
|
-
defaultLanguage?: string;
|
|
1680
1684
|
languages?: Record<string, string>;
|
|
1681
1685
|
fontFaces?: SubtitleFontFace[];
|
|
1682
1686
|
}
|
|
1683
1687
|
|
|
1684
1688
|
declare interface MediaSubtitlesRecord {
|
|
1685
|
-
defaultLanguage?: string;
|
|
1686
1689
|
languages?: Record<string, string>;
|
|
1687
1690
|
fontFaces?: SubtitleFontFace[];
|
|
1688
1691
|
}
|
|
@@ -1988,13 +1991,6 @@ export declare interface NxtpressionNxt {
|
|
|
1988
1991
|
hash(value: unknown): string;
|
|
1989
1992
|
}
|
|
1990
1993
|
|
|
1991
|
-
declare interface NxtStatusMessage {
|
|
1992
|
-
id: string;
|
|
1993
|
-
msg: string;
|
|
1994
|
-
level: number;
|
|
1995
|
-
ignored?: boolean;
|
|
1996
|
-
}
|
|
1997
|
-
|
|
1998
1994
|
declare interface NxtStatusNode extends NxtStatusObject {
|
|
1999
1995
|
state?: string;
|
|
2000
1996
|
role?: string;
|
|
@@ -2007,7 +2003,10 @@ declare interface NxtStatusNode extends NxtStatusObject {
|
|
|
2007
2003
|
declare interface NxtStatusObject {
|
|
2008
2004
|
level: number;
|
|
2009
2005
|
status: string;
|
|
2010
|
-
messages:
|
|
2006
|
+
messages: Array<{
|
|
2007
|
+
msg: string;
|
|
2008
|
+
level: number;
|
|
2009
|
+
}>;
|
|
2011
2010
|
}
|
|
2012
2011
|
|
|
2013
2012
|
declare interface NxtStatusRecord {
|
|
@@ -2026,14 +2025,16 @@ declare interface NxtStatusService extends NxtStatusObject {
|
|
|
2026
2025
|
running?: number;
|
|
2027
2026
|
mode?: string;
|
|
2028
2027
|
total?: number;
|
|
2029
|
-
ignored?: boolean;
|
|
2030
2028
|
tasks?: Array<{
|
|
2031
2029
|
id: string;
|
|
2032
2030
|
node: string;
|
|
2033
2031
|
container: string;
|
|
2034
2032
|
level?: number;
|
|
2035
2033
|
status?: string;
|
|
2036
|
-
messages:
|
|
2034
|
+
messages: Array<{
|
|
2035
|
+
msg: string;
|
|
2036
|
+
level: number;
|
|
2037
|
+
}>;
|
|
2037
2038
|
}>;
|
|
2038
2039
|
}
|
|
2039
2040
|
|
|
@@ -3206,9 +3207,25 @@ declare interface Settings {
|
|
|
3206
3207
|
app?: string;
|
|
3207
3208
|
args?: string[];
|
|
3208
3209
|
} | string;
|
|
3210
|
+
recorder?: {
|
|
3211
|
+
microphone?: {
|
|
3212
|
+
deviceId?: string;
|
|
3213
|
+
inputGainDb?: number;
|
|
3214
|
+
monitorInput?: boolean;
|
|
3215
|
+
};
|
|
3216
|
+
webcam?: {
|
|
3217
|
+
deviceId?: string;
|
|
3218
|
+
frameRate?: number;
|
|
3219
|
+
aspectRatio?: number;
|
|
3220
|
+
};
|
|
3221
|
+
countdown?: number;
|
|
3222
|
+
};
|
|
3209
3223
|
};
|
|
3210
3224
|
edit?: {
|
|
3211
3225
|
thumbnailView?: "filmStrip" | "thumbnail" | "none";
|
|
3226
|
+
audioMapping?: {
|
|
3227
|
+
presets?: Array<AudioMappingPreset>;
|
|
3228
|
+
};
|
|
3212
3229
|
normalize?: {
|
|
3213
3230
|
presets?: Array<{
|
|
3214
3231
|
id: string;
|
|
@@ -3221,6 +3238,7 @@ declare interface Settings {
|
|
|
3221
3238
|
voiceOver?: {
|
|
3222
3239
|
inputDevice?: string;
|
|
3223
3240
|
inputGainDb?: number;
|
|
3241
|
+
monitorInput?: boolean;
|
|
3224
3242
|
backgroundReductionDb?: number;
|
|
3225
3243
|
recordMode?: "instant" | "punchAndRoll";
|
|
3226
3244
|
preRollDuration?: number;
|
|
@@ -3340,10 +3358,6 @@ declare interface Settings {
|
|
|
3340
3358
|
shotbox?: {
|
|
3341
3359
|
layout?: string;
|
|
3342
3360
|
};
|
|
3343
|
-
performance?: {
|
|
3344
|
-
/** List of message identifiers to ignore in overall health aggregation (format: "serviceName:messageText") */
|
|
3345
|
-
ignoredMessages?: string[];
|
|
3346
|
-
};
|
|
3347
3361
|
}
|
|
3348
3362
|
|
|
3349
3363
|
declare interface SettingsDomainRecords {
|
|
@@ -3,7 +3,6 @@ import type { NxtError, MediaType, RenderPreset, RenderSceneObject } from '../..
|
|
|
3
3
|
export interface MediaDomainRecords {
|
|
4
4
|
":media.source": MediaSourceRecord;
|
|
5
5
|
":media.consolidate": MediaDomainConsolidateRecord;
|
|
6
|
-
":media.consolidate?": MediaDomainConsolidateRecordProvided;
|
|
7
6
|
":media.renders?": MediaRendersRecord;
|
|
8
7
|
":media.transcriptChanges": MediaTranscriptChangesRecord;
|
|
9
8
|
":media.font": MediaFontRecord;
|
|
@@ -19,11 +18,6 @@ export interface MediaDomainConsolidateRecord {
|
|
|
19
18
|
preset?: RenderPreset;
|
|
20
19
|
error?: unknown;
|
|
21
20
|
}
|
|
22
|
-
export interface MediaDomainConsolidateRecordProvided {
|
|
23
|
-
status: "idle" | "pending" | "completed" | "error" | "source_mismatch";
|
|
24
|
-
progress?: number;
|
|
25
|
-
error?: unknown;
|
|
26
|
-
}
|
|
27
21
|
export interface MediaRendersRecord {
|
|
28
22
|
children: MediaRenderRecordValue[];
|
|
29
23
|
}
|
|
@@ -8,12 +8,10 @@ export interface MediaRecords {
|
|
|
8
8
|
"media.consolidate": MediaConsolidateRecord;
|
|
9
9
|
}
|
|
10
10
|
export interface MediaSubtitlesRecord {
|
|
11
|
-
defaultLanguage?: string;
|
|
12
11
|
languages?: Record<string, string>;
|
|
13
12
|
fontFaces?: SubtitleFontFace[];
|
|
14
13
|
}
|
|
15
14
|
export interface MediaSubtitlesProvidedRecord {
|
|
16
|
-
defaultLanguage?: string;
|
|
17
15
|
languages?: Record<string, string>;
|
|
18
16
|
fontFaces?: SubtitleFontFace[];
|
|
19
17
|
}
|
|
@@ -11,16 +11,13 @@ export interface NxtStatusRecord {
|
|
|
11
11
|
level: number;
|
|
12
12
|
status: string;
|
|
13
13
|
}
|
|
14
|
-
export interface NxtStatusMessage {
|
|
15
|
-
id: string;
|
|
16
|
-
msg: string;
|
|
17
|
-
level: number;
|
|
18
|
-
ignored?: boolean;
|
|
19
|
-
}
|
|
20
14
|
export interface NxtStatusObject {
|
|
21
15
|
level: number;
|
|
22
16
|
status: string;
|
|
23
|
-
messages:
|
|
17
|
+
messages: Array<{
|
|
18
|
+
msg: string;
|
|
19
|
+
level: number;
|
|
20
|
+
}>;
|
|
24
21
|
}
|
|
25
22
|
export interface NxtStatusNode extends NxtStatusObject {
|
|
26
23
|
state?: string;
|
|
@@ -35,13 +32,15 @@ export interface NxtStatusService extends NxtStatusObject {
|
|
|
35
32
|
running?: number;
|
|
36
33
|
mode?: string;
|
|
37
34
|
total?: number;
|
|
38
|
-
ignored?: boolean;
|
|
39
35
|
tasks?: Array<{
|
|
40
36
|
id: string;
|
|
41
37
|
node: string;
|
|
42
38
|
container: string;
|
|
43
39
|
level?: number;
|
|
44
40
|
status?: string;
|
|
45
|
-
messages:
|
|
41
|
+
messages: Array<{
|
|
42
|
+
msg: string;
|
|
43
|
+
level: number;
|
|
44
|
+
}>;
|
|
46
45
|
}>;
|
|
47
46
|
}
|