@nxtedition/types 23.0.40 → 23.0.42

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 (243) hide show
  1. package/dist/app.d.ts +0 -33
  2. package/dist/app.js +1 -655
  3. package/dist/common/block.d.ts +6 -13
  4. package/dist/common/block.js +597 -1607
  5. package/dist/common/clone.d.ts +0 -19
  6. package/dist/common/clone.js +1 -602
  7. package/dist/common/date.d.ts +0 -7
  8. package/dist/common/date.js +1 -59
  9. package/dist/common/error.d.ts +0 -7
  10. package/dist/common/error.js +1 -404
  11. package/dist/common/file.d.ts +1 -21
  12. package/dist/common/file.js +782 -2521
  13. package/dist/common/index.d.ts +20 -26
  14. package/dist/common/index.js +20 -134
  15. package/dist/common/location.d.ts +0 -6
  16. package/dist/common/location.js +73 -238
  17. package/dist/common/lock.d.ts +1 -8
  18. package/dist/common/lock.js +1 -211
  19. package/dist/common/media.d.ts +0 -7
  20. package/dist/common/media.js +1 -83
  21. package/dist/common/nxtpression.d.ts +2 -9
  22. package/dist/common/nxtpression.js +1 -277
  23. package/dist/common/pipeline.d.ts +0 -7
  24. package/dist/common/pipeline.js +1 -97
  25. package/dist/common/promoted-tag.d.ts +0 -7
  26. package/dist/common/promoted-tag.js +1 -147
  27. package/dist/common/render-preset.d.ts +4 -17
  28. package/dist/common/render-preset.js +1 -1202
  29. package/dist/common/render-profile.d.ts +3 -19
  30. package/dist/common/render-profile.js +1 -1052
  31. package/dist/common/render-query.d.ts +2 -9
  32. package/dist/common/render-query.js +1 -1843
  33. package/dist/common/render-scene.d.ts +3 -16
  34. package/dist/common/render-scene.js +1 -2408
  35. package/dist/common/rule.d.ts +1 -7
  36. package/dist/common/rule.js +84 -254
  37. package/dist/common/search.d.ts +0 -25
  38. package/dist/common/search.js +1 -1591
  39. package/dist/common/settings.d.ts +113 -125
  40. package/dist/common/settings.js +1 -7504
  41. package/dist/common/subtitle-style.d.ts +25 -0
  42. package/dist/common/user-notification.d.ts +0 -7
  43. package/dist/common/user-notification.js +1 -85
  44. package/dist/index.d.ts +5 -108
  45. package/dist/index.js +5 -469
  46. package/dist/nxtpression.d.ts +538 -337
  47. package/dist/nxtpression.js +1 -323
  48. package/dist/records/domains/asset.d.ts +106 -0
  49. package/dist/records/domains/bundle.d.ts +12 -0
  50. package/dist/records/domains/bundle.js +1 -0
  51. package/dist/records/domains/clone.d.ts +7 -0
  52. package/dist/records/domains/clone.js +1 -0
  53. package/dist/records/domains/comment-reaction.d.ts +8 -0
  54. package/dist/records/domains/comment-reaction.js +1 -0
  55. package/dist/records/domains/comment-read-mark.d.ts +8 -0
  56. package/dist/records/domains/comment-read-mark.js +1 -0
  57. package/dist/records/domains/comment.d.ts +81 -0
  58. package/dist/records/domains/comment.js +19 -0
  59. package/dist/records/domains/connection.d.ts +77 -0
  60. package/dist/records/domains/connection.js +1 -0
  61. package/dist/records/domains/contact.d.ts +9 -0
  62. package/dist/records/domains/contact.js +1 -0
  63. package/dist/records/domains/deepstream.d.ts +8 -0
  64. package/dist/records/domains/deepstream.js +1 -0
  65. package/dist/records/domains/design.d.ts +11 -0
  66. package/dist/records/domains/design.js +1 -0
  67. package/dist/records/domains/edit.d.ts +10 -0
  68. package/dist/records/domains/edit.js +1 -0
  69. package/dist/records/domains/event.d.ts +66 -0
  70. package/dist/records/domains/event.js +1 -0
  71. package/dist/records/domains/file.d.ts +26 -0
  72. package/dist/records/domains/file.js +1 -0
  73. package/dist/records/domains/general.d.ts +41 -0
  74. package/dist/records/domains/general.js +1 -0
  75. package/dist/records/domains/index.d.ts +77 -0
  76. package/dist/records/domains/index.js +38 -0
  77. package/dist/records/domains/media.d.ts +64 -0
  78. package/dist/records/domains/media.js +1 -0
  79. package/dist/records/domains/monitor.d.ts +116 -0
  80. package/dist/records/domains/monitor.js +1 -0
  81. package/dist/records/domains/panel.d.ts +55 -0
  82. package/dist/records/domains/panel.js +1 -0
  83. package/dist/records/domains/permission.d.ts +25 -0
  84. package/dist/records/domains/permission.js +2 -0
  85. package/dist/records/domains/pipeline-preset.d.ts +10 -0
  86. package/dist/records/domains/pipeline-preset.js +1 -0
  87. package/dist/records/domains/pipeline.d.ts +17 -0
  88. package/dist/records/domains/pipeline.js +1 -0
  89. package/dist/records/domains/planning.d.ts +14 -0
  90. package/dist/records/domains/planning.js +1 -0
  91. package/dist/records/domains/prompter.d.ts +18 -0
  92. package/dist/records/domains/prompter.js +1 -0
  93. package/dist/records/domains/publish.d.ts +149 -0
  94. package/dist/records/domains/publish.js +1 -0
  95. package/dist/records/domains/published.d.ts +12 -0
  96. package/dist/records/domains/published.js +1 -0
  97. package/dist/records/domains/render-preset.d.ts +5 -0
  98. package/dist/records/domains/render-preset.js +1 -0
  99. package/dist/records/domains/render.d.ts +115 -0
  100. package/dist/records/domains/render.js +1 -0
  101. package/dist/records/domains/revs.d.ts +6 -0
  102. package/dist/records/domains/revs.js +1 -0
  103. package/dist/records/domains/role.d.ts +6 -0
  104. package/dist/records/domains/role.js +1 -0
  105. package/dist/records/domains/script.d.ts +101 -0
  106. package/dist/records/domains/script.js +1 -0
  107. package/dist/records/domains/search.d.ts +23 -0
  108. package/dist/records/domains/search.js +1 -0
  109. package/dist/records/domains/settings.d.ts +5 -0
  110. package/dist/records/domains/settings.js +1 -0
  111. package/dist/records/domains/storyboard.d.ts +10 -0
  112. package/dist/records/domains/storyboard.js +1 -0
  113. package/dist/records/domains/subtitle-style.d.ts +13 -0
  114. package/dist/records/domains/subtitle-style.js +1 -0
  115. package/dist/records/domains/subtitle.d.ts +12 -0
  116. package/dist/records/domains/subtitle.js +1 -0
  117. package/dist/records/domains/template.d.ts +11 -0
  118. package/dist/records/domains/template.js +1 -0
  119. package/dist/records/domains/user-notification-status.d.ts +30 -0
  120. package/dist/records/domains/user-notification-status.js +1 -0
  121. package/dist/records/domains/user-notification.d.ts +69 -0
  122. package/dist/records/domains/user-notification.js +1 -0
  123. package/dist/records/domains/user.d.ts +23 -0
  124. package/dist/records/domains/user.js +1 -0
  125. package/dist/records/exact/asset.d.ts +83 -0
  126. package/dist/records/exact/asset.js +1 -0
  127. package/dist/records/exact/index.d.ts +36 -0
  128. package/dist/records/exact/index.js +4 -0
  129. package/dist/records/exact/media.d.ts +52 -0
  130. package/dist/records/exact/media.js +1 -0
  131. package/dist/records/exact/monitor.d.ts +46 -0
  132. package/dist/records/exact/monitor.js +1 -0
  133. package/dist/records/exact/storage.d.ts +32 -0
  134. package/dist/records/exact/storage.js +1 -0
  135. package/dist/records/index.d.ts +10 -0
  136. package/dist/records/index.js +2 -0
  137. package/dist/records/utils.d.ts +7 -0
  138. package/dist/records/utils.js +1 -0
  139. package/dist/records/utils.tds.d.ts +1 -0
  140. package/dist/records/utils.tds.js +7 -0
  141. package/dist/records/validate/assert-guard.d.ts +4 -0
  142. package/dist/records/validate/assert-guard.js +16068 -0
  143. package/dist/records/validate/assert.d.ts +4 -0
  144. package/dist/records/validate/assert.js +16198 -0
  145. package/dist/records/validate/is.d.ts +4 -0
  146. package/dist/records/validate/is.js +1027 -0
  147. package/dist/records/validate/schemas.d.ts +9 -0
  148. package/dist/records/validate/schemas.js +12862 -0
  149. package/dist/records/validate/stringify.d.ts +4 -0
  150. package/dist/records/validate/stringify.js +1915 -0
  151. package/dist/records/validate/utils.d.ts +15 -0
  152. package/dist/records/validate/utils.js +26 -0
  153. package/dist/records/validate/validate-equals.d.ts +5 -0
  154. package/dist/records/validate/validate-equals.js +24363 -0
  155. package/dist/records/validate/validate.d.ts +5 -0
  156. package/dist/records/validate/validate.js +15127 -0
  157. package/dist/rpc.d.ts +5 -15
  158. package/dist/rpc.js +126 -511
  159. package/dist/tsdoc-metadata.json +1 -1
  160. package/package.json +25 -15
  161. package/dist/asset.d.ts +0 -72
  162. package/dist/domains/asset.d.ts +0 -227
  163. package/dist/domains/asset.js +0 -2672
  164. package/dist/domains/bundle.d.ts +0 -25
  165. package/dist/domains/bundle.js +0 -512
  166. package/dist/domains/clone.d.ts +0 -14
  167. package/dist/domains/clone.js +0 -192
  168. package/dist/domains/comment-reaction.d.ts +0 -15
  169. package/dist/domains/comment-reaction.js +0 -115
  170. package/dist/domains/comment-read-mark.d.ts +0 -15
  171. package/dist/domains/comment-read-mark.js +0 -115
  172. package/dist/domains/comment.d.ts +0 -153
  173. package/dist/domains/comment.js +0 -5906
  174. package/dist/domains/connection.d.ts +0 -141
  175. package/dist/domains/connection.js +0 -5860
  176. package/dist/domains/contact.d.ts +0 -16
  177. package/dist/domains/contact.js +0 -149
  178. package/dist/domains/deepstream.d.ts +0 -14
  179. package/dist/domains/deepstream.js +0 -139
  180. package/dist/domains/design.d.ts +0 -24
  181. package/dist/domains/design.js +0 -303
  182. package/dist/domains/edit.d.ts +0 -17
  183. package/dist/domains/edit.js +0 -224
  184. package/dist/domains/event.d.ts +0 -170
  185. package/dist/domains/event.js +0 -2779
  186. package/dist/domains/file.d.ts +0 -51
  187. package/dist/domains/file.js +0 -2506
  188. package/dist/domains/general.d.ts +0 -84
  189. package/dist/domains/general.js +0 -906
  190. package/dist/domains/index.d.ts +0 -75
  191. package/dist/domains/index.js +0 -37
  192. package/dist/domains/media.d.ts +0 -113
  193. package/dist/domains/media.js +0 -4642
  194. package/dist/domains/monitor.d.ts +0 -416
  195. package/dist/domains/monitor.js +0 -6382
  196. package/dist/domains/panel.d.ts +0 -371
  197. package/dist/domains/panel.js +0 -3198
  198. package/dist/domains/permission.d.ts +0 -61
  199. package/dist/domains/permission.js +0 -1926
  200. package/dist/domains/pipeline-preset.d.ts +0 -17
  201. package/dist/domains/pipeline-preset.js +0 -236
  202. package/dist/domains/pipeline.d.ts +0 -30
  203. package/dist/domains/pipeline.js +0 -460
  204. package/dist/domains/planning.d.ts +0 -33
  205. package/dist/domains/planning.js +0 -324
  206. package/dist/domains/publish.d.ts +0 -1452
  207. package/dist/domains/publish.js +0 -35415
  208. package/dist/domains/published.d.ts +0 -19
  209. package/dist/domains/published.js +0 -204
  210. package/dist/domains/render-preset.d.ts +0 -4
  211. package/dist/domains/render.d.ts +0 -158
  212. package/dist/domains/render.js +0 -4452
  213. package/dist/domains/revs.d.ts +0 -13
  214. package/dist/domains/revs.js +0 -125
  215. package/dist/domains/role.d.ts +0 -13
  216. package/dist/domains/role.js +0 -119
  217. package/dist/domains/script.d.ts +0 -263
  218. package/dist/domains/script.js +0 -6777
  219. package/dist/domains/search.d.ts +0 -16
  220. package/dist/domains/search.js +0 -168
  221. package/dist/domains/settings.d.ts +0 -12
  222. package/dist/domains/settings.js +0 -7180
  223. package/dist/domains/storyboard.d.ts +0 -14
  224. package/dist/domains/storyboard.js +0 -125
  225. package/dist/domains/subtitle-style.d.ts +0 -42
  226. package/dist/domains/subtitle-style.js +0 -574
  227. package/dist/domains/subtitle.d.ts +0 -19
  228. package/dist/domains/subtitle.js +0 -212
  229. package/dist/domains/template.d.ts +0 -23
  230. package/dist/domains/template.js +0 -372
  231. package/dist/domains/user-notification-status.d.ts +0 -55
  232. package/dist/domains/user-notification-status.js +0 -715
  233. package/dist/domains/user-notification.d.ts +0 -118
  234. package/dist/domains/user-notification.js +0 -3040
  235. package/dist/domains/user.d.ts +0 -48
  236. package/dist/domains/user.js +0 -481
  237. package/dist/monitor.d.ts +0 -71
  238. package/dist/monitor.js +0 -1942
  239. package/dist/schema.json +0 -9836
  240. package/dist/storage.d.ts +0 -51
  241. package/dist/storage.js +0 -1036
  242. /package/dist/{asset.js → common/subtitle-style.js} +0 -0
  243. /package/dist/{domains/render-preset.js → records/domains/asset.js} +0 -0
