@nxtedition/types 23.1.7 → 23.1.9
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/render-scene.d.ts +2 -0
- package/dist/common/settings.d.ts +4 -1
- package/dist/nxtpression.d.ts +27 -25
- package/dist/records/domains/event.d.ts +2 -1
- package/dist/records/domains/file.d.ts +7 -0
- package/dist/records/domains/media.d.ts +8 -0
- package/dist/records/domains/publish/report.js +12 -2
- package/dist/records/domains/render.d.ts +3 -0
- package/dist/records/domains/template.d.ts +2 -22
- package/dist/records/validate/assert-guard.js +1672 -602
- package/dist/records/validate/assert.js +1653 -582
- package/dist/records/validate/is.js +78 -24
- package/dist/records/validate/schemas.js +1157 -378
- package/dist/records/validate/stringify.js +160 -34
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +20098 -19056
- package/dist/records/validate/validate.js +1491 -599
- package/package.json +1 -1
|
@@ -137,6 +137,7 @@ export interface Settings {
|
|
|
137
137
|
volume?: number;
|
|
138
138
|
muted?: boolean;
|
|
139
139
|
graphics?: boolean;
|
|
140
|
+
subtitle?: string | null;
|
|
140
141
|
waveform?: boolean;
|
|
141
142
|
defaultFrameRate?: number;
|
|
142
143
|
dropFrame?: boolean;
|
|
@@ -158,7 +159,8 @@ export interface Settings {
|
|
|
158
159
|
preview?: boolean | "play" | "seek" | "seekplay" | "disabled";
|
|
159
160
|
showRenderProgress?: boolean;
|
|
160
161
|
};
|
|
161
|
-
|
|
162
|
+
showTimeCode?: boolean;
|
|
163
|
+
timecodeReference?: "subclip" | "default";
|
|
162
164
|
maxSubclipDuration?: number;
|
|
163
165
|
rewindStep?: number;
|
|
164
166
|
forwardStep?: number;
|
|
@@ -194,6 +196,7 @@ export interface Settings {
|
|
|
194
196
|
defaultExitOption?: "update" | "leave" | "none";
|
|
195
197
|
};
|
|
196
198
|
transcribe?: {
|
|
199
|
+
showSpeakers?: boolean;
|
|
197
200
|
subtitleDisclaimer?: {
|
|
198
201
|
isUserConfigurable?: boolean;
|
|
199
202
|
defaultValue?: {
|
package/dist/nxtpression.d.ts
CHANGED
|
@@ -863,7 +863,7 @@ declare interface EventStatsRecord {
|
|
|
863
863
|
|
|
864
864
|
declare interface EventTemplateRecord {
|
|
865
865
|
mixin?: string[];
|
|
866
|
-
properties?:
|
|
866
|
+
properties?: Record<string, TemplateProperty>;
|
|
867
867
|
layout?: {
|
|
868
868
|
title?: string;
|
|
869
869
|
};
|
|
@@ -1033,10 +1033,18 @@ declare interface FileConnectionSmbRecord extends FileConnectionBase {
|
|
|
1033
1033
|
createFolders?: boolean;
|
|
1034
1034
|
}
|
|
1035
1035
|
|
|
1036
|
+
declare interface FileDomainMethodsRecord {
|
|
1037
|
+
stop?: {
|
|
1038
|
+
rpcId: string;
|
|
1039
|
+
rpcData: unknown;
|
|
1040
|
+
};
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1036
1043
|
declare interface FileDomainRecords {
|
|
1037
1044
|
":file.replicate": FileReplicateRecord;
|
|
1038
1045
|
":file.restrictions": FileRestrictionsRecord;
|
|
1039
1046
|
":file.stats?": FileDomainStatsRecord;
|
|
1047
|
+
":file.methods?": FileDomainMethodsRecord;
|
|
1040
1048
|
}
|
|
1041
1049
|
|
|
1042
1050
|
declare type FileDomainStatsRecord = FileStats;
|
|
@@ -1892,6 +1900,14 @@ declare type MediaTranscriptChangesRecord = {
|
|
|
1892
1900
|
|
|
1893
1901
|
declare interface MediaTranscriptChangesRecordValue {
|
|
1894
1902
|
patch?: Operation[];
|
|
1903
|
+
/** Labels for speakers */
|
|
1904
|
+
speakerLabels?: {
|
|
1905
|
+
[speakerId: string]: string;
|
|
1906
|
+
};
|
|
1907
|
+
/** Override speaker IDs for specific paragraphs */
|
|
1908
|
+
speakerRemaps?: {
|
|
1909
|
+
[paragraphId: string]: string;
|
|
1910
|
+
};
|
|
1895
1911
|
}
|
|
1896
1912
|
|
|
1897
1913
|
declare type MediaType = "audio" | "video" | "image";
|
|
@@ -2829,6 +2845,8 @@ declare interface RenderDomainResultRecord {
|
|
|
2829
2845
|
start?: number | null;
|
|
2830
2846
|
end?: number | null;
|
|
2831
2847
|
}>;
|
|
2848
|
+
timecode?: number | null;
|
|
2849
|
+
live?: boolean | null;
|
|
2832
2850
|
result?: unknown;
|
|
2833
2851
|
error?: null | Record<string, unknown> | Array<Record<string, unknown>>;
|
|
2834
2852
|
extension?: string;
|
|
@@ -2944,6 +2962,7 @@ declare interface RenderDomainStatsRecord {
|
|
|
2944
2962
|
limits?: unknown;
|
|
2945
2963
|
taskset?: string;
|
|
2946
2964
|
end?: number | null;
|
|
2965
|
+
duration?: number | null;
|
|
2947
2966
|
}
|
|
2948
2967
|
|
|
2949
2968
|
declare type RenderPreset = RenderPresetObject | string;
|
|
@@ -3048,6 +3067,8 @@ declare interface RenderSceneObject {
|
|
|
3048
3067
|
proxyManifest?: string | null;
|
|
3049
3068
|
proxyFile?: string | null;
|
|
3050
3069
|
manifest?: string | null;
|
|
3070
|
+
timecode?: number;
|
|
3071
|
+
timezone?: string;
|
|
3051
3072
|
} | null;
|
|
3052
3073
|
lang?: string;
|
|
3053
3074
|
subtitle?: string;
|
|
@@ -3704,6 +3725,7 @@ declare interface Settings {
|
|
|
3704
3725
|
volume?: number;
|
|
3705
3726
|
muted?: boolean;
|
|
3706
3727
|
graphics?: boolean;
|
|
3728
|
+
subtitle?: string | null;
|
|
3707
3729
|
waveform?: boolean;
|
|
3708
3730
|
defaultFrameRate?: number;
|
|
3709
3731
|
dropFrame?: boolean;
|
|
@@ -3725,7 +3747,8 @@ declare interface Settings {
|
|
|
3725
3747
|
preview?: boolean | "play" | "seek" | "seekplay" | "disabled";
|
|
3726
3748
|
showRenderProgress?: boolean;
|
|
3727
3749
|
};
|
|
3728
|
-
|
|
3750
|
+
showTimeCode?: boolean;
|
|
3751
|
+
timecodeReference?: "subclip" | "default";
|
|
3729
3752
|
maxSubclipDuration?: number;
|
|
3730
3753
|
rewindStep?: number;
|
|
3731
3754
|
forwardStep?: number;
|
|
@@ -3761,6 +3784,7 @@ declare interface Settings {
|
|
|
3761
3784
|
defaultExitOption?: "update" | "leave" | "none";
|
|
3762
3785
|
};
|
|
3763
3786
|
transcribe?: {
|
|
3787
|
+
showSpeakers?: boolean;
|
|
3764
3788
|
subtitleDisclaimer?: {
|
|
3765
3789
|
isUserConfigurable?: boolean;
|
|
3766
3790
|
defaultValue?: {
|
|
@@ -4578,18 +4602,8 @@ declare interface TemplateDomainRecords {
|
|
|
4578
4602
|
":template": TemplateRecord;
|
|
4579
4603
|
}
|
|
4580
4604
|
|
|
4581
|
-
declare interface TemplateProperty {
|
|
4605
|
+
declare interface TemplateProperty extends SchemaProperty {
|
|
4582
4606
|
path?: string;
|
|
4583
|
-
type?: string;
|
|
4584
|
-
label?: string;
|
|
4585
|
-
defaultValue?: string;
|
|
4586
|
-
widget?: {
|
|
4587
|
-
type: string;
|
|
4588
|
-
};
|
|
4589
|
-
properties?: object;
|
|
4590
|
-
items?: {
|
|
4591
|
-
properties?: Record<string, TemplatePropertySchema>;
|
|
4592
|
-
};
|
|
4593
4607
|
render?: {
|
|
4594
4608
|
type: "image";
|
|
4595
4609
|
profile?: {
|
|
@@ -4603,18 +4617,6 @@ declare interface TemplateProperty {
|
|
|
4603
4617
|
};
|
|
4604
4618
|
}
|
|
4605
4619
|
|
|
4606
|
-
declare interface TemplatePropertySchema {
|
|
4607
|
-
path?: string;
|
|
4608
|
-
type?: string;
|
|
4609
|
-
label?: string;
|
|
4610
|
-
defaultValue?: string;
|
|
4611
|
-
widget?: {
|
|
4612
|
-
type: string;
|
|
4613
|
-
};
|
|
4614
|
-
items?: TemplatePropertySchema;
|
|
4615
|
-
properties?: Record<string, TemplatePropertySchema>;
|
|
4616
|
-
}
|
|
4617
|
-
|
|
4618
4620
|
declare interface TemplateRecord {
|
|
4619
4621
|
source?: string;
|
|
4620
4622
|
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;
|
|
@@ -26,7 +27,7 @@ export interface EventRecord {
|
|
|
26
27
|
}
|
|
27
28
|
export interface EventTemplateRecord {
|
|
28
29
|
mixin?: string[];
|
|
29
|
-
properties?:
|
|
30
|
+
properties?: Record<string, TemplateProperty>;
|
|
30
31
|
layout?: {
|
|
31
32
|
title?: string;
|
|
32
33
|
};
|
|
@@ -3,6 +3,7 @@ export interface FileDomainRecords {
|
|
|
3
3
|
":file.replicate": FileReplicateRecord;
|
|
4
4
|
":file.restrictions": FileRestrictionsRecord;
|
|
5
5
|
":file.stats?": FileDomainStatsRecord;
|
|
6
|
+
":file.methods?": FileDomainMethodsRecord;
|
|
6
7
|
}
|
|
7
8
|
export interface FileReplicateRecord {
|
|
8
9
|
replicas: string[];
|
|
@@ -24,3 +25,9 @@ export interface FileRestrictionsRecord {
|
|
|
24
25
|
};
|
|
25
26
|
}
|
|
26
27
|
export type FileDomainStatsRecord = FileStats;
|
|
28
|
+
export interface FileDomainMethodsRecord {
|
|
29
|
+
stop?: {
|
|
30
|
+
rpcId: string;
|
|
31
|
+
rpcData: unknown;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
@@ -38,6 +38,14 @@ export type MediaTranscriptChangesRecord = {
|
|
|
38
38
|
};
|
|
39
39
|
export interface MediaTranscriptChangesRecordValue {
|
|
40
40
|
patch?: Operation[];
|
|
41
|
+
/** Labels for speakers */
|
|
42
|
+
speakerLabels?: {
|
|
43
|
+
[speakerId: string]: string;
|
|
44
|
+
};
|
|
45
|
+
/** Override speaker IDs for specific paragraphs */
|
|
46
|
+
speakerRemaps?: {
|
|
47
|
+
[paragraphId: string]: string;
|
|
48
|
+
};
|
|
41
49
|
}
|
|
42
50
|
export interface MediaFontRecord {
|
|
43
51
|
sampleText?: string;
|
|
@@ -25,7 +25,7 @@ export const isReportPublishRecord = (() => { const _io0 = input => (undefined =
|
|
|
25
25
|
if (undefined === value)
|
|
26
26
|
return true;
|
|
27
27
|
return true;
|
|
28
|
-
}); const _io13 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io14(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io29(input.profile)); const _io14 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io15(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io17(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io20(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io27(input.audio)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io28(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io25(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io21(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io15 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io16(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest); const _io16 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io17 = input => Object.keys(input).every(key => {
|
|
28
|
+
}); const _io13 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io14(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io29(input.profile)); const _io14 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io15(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io17(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io20(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io27(input.audio)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io28(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io25(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io21(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io15 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io16(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest) && (undefined === input.timecode || "number" === typeof input.timecode) && (undefined === input.timezone || "string" === typeof input.timezone); const _io16 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io17 = input => Object.keys(input).every(key => {
|
|
29
29
|
const value = input[key];
|
|
30
30
|
if (undefined === value)
|
|
31
31
|
return true;
|
|
@@ -63,7 +63,7 @@ export const assertReportPublishRecord = (() => { const _io0 = input => (undefin
|
|
|
63
63
|
if (undefined === value)
|
|
64
64
|
return true;
|
|
65
65
|
return true;
|
|
66
|
-
}); const _io13 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io14(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io29(input.profile)); const _io14 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io15(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io17(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io20(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io27(input.audio)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io28(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io25(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io21(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io15 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io16(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest); const _io16 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io17 = input => Object.keys(input).every(key => {
|
|
66
|
+
}); const _io13 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io14(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io29(input.profile)); const _io14 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io15(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io17(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io20(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io27(input.audio)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io28(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io25(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io21(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io15 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io16(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest) && (undefined === input.timecode || "number" === typeof input.timecode) && (undefined === input.timezone || "string" === typeof input.timezone); const _io16 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io17 = input => Object.keys(input).every(key => {
|
|
67
67
|
const value = input[key];
|
|
68
68
|
if (undefined === value)
|
|
69
69
|
return true;
|
|
@@ -705,6 +705,16 @@ export const assertReportPublishRecord = (() => { const _io0 = input => (undefin
|
|
|
705
705
|
path: _path + ".manifest",
|
|
706
706
|
expected: "(null | string | undefined)",
|
|
707
707
|
value: input.manifest
|
|
708
|
+
}, _errorFactory)) && (undefined === input.timecode || "number" === typeof input.timecode || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
709
|
+
method: "typia.createAssert",
|
|
710
|
+
path: _path + ".timecode",
|
|
711
|
+
expected: "(number | undefined)",
|
|
712
|
+
value: input.timecode
|
|
713
|
+
}, _errorFactory)) && (undefined === input.timezone || "string" === typeof input.timezone || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
714
|
+
method: "typia.createAssert",
|
|
715
|
+
path: _path + ".timezone",
|
|
716
|
+
expected: "(string | undefined)",
|
|
717
|
+
value: input.timezone
|
|
708
718
|
}, _errorFactory)); const _ao16 = (input, _path, _exceptionable = true) => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
709
719
|
method: "typia.createAssert",
|
|
710
720
|
path: _path + ".alpha",
|
|
@@ -69,6 +69,7 @@ export interface RenderDomainStatsRecord {
|
|
|
69
69
|
limits?: unknown;
|
|
70
70
|
taskset?: string;
|
|
71
71
|
end?: number | null;
|
|
72
|
+
duration?: number | null;
|
|
72
73
|
}
|
|
73
74
|
export interface RenderDomainGpuStats {
|
|
74
75
|
[key: string]: unknown;
|
|
@@ -115,6 +116,8 @@ export interface RenderDomainResultRecord {
|
|
|
115
116
|
start?: number | null;
|
|
116
117
|
end?: number | null;
|
|
117
118
|
}>;
|
|
119
|
+
timecode?: number | null;
|
|
120
|
+
live?: boolean | null;
|
|
118
121
|
result?: unknown;
|
|
119
122
|
error?: null | Record<string, unknown> | Array<Record<string, unknown>>;
|
|
120
123
|
extension?: string;
|
|
@@ -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
|
-
}
|