@nxtedition/types 23.0.38 → 23.0.40
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/app.d.ts +0 -18
- package/dist/app.js +5 -173
- package/dist/common/render-query.js +280 -191
- package/dist/common/render-scene.js +336 -158
- package/dist/common/settings.d.ts +33 -9
- package/dist/common/settings.js +2069 -1381
- package/dist/domains/event.d.ts +129 -1
- package/dist/domains/event.js +2025 -0
- package/dist/domains/media.js +168 -79
- package/dist/domains/publish.d.ts +55 -0
- package/dist/domains/publish.js +4668 -3689
- package/dist/domains/render.d.ts +10 -24
- package/dist/domains/render.js +497 -828
- package/dist/domains/script.d.ts +250 -0
- package/dist/domains/script.js +6652 -0
- package/dist/domains/settings.js +2022 -1351
- package/dist/domains/subtitle-style.d.ts +5 -0
- package/dist/domains/subtitle-style.js +95 -6
- package/dist/index.d.ts +23 -0
- package/dist/index.js +294 -12
- package/dist/nxtpression.d.ts +247 -30
- package/dist/rpc.d.ts +9 -0
- package/dist/schema.json +903 -124
- package/package.json +2 -1
package/dist/domains/event.d.ts
CHANGED
|
@@ -1,7 +1,27 @@
|
|
|
1
1
|
import { type AssertionGuard as __AssertionGuard } from "typia";
|
|
2
|
+
export type JsonPrimitive = string | number | boolean | null;
|
|
3
|
+
export declare const isJsonPrimitive: (input: unknown) => input is JsonPrimitive;
|
|
4
|
+
export declare const assertJsonPrimitive: (input: unknown) => JsonPrimitive;
|
|
5
|
+
export declare const randomJsonPrimitive: () => JsonPrimitive;
|
|
6
|
+
export declare const assertGuardJsonPrimitive: __AssertionGuard<JsonPrimitive>;
|
|
7
|
+
export declare const stringifyJsonPrimitive: (input: JsonPrimitive) => string;
|
|
8
|
+
export declare const assertStringifyJsonPrimitive: (input: unknown) => string;
|
|
9
|
+
export type JsonValue = JsonPrimitive | JsonValue[] | {
|
|
10
|
+
[key: string]: JsonValue;
|
|
11
|
+
};
|
|
12
|
+
export declare const isJsonValue: (input: unknown) => input is JsonValue;
|
|
13
|
+
export declare const assertJsonValue: (input: unknown) => JsonValue;
|
|
14
|
+
export declare const randomJsonValue: () => JsonValue;
|
|
15
|
+
export declare const assertGuardJsonValue: __AssertionGuard<JsonValue>;
|
|
16
|
+
export declare const stringifyJsonValue: (input: JsonValue) => string;
|
|
17
|
+
export declare const assertStringifyJsonValue: (input: unknown) => string;
|
|
2
18
|
export interface EventDomainRecords {
|
|
3
19
|
":event": EventRecord;
|
|
4
|
-
":event._template?":
|
|
20
|
+
":event._template?": EventTemplateRecord;
|
|
21
|
+
":event.overlay?": EventOverlayRecord;
|
|
22
|
+
":event.template?": EventTemplateRecord;
|
|
23
|
+
":event.duration?": EventDurationRecord;
|
|
24
|
+
":event.props?": EventPropsRecord;
|
|
5
25
|
}
|
|
6
26
|
export interface EventRecord {
|
|
7
27
|
start?: number;
|
|
@@ -18,6 +38,113 @@ export declare const randomEventRecord: () => EventRecord;
|
|
|
18
38
|
export declare const assertGuardEventRecord: __AssertionGuard<EventRecord>;
|
|
19
39
|
export declare const stringifyEventRecord: (input: EventRecord) => string;
|
|
20
40
|
export declare const assertStringifyEventRecord: (input: unknown) => string;
|
|
41
|
+
export interface EventTemplateRecord {
|
|
42
|
+
mixin?: string[];
|
|
43
|
+
properties?: object;
|
|
44
|
+
layout?: {
|
|
45
|
+
title?: string;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export declare const isEventTemplateRecord: (input: unknown) => input is EventTemplateRecord;
|
|
49
|
+
export declare const assertEventTemplateRecord: (input: unknown) => EventTemplateRecord;
|
|
50
|
+
export declare const randomEventTemplateRecord: () => EventTemplateRecord;
|
|
51
|
+
export declare const assertGuardEventTemplateRecord: __AssertionGuard<EventTemplateRecord>;
|
|
52
|
+
export declare const stringifyEventTemplateRecord: (input: EventTemplateRecord) => string;
|
|
53
|
+
export declare const assertStringifyEventTemplateRecord: (input: unknown) => string;
|
|
54
|
+
export interface EventDurationRecord {
|
|
55
|
+
scheduled?: number;
|
|
56
|
+
actual?: number;
|
|
57
|
+
in?: number;
|
|
58
|
+
out?: number | null;
|
|
59
|
+
}
|
|
60
|
+
export declare const isEventDurationRecord: (input: unknown) => input is EventDurationRecord;
|
|
61
|
+
export declare const assertEventDurationRecord: (input: unknown) => EventDurationRecord;
|
|
62
|
+
export declare const randomEventDurationRecord: () => EventDurationRecord;
|
|
63
|
+
export declare const assertGuardEventDurationRecord: __AssertionGuard<EventDurationRecord>;
|
|
64
|
+
export declare const stringifyEventDurationRecord: (input: EventDurationRecord) => string;
|
|
65
|
+
export declare const assertStringifyEventDurationRecord: (input: unknown) => string;
|
|
66
|
+
type EventProps = {
|
|
67
|
+
source?: string;
|
|
68
|
+
cueCard?: boolean | string;
|
|
69
|
+
};
|
|
70
|
+
export type EventPropsRecord = EventProps & Record<Exclude<string, keyof EventProps>, JsonValue>;
|
|
71
|
+
export declare const isEventPropsRecord: (input: unknown) => input is EventPropsRecord;
|
|
72
|
+
export declare const assertEventPropsRecord: (input: unknown) => EventPropsRecord;
|
|
73
|
+
export declare const randomEventPropsRecord: () => {
|
|
74
|
+
[x: string]: JsonPrimitive | (JsonPrimitive | (JsonPrimitive | (JsonPrimitive | (JsonPrimitive | (JsonPrimitive | (JsonPrimitive | (JsonPrimitive | (JsonPrimitive | (JsonPrimitive | (JsonPrimitive | (JsonPrimitive | any | {
|
|
75
|
+
[x: string]: JsonPrimitive | any | any;
|
|
76
|
+
})[] | {
|
|
77
|
+
[x: string]: JsonPrimitive | any | any;
|
|
78
|
+
})[] | {
|
|
79
|
+
[x: string]: JsonPrimitive | any | any;
|
|
80
|
+
})[] | {
|
|
81
|
+
[x: string]: JsonPrimitive | any | any;
|
|
82
|
+
})[] | {
|
|
83
|
+
[x: string]: JsonPrimitive | any | any;
|
|
84
|
+
})[] | {
|
|
85
|
+
[x: string]: JsonPrimitive | any | any;
|
|
86
|
+
})[] | {
|
|
87
|
+
[x: string]: JsonPrimitive | any | any;
|
|
88
|
+
})[] | {
|
|
89
|
+
[x: string]: JsonPrimitive | any | any;
|
|
90
|
+
})[] | {
|
|
91
|
+
[x: string]: JsonPrimitive | any | any;
|
|
92
|
+
})[] | {
|
|
93
|
+
[x: string]: JsonPrimitive | any | any;
|
|
94
|
+
})[] | {
|
|
95
|
+
[x: string]: JsonPrimitive | any | any;
|
|
96
|
+
})[] | {
|
|
97
|
+
[x: string]: JsonPrimitive | any | any;
|
|
98
|
+
};
|
|
99
|
+
source?: string | undefined;
|
|
100
|
+
cueCard?: (boolean | string) | undefined;
|
|
101
|
+
};
|
|
102
|
+
export declare const assertGuardEventPropsRecord: __AssertionGuard<EventPropsRecord>;
|
|
103
|
+
export declare const stringifyEventPropsRecord: (input: EventPropsRecord) => string;
|
|
104
|
+
export declare const assertStringifyEventPropsRecord: (input: unknown) => string;
|
|
105
|
+
export interface EventOverlayRecord {
|
|
106
|
+
[eventId: string]: {
|
|
107
|
+
data: EventPropsRecord;
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
export declare const isEventOverlayRecord: (input: unknown) => input is EventOverlayRecord;
|
|
111
|
+
export declare const assertEventOverlayRecord: (input: unknown) => EventOverlayRecord;
|
|
112
|
+
export declare const randomEventOverlayRecord: () => {
|
|
113
|
+
[x: string]: {
|
|
114
|
+
data: {
|
|
115
|
+
[x: string]: JsonPrimitive | (JsonPrimitive | (JsonPrimitive | (JsonPrimitive | (JsonPrimitive | (JsonPrimitive | (JsonPrimitive | (JsonPrimitive | (JsonPrimitive | (JsonPrimitive | (JsonPrimitive | (JsonPrimitive | any | {
|
|
116
|
+
[x: string]: JsonPrimitive | any | any;
|
|
117
|
+
})[] | {
|
|
118
|
+
[x: string]: JsonPrimitive | any | any;
|
|
119
|
+
})[] | {
|
|
120
|
+
[x: string]: JsonPrimitive | any | any;
|
|
121
|
+
})[] | {
|
|
122
|
+
[x: string]: JsonPrimitive | any | any;
|
|
123
|
+
})[] | {
|
|
124
|
+
[x: string]: JsonPrimitive | any | any;
|
|
125
|
+
})[] | {
|
|
126
|
+
[x: string]: JsonPrimitive | any | any;
|
|
127
|
+
})[] | {
|
|
128
|
+
[x: string]: JsonPrimitive | any | any;
|
|
129
|
+
})[] | {
|
|
130
|
+
[x: string]: JsonPrimitive | any | any;
|
|
131
|
+
})[] | {
|
|
132
|
+
[x: string]: JsonPrimitive | any | any;
|
|
133
|
+
})[] | {
|
|
134
|
+
[x: string]: JsonPrimitive | any | any;
|
|
135
|
+
})[] | {
|
|
136
|
+
[x: string]: JsonPrimitive | any | any;
|
|
137
|
+
})[] | {
|
|
138
|
+
[x: string]: JsonPrimitive | any | any;
|
|
139
|
+
};
|
|
140
|
+
source?: string | undefined;
|
|
141
|
+
cueCard?: (boolean | string) | undefined;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
export declare const assertGuardEventOverlayRecord: __AssertionGuard<EventOverlayRecord>;
|
|
146
|
+
export declare const stringifyEventOverlayRecord: (input: EventOverlayRecord) => string;
|
|
147
|
+
export declare const assertStringifyEventOverlayRecord: (input: unknown) => string;
|
|
21
148
|
export interface SubtitleEventStyleOverrides {
|
|
22
149
|
marginL?: string;
|
|
23
150
|
marginR?: string;
|
|
@@ -40,3 +167,4 @@ export declare const randomSubtitleEventStyleOverrides: () => SubtitleEventStyle
|
|
|
40
167
|
export declare const assertGuardSubtitleEventStyleOverrides: __AssertionGuard<SubtitleEventStyleOverrides>;
|
|
41
168
|
export declare const stringifySubtitleEventStyleOverrides: (input: SubtitleEventStyleOverrides) => string;
|
|
42
169
|
export declare const assertStringifySubtitleEventStyleOverrides: (input: unknown) => string;
|
|
170
|
+
export {};
|