@@ -1,1452 +0,0 @@
1
- import { type AssertionGuard as __AssertionGuard } from "typia";
2
- import type { Message, RenderSceneObject, RenderProfileObject } from '../common/index.js';
3
- import type { Nxtpression } from '../common/index.js';
4
- export interface PublishDomainRecords {
5
- [":publish"]: PublishRecord;
6
- [":publish.stats?"]: PublishStatsRecord;
7
- [":publish.methods?"]: Record<string, {
8
- rpcId: string;
9
- rpcData: Record<string, unknown>;
10
- }>;
11
- [":publish.accepts"]: PublishDomainAcceptsProvidedRecord;
12
- }
13
- export type PublishRecord = YoutubePublishRecord | FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy;
14
- export declare const isPublishRecord: (input: unknown) => input is PublishRecord;
15
- export declare const assertPublishRecord: (input: unknown) => PublishRecord;
16
- export declare const randomPublishRecord: () => {
17
- draft?: {
18
- snippet?: {
19
- title?: string | undefined;
20
- tags?: string[] | undefined;
21
- description?: string | undefined;
22
- } | undefined;
23
- } | undefined;
24
- type: "youtube";
25
- asset?: string | undefined;
26
- connection?: string | undefined;
27
- render?: {
28
- preset?: string | undefined;
29
- type: string;
30
- scene?: {
31
- id?: string | undefined;
32
- preset?: string | undefined;
33
- input?: {
34
- type?: string | undefined;
35
- file?: (string | null) | undefined;
36
- } | undefined;
37
- lang?: string | undefined;
38
- subtitle?: string | undefined;
39
- subtitleTracks?: {
40
- [x: string]: {
41
- style?: (string | null) | undefined;
42
- styleOverrides?: {
43
- name?: string | undefined;
44
- fontname?: string | undefined;
45
- fontsize?: string | undefined;
46
- primaryColour?: string | undefined;
47
- secondaryColour?: string | undefined;
48
- outlineColour?: string | undefined;
49
- backColour?: string | undefined;
50
- bold?: string | undefined;
51
- italic?: string | undefined;
52
- underline?: string | undefined;
53
- strikeOut?: string | undefined;
54
- scaleX?: string | undefined;
55
- scaleY?: string | undefined;
56
- spacing?: string | undefined;
57
- angle?: string | undefined;
58
- borderStyle?: string | undefined;
59
- outline?: string | undefined;
60
- shadow?: string | undefined;
61
- alignment?: string | undefined;
62
- marginL?: string | undefined;
63
- marginR?: string | undefined;
64
- marginV?: string | undefined;
65
- encoding?: string | undefined;
66
- previewSettings?: {
67
- aspectRatio?: string | undefined;
68
- backgroundAssetId?: string | undefined;
69
- text?: string | undefined;
70
- } | undefined;
71
- } | undefined;
72
- };
73
- } | undefined;
74
- video?: {
75
- crop?: {
76
- x?: number | undefined;
77
- y?: number | undefined;
78
- width?: number | undefined;
79
- height?: number | undefined;
80
- } | undefined;
81
- } | undefined;
82
- start?: number | undefined;
83
- end?: number | undefined;
84
- transcribe?: {
85
- language?: string | undefined;
86
- pan?: number[] | undefined;
87
- } | undefined;
88
- } | undefined;
89
- profile?: {
90
- format: string;
91
- transcribe?: {
92
- engine: string;
93
- } | undefined;
94
- translate?: {
95
- language: string;
96
- } | undefined;
97
- audio?: {
98
- pan?: string | undefined;
99
- } | undefined;
100
- video?: unknown;
101
- pick?: string[] | undefined;
102
- subtitle?: string | {
103
- lang?: string | undefined;
104
- style?: string | undefined;
105
- } | undefined;
106
- } | undefined;
107
- } | undefined;
108
- published?: {
109
- [x: string]: unknown;
110
- } | undefined;
111
- remote?: {
112
- [x: string]: unknown;
113
- } | undefined;
114
- error?: {
115
- method: string;
116
- } | null | undefined;
117
- messages?: {
118
- level: number;
119
- code: string;
120
- msg: string;
121
- }[] | undefined;
122
- } | {
123
- pageId?: string | undefined;
124
- type: "facebook";
125
- asset?: string | undefined;
126
- connection?: string | undefined;
127
- render?: {
128
- preset?: string | undefined;
129
- type: string;
130
- scene?: {
131
- id?: string | undefined;
132
- preset?: string | undefined;
133
- input?: {
134
- type?: string | undefined;
135
- file?: (string | null) | undefined;
136
- } | undefined;
137
- lang?: string | undefined;
138
- subtitle?: string | undefined;
139
- subtitleTracks?: {
140
- [x: string]: {
141
- style?: (string | null) | undefined;
142
- styleOverrides?: {
143
- name?: string | undefined;
144
- fontname?: string | undefined;
145
- fontsize?: string | undefined;
146
- primaryColour?: string | undefined;
147
- secondaryColour?: string | undefined;
148
- outlineColour?: string | undefined;
149
- backColour?: string | undefined;
150
- bold?: string | undefined;
151
- italic?: string | undefined;
152
- underline?: string | undefined;
153
- strikeOut?: string | undefined;
154
- scaleX?: string | undefined;
155
- scaleY?: string | undefined;
156
- spacing?: string | undefined;
157
- angle?: string | undefined;
158
- borderStyle?: string | undefined;
159
- outline?: string | undefined;
160
- shadow?: string | undefined;
161
- alignment?: string | undefined;
162
- marginL?: string | undefined;
163
- marginR?: string | undefined;
164
- marginV?: string | undefined;
165
- encoding?: string | undefined;
166
- previewSettings?: {
167
- aspectRatio?: string | undefined;
168
- backgroundAssetId?: string | undefined;
169
- text?: string | undefined;
170
- } | undefined;
171
- } | undefined;
172
- };
173
- } | undefined;
174
- video?: {
175
- crop?: {
176
- x?: number | undefined;
177
- y?: number | undefined;
178
- width?: number | undefined;
179
- height?: number | undefined;
180
- } | undefined;
181
- } | undefined;
182
- start?: number | undefined;
183
- end?: number | undefined;
184
- transcribe?: {
185
- language?: string | undefined;
186
- pan?: number[] | undefined;
187
- } | undefined;
188
- } | undefined;
189
- profile?: {
190
- format: string;
191
- transcribe?: {
192
- engine: string;
193
- } | undefined;
194
- translate?: {
195
- language: string;
196
- } | undefined;
197
- audio?: {
198
- pan?: string | undefined;
199
- } | undefined;
200
- video?: unknown;
201
- pick?: string[] | undefined;
202
- subtitle?: string | {
203
- lang?: string | undefined;
204
- style?: string | undefined;
205
- } | undefined;
206
- } | undefined;
207
- } | undefined;
208
- draft?: {
209
- [x: string]: unknown;
210
- } | undefined;
211
- published?: {
212
- [x: string]: unknown;
213
- } | undefined;
214
- remote?: {
215
- [x: string]: unknown;
216
- } | undefined;
217
- error?: {
218
- method: string;
219
- } | null | undefined;
220
- messages?: {
221
- level: number;
222
- code: string;
223
- msg: string;
224
- }[] | undefined;
225
- } | {
226
- directory?: string | undefined;
227
- filename?: string | undefined;
228
- renders?: {
229
- [x: string]: string | {
230
- preset?: string | undefined;
231
- name?: string | undefined;
232
- path: string;
233
- collisionStrategy?: ("overwrite" | "skip") | undefined;
234
- ignoreEmptyScene?: boolean | undefined;
235
- type: string;
236
- scene?: {
237
- id?: string | undefined;
238
- preset?: string | undefined;
239
- input?: {
240
- type?: string | undefined;
241
- file?: (string | null) | undefined;
242
- } | undefined;
243
- lang?: string | undefined;
244
- subtitle?: string | undefined;
245
- subtitleTracks?: {
246
- [x: string]: {
247
- style?: (string | null) | undefined;
248
- styleOverrides?: {
249
- name?: string | undefined;
250
- fontname?: string | undefined;
251
- fontsize?: string | undefined;
252
- primaryColour?: string | undefined;
253
- secondaryColour?: string | undefined;
254
- outlineColour?: string | undefined;
255
- backColour?: string | undefined;
256
- bold?: string | undefined;
257
- italic?: string | undefined;
258
- underline?: string | undefined;
259
- strikeOut?: string | undefined;
260
- scaleX?: string | undefined;
261
- scaleY?: string | undefined;
262
- spacing?: string | undefined;
263
- angle?: string | undefined;
264
- borderStyle?: string | undefined;
265
- outline?: string | undefined;
266
- shadow?: string | undefined;
267
- alignment?: string | undefined;
268
- marginL?: string | undefined;
269
- marginR?: string | undefined;
270
- marginV?: string | undefined;
271
- encoding?: string | undefined;
272
- previewSettings?: {
273
- aspectRatio?: string | undefined;
274
- backgroundAssetId?: string | undefined;
275
- text?: string | undefined;
276
- } | undefined;
277
- } | undefined;
278
- };
279
- } | undefined;
280
- video?: {
281
- crop?: {
282
- x?: number | undefined;
283
- y?: number | undefined;
284
- width?: number | undefined;
285
- height?: number | undefined;
286
- } | undefined;
287
- } | undefined;
288
- start?: number | undefined;
289
- end?: number | undefined;
290
- transcribe?: {
291
- language?: string | undefined;
292
- pan?: number[] | undefined;
293
- } | undefined;
294
- } | undefined;
295
- profile?: {
296
- format: string;
297
- transcribe?: {
298
- engine: string;
299
- } | undefined;
300
- translate?: {
301
- language: string;
302
- } | undefined;
303
- audio?: {
304
- pan?: string | undefined;
305
- } | undefined;
306
- video?: unknown;
307
- pick?: string[] | undefined;
308
- subtitle?: string | {
309
- lang?: string | undefined;
310
- style?: string | undefined;
311
- } | undefined;
312
- } | undefined;
313
- };
314
- } | undefined;
315
- draft?: {
316
- [x: string]: unknown;
317
- directory?: string | undefined;
318
- filename?: string | undefined;
319
- } | undefined;
320
- remote?: {
321
- [x: string]: unknown;
322
- directory?: string | undefined;
323
- filename?: string | undefined;
324
- renders?: {
325
- [x: string]: {
326
- path?: string | undefined;
327
- messages?: {
328
- level: number;
329
- code: string;
330
- msg: string;
331
- }[] | undefined;
332
- query?: unknown;
333
- size?: number | undefined;
334
- hash?: string | undefined;
335
- source?: string | undefined;
336
- };
337
- } | undefined;
338
- } | undefined;
339
- published?: {
340
- [x: string]: unknown;
341
- directory?: string | undefined;
342
- filename: string;
343
- } | undefined;
344
- type: "file";
345
- asset?: string | undefined;
346
- connection?: string | undefined;
347
- render?: {
348
- preset?: string | undefined;
349
- type: string;
350
- scene?: {
351
- id?: string | undefined;
352
- preset?: string | undefined;
353
- input?: {
354
- type?: string | undefined;
355
- file?: (string | null) | undefined;
356
- } | undefined;
357
- lang?: string | undefined;
358
- subtitle?: string | undefined;
359
- subtitleTracks?: {
360
- [x: string]: {
361
- style?: (string | null) | undefined;
362
- styleOverrides?: {
363
- name?: string | undefined;
364
- fontname?: string | undefined;
365
- fontsize?: string | undefined;
366
- primaryColour?: string | undefined;
367
- secondaryColour?: string | undefined;
368
- outlineColour?: string | undefined;
369
- backColour?: string | undefined;
370
- bold?: string | undefined;
371
- italic?: string | undefined;
372
- underline?: string | undefined;
373
- strikeOut?: string | undefined;
374
- scaleX?: string | undefined;
375
- scaleY?: string | undefined;
376
- spacing?: string | undefined;
377
- angle?: string | undefined;
378
- borderStyle?: string | undefined;
379
- outline?: string | undefined;
380
- shadow?: string | undefined;
381
- alignment?: string | undefined;
382
- marginL?: string | undefined;
383
- marginR?: string | undefined;
384
- marginV?: string | undefined;
385
- encoding?: string | undefined;
386
- previewSettings?: {
387
- aspectRatio?: string | undefined;
388
- backgroundAssetId?: string | undefined;
389
- text?: string | undefined;
390
- } | undefined;
391
- } | undefined;
392
- };
393
- } | undefined;
394
- video?: {
395
- crop?: {
396
- x?: number | undefined;
397
- y?: number | undefined;
398
- width?: number | undefined;
399
- height?: number | undefined;
400
- } | undefined;
401
- } | undefined;
402
- start?: number | undefined;
403
- end?: number | undefined;
404
- transcribe?: {
405
- language?: string | undefined;
406
- pan?: number[] | undefined;
407
- } | undefined;
408
- } | undefined;
409
- profile?: {
410
- format: string;
411
- transcribe?: {
412
- engine: string;
413
- } | undefined;
414
- translate?: {
415
- language: string;
416
- } | undefined;
417
- audio?: {
418
- pan?: string | undefined;
419
- } | undefined;
420
- video?: unknown;
421
- pick?: string[] | undefined;
422
- subtitle?: string | {
423
- lang?: string | undefined;
424
- style?: string | undefined;
425
- } | undefined;
426
- } | undefined;
427
- } | undefined;
428
- error?: {
429
- method: string;
430
- } | null | undefined;
431
- messages?: {
432
- level: number;
433
- code: string;
434
- msg: string;
435
- }[] | undefined;
436
- } | {
437
- directory?: string | undefined;
438
- filename?: string | undefined;
439
- draft?: {
440
- [x: string]: unknown;
441
- directory?: string | undefined;
442
- filename?: string | undefined;
443
- } | undefined;
444
- remote?: {
445
- [x: string]: unknown;
446
- id?: string | undefined;
447
- path: string;
448
- filename: string;
449
- directory?: string | undefined;
450
- subtitle?: {
451
- path: string;
452
- } | undefined;
453
- metafile?: {
454
- path: string;
455
- } | undefined;
456
- } | undefined;
457
- published?: {
458
- [x: string]: unknown;
459
- directory?: string | undefined;
460
- filename: string;
461
- } | undefined;
462
- renders?: undefined;
463
- type: "file";
464
- asset?: string | undefined;
465
- connection?: string | undefined;
466
- render?: {
467
- preset?: string | undefined;
468
- type: string;
469
- scene?: {
470
- id?: string | undefined;
471
- preset?: string | undefined;
472
- input?: {
473
- type?: string | undefined;
474
- file?: (string | null) | undefined;
475
- } | undefined;
476
- lang?: string | undefined;
477
- subtitle?: string | undefined;
478
- subtitleTracks?: {
479
- [x: string]: {
480
- style?: (string | null) | undefined;
481
- styleOverrides?: {
482
- name?: string | undefined;
483
- fontname?: string | undefined;
484
- fontsize?: string | undefined;
485
- primaryColour?: string | undefined;
486
- secondaryColour?: string | undefined;
487
- outlineColour?: string | undefined;
488
- backColour?: string | undefined;
489
- bold?: string | undefined;
490
- italic?: string | undefined;
491
- underline?: string | undefined;
492
- strikeOut?: string | undefined;
493
- scaleX?: string | undefined;
494
- scaleY?: string | undefined;
495
- spacing?: string | undefined;
496
- angle?: string | undefined;
497
- borderStyle?: string | undefined;
498
- outline?: string | undefined;
499
- shadow?: string | undefined;
500
- alignment?: string | undefined;
501
- marginL?: string | undefined;
502
- marginR?: string | undefined;
503
- marginV?: string | undefined;
504
- encoding?: string | undefined;
505
- previewSettings?: {
506
- aspectRatio?: string | undefined;
507
- backgroundAssetId?: string | undefined;
508
- text?: string | undefined;
509
- } | undefined;
510
- } | undefined;
511
- };
512
- } | undefined;
513
- video?: {
514
- crop?: {
515
- x?: number | undefined;
516
- y?: number | undefined;
517
- width?: number | undefined;
518
- height?: number | undefined;
519
- } | undefined;
520
- } | undefined;
521
- start?: number | undefined;
522
- end?: number | undefined;
523
- transcribe?: {
524
- language?: string | undefined;
525
- pan?: number[] | undefined;
526
- } | undefined;
527
- } | undefined;
528
- profile?: {
529
- format: string;
530
- transcribe?: {
531
- engine: string;
532
- } | undefined;
533
- translate?: {
534
- language: string;
535
- } | undefined;
536
- audio?: {
537
- pan?: string | undefined;
538
- } | undefined;
539
- video?: unknown;
540
- pick?: string[] | undefined;
541
- subtitle?: string | {
542
- lang?: string | undefined;
543
- style?: string | undefined;
544
- } | undefined;
545
- } | undefined;
546
- } | undefined;
547
- error?: {
548
- method: string;
549
- } | null | undefined;
550
- messages?: {
551
- level: number;
552
- code: string;
553
- msg: string;
554
- }[] | undefined;
555
- };
556
- export declare const assertGuardPublishRecord: __AssertionGuard<PublishRecord>;
557
- export declare const stringifyPublishRecord: (input: PublishRecord) => string;
558
- export declare const assertStringifyPublishRecord: (input: unknown) => string;
559
- export type PublishStatsRecord = YoutubePublishStatsRecord | FacebookPublishStatsRecord | FilePublishStatsRecord;
560
- export declare const isPublishStatsRecord: (input: unknown) => input is PublishStatsRecord;
561
- export declare const assertPublishStatsRecord: (input: unknown) => PublishStatsRecord;
562
- export declare const randomPublishStatsRecord: () => {
563
- status?: string | undefined;
564
- substatus?: string | undefined;
565
- messages?: {
566
- level: number;
567
- code: string;
568
- msg: string;
569
- }[] | undefined;
570
- retrieved?: {
571
- [x: string]: unknown;
572
- } | undefined;
573
- defaults?: {
574
- [x: string]: unknown;
575
- } | undefined;
576
- } | {
577
- status?: string | undefined;
578
- substatus?: string | undefined;
579
- messages?: {
580
- level: number;
581
- code: string;
582
- msg: string;
583
- }[] | undefined;
584
- retrieved?: {
585
- [x: string]: unknown;
586
- } | undefined;
587
- defaults?: {
588
- [x: string]: unknown;
589
- } | undefined;
590
- } | {
591
- retrieved?: {
592
- [x: string]: unknown;
593
- filename?: string | undefined;
594
- directory?: string | undefined;
595
- renders?: {
596
- [x: string]: {
597
- path: string;
598
- size?: number | undefined;
599
- hash?: string | undefined;
600
- };
601
- } | undefined;
602
- } | undefined;
603
- defaults?: {
604
- [x: string]: unknown;
605
- directory: string;
606
- filename: string;
607
- renders: {
608
- [x: string]: string | {
609
- preset?: string | undefined;
610
- name?: string | undefined;
611
- path: string;
612
- collisionStrategy?: ("overwrite" | "skip") | undefined;
613
- ignoreEmptyScene?: boolean | undefined;
614
- type: string;
615
- scene?: {
616
- id?: string | undefined;
617
- preset?: string | undefined;
618
- input?: {
619
- type?: string | undefined;
620
- file?: (string | null) | undefined;
621
- } | undefined;
622
- lang?: string | undefined;
623
- subtitle?: string | undefined;
624
- subtitleTracks?: {
625
- [x: string]: {
626
- style?: (string | null) | undefined;
627
- styleOverrides?: {
628
- name?: string | undefined;
629
- fontname?: string | undefined;
630
- fontsize?: string | undefined;
631
- primaryColour?: string | undefined;
632
- secondaryColour?: string | undefined;
633
- outlineColour?: string | undefined;
634
- backColour?: string | undefined;
635
- bold?: string | undefined;
636
- italic?: string | undefined;
637
- underline?: string | undefined;
638
- strikeOut?: string | undefined;
639
- scaleX?: string | undefined;
640
- scaleY?: string | undefined;
641
- spacing?: string | undefined;
642
- angle?: string | undefined;
643
- borderStyle?: string | undefined;
644
- outline?: string | undefined;
645
- shadow?: string | undefined;
646
- alignment?: string | undefined;
647
- marginL?: string | undefined;
648
- marginR?: string | undefined;
649
- marginV?: string | undefined;
650
- encoding?: string | undefined;
651
- previewSettings?: {
652
- aspectRatio?: string | undefined;
653
- backgroundAssetId?: string | undefined;
654
- text?: string | undefined;
655
- } | undefined;
656
- } | undefined;
657
- };
658
- } | undefined;
659
- video?: {
660
- crop?: {
661
- x?: number | undefined;
662
- y?: number | undefined;
663
- width?: number | undefined;
664
- height?: number | undefined;
665
- } | undefined;
666
- } | undefined;
667
- start?: number | undefined;
668
- end?: number | undefined;
669
- transcribe?: {
670
- language?: string | undefined;
671
- pan?: number[] | undefined;
672
- } | undefined;
673
- } | undefined;
674
- profile?: {
675
- format: string;
676
- transcribe?: {
677
- engine: string;
678
- } | undefined;
679
- translate?: {
680
- language: string;
681
- } | undefined;
682
- audio?: {
683
- pan?: string | undefined;
684
- } | undefined;
685
- video?: unknown;
686
- pick?: string[] | undefined;
687
- subtitle?: string | {
688
- lang?: string | undefined;
689
- style?: string | undefined;
690
- } | undefined;
691
- } | undefined;
692
- };
693
- };
694
- } | undefined;
695
- status?: string | undefined;
696
- substatus?: string | undefined;
697
- messages?: {
698
- level: number;
699
- code: string;
700
- msg: string;
701
- }[] | undefined;
702
- };
703
- export declare const assertGuardPublishStatsRecord: __AssertionGuard<PublishStatsRecord>;
704
- export declare const stringifyPublishStatsRecord: (input: PublishStatsRecord) => string;
705
- export declare const assertStringifyPublishStatsRecord: (input: unknown) => string;
706
- /**
707
- * render preset + overrides
708
- */
709
- export interface PublishRender {
710
- preset?: string;
711
- type: string;
712
- scene?: RenderSceneObject;
713
- profile?: RenderProfileObject;
714
- }
715
- export declare const isPublishRender: (input: unknown) => input is PublishRender;
716
- export declare const assertPublishRender: (input: unknown) => PublishRender;
717
- export declare const randomPublishRender: () => PublishRender;
718
- export declare const assertGuardPublishRender: __AssertionGuard<PublishRender>;
719
- export declare const stringifyPublishRender: (input: PublishRender) => string;
720
- export declare const assertStringifyPublishRender: (input: unknown) => string;
721
- interface PublishRecordCommon<Type extends PublishRecord["type"]> {
722
- type: Type;
723
- asset?: string;
724
- connection?: string;
725
- render?: PublishRender;
726
- draft?: Record<string, unknown>;
727
- published?: Record<string, unknown>;
728
- remote?: Record<string, unknown>;
729
- error?: {
730
- method: string;
731
- } | null;
732
- messages?: Message[];
733
- }
734
- export interface PublishStatsRecordCommon {
735
- status?: string;
736
- substatus?: string;
737
- messages?: Message[];
738
- retrieved?: Record<string, unknown>;
739
- defaults?: Record<string, unknown>;
740
- }
741
- export declare const isPublishStatsRecordCommon: (input: unknown) => input is PublishStatsRecordCommon;
742
- export declare const assertPublishStatsRecordCommon: (input: unknown) => PublishStatsRecordCommon;
743
- export declare const randomPublishStatsRecordCommon: () => PublishStatsRecordCommon;
744
- export declare const assertGuardPublishStatsRecordCommon: __AssertionGuard<PublishStatsRecordCommon>;
745
- export declare const stringifyPublishStatsRecordCommon: (input: PublishStatsRecordCommon) => string;
746
- export declare const assertStringifyPublishStatsRecordCommon: (input: unknown) => string;
747
- export interface YoutubePublishRecord extends PublishRecordCommon<"youtube"> {
748
- draft?: {
749
- snippet?: {
750
- title?: string;
751
- tags?: string[];
752
- description?: string;
753
- };
754
- };
755
- }
756
- export declare const isYoutubePublishRecord: (input: unknown) => input is YoutubePublishRecord;
757
- export declare const assertYoutubePublishRecord: (input: unknown) => YoutubePublishRecord;
758
- export declare const randomYoutubePublishRecord: () => YoutubePublishRecord;
759
- export declare const assertGuardYoutubePublishRecord: __AssertionGuard<YoutubePublishRecord>;
760
- export declare const stringifyYoutubePublishRecord: (input: YoutubePublishRecord) => string;
761
- export declare const assertStringifyYoutubePublishRecord: (input: unknown) => string;
762
- export interface YoutubePublishStatsRecord extends PublishStatsRecordCommon {
763
- }
764
- export declare const isYoutubePublishStatsRecord: (input: unknown) => input is YoutubePublishStatsRecord;
765
- export declare const assertYoutubePublishStatsRecord: (input: unknown) => YoutubePublishStatsRecord;
766
- export declare const randomYoutubePublishStatsRecord: () => YoutubePublishStatsRecord;
767
- export declare const assertGuardYoutubePublishStatsRecord: __AssertionGuard<YoutubePublishStatsRecord>;
768
- export declare const stringifyYoutubePublishStatsRecord: (input: YoutubePublishStatsRecord) => string;
769
- export declare const assertStringifyYoutubePublishStatsRecord: (input: unknown) => string;
770
- export interface FacebookPublishRecord extends PublishRecordCommon<"facebook"> {
771
- pageId?: string;
772
- }
773
- export declare const isFacebookPublishRecord: (input: unknown) => input is FacebookPublishRecord;
774
- export declare const assertFacebookPublishRecord: (input: unknown) => FacebookPublishRecord;
775
- export declare const randomFacebookPublishRecord: () => FacebookPublishRecord;
776
- export declare const assertGuardFacebookPublishRecord: __AssertionGuard<FacebookPublishRecord>;
777
- export declare const stringifyFacebookPublishRecord: (input: FacebookPublishRecord) => string;
778
- export declare const assertStringifyFacebookPublishRecord: (input: unknown) => string;
779
- export interface FacebookPublishStatsRecord extends PublishStatsRecordCommon {
780
- }
781
- export declare const isFacebookPublishStatsRecord: (input: unknown) => input is FacebookPublishStatsRecord;
782
- export declare const assertFacebookPublishStatsRecord: (input: unknown) => FacebookPublishStatsRecord;
783
- export declare const randomFacebookPublishStatsRecord: () => FacebookPublishStatsRecord;
784
- export declare const assertGuardFacebookPublishStatsRecord: __AssertionGuard<FacebookPublishStatsRecord>;
785
- export declare const stringifyFacebookPublishStatsRecord: (input: FacebookPublishStatsRecord) => string;
786
- export declare const assertStringifyFacebookPublishStatsRecord: (input: unknown) => string;
787
- export interface FilePublishRecord extends PublishRecordCommon<"file"> {
788
- directory?: string;
789
- filename?: string;
790
- renders?: Record<string, FilePublishRender>;
791
- draft?: FilePublishDraft;
792
- remote?: FilePublishRemote;
793
- published?: FilePublishPublished;
794
- }
795
- export declare const isFilePublishRecord: (input: unknown) => input is FilePublishRecord;
796
- export declare const assertFilePublishRecord: (input: unknown) => FilePublishRecord;
797
- export declare const randomFilePublishRecord: () => {
798
- directory?: string | undefined;
799
- filename?: string | undefined;
800
- renders?: {
801
- [x: string]: string | {
802
- preset?: string | undefined;
803
- name?: string | undefined;
804
- path: string;
805
- collisionStrategy?: ("overwrite" | "skip") | undefined;
806
- ignoreEmptyScene?: boolean | undefined;
807
- type: string;
808
- scene?: {
809
- id?: string | undefined;
810
- preset?: string | undefined;
811
- input?: {
812
- type?: string | undefined;
813
- file?: (string | null) | undefined;
814
- } | undefined;
815
- lang?: string | undefined;
816
- subtitle?: string | undefined;
817
- subtitleTracks?: {
818
- [x: string]: {
819
- style?: (string | null) | undefined;
820
- styleOverrides?: {
821
- name?: string | undefined;
822
- fontname?: string | undefined;
823
- fontsize?: string | undefined;
824
- primaryColour?: string | undefined;
825
- secondaryColour?: string | undefined;
826
- outlineColour?: string | undefined;
827
- backColour?: string | undefined;
828
- bold?: string | undefined;
829
- italic?: string | undefined;
830
- underline?: string | undefined;
831
- strikeOut?: string | undefined;
832
- scaleX?: string | undefined;
833
- scaleY?: string | undefined;
834
- spacing?: string | undefined;
835
- angle?: string | undefined;
836
- borderStyle?: string | undefined;
837
- outline?: string | undefined;
838
- shadow?: string | undefined;
839
- alignment?: string | undefined;
840
- marginL?: string | undefined;
841
- marginR?: string | undefined;
842
- marginV?: string | undefined;
843
- encoding?: string | undefined;
844
- previewSettings?: {
845
- aspectRatio?: string | undefined;
846
- backgroundAssetId?: string | undefined;
847
- text?: string | undefined;
848
- } | undefined;
849
- } | undefined;
850
- };
851
- } | undefined;
852
- video?: {
853
- crop?: {
854
- x?: number | undefined;
855
- y?: number | undefined;
856
- width?: number | undefined;
857
- height?: number | undefined;
858
- } | undefined;
859
- } | undefined;
860
- start?: number | undefined;
861
- end?: number | undefined;
862
- transcribe?: {
863
- language?: string | undefined;
864
- pan?: number[] | undefined;
865
- } | undefined;
866
- } | undefined;
867
- profile?: {
868
- format: string;
869
- transcribe?: {
870
- engine: string;
871
- } | undefined;
872
- translate?: {
873
- language: string;
874
- } | undefined;
875
- audio?: {
876
- pan?: string | undefined;
877
- } | undefined;
878
- video?: unknown;
879
- pick?: string[] | undefined;
880
- subtitle?: string | {
881
- lang?: string | undefined;
882
- style?: string | undefined;
883
- } | undefined;
884
- } | undefined;
885
- };
886
- } | undefined;
887
- draft?: {
888
- [x: string]: unknown;
889
- directory?: string | undefined;
890
- filename?: string | undefined;
891
- } | undefined;
892
- remote?: {
893
- [x: string]: unknown;
894
- directory?: string | undefined;
895
- filename?: string | undefined;
896
- renders?: {
897
- [x: string]: {
898
- path?: string | undefined;
899
- messages?: {
900
- level: number;
901
- code: string;
902
- msg: string;
903
- }[] | undefined;
904
- query?: unknown;
905
- size?: number | undefined;
906
- hash?: string | undefined;
907
- source?: string | undefined;
908
- };
909
- } | undefined;
910
- } | undefined;
911
- published?: {
912
- [x: string]: unknown;
913
- directory?: string | undefined;
914
- filename: string;
915
- } | undefined;
916
- type: "file";
917
- asset?: string | undefined;
918
- connection?: string | undefined;
919
- render?: {
920
- preset?: string | undefined;
921
- type: string;
922
- scene?: {
923
- id?: string | undefined;
924
- preset?: string | undefined;
925
- input?: {
926
- type?: string | undefined;
927
- file?: (string | null) | undefined;
928
- } | undefined;
929
- lang?: string | undefined;
930
- subtitle?: string | undefined;
931
- subtitleTracks?: {
932
- [x: string]: {
933
- style?: (string | null) | undefined;
934
- styleOverrides?: {
935
- name?: string | undefined;
936
- fontname?: string | undefined;
937
- fontsize?: string | undefined;
938
- primaryColour?: string | undefined;
939
- secondaryColour?: string | undefined;
940
- outlineColour?: string | undefined;
941
- backColour?: string | undefined;
942
- bold?: string | undefined;
943
- italic?: string | undefined;
944
- underline?: string | undefined;
945
- strikeOut?: string | undefined;
946
- scaleX?: string | undefined;
947
- scaleY?: string | undefined;
948
- spacing?: string | undefined;
949
- angle?: string | undefined;
950
- borderStyle?: string | undefined;
951
- outline?: string | undefined;
952
- shadow?: string | undefined;
953
- alignment?: string | undefined;
954
- marginL?: string | undefined;
955
- marginR?: string | undefined;
956
- marginV?: string | undefined;
957
- encoding?: string | undefined;
958
- previewSettings?: {
959
- aspectRatio?: string | undefined;
960
- backgroundAssetId?: string | undefined;
961
- text?: string | undefined;
962
- } | undefined;
963
- } | undefined;
964
- };
965
- } | undefined;
966
- video?: {
967
- crop?: {
968
- x?: number | undefined;
969
- y?: number | undefined;
970
- width?: number | undefined;
971
- height?: number | undefined;
972
- } | undefined;
973
- } | undefined;
974
- start?: number | undefined;
975
- end?: number | undefined;
976
- transcribe?: {
977
- language?: string | undefined;
978
- pan?: number[] | undefined;
979
- } | undefined;
980
- } | undefined;
981
- profile?: {
982
- format: string;
983
- transcribe?: {
984
- engine: string;
985
- } | undefined;
986
- translate?: {
987
- language: string;
988
- } | undefined;
989
- audio?: {
990
- pan?: string | undefined;
991
- } | undefined;
992
- video?: unknown;
993
- pick?: string[] | undefined;
994
- subtitle?: string | {
995
- lang?: string | undefined;
996
- style?: string | undefined;
997
- } | undefined;
998
- } | undefined;
999
- } | undefined;
1000
- error?: {
1001
- method: string;
1002
- } | null | undefined;
1003
- messages?: {
1004
- level: number;
1005
- code: string;
1006
- msg: string;
1007
- }[] | undefined;
1008
- };
1009
- export declare const assertGuardFilePublishRecord: __AssertionGuard<FilePublishRecord>;
1010
- export declare const stringifyFilePublishRecord: (input: FilePublishRecord) => string;
1011
- export declare const assertStringifyFilePublishRecord: (input: unknown) => string;
1012
- export interface FilePublishRecordLegacy extends PublishRecordCommon<"file"> {
1013
- directory?: string;
1014
- filename?: string;
1015
- draft?: FilePublishDraft;
1016
- remote?: FilePublishRemoteLegacy;
1017
- published?: FilePublishPublished;
1018
- renders?: undefined;
1019
- }
1020
- export declare const isFilePublishRecordLegacy: (input: unknown) => input is FilePublishRecordLegacy;
1021
- export declare const assertFilePublishRecordLegacy: (input: unknown) => FilePublishRecordLegacy;
1022
- export declare const randomFilePublishRecordLegacy: () => FilePublishRecordLegacy;
1023
- export declare const assertGuardFilePublishRecordLegacy: __AssertionGuard<FilePublishRecordLegacy>;
1024
- export declare const stringifyFilePublishRecordLegacy: (input: FilePublishRecordLegacy) => string;
1025
- export declare const assertStringifyFilePublishRecordLegacy: (input: unknown) => string;
1026
- export interface FilePublishRemoteLegacy extends Record<string, unknown> {
1027
- id?: string;
1028
- path: string;
1029
- filename: string;
1030
- directory?: string;
1031
- subtitle?: {
1032
- path: string;
1033
- };
1034
- metafile?: {
1035
- path: string;
1036
- };
1037
- }
1038
- export declare const isFilePublishRemoteLegacy: (input: unknown) => input is FilePublishRemoteLegacy;
1039
- export declare const assertFilePublishRemoteLegacy: (input: unknown) => FilePublishRemoteLegacy;
1040
- export declare const randomFilePublishRemoteLegacy: () => FilePublishRemoteLegacy;
1041
- export declare const assertGuardFilePublishRemoteLegacy: __AssertionGuard<FilePublishRemoteLegacy>;
1042
- export declare const stringifyFilePublishRemoteLegacy: (input: FilePublishRemoteLegacy) => string;
1043
- export declare const assertStringifyFilePublishRemoteLegacy: (input: unknown) => string;
1044
- export type FilePublishRender = Nxtpression<ResolvedFilePublishRender, {
1045
- publish: FilePublishRecord;
1046
- directory: string;
1047
- name: string;
1048
- }>;
1049
- export declare const isFilePublishRender: (input: unknown) => input is FilePublishRender;
1050
- export declare const assertFilePublishRender: (input: unknown) => FilePublishRender;
1051
- export declare const randomFilePublishRender: () => string | {
1052
- preset?: string | undefined;
1053
- name?: string | undefined;
1054
- path: string;
1055
- collisionStrategy?: ("overwrite" | "skip") | undefined;
1056
- ignoreEmptyScene?: boolean | undefined;
1057
- type: string;
1058
- scene?: {
1059
- id?: string | undefined;
1060
- preset?: string | undefined;
1061
- input?: {
1062
- type?: string | undefined;
1063
- file?: (string | null) | undefined;
1064
- } | undefined;
1065
- lang?: string | undefined;
1066
- subtitle?: string | undefined;
1067
- subtitleTracks?: {
1068
- [x: string]: {
1069
- style?: (string | null) | undefined;
1070
- styleOverrides?: {
1071
- name?: string | undefined;
1072
- fontname?: string | undefined;
1073
- fontsize?: string | undefined;
1074
- primaryColour?: string | undefined;
1075
- secondaryColour?: string | undefined;
1076
- outlineColour?: string | undefined;
1077
- backColour?: string | undefined;
1078
- bold?: string | undefined;
1079
- italic?: string | undefined;
1080
- underline?: string | undefined;
1081
- strikeOut?: string | undefined;
1082
- scaleX?: string | undefined;
1083
- scaleY?: string | undefined;
1084
- spacing?: string | undefined;
1085
- angle?: string | undefined;
1086
- borderStyle?: string | undefined;
1087
- outline?: string | undefined;
1088
- shadow?: string | undefined;
1089
- alignment?: string | undefined;
1090
- marginL?: string | undefined;
1091
- marginR?: string | undefined;
1092
- marginV?: string | undefined;
1093
- encoding?: string | undefined;
1094
- previewSettings?: {
1095
- aspectRatio?: string | undefined;
1096
- backgroundAssetId?: string | undefined;
1097
- text?: string | undefined;
1098
- } | undefined;
1099
- } | undefined;
1100
- };
1101
- } | undefined;
1102
- video?: {
1103
- crop?: {
1104
- x?: number | undefined;
1105
- y?: number | undefined;
1106
- width?: number | undefined;
1107
- height?: number | undefined;
1108
- } | undefined;
1109
- } | undefined;
1110
- start?: number | undefined;
1111
- end?: number | undefined;
1112
- transcribe?: {
1113
- language?: string | undefined;
1114
- pan?: number[] | undefined;
1115
- } | undefined;
1116
- } | undefined;
1117
- profile?: {
1118
- format: string;
1119
- transcribe?: {
1120
- engine: string;
1121
- } | undefined;
1122
- translate?: {
1123
- language: string;
1124
- } | undefined;
1125
- audio?: {
1126
- pan?: string | undefined;
1127
- } | undefined;
1128
- video?: unknown;
1129
- pick?: string[] | undefined;
1130
- subtitle?: string | {
1131
- lang?: string | undefined;
1132
- style?: string | undefined;
1133
- } | undefined;
1134
- } | undefined;
1135
- };
1136
- export declare const assertGuardFilePublishRender: __AssertionGuard<FilePublishRender>;
1137
- export declare const stringifyFilePublishRender: (input: FilePublishRender) => string;
1138
- export declare const assertStringifyFilePublishRender: (input: unknown) => string;
1139
- export interface ResolvedFilePublishRender extends Omit<PublishRender, "preset"> {
1140
- preset?: string;
1141
- name?: string;
1142
- path: string;
1143
- collisionStrategy?: "overwrite" | "skip";
1144
- ignoreEmptyScene?: boolean;
1145
- }
1146
- export declare const isResolvedFilePublishRender: (input: unknown) => input is ResolvedFilePublishRender;
1147
- export declare const assertResolvedFilePublishRender: (input: unknown) => ResolvedFilePublishRender;
1148
- export declare const randomResolvedFilePublishRender: () => ResolvedFilePublishRender;
1149
- export declare const assertGuardResolvedFilePublishRender: __AssertionGuard<ResolvedFilePublishRender>;
1150
- export declare const stringifyResolvedFilePublishRender: (input: ResolvedFilePublishRender) => string;
1151
- export declare const assertStringifyResolvedFilePublishRender: (input: unknown) => string;
1152
- export interface FilePublishPublished extends Record<string, unknown> {
1153
- directory?: string;
1154
- filename: string;
1155
- }
1156
- export declare const isFilePublishPublished: (input: unknown) => input is FilePublishPublished;
1157
- export declare const assertFilePublishPublished: (input: unknown) => FilePublishPublished;
1158
- export declare const randomFilePublishPublished: () => FilePublishPublished;
1159
- export declare const assertGuardFilePublishPublished: __AssertionGuard<FilePublishPublished>;
1160
- export declare const stringifyFilePublishPublished: (input: FilePublishPublished) => string;
1161
- export declare const assertStringifyFilePublishPublished: (input: unknown) => string;
1162
- export interface FilePublishDraft extends Record<string, unknown> {
1163
- directory?: string;
1164
- filename?: string;
1165
- }
1166
- export declare const isFilePublishDraft: (input: unknown) => input is FilePublishDraft;
1167
- export declare const assertFilePublishDraft: (input: unknown) => FilePublishDraft;
1168
- export declare const randomFilePublishDraft: () => FilePublishDraft;
1169
- export declare const assertGuardFilePublishDraft: __AssertionGuard<FilePublishDraft>;
1170
- export declare const stringifyFilePublishDraft: (input: FilePublishDraft) => string;
1171
- export declare const assertStringifyFilePublishDraft: (input: unknown) => string;
1172
- export interface FilePublishRemote extends Record<string, unknown> {
1173
- directory?: string;
1174
- filename?: string;
1175
- renders?: Record<string, FilePublishRemoteRender>;
1176
- }
1177
- export declare const isFilePublishRemote: (input: unknown) => input is FilePublishRemote;
1178
- export declare const assertFilePublishRemote: (input: unknown) => FilePublishRemote;
1179
- export declare const randomFilePublishRemote: () => FilePublishRemote;
1180
- export declare const assertGuardFilePublishRemote: __AssertionGuard<FilePublishRemote>;
1181
- export declare const stringifyFilePublishRemote: (input: FilePublishRemote) => string;
1182
- export declare const assertStringifyFilePublishRemote: (input: unknown) => string;
1183
- export interface FilePublishRemoteRender {
1184
- path?: string;
1185
- messages?: Message[];
1186
- query?: unknown;
1187
- size?: number;
1188
- hash?: string;
1189
- source?: string;
1190
- }
1191
- export declare const isFilePublishRemoteRender: (input: unknown) => input is FilePublishRemoteRender;
1192
- export declare const assertFilePublishRemoteRender: (input: unknown) => FilePublishRemoteRender;
1193
- export declare const randomFilePublishRemoteRender: () => FilePublishRemoteRender;
1194
- export declare const assertGuardFilePublishRemoteRender: __AssertionGuard<FilePublishRemoteRender>;
1195
- export declare const stringifyFilePublishRemoteRender: (input: FilePublishRemoteRender) => string;
1196
- export declare const assertStringifyFilePublishRemoteRender: (input: unknown) => string;
1197
- export interface FilePublishStatsRecord extends PublishStatsRecordCommon {
1198
- retrieved?: FilePublishRetrieved;
1199
- defaults?: FilePublishDefaults;
1200
- }
1201
- export declare const isFilePublishStatsRecord: (input: unknown) => input is FilePublishStatsRecord;
1202
- export declare const assertFilePublishStatsRecord: (input: unknown) => FilePublishStatsRecord;
1203
- export declare const randomFilePublishStatsRecord: () => {
1204
- retrieved?: {
1205
- [x: string]: unknown;
1206
- filename?: string | undefined;
1207
- directory?: string | undefined;
1208
- renders?: {
1209
- [x: string]: {
1210
- path: string;
1211
- size?: number | undefined;
1212
- hash?: string | undefined;
1213
- };
1214
- } | undefined;
1215
- } | undefined;
1216
- defaults?: {
1217
- [x: string]: unknown;
1218
- directory: string;
1219
- filename: string;
1220
- renders: {
1221
- [x: string]: string | {
1222
- preset?: string | undefined;
1223
- name?: string | undefined;
1224
- path: string;
1225
- collisionStrategy?: ("overwrite" | "skip") | undefined;
1226
- ignoreEmptyScene?: boolean | undefined;
1227
- type: string;
1228
- scene?: {
1229
- id?: string | undefined;
1230
- preset?: string | undefined;
1231
- input?: {
1232
- type?: string | undefined;
1233
- file?: (string | null) | undefined;
1234
- } | undefined;
1235
- lang?: string | undefined;
1236
- subtitle?: string | undefined;
1237
- subtitleTracks?: {
1238
- [x: string]: {
1239
- style?: (string | null) | undefined;
1240
- styleOverrides?: {
1241
- name?: string | undefined;
1242
- fontname?: string | undefined;
1243
- fontsize?: string | undefined;
1244
- primaryColour?: string | undefined;
1245
- secondaryColour?: string | undefined;
1246
- outlineColour?: string | undefined;
1247
- backColour?: string | undefined;
1248
- bold?: string | undefined;
1249
- italic?: string | undefined;
1250
- underline?: string | undefined;
1251
- strikeOut?: string | undefined;
1252
- scaleX?: string | undefined;
1253
- scaleY?: string | undefined;
1254
- spacing?: string | undefined;
1255
- angle?: string | undefined;
1256
- borderStyle?: string | undefined;
1257
- outline?: string | undefined;
1258
- shadow?: string | undefined;
1259
- alignment?: string | undefined;
1260
- marginL?: string | undefined;
1261
- marginR?: string | undefined;
1262
- marginV?: string | undefined;
1263
- encoding?: string | undefined;
1264
- previewSettings?: {
1265
- aspectRatio?: string | undefined;
1266
- backgroundAssetId?: string | undefined;
1267
- text?: string | undefined;
1268
- } | undefined;
1269
- } | undefined;
1270
- };
1271
- } | undefined;
1272
- video?: {
1273
- crop?: {
1274
- x?: number | undefined;
1275
- y?: number | undefined;
1276
- width?: number | undefined;
1277
- height?: number | undefined;
1278
- } | undefined;
1279
- } | undefined;
1280
- start?: number | undefined;
1281
- end?: number | undefined;
1282
- transcribe?: {
1283
- language?: string | undefined;
1284
- pan?: number[] | undefined;
1285
- } | undefined;
1286
- } | undefined;
1287
- profile?: {
1288
- format: string;
1289
- transcribe?: {
1290
- engine: string;
1291
- } | undefined;
1292
- translate?: {
1293
- language: string;
1294
- } | undefined;
1295
- audio?: {
1296
- pan?: string | undefined;
1297
- } | undefined;
1298
- video?: unknown;
1299
- pick?: string[] | undefined;
1300
- subtitle?: string | {
1301
- lang?: string | undefined;
1302
- style?: string | undefined;
1303
- } | undefined;
1304
- } | undefined;
1305
- };
1306
- };
1307
- } | undefined;
1308
- status?: string | undefined;
1309
- substatus?: string | undefined;
1310
- messages?: {
1311
- level: number;
1312
- code: string;
1313
- msg: string;
1314
- }[] | undefined;
1315
- };
1316
- export declare const assertGuardFilePublishStatsRecord: __AssertionGuard<FilePublishStatsRecord>;
1317
- export declare const stringifyFilePublishStatsRecord: (input: FilePublishStatsRecord) => string;
1318
- export declare const assertStringifyFilePublishStatsRecord: (input: unknown) => string;
1319
- export interface FilePublishRetrieved extends Record<string, unknown> {
1320
- filename?: string;
1321
- directory?: string;
1322
- renders?: Record<string, FilePublishRetrievedRender>;
1323
- }
1324
- export declare const isFilePublishRetrieved: (input: unknown) => input is FilePublishRetrieved;
1325
- export declare const assertFilePublishRetrieved: (input: unknown) => FilePublishRetrieved;
1326
- export declare const randomFilePublishRetrieved: () => FilePublishRetrieved;
1327
- export declare const assertGuardFilePublishRetrieved: __AssertionGuard<FilePublishRetrieved>;
1328
- export declare const stringifyFilePublishRetrieved: (input: FilePublishRetrieved) => string;
1329
- export declare const assertStringifyFilePublishRetrieved: (input: unknown) => string;
1330
- export interface FilePublishRetrievedRender {
1331
- path: string;
1332
- size?: number;
1333
- hash?: string;
1334
- }
1335
- export declare const isFilePublishRetrievedRender: (input: unknown) => input is FilePublishRetrievedRender;
1336
- export declare const assertFilePublishRetrievedRender: (input: unknown) => FilePublishRetrievedRender;
1337
- export declare const randomFilePublishRetrievedRender: () => FilePublishRetrievedRender;
1338
- export declare const assertGuardFilePublishRetrievedRender: __AssertionGuard<FilePublishRetrievedRender>;
1339
- export declare const stringifyFilePublishRetrievedRender: (input: FilePublishRetrievedRender) => string;
1340
- export declare const assertStringifyFilePublishRetrievedRender: (input: unknown) => string;
1341
- export interface FilePublishDefaults extends Record<string, unknown> {
1342
- directory: string;
1343
- filename: string;
1344
- renders: Record<string, FilePublishRender>;
1345
- }
1346
- export declare const isFilePublishDefaults: (input: unknown) => input is FilePublishDefaults;
1347
- export declare const assertFilePublishDefaults: (input: unknown) => FilePublishDefaults;
1348
- export declare const randomFilePublishDefaults: () => {
1349
- [x: string]: unknown;
1350
- directory: string;
1351
- filename: string;
1352
- renders: {
1353
- [x: string]: string | {
1354
- preset?: string | undefined;
1355
- name?: string | undefined;
1356
- path: string;
1357
- collisionStrategy?: ("overwrite" | "skip") | undefined;
1358
- ignoreEmptyScene?: boolean | undefined;
1359
- type: string;
1360
- scene?: {
1361
- id?: string | undefined;
1362
- preset?: string | undefined;
1363
- input?: {
1364
- type?: string | undefined;
1365
- file?: (string | null) | undefined;
1366
- } | undefined;
1367
- lang?: string | undefined;
1368
- subtitle?: string | undefined;
1369
- subtitleTracks?: {
1370
- [x: string]: {
1371
- style?: (string | null) | undefined;
1372
- styleOverrides?: {
1373
- name?: string | undefined;
1374
- fontname?: string | undefined;
1375
- fontsize?: string | undefined;
1376
- primaryColour?: string | undefined;
1377
- secondaryColour?: string | undefined;
1378
- outlineColour?: string | undefined;
1379
- backColour?: string | undefined;
1380
- bold?: string | undefined;
1381
- italic?: string | undefined;
1382
- underline?: string | undefined;
1383
- strikeOut?: string | undefined;
1384
- scaleX?: string | undefined;
1385
- scaleY?: string | undefined;
1386
- spacing?: string | undefined;
1387
- angle?: string | undefined;
1388
- borderStyle?: string | undefined;
1389
- outline?: string | undefined;
1390
- shadow?: string | undefined;
1391
- alignment?: string | undefined;
1392
- marginL?: string | undefined;
1393
- marginR?: string | undefined;
1394
- marginV?: string | undefined;
1395
- encoding?: string | undefined;
1396
- previewSettings?: {
1397
- aspectRatio?: string | undefined;
1398
- backgroundAssetId?: string | undefined;
1399
- text?: string | undefined;
1400
- } | undefined;
1401
- } | undefined;
1402
- };
1403
- } | undefined;
1404
- video?: {
1405
- crop?: {
1406
- x?: number | undefined;
1407
- y?: number | undefined;
1408
- width?: number | undefined;
1409
- height?: number | undefined;
1410
- } | undefined;
1411
- } | undefined;
1412
- start?: number | undefined;
1413
- end?: number | undefined;
1414
- transcribe?: {
1415
- language?: string | undefined;
1416
- pan?: number[] | undefined;
1417
- } | undefined;
1418
- } | undefined;
1419
- profile?: {
1420
- format: string;
1421
- transcribe?: {
1422
- engine: string;
1423
- } | undefined;
1424
- translate?: {
1425
- language: string;
1426
- } | undefined;
1427
- audio?: {
1428
- pan?: string | undefined;
1429
- } | undefined;
1430
- video?: unknown;
1431
- pick?: string[] | undefined;
1432
- subtitle?: string | {
1433
- lang?: string | undefined;
1434
- style?: string | undefined;
1435
- } | undefined;
1436
- } | undefined;
1437
- };
1438
- };
1439
- };
1440
- export declare const assertGuardFilePublishDefaults: __AssertionGuard<FilePublishDefaults>;
1441
- export declare const stringifyFilePublishDefaults: (input: FilePublishDefaults) => string;
1442
- export declare const assertStringifyFilePublishDefaults: (input: unknown) => string;
1443
- export interface PublishDomainAcceptsProvidedRecord {
1444
- value?: unknown;
1445
- }
1446
- export declare const isPublishDomainAcceptsProvidedRecord: (input: unknown) => input is PublishDomainAcceptsProvidedRecord;
1447
- export declare const assertPublishDomainAcceptsProvidedRecord: (input: unknown) => PublishDomainAcceptsProvidedRecord;
1448
- export declare const randomPublishDomainAcceptsProvidedRecord: () => PublishDomainAcceptsProvidedRecord;
1449
- export declare const assertGuardPublishDomainAcceptsProvidedRecord: __AssertionGuard<PublishDomainAcceptsProvidedRecord>;
1450
- export declare const stringifyPublishDomainAcceptsProvidedRecord: (input: PublishDomainAcceptsProvidedRecord) => string;
1451
- export declare const assertStringifyPublishDomainAcceptsProvidedRecord: (input: unknown) => string;
1452
- export {};