@nxtedition/types 23.0.39 → 23.0.41

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 -51
  2. package/dist/app.js +1 -823
  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 +2 -15
  28. package/dist/common/render-preset.js +1 -1202
  29. package/dist/common/render-profile.d.ts +0 -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 -1754
  33. package/dist/common/render-scene.d.ts +2 -15
  34. package/dist/common/render-scene.js +1 -2230
  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 +128 -121
  40. package/dist/common/settings.js +1 -6936
  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 -85
  45. package/dist/index.js +5 -187
  46. package/dist/nxtpression.d.ts +732 -344
  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 +7 -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 +145 -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 +9 -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 +10 -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 +15861 -0
  143. package/dist/records/validate/assert.d.ts +4 -0
  144. package/dist/records/validate/assert.js +15990 -0
  145. package/dist/records/validate/is.d.ts +4 -0
  146. package/dist/records/validate/is.js +1017 -0
  147. package/dist/records/validate/schemas.d.ts +9 -0
  148. package/dist/records/validate/schemas.js +12613 -0
  149. package/dist/records/validate/stringify.d.ts +4 -0
  150. package/dist/records/validate/stringify.js +1904 -0
  151. package/dist/records/validate/utils.d.ts +15 -0
  152. package/dist/records/validate/utils.js +18 -0
  153. package/dist/records/validate/utils.test.d.ts +1 -0
  154. package/dist/records/validate/utils.test.js +35 -0
  155. package/dist/records/validate/validate.d.ts +5 -0
  156. package/dist/records/validate/validate.js +14943 -0
  157. package/dist/rpc.d.ts +13 -14
  158. package/dist/rpc.js +126 -511
  159. package/dist/tsdoc-metadata.json +1 -1
  160. package/package.json +26 -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 -42
  185. package/dist/domains/event.js +0 -754
  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 -4553
  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 -1397
  207. package/dist/domains/publish.js +0 -34436
  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 -172
  212. package/dist/domains/render.js +0 -4783
  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 -13
  218. package/dist/domains/script.js +0 -125
  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 -6624
  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 -37
  226. package/dist/domains/subtitle-style.js +0 -485
  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 -9075
  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
@@ -28,24 +28,21 @@ declare interface AddOperation {
28
28
  value: any;
29
29
  }
30
30
 
31
- export declare const assertGuardNxtpressionFetch: AssertionGuard<NxtpressionFetch>;
32
-
33
- export declare const assertGuardNxtpressionNxt: AssertionGuard<NxtpressionNxt>;
34
-
35
- declare type AssertionGuard<T> = (input: unknown) => asserts input is T;
36
-
37
- export declare const assertNxtpressionFetch: (input: unknown) => NxtpressionFetch;
38
-
39
- export declare const assertNxtpressionNxt: (input: unknown) => NxtpressionNxt;
40
-
41
- export declare const assertStringifyNxtpressionFetch: (input: unknown) => string;
42
-
43
- export declare const assertStringifyNxtpressionNxt: (input: unknown) => string;
44
-
45
31
  declare interface AssetAssigneesProvidedRecord {
46
32
  value?: string[];
47
33
  }
48
34
 
35
+ declare interface AssetAssigneesRecord {
36
+ value?: Nxtpression<string[], {
37
+ id: string;
38
+ }>;
39
+ dynamic?: Dynamic;
40
+ }
41
+
42
+ declare interface AssetCloneRecord {
43
+ rules: CloneRule[];
44
+ }
45
+
49
46
  declare interface AssetCommentsRecord {
50
47
  /**
51
48
  * IDs of comment assets associated with the asset.
@@ -59,6 +56,22 @@ declare interface AssetCreatedProvidedRecord {
59
56
  origin?: string;
60
57
  }
61
58
 
59
+ declare interface AssetDaemonRecord {
60
+ "user-notify"?: boolean;
61
+ }
62
+
63
+ declare interface AssetDaemonUserNotifyStateRecord {
64
+ since?: string | 0 | null;
65
+ version?: number;
66
+ }
67
+
68
+ declare interface AssetDeadlinesRecord {
69
+ value?: Nxtpression<string, {
70
+ id: string;
71
+ }>;
72
+ dynamic?: Dynamic;
73
+ }
74
+
62
75
  declare interface AssetDomainControllersProvidedRecord {
63
76
  value?: string[];
64
77
  }
@@ -68,7 +81,7 @@ declare interface AssetDomainDeadlinesProvidedRecord {
68
81
  }
69
82
 
70
83
  declare interface AssetDomainDurationProvidedRecord {
71
- value?: number;
84
+ value?: number | null;
72
85
  }
73
86
 
74
87
  declare interface AssetDomainEmbeddingProvidedRecord {
@@ -76,7 +89,7 @@ declare interface AssetDomainEmbeddingProvidedRecord {
76
89
  }
77
90
 
78
91
  declare interface AssetDomainIconProvidedRecord {
79
- value?: string;
92
+ value?: string | null;
80
93
  }
81
94
 
82
95
  declare interface AssetDomainLocationsProvidedRecord {
@@ -126,20 +139,58 @@ declare interface AssetDomainRecords {
126
139
  }
127
140
 
128
141
  declare interface AssetDomainStatusProvidedRecord {
129
- messages: Array<{
142
+ messages?: Array<{
130
143
  id: string;
131
144
  msg: string;
132
145
  level: number;
133
- code: string;
146
+ code?: string;
134
147
  expose?: boolean | null;
135
148
  index?: number | null;
136
149
  }>;
137
150
  }
138
151
 
152
+ declare interface AssetDurationRecord {
153
+ value?: Nxtpression<number, {
154
+ id: string;
155
+ }>;
156
+ dynamic?: Dynamic;
157
+ }
158
+
159
+ declare interface AssetEmbeddingRecord {
160
+ value?: Nxtpression<string, {
161
+ id: string;
162
+ }>;
163
+ dynamic?: Dynamic;
164
+ }
165
+
139
166
  declare interface AssetFileRefsProvidedRecord {
140
167
  value?: string[];
141
168
  }
142
169
 
170
+ declare interface AssetIconRecord {
171
+ value?: Nxtpression<string, {
172
+ id: string;
173
+ }>;
174
+ dynamic?: Dynamic;
175
+ }
176
+
177
+ declare interface AssetLocationsRecord {
178
+ value?: Nxtpression<Array<{
179
+ lat: number;
180
+ lon: number;
181
+ }>, {
182
+ id: string;
183
+ }>;
184
+ dynamic?: Dynamic;
185
+ }
186
+
187
+ declare interface AssetMediaRecord {
188
+ value?: Nxtpression<Record<string, unknown>, {
189
+ id: string;
190
+ }>;
191
+ dynamic?: Dynamic;
192
+ }
193
+
143
194
  declare interface AssetModifiedProvidedRecord {
144
195
  time?: string;
145
196
  user?: string;
@@ -153,73 +204,17 @@ declare interface AssetPermission {
153
204
  }
154
205
 
155
206
  declare interface AssetRecords {
156
- "asset.assignees": {
157
- value?: Nxtpression<string[], {
158
- id: string;
159
- }>;
160
- dynamic?: Dynamic;
161
- };
162
- "asset.clone": {
163
- rules: CloneRule[];
164
- };
165
- "asset.deadlines": {
166
- value?: Nxtpression<string, {
167
- id: string;
168
- }>;
169
- dynamic?: Dynamic;
170
- };
171
- "asset.duration": {
172
- value?: Nxtpression<number, {
173
- id: string;
174
- }>;
175
- dynamic?: Dynamic;
176
- };
177
- "asset.embedding": {
178
- value?: Nxtpression<string, {
179
- id: string;
180
- }>;
181
- dynamic?: Dynamic;
182
- };
183
- "asset.icon": {
184
- value?: Nxtpression<string, {
185
- id: string;
186
- }>;
187
- dynamic?: Dynamic;
188
- };
189
- "asset.locations": {
190
- value?: Nxtpression<Array<{
191
- lat: number;
192
- lon: number;
193
- }>, {
194
- id: string;
195
- }>;
196
- dynamic?: Dynamic;
197
- };
198
- "asset.media": {
199
- value?: Nxtpression<Record<string, unknown>, {
200
- id: string;
201
- }>;
202
- dynamic?: Dynamic;
203
- };
204
- "asset.tags": {
205
- value?: Nxtpression<string[], {
206
- id: string;
207
- }>;
208
- dynamic?: Dynamic;
209
- };
210
- "asset.title": {
211
- value?: Nxtpression<string, {
212
- id: string;
213
- }>;
214
- dynamic?: Dynamic;
215
- };
216
- "asset.types": {
217
- [type: string]: null | string | {
218
- priority?: number;
219
- label: string;
220
- icon?: string;
221
- };
222
- };
207
+ "asset.assignees": AssetAssigneesRecord;
208
+ "asset.clone": AssetCloneRecord;
209
+ "asset.deadlines": AssetDeadlinesRecord;
210
+ "asset.duration": AssetDurationRecord;
211
+ "asset.embedding": AssetEmbeddingRecord;
212
+ "asset.icon": AssetIconRecord;
213
+ "asset.locations": AssetLocationsRecord;
214
+ "asset.media": AssetMediaRecord;
215
+ "asset.tags": AssetTagsRecord;
216
+ "asset.title": AssetTitleRecord;
217
+ "asset.types": AssetTypesRecord;
223
218
  }
224
219
 
225
220
  declare interface AssetRef {
@@ -236,14 +231,36 @@ declare interface AssetTagsProvidedRecord {
236
231
  value?: string[];
237
232
  }
238
233
 
234
+ declare interface AssetTagsRecord {
235
+ value?: Nxtpression<string[], {
236
+ id: string;
237
+ }>;
238
+ dynamic?: Dynamic;
239
+ }
240
+
239
241
  declare interface AssetTitleProvidedRecord {
240
242
  value?: string;
241
243
  }
242
244
 
245
+ declare interface AssetTitleRecord {
246
+ value?: Nxtpression<string, {
247
+ id: string;
248
+ }>;
249
+ dynamic?: Dynamic;
250
+ }
251
+
243
252
  declare interface AssetTypesProvidedRecord {
244
253
  value?: string[];
245
254
  }
246
255
 
256
+ declare interface AssetTypesRecord {
257
+ [type: string]: null | string | {
258
+ priority?: number;
259
+ label: string;
260
+ icon?: string;
261
+ };
262
+ }
263
+
247
264
  declare interface BundleDomainRecords {
248
265
  [":bundle"]: BundleRecord;
249
266
  [":bundle.revisions"]: BundleRevisionsRecord;
@@ -259,6 +276,10 @@ declare interface BundleRevisionsRecord {
259
276
  [revisionId: string]: BundleRecord;
260
277
  }
261
278
 
279
+ declare type Cast<Value extends number | bigint> = Value extends number ? Value : `BigInt(${Value})`;
280
+
281
+ declare type Cast_2<Value extends number | bigint> = Value extends number ? Value : `BigInt(${Value})`;
282
+
262
283
  declare interface CloneDomainCloneRecord {
263
284
  rules: CloneRule[];
264
285
  }
@@ -299,6 +320,10 @@ declare interface CommentDomainRepliesProvidedRecord {
299
320
  value?: string[];
300
321
  }
301
322
 
323
+ declare interface CommentNodeContent extends ElementNodeContent {
324
+ type: "comment";
325
+ }
326
+
302
327
  declare interface CommentReactionDomainRecord {
303
328
  comment: string;
304
329
  user: string;
@@ -306,7 +331,7 @@ declare interface CommentReactionDomainRecord {
306
331
  }
307
332
 
308
333
  declare interface CommentReactionDomainRecords {
309
- "comment-reaction": CommentReactionDomainRecord;
334
+ ":comment-reaction": CommentReactionDomainRecord;
310
335
  }
311
336
 
312
337
  declare interface CommentReactionsProvidedRecord {
@@ -323,12 +348,16 @@ declare interface CommentReadMarkDomainRecord {
323
348
  }
324
349
 
325
350
  declare interface CommentReadMarkDomainRecords {
326
- "comment-read-mark": CommentReadMarkDomainRecord;
351
+ ":comment-read-mark": CommentReadMarkDomainRecord;
352
+ }
353
+
354
+ declare interface ConnectionDomainMethodsRecord {
355
+ [key: string]: object;
327
356
  }
328
357
 
329
358
  declare interface ConnectionDomainRecords {
330
359
  [":connection"]: ConnectionRecord;
331
- [":connection.methods?"]: Record<string, object>;
360
+ [":connection.methods?"]: ConnectionDomainMethodsRecord;
332
361
  [":connection.stats?"]: ConnectionStatsRecord;
333
362
  }
334
363
 
@@ -373,6 +402,19 @@ declare interface DeepstreamDomainReplicateRecord {
373
402
  since?: string | 0 | null;
374
403
  }
375
404
 
405
+ declare interface DeepstreamReplicatorStatsRecord {
406
+ replicators?: Record<string, {
407
+ to: {
408
+ synced?: boolean;
409
+ since?: string | 0 | null;
410
+ };
411
+ from: {
412
+ since?: string | 0 | null;
413
+ };
414
+ }>;
415
+ synced?: boolean;
416
+ }
417
+
376
418
  declare interface DesignDomainRecord<Id = string, Key = string, Value = unknown> {
377
419
  rows: DesignViewRow<Id, Key, Value>[];
378
420
  }
@@ -387,11 +429,7 @@ declare interface DesignViewRow<Id = string, Key = string, Value = void> {
387
429
  value: Value;
388
430
  }
389
431
 
390
- declare type DomainRecords = AssetDomainRecords & BundleDomainRecords & CloneDomainRecords & CommentReactionDomainRecords & CommentReadMarkDomainRecords & CommentDomainRecords & ConnectionDomainRecords & ContactDomainRecords & DeepstreamDomainRecords & DesignDomainRecords & EditDomainRecords & EventDomainRecords & FileDomainRecords & GeneralDomainRecords & MediaDomainRecords & MonitorDomainRecords & PanelDomainRecords & PermissionDomainRecords & PipelinePresetDomainRecords & PipelineDomainRecords & PlanningDomainRecords & PublishDomainRecords & PublishedDomainRecords & RenderPresetDomainRecords & RenderDomainRecords & RevsDomainRecords & RoleDomainRecords & ScriptDomainRecords & SearchDomainRecords & SettingsDomainRecords & StoryboardDomainRecords & SubtitleStyleDomainRecords & SubtitleDomainRecords & TemplateDomainRecords & UserNotificationStatusDomainRecords & UserNotificationDomainRecords & UserDomainRecords;
391
-
392
- declare interface DomainRows {
393
- rows: string[];
394
- }
432
+ declare type DomainRecords = AssetDomainRecords & BundleDomainRecords & CloneDomainRecords & CommentReactionDomainRecords & CommentReadMarkDomainRecords & CommentDomainRecords & ConnectionDomainRecords & ContactDomainRecords & DeepstreamDomainRecords & DesignDomainRecords & EditDomainRecords & EventDomainRecords & FileDomainRecords & GeneralDomainRecords & MediaDomainRecords & MonitorDomainRecords & PanelDomainRecords & PermissionDomainRecords & PipelinePresetDomainRecords & PipelineDomainRecords & PlanningDomainRecords & PrompterDomainRecords & PublishDomainRecords & PublishedDomainRecords & RenderPresetDomainRecords & RenderDomainRecords & RevsDomainRecords & RoleDomainRecords & ScriptDomainRecords & SearchDomainRecords & SettingsDomainRecords & StoryboardDomainRecords & SubtitleStyleDomainRecords & SubtitleDomainRecords & TemplateDomainRecords & UserNotificationStatusDomainRecords & UserNotificationDomainRecords & UserDomainRecords;
395
433
 
396
434
  declare type Domains = Exclude<keyof DomainRecords, ":design">;
397
435
 
@@ -409,11 +447,65 @@ declare interface EditRecord {
409
447
  changeId?: string;
410
448
  }
411
449
 
450
+ declare type ElementFormatType = 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
451
+
452
+ declare interface ElementNodeContent {
453
+ type: SerializedLexicalNode["type"];
454
+ children: TextNodeContent[];
455
+ }
456
+
457
+ declare type Escaper = {
458
+ '"': '\\"';
459
+ "\\": "\\\\";
460
+ "\b": "\\b";
461
+ "\f": "\\f";
462
+ "\n": "\\n";
463
+ "\r": "\\r";
464
+ "\t": "\\t";
465
+ };
466
+
467
+ declare interface EventChildrenRecord {
468
+ value: string[];
469
+ }
470
+
412
471
  declare interface EventDomainRecords {
413
472
  ":event": EventRecord;
414
- ":event._template?": Record<string, unknown>;
473
+ ":event._template?": EventTemplateRecord;
474
+ ":event.overlay?": EventOverlayRecord;
475
+ ":event.template?": EventTemplateRecord;
476
+ ":event.duration?": EventDurationRecord;
477
+ ":event.children?": EventChildrenRecord;
478
+ ":event.props?": EventPropsRecord;
415
479
  }
416
480
 
481
+ declare interface EventDurationRecord {
482
+ scheduled?: number;
483
+ actual?: number;
484
+ in?: number;
485
+ out?: number | null;
486
+ }
487
+
488
+ declare interface EventNodeContent {
489
+ type: "event";
490
+ id: string;
491
+ mixin: string;
492
+ children: EventNodeContent[];
493
+ }
494
+
495
+ declare interface EventOverlayRecord {
496
+ [eventId: string]: {
497
+ data: EventPropsRecord;
498
+ };
499
+ }
500
+
501
+ declare type EventProps = {
502
+ source?: string;
503
+ cueCard?: boolean | string;
504
+ startTime?: number;
505
+ };
506
+
507
+ declare type EventPropsRecord = EventProps & Record<Exclude<string, keyof EventProps>, JsonValue>;
508
+
417
509
  declare interface EventRecord {
418
510
  start?: number;
419
511
  end?: number;
@@ -424,6 +516,16 @@ declare interface EventRecord {
424
516
  styleOverrides?: SubtitleEventStyleOverrides;
425
517
  }
426
518
 
519
+ declare interface EventTemplateRecord {
520
+ mixin?: string[];
521
+ properties?: object;
522
+ layout?: {
523
+ title?: string;
524
+ };
525
+ }
526
+
527
+ declare type ExactRecords = MiscRecords & MediaRecords & AssetRecords & MonitorRecords & StorageRecords;
528
+
427
529
  declare interface FacebookConnectionRecord extends ConnectionRecordCommon {
428
530
  type: "facebook";
429
531
  grantedScopes?: string[];
@@ -637,6 +739,16 @@ declare interface FileStats extends File_2 {
637
739
  speed?: number & Minimum<0>;
638
740
  }
639
741
 
742
+ declare interface FontFace_2 {
743
+ name: string;
744
+ family: string;
745
+ asset: string;
746
+ url: string;
747
+ weight: number;
748
+ style: "normal" | "italic";
749
+ ranges: Range_2[];
750
+ }
751
+
640
752
  declare interface GeneralCreatedRecord {
641
753
  time?: string;
642
754
  user?: string;
@@ -688,31 +800,84 @@ declare interface GeneralTitleRecord {
688
800
 
689
801
  declare type Get<Data, Path extends string> = Path extends keyof Data ? Data[Path] : unknown;
690
802
 
691
- export declare const isNxtpressionFetch: (input: unknown) => input is NxtpressionFetch;
803
+ declare interface HeadingNodeContent extends ElementNodeContent {
804
+ type: "heading";
805
+ tag: "h1" | "h2" | "h3";
806
+ }
692
807
 
693
- export declare const isNxtpressionNxt: (input: unknown) => input is NxtpressionNxt;
808
+ declare interface HorizontalRuleContent {
809
+ type: "horizontalrule";
810
+ }
694
811
 
695
812
  declare type IsoTimestamp = string;
696
813
 
814
+ declare type JsonPrimitive = string | number | boolean | null;
815
+
816
+ declare type JsonValue = JsonPrimitive | JsonValue[] | {
817
+ [key: string]: JsonValue;
818
+ };
819
+
697
820
  declare interface KeymapSetting {
698
- title: string;
821
+ title?: string;
699
822
  sequence?: string;
700
823
  }
701
824
 
702
825
  declare type LayoutWidget = WidgetType | WidgetItem;
703
826
 
827
+ declare interface ListItemNodeContent {
828
+ type: "listitem";
829
+ value: number;
830
+ checked?: boolean;
831
+ children: TextNodeContent[];
832
+ }
833
+
834
+ declare interface ListNodeContent {
835
+ type: "list";
836
+ listType: "bullet" | "number" | "check";
837
+ tag: "ul" | "ol";
838
+ children: ListItemNodeContent[];
839
+ }
840
+
841
+ /**
842
+ * Maximum value constraint tag.
843
+ *
844
+ * Enforces that a numeric value must be less than or equal to the specified
845
+ * maximum. This constraint validates that the input value satisfies: input <=
846
+ * maximum.
847
+ *
848
+ * Example usage:
849
+ *
850
+ * ```typescript
851
+ * type Percentage = number & tags.Maximum<100>; // Must be <= 100
852
+ * type SmallInt = bigint & tags.Maximum<255n>; // BigInt must be <= 255
853
+ * ```
854
+ *
855
+ * Note: This tag is mutually exclusive with ExclusiveMaximum. You cannot apply
856
+ * both Maximum and ExclusiveMaximum constraints to the same property.
857
+ *
858
+ * @author Jeongho Nam - https://github.com/samchon
859
+ * @template Value - The maximum value constraint (number or bigint literal)
860
+ */
704
861
  declare type Maximum<Value extends number | bigint> = TagBase<{
705
- target: Value extends number ? "number" : "bigint";
862
+ target: Value extends bigint ? "bigint" : "number";
706
863
  kind: "maximum";
707
864
  value: Value;
708
- validate: `$input <= ${Numeric_2<Value>}`;
865
+ validate: `$input <= ${Cast_2<Value>}`;
709
866
  exclusive: ["maximum", "exclusiveMaximum"];
710
- schema: Value extends number ? {
867
+ schema: Value extends bigint ? {
868
+ maximum: Numeric_2<Value>;
869
+ } : {
711
870
  maximum: Value;
712
- } : undefined;
871
+ };
713
872
  }>;
714
873
 
715
874
  declare interface MediaConsolidateRecord {
875
+ presets?: {
876
+ [type in MediaType]: RenderPreset;
877
+ };
878
+ }
879
+
880
+ declare interface MediaDomainConsolidateRecord {
716
881
  source?: unknown;
717
882
  target?: unknown;
718
883
  preset?: RenderPreset;
@@ -721,20 +886,33 @@ declare interface MediaConsolidateRecord {
721
886
 
722
887
  declare interface MediaDomainRecords {
723
888
  ":media.source": MediaSourceRecord;
724
- ":media.consolidate": MediaConsolidateRecord;
889
+ ":media.consolidate": MediaDomainConsolidateRecord;
725
890
  ":media.renders?": MediaRendersRecord;
726
891
  ":media.transcriptChanges": MediaTranscriptChangesRecord;
727
892
  ":media.font": MediaFontRecord;
728
893
  ":media.restrictions?": MediaRestrictionsRecord;
729
894
  ":media.probe?": MediaProbeRecord;
730
- ":media.updateSubtitles?": Record<string, unknown>;
731
- ":media.updateGraphics?": Record<string, unknown>;
895
+ ":media.updateSubtitles?": MediaDomainUpdateSubtitlesRecord;
896
+ ":media.updateGraphics?": MediaDomainUpdateGraphicsRecord;
897
+ }
898
+
899
+ declare interface MediaDomainUpdateGraphicsRecord {
900
+ [key: string]: unknown;
901
+ }
902
+
903
+ declare interface MediaDomainUpdateSubtitlesRecord {
904
+ [key: string]: unknown;
732
905
  }
733
906
 
734
907
  declare interface MediaFontRecord {
735
908
  sampleText?: string;
736
909
  }
737
910
 
911
+ declare interface MediaFonts {
912
+ fontFaces?: FontFace_2[];
913
+ fontFamilyNames?: Array<FontFace_2["family"]>;
914
+ }
915
+
738
916
  declare interface MediaProbeRecord {
739
917
  duration?: number | null;
740
918
  error: NxtError | null;
@@ -746,6 +924,14 @@ declare interface MediaProbeRecord {
746
924
  };
747
925
  }
748
926
 
927
+ declare interface MediaRecords {
928
+ "media.subtitles": MediaSubtitlesRecord;
929
+ "media.subtitles?": MediaSubtitlesProvidedRecord;
930
+ "media.transcribe?": MediaTranscribeProvidedRecord;
931
+ "media.fonts?": MediaFonts;
932
+ "media.consolidate": MediaConsolidateRecord;
933
+ }
934
+
749
935
  declare interface MediaRenderRecordValue {
750
936
  id?: string;
751
937
  title?: string;
@@ -770,6 +956,24 @@ declare interface MediaRestrictionsRecord {
770
956
 
771
957
  declare type MediaSourceRecord = RenderSceneObject;
772
958
 
959
+ declare interface MediaSubtitlesProvidedRecord {
960
+ languages?: Record<string, string>;
961
+ fontFaces?: SubtitleFontFace[];
962
+ }
963
+
964
+ declare interface MediaSubtitlesRecord {
965
+ languages?: Record<string, string>;
966
+ fontFaces?: SubtitleFontFace[];
967
+ }
968
+
969
+ declare interface MediaTranscribeProvidedRecord {
970
+ engines: Record<string, string>;
971
+ languages: Record<string, string>;
972
+ translate?: {
973
+ languages: Record<string, string>;
974
+ };
975
+ }
976
+
773
977
  declare type MediaTranscriptChangesRecord = {
774
978
  [patchKey: string]: MediaTranscriptChangesRecordValue;
775
979
  };
@@ -786,24 +990,52 @@ declare interface Message {
786
990
  msg: string;
787
991
  }
788
992
 
993
+ /**
994
+ * Minimum value constraint tag.
995
+ *
996
+ * Enforces that a numeric value must be greater than or equal to the specified
997
+ * minimum. This constraint validates that the input value satisfies: input >=
998
+ * minimum.
999
+ *
1000
+ * Example usage:
1001
+ *
1002
+ * ```typescript
1003
+ * type Age = number & tags.Minimum<0>; // Age must be 0 or greater
1004
+ * type Balance = bigint & tags.Minimum<0n>; // BigInt balance must be non-negative
1005
+ * ```
1006
+ *
1007
+ * Note: This tag is mutually exclusive with ExclusiveMinimum. You cannot apply
1008
+ * both Minimum and ExclusiveMinimum constraints to the same property.
1009
+ *
1010
+ * @author Jeongho Nam - https://github.com/samchon
1011
+ * @template Value - The minimum value constraint (number or bigint literal)
1012
+ */
789
1013
  declare type Minimum<Value extends number | bigint> = TagBase<{
790
- target: Value extends number ? "number" : "bigint";
1014
+ target: Value extends bigint ? "bigint" : "number";
791
1015
  kind: "minimum";
792
1016
  value: Value;
793
- validate: `${Numeric<Value>} <= $input`;
1017
+ validate: `${Cast<Value>} <= $input`;
794
1018
  exclusive: ["minimum", "exclusiveMinimum"];
795
- schema: Value extends number ? {
1019
+ schema: Value extends bigint ? {
1020
+ minimum: Numeric<Value>;
1021
+ } : {
796
1022
  minimum: Value;
797
- } : undefined;
1023
+ };
798
1024
  }>;
799
1025
 
1026
+ declare interface MiscRecords {
1027
+ "asset-daemon": AssetDaemonRecord;
1028
+ "asset-daemon:user-notify.state": AssetDaemonUserNotifyStateRecord;
1029
+ "deepstream-replicator.stats?": DeepstreamReplicatorStatsRecord;
1030
+ }
1031
+
800
1032
  declare interface ModuleTabs {
801
- [tabId: string]: ModuleTabsSettingsValue;
802
- settingsPanelStore: SettingsPanelStoreTab;
1033
+ [tabId: string]: ModuleTabsSettingsValue | undefined;
1034
+ settingsPanelStore?: SettingsPanelStoreTab;
803
1035
  }
804
1036
 
805
1037
  declare interface ModuleTabsSettingsValue {
806
- activeTab: string;
1038
+ activeTab?: string;
807
1039
  }
808
1040
 
809
1041
  declare interface MonitorDomainRecords {
@@ -811,7 +1043,7 @@ declare interface MonitorDomainRecords {
811
1043
  }
812
1044
 
813
1045
  declare interface MonitorRecords {
814
- "nxt.status?": NxtStatusRecord | null;
1046
+ "nxt.status?": NxtStatusRecord;
815
1047
  }
816
1048
 
817
1049
  declare interface MonitorStatsBuddyInfo {
@@ -940,11 +1172,15 @@ declare interface NetworkInterfaceInfo {
940
1172
  txErrorsValue?: number;
941
1173
  }
942
1174
 
1175
+ declare const NODE_STATE_KEY = "$";
1176
+
1177
+ declare type NodeContent = EventNodeContent | TextNodeContent | ParagraphNodeContent | CommentNodeContent | ListNodeContent | ListItemNodeContent | HeadingNodeContent | HorizontalRuleContent | QuoteNodeContent;
1178
+
943
1179
  declare type NotificationReason = "mentioned" | "assigned" | "author" | "participated" | "always";
944
1180
 
945
- declare type Numeric<Value extends number | bigint> = Value extends number ? Value : `BigInt(${Value})`;
1181
+ declare type Numeric<T extends bigint> = `${T}` extends `${infer N extends number}` ? N : never;
946
1182
 
947
- declare type Numeric_2<Value extends number | bigint> = Value extends number ? Value : `BigInt(${Value})`;
1183
+ declare type Numeric_2<T extends bigint> = `${T}` extends `${infer N extends number}` ? N : never;
948
1184
 
949
1185
  declare interface NxtError {
950
1186
  message: string;
@@ -959,7 +1195,7 @@ declare interface NxtError {
959
1195
  errors?: NxtError[] | null;
960
1196
  }
961
1197
 
962
- declare type Nxtpression<ReturnValue = string, Context extends object = object> = (String & {
1198
+ declare type Nxtpression<ReturnValue = string, Context extends object = object> = {
963
1199
  /**
964
1200
  * TS-HACK: this property doesn't really exist on the nxtpression string,
965
1201
  * it is only here to make sure the generic Context won't get stripped.
@@ -970,7 +1206,7 @@ declare type Nxtpression<ReturnValue = string, Context extends object = object>
970
1206
  * it is only here to make sure the generic Context won't get stripped.
971
1207
  */
972
1208
  __returnValue: ReturnValue;
973
- }) | string | ReturnValue;
1209
+ } | string | ReturnValue;
974
1210
 
975
1211
  export declare interface NxtpressionFetch {
976
1212
  body: string | null;
@@ -1284,13 +1520,35 @@ declare interface PanelProperty {
1284
1520
  oneOf?: unknown[];
1285
1521
  }
1286
1522
 
1523
+ declare interface ParagraphNodeContent extends ElementNodeContent {
1524
+ type: "paragraph";
1525
+ }
1526
+
1287
1527
  declare type Paths<Data> = keyof Data & string;
1288
1528
 
1529
+ /**
1530
+ * String pattern (regular expression) constraint tag.
1531
+ *
1532
+ * Validates that a string matches a specified regular expression pattern. Use
1533
+ * this tag to enforce custom string formats through regex validation.
1534
+ *
1535
+ * Examples:
1536
+ *
1537
+ * ```ts
1538
+ * type PhoneNumber = string & Pattern<"^\d{3}-\d{3}-\d{4}$">; // 123-456-7890
1539
+ * type HexColor = string & Pattern<"^#[0-9A-Fa-f]{6}$">; // #FF5733
1540
+ * ```
1541
+ *
1542
+ * Note: This tag is mutually exclusive with the Format tag. You cannot use both
1543
+ * Pattern and Format on the same type.
1544
+ *
1545
+ * @author Jeongho Nam - https://github.com/samchon
1546
+ */
1289
1547
  declare type Pattern<Value extends string> = TagBase<{
1290
1548
  target: "string";
1291
1549
  kind: "pattern";
1292
1550
  value: Value;
1293
- validate: `/${Value}/.test($input)`;
1551
+ validate: `RegExp("${Serialize<Value>}").test($input)`;
1294
1552
  exclusive: ["format", "pattern"];
1295
1553
  schema: {
1296
1554
  pattern: Value;
@@ -1364,6 +1622,26 @@ declare interface PromotedTag {
1364
1622
  description: string | null;
1365
1623
  }
1366
1624
 
1625
+ declare interface PrompterDomainRecord {
1626
+ asset: string;
1627
+ primaryColor: string;
1628
+ secondaryColor: string;
1629
+ backgroundColor: string;
1630
+ fontFamily?: string;
1631
+ fontFamilies?: string[];
1632
+ genericFontFamily?: string;
1633
+ fontSize: number;
1634
+ lineHeight: number;
1635
+ markerPosition: number;
1636
+ padding: number;
1637
+ dummy?: boolean;
1638
+ showInfo?: boolean;
1639
+ }
1640
+
1641
+ declare interface PrompterDomainRecords {
1642
+ ":prompter": PrompterDomainRecord;
1643
+ }
1644
+
1367
1645
  declare interface ProvidedPermissionRecord {
1368
1646
  permissions: PermissionRecordPermisson[];
1369
1647
  }
@@ -1372,13 +1650,17 @@ declare interface PublishDomainAcceptsProvidedRecord {
1372
1650
  value?: unknown;
1373
1651
  }
1374
1652
 
1653
+ declare interface PublishDomainMethodsRecord {
1654
+ [key: string]: {
1655
+ rpcId: string;
1656
+ rpcData: Record<string, unknown>;
1657
+ };
1658
+ }
1659
+
1375
1660
  declare interface PublishDomainRecords {
1376
1661
  [":publish"]: PublishRecord;
1377
1662
  [":publish.stats?"]: PublishStatsRecord;
1378
- [":publish.methods?"]: Record<string, {
1379
- rpcId: string;
1380
- rpcData: Record<string, unknown>;
1381
- }>;
1663
+ [":publish.methods?"]: PublishDomainMethodsRecord;
1382
1664
  [":publish.accepts"]: PublishDomainAcceptsProvidedRecord;
1383
1665
  }
1384
1666
 
@@ -1432,76 +1714,20 @@ declare interface PublishStatsRecordCommon {
1432
1714
  defaults?: Record<string, unknown>;
1433
1715
  }
1434
1716
 
1435
- export declare const randomNxtpressionFetch: () => NxtpressionFetch;
1717
+ declare interface QuoteNodeContent extends ElementNodeContent {
1718
+ type: "quote";
1719
+ }
1436
1720
 
1437
- export declare const randomNxtpressionNxt: () => {
1438
- fetch: never;
1439
- observe: never;
1440
- then: never;
1441
- suspend: never;
1442
- asset: never;
1443
- ds: never;
1444
- get: never;
1445
- wrap: never;
1446
- timer: never;
1447
- hash: never;
1448
- };
1721
+ declare type Range_2 = [
1722
+ number,
1723
+ number
1724
+ ];
1449
1725
 
1450
1726
  declare type Records = {
1451
1727
  [Property in Domains as `${string}${Property}`]: DomainRecords[Property];
1452
- } & {
1453
- ":permission": DomainRows;
1454
1728
  } & {
1455
1729
  [Property in keyof DesignDomainRecords as `${string}${Property}${string}`]: DesignDomainRecords[Property];
1456
- } & {
1457
- "media.subtitles": {
1458
- languages?: Record<string, string>;
1459
- fontFaces?: SubtitleFontFace[];
1460
- };
1461
- "media.subtitles?": {
1462
- languages?: Record<string, string>;
1463
- fontFaces?: SubtitleFontFace[];
1464
- };
1465
- "media.transcribe?": {
1466
- engines: Record<string, string>;
1467
- languages: Record<string, string>;
1468
- translate?: {
1469
- languages: Record<string, string>;
1470
- };
1471
- };
1472
- "media.consolidate": {
1473
- presets?: {
1474
- [type in MediaType]: RenderPreset;
1475
- };
1476
- };
1477
- "hub-transcribe:render-profile": {
1478
- format: string;
1479
- transcribe: {
1480
- engine: string;
1481
- };
1482
- pick: string[];
1483
- };
1484
- } & AssetRecords & {
1485
- "asset-daemon": {
1486
- "user-notify"?: boolean;
1487
- };
1488
- "asset-daemon:user-notify.state": {
1489
- since?: string | 0 | null;
1490
- version?: number;
1491
- };
1492
- "deepstream-replicator.stats?": {
1493
- replicators?: Record<string, {
1494
- to: {
1495
- synced?: boolean;
1496
- since?: string | 0 | null;
1497
- };
1498
- from: {
1499
- since?: string | 0 | null;
1500
- };
1501
- }>;
1502
- synced?: boolean;
1503
- };
1504
- } & MonitorRecords & StorageRecords;
1730
+ } & ExactRecords;
1505
1731
 
1506
1732
  declare type RecordState = RecordStateNumber | RecordStateString;
1507
1733
 
@@ -1526,23 +1752,7 @@ declare interface RenderDomainCpuStats {
1526
1752
  size: number | null;
1527
1753
  };
1528
1754
  meminfo: {
1529
- total: number | null;
1530
- free: number | null;
1531
- used: number | null;
1532
- active: number | null;
1533
- available: number | null;
1534
- buffers: number | null;
1535
- cached: number | null;
1536
- buffcache: number | null;
1537
- reclaimable: number | null;
1538
- swaptotal: number | null;
1539
- swapused: number | null;
1540
- swapfree: number | null;
1541
- slab: number | null;
1542
- sReclaimable: number | null;
1543
- kernelStack: number | null;
1544
- memTotal: number | null;
1545
- memAvailable: number | null;
1755
+ [key: string]: unknown;
1546
1756
  };
1547
1757
  };
1548
1758
  }
@@ -1595,13 +1805,13 @@ declare interface RenderDomainStatsRecord {
1595
1805
  available?: boolean | null;
1596
1806
  toobusy?: boolean | null;
1597
1807
  cpuAvailable?: boolean | null;
1598
- cpuComputeAvailable?: boolean | null;
1808
+ cpuComputeAvailable?: number | null;
1599
1809
  cpuComputeReservation?: number | null;
1600
1810
  cpuCompute?: number | null;
1601
1811
  cpuComputeLimit?: number | null;
1602
1812
  cpuComputeTotal?: number | null;
1603
1813
  cpuComputeValue?: number | null;
1604
- cpuMemoryAvailable?: boolean | null;
1814
+ cpuMemoryAvailable?: number | null;
1605
1815
  cpuMemoryReservation?: number | null;
1606
1816
  cpuMemory?: number | null;
1607
1817
  cpuMemoryLimit?: number | null;
@@ -1609,19 +1819,19 @@ declare interface RenderDomainStatsRecord {
1609
1819
  cpuMemoryTotal?: number | null;
1610
1820
  gpuType?: string | null;
1611
1821
  gpuAvailable?: boolean | null;
1612
- gpuComputeAvailable?: boolean | null;
1822
+ gpuComputeAvailable?: number | null;
1613
1823
  gpuComputeReservation?: number | null;
1614
1824
  gpuCompute?: number | null;
1615
1825
  gpuComputeLimit?: number | null;
1616
1826
  gpuComputeValue?: number | null;
1617
1827
  gpuComputeTotal?: number | null;
1618
- gpuMemoryAvailable?: boolean | null;
1828
+ gpuMemoryAvailable?: number | null;
1619
1829
  gpuMemoryReservation?: number | null;
1620
1830
  gpuMemory?: number | null;
1621
1831
  gpuMemoryLimit?: number | null;
1622
1832
  gpuMemoryValue?: number | null;
1623
1833
  gpuMemoryTotal?: number | null;
1624
- gpuQueueAvailable?: boolean | null;
1834
+ gpuQueueAvailable?: number | null;
1625
1835
  gpuQueueReservation?: number | null;
1626
1836
  gpuQueueLimit?: number | null;
1627
1837
  gpuQueueValue?: number | null;
@@ -1632,10 +1842,10 @@ declare interface RenderDomainStatsRecord {
1632
1842
  gpuEncoderTotal?: number | null;
1633
1843
  gpuDecoder?: number | null;
1634
1844
  gpuDecoderLimit?: number | null;
1635
- gpuDecoderValue?: null;
1845
+ gpuDecoderValue?: number | null;
1636
1846
  gpuDecoderTotal?: number | null;
1637
1847
  netAvailable?: boolean | null;
1638
- netTransferAvailable?: boolean | null;
1848
+ netTransferAvailable?: number | null;
1639
1849
  netTransferReservation?: number | null;
1640
1850
  netTransfer?: number | null;
1641
1851
  netTransferLimit?: number | null;
@@ -1648,12 +1858,16 @@ declare interface RenderDomainStatsRecord {
1648
1858
  gpuStat?: RenderDomainGpuStats | null;
1649
1859
  cpuStat?: RenderDomainCpuStats | null;
1650
1860
  netStat?: RenderDomainNetStats | null;
1861
+ limits?: unknown;
1862
+ taskset?: string;
1651
1863
  }
1652
1864
 
1653
1865
  declare type RenderPreset = RenderPresetObject | string;
1654
1866
 
1867
+ declare type RenderPresetDomainRecord = RenderPresetObject;
1868
+
1655
1869
  declare interface RenderPresetDomainRecords {
1656
- ":render-preset": RenderPresetObject;
1870
+ ":render-preset": RenderPresetDomainRecord;
1657
1871
  }
1658
1872
 
1659
1873
  declare interface RenderPresetObject {
@@ -1703,7 +1917,7 @@ declare interface RenderSceneObject {
1703
1917
  subtitleTracks?: {
1704
1918
  [trackId: string]: {
1705
1919
  style?: string | null;
1706
- styleOverrides?: Omit<SubtitleStyleDomainRecord, "scaledBorderAndShadow" | "futureWordWrapping">;
1920
+ styleOverrides?: SubtitleStyle;
1707
1921
  };
1708
1922
  };
1709
1923
  video?: {
@@ -1765,14 +1979,64 @@ declare interface RpcPermission {
1765
1979
  tags?: undefined;
1766
1980
  }
1767
1981
 
1982
+ /**
1983
+ * A record for non-script automation assets that can have child events.
1984
+ */
1768
1985
  declare interface ScriptChildrenRecord {
1769
1986
  value?: string[];
1770
1987
  }
1771
1988
 
1989
+ declare interface ScriptContentRecord {
1990
+ nodes: NodeContent[];
1991
+ }
1992
+
1772
1993
  declare interface ScriptDomainRecords {
1994
+ ":script": ScriptRecord;
1995
+ ":script?": ScriptEditorStateRecord;
1996
+ ":script.revisions?": ScriptRevisionsRecord;
1997
+ ":script.revision": ScriptRevisionRecord;
1998
+ ":script.revision?": ScriptEditorStateRevisionRecord;
1999
+ ":script.content?": ScriptContentRecord;
2000
+ ":script.text?": ScriptTextRecord;
1773
2001
  ":script.children": ScriptChildrenRecord;
1774
2002
  }
1775
2003
 
2004
+ declare interface ScriptEditorStateRecord {
2005
+ value: SerializedEditorState;
2006
+ }
2007
+
2008
+ declare interface ScriptEditorStateRevisionRecord {
2009
+ $parent: string;
2010
+ scriptId: string;
2011
+ userId: string;
2012
+ value: SerializedEditorState;
2013
+ }
2014
+
2015
+ declare interface ScriptRecord {
2016
+ value: YjsSnapshot;
2017
+ }
2018
+
2019
+ declare interface ScriptRevision {
2020
+ id: string;
2021
+ userId: string;
2022
+ }
2023
+
2024
+ declare interface ScriptRevisionRecord {
2025
+ $parent: string;
2026
+ scriptId: string;
2027
+ userId: string;
2028
+ value: YjsSnapshot;
2029
+ }
2030
+
2031
+ declare interface ScriptRevisionsRecord {
2032
+ value: ScriptRevision[];
2033
+ }
2034
+
2035
+ declare interface ScriptTextRecord {
2036
+ content: string;
2037
+ graphics: string;
2038
+ }
2039
+
1776
2040
  declare interface SearchDomainRecords {
1777
2041
  ":search?": SearchRecord;
1778
2042
  }
@@ -1784,18 +2048,44 @@ declare interface SearchRecord {
1784
2048
  error?: string;
1785
2049
  }
1786
2050
 
2051
+ declare type Serialize<T extends string, Output extends string = ""> = string extends T ? never : T extends "" ? Output : T extends `${infer P}${infer R}` ? Serialize<R, `${Output}${P extends keyof Escaper ? Escaper[P] : P}`> : never;
2052
+
1787
2053
  declare interface SerializedAutoLinkNode {
1788
2054
  type: "autolink";
1789
2055
  version: 1;
1790
2056
  url: string;
1791
2057
  }
1792
2058
 
2059
+ declare interface SerializedEditorState<T extends SerializedLexicalNode = SerializedLexicalNode> {
2060
+ root: SerializedRootNode_2<T>;
2061
+ }
2062
+
2063
+ declare type SerializedElementNode<T extends SerializedLexicalNode = SerializedLexicalNode> = Spread<{
2064
+ children: Array<T>;
2065
+ direction: 'ltr' | 'rtl' | null;
2066
+ format: ElementFormatType;
2067
+ indent: number;
2068
+ textFormat?: number;
2069
+ textStyle?: string;
2070
+ }, SerializedLexicalNode>;
2071
+
1793
2072
  declare interface SerializedEmojiNode {
1794
2073
  type: "emoji";
1795
2074
  version: 1;
1796
2075
  emojiId: string;
1797
2076
  }
1798
2077
 
2078
+ /**
2079
+ * The base type for all serialized nodes
2080
+ */
2081
+ declare type SerializedLexicalNode = {
2082
+ /** The type string used by the Node class */
2083
+ type: string;
2084
+ /** A numeric version for this schema, defaulting to 1, but not generally recommended for use */
2085
+ version: number;
2086
+ [NODE_STATE_KEY]?: Record<string, unknown>;
2087
+ };
2088
+
1799
2089
  declare interface SerializedLineBreakNode {
1800
2090
  type: "linebreak";
1801
2091
  version: 1;
@@ -1834,6 +2124,8 @@ declare interface SerializedRootNode {
1834
2124
  children: SerializedNode[];
1835
2125
  }
1836
2126
 
2127
+ declare type SerializedRootNode_2<T extends SerializedLexicalNode = SerializedLexicalNode> = SerializedElementNode<T>;
2128
+
1837
2129
  declare interface SerializedTextNode {
1838
2130
  type: "text";
1839
2131
  version: 1;
@@ -1847,8 +2139,8 @@ declare interface SerializedTextNode {
1847
2139
  declare interface Settings {
1848
2140
  autoLogoutTime?: number;
1849
2141
  permission?: {
1850
- overrideUserContact: boolean;
1851
- overrideUserLogin: boolean;
2142
+ overrideUserContact?: boolean;
2143
+ overrideUserLogin?: boolean;
1852
2144
  };
1853
2145
  module?: {
1854
2146
  tabs?: ModuleTabs;
@@ -1867,20 +2159,20 @@ declare interface Settings {
1867
2159
  batchDownloadDialogMode?: "file" | "directory";
1868
2160
  };
1869
2161
  browser?: {
1870
- map: {
2162
+ map?: {
1871
2163
  clustering?: boolean;
1872
2164
  zoom?: number;
1873
2165
  center?: {
1874
- lat: number;
1875
- lon: number;
2166
+ lat?: number;
2167
+ lon?: number;
1876
2168
  };
1877
2169
  };
1878
- createMenu: {
1879
- sortOrder: string[];
2170
+ createMenu?: {
2171
+ sortOrder?: string[];
1880
2172
  };
1881
2173
  };
1882
2174
  toolbarTags?: {
1883
- exclude: string[];
2175
+ exclude?: string[];
1884
2176
  };
1885
2177
  /**
1886
2178
  * Controls which tags cannot be used together. When a tag from the group is
@@ -1888,11 +2180,11 @@ declare interface Settings {
1888
2180
  */
1889
2181
  exclusiveTagGroups?: string[][];
1890
2182
  deadlines?: {
1891
- include: string[];
2183
+ include?: string[];
1892
2184
  exclude?: string[];
1893
2185
  };
1894
2186
  assignees?: {
1895
- include: string[];
2187
+ include?: string[];
1896
2188
  exclude?: string[];
1897
2189
  };
1898
2190
  comments?: {
@@ -1900,12 +2192,12 @@ declare interface Settings {
1900
2192
  exclude?: string[];
1901
2193
  };
1902
2194
  clock?: {
1903
- enable: boolean;
1904
- show24Hours: boolean;
1905
- showAmPm: boolean;
1906
- showSeconds: boolean;
1907
- showDayOfWeek: boolean;
1908
- showDate: boolean;
2195
+ enable?: boolean;
2196
+ show24Hours?: boolean;
2197
+ showAmPm?: boolean;
2198
+ showSeconds?: boolean;
2199
+ showDayOfWeek?: boolean;
2200
+ showDate?: boolean;
1909
2201
  format?: string;
1910
2202
  };
1911
2203
  swarm?: {
@@ -1913,90 +2205,105 @@ declare interface Settings {
1913
2205
  name?: string;
1914
2206
  };
1915
2207
  dashboard?: {
1916
- maxMru: number;
1917
- maxTabs: number;
2208
+ maxMru?: number;
2209
+ maxTabs?: number;
1918
2210
  };
1919
2211
  script?: {
1920
- createMenu: {
1921
- showPreview: boolean;
2212
+ createMenu?: {
2213
+ sortBy?: "index" | "title";
2214
+ showPreview?: boolean;
2215
+ };
2216
+ colorTags?: PromotedTag[];
2217
+ readType?: "characters" | "words" | "wordsPerMinute";
2218
+ readRate?: number;
2219
+ collapsedNodes?: {
2220
+ [eventId: string]: {
2221
+ preview?: boolean;
2222
+ children?: boolean;
2223
+ };
1922
2224
  };
1923
- colorTags: PromotedTag[];
1924
2225
  };
1925
2226
  events?: {
1926
2227
  graphicBaseTemplate?: string;
2228
+ favorites?: string[];
2229
+ defaults?: Record<string, {
2230
+ event?: string;
2231
+ property?: string;
2232
+ }>;
1927
2233
  };
1928
2234
  rundown?: {
1929
- eventThumbnails: boolean;
2235
+ eventThumbnails?: boolean;
1930
2236
  };
1931
2237
  gallery?: {
1932
- dimOnBlur: boolean;
2238
+ dimOnBlur?: boolean;
2239
+ float?: "rundown" | "gallery" | "disabled";
1933
2240
  };
1934
2241
  history?: boolean;
1935
2242
  keymap?: {
1936
- display: {
2243
+ display?: {
1937
2244
  [actionKey: string]: KeymapSetting;
1938
2245
  };
1939
- browser: {
2246
+ browser?: {
1940
2247
  [actionKey: string]: KeymapSetting;
1941
2248
  };
1942
- gallery: {
2249
+ gallery?: {
1943
2250
  [actionKey: string]: KeymapSetting;
1944
2251
  };
1945
- global: {
2252
+ global?: {
1946
2253
  [actionKey: string]: KeymapSetting;
1947
2254
  };
1948
- player: {
2255
+ player?: {
1949
2256
  [actionKey: string]: KeymapSetting;
1950
2257
  };
1951
- script: {
2258
+ script?: {
1952
2259
  [actionKey: string]: KeymapSetting;
1953
2260
  };
1954
- codeEditor: {
2261
+ codeEditor?: {
1955
2262
  [actionKey: string]: KeymapSetting;
1956
2263
  };
1957
- bookmarks: {
2264
+ bookmarks?: {
1958
2265
  [actionKey: string]: KeymapSetting;
1959
2266
  };
1960
- edit: {
2267
+ edit?: {
1961
2268
  [actionKey: string]: KeymapSetting;
1962
2269
  };
1963
- rundown: {
2270
+ rundown?: {
1964
2271
  [actionKey: string]: KeymapSetting;
1965
2272
  };
1966
- segment: {
2273
+ segment?: {
1967
2274
  [actionKey: string]: KeymapSetting;
1968
2275
  };
1969
2276
  };
1970
2277
  media?: {
1971
- defaultFrameRate: number;
2278
+ defaultFrameRate?: number;
1972
2279
  placeholder?: string;
1973
2280
  guide?: {
1974
2281
  mask?: boolean;
1975
2282
  actionSafe?: boolean;
1976
2283
  titleSafe?: boolean;
1977
2284
  };
1978
- stepManyFrames: number;
1979
- liveZoomDuration: number;
1980
- importTitleTemplate: string;
1981
- tile: {
1982
- preview: boolean | "play" | "seek" | "seekplay" | "disabled";
1983
- showRenderProgress: boolean;
2285
+ stepManyFrames?: number;
2286
+ liveZoomDuration?: number;
2287
+ importTitleTemplate?: string;
2288
+ tile?: {
2289
+ preview?: boolean | "play" | "seek" | "seekplay" | "disabled";
2290
+ showRenderProgress?: boolean;
1984
2291
  };
1985
- timecodeReference: string;
1986
- maxSubclipDuration: number;
1987
- rewindStep: number;
1988
- forwardStep: number;
1989
- interlacedPlayback: string;
1990
- playbackRates: number[];
1991
- subtitles: {
1992
- spacing: number;
1993
- maxCharactersPerLine: number;
2292
+ timecodeReference?: string;
2293
+ maxSubclipDuration?: number;
2294
+ rewindStep?: number;
2295
+ forwardStep?: number;
2296
+ interlacedPlayback?: string;
2297
+ playbackRates?: number[];
2298
+ subtitles?: {
2299
+ spacing?: number;
2300
+ maxCharactersPerLine?: number;
1994
2301
  suggestions?: Array<{
1995
2302
  /** aspect ratio in the form of "width:height" */
1996
- ifAspectRatio?: string;
1997
- ifLang?: string;
1998
- thenStyle?: string;
1999
- thenMaxCharactersPerLine?: number;
2303
+ ifAspectRatio?: string | null;
2304
+ ifLang?: string | null;
2305
+ thenStyle?: string | null;
2306
+ thenMaxCharactersPerLine?: number | null;
2000
2307
  }>;
2001
2308
  colors?: Array<{
2002
2309
  label?: string | null;
@@ -2004,16 +2311,16 @@ declare interface Settings {
2004
2311
  }>;
2005
2312
  };
2006
2313
  subtitleTemplateId?: string;
2007
- initialVolume: string;
2008
- guides: Array<{
2009
- label: string;
2010
- aspectRatio: string;
2314
+ initialVolume?: string;
2315
+ guides?: Array<{
2316
+ label?: string;
2317
+ aspectRatio?: string;
2011
2318
  }>;
2012
- download: boolean;
2013
- editMode: {
2014
- enabled: boolean;
2015
- defaultEnterOption: "edit" | "createNew" | "none";
2016
- defaultExitOption: "update" | "leave" | "none";
2319
+ download?: boolean;
2320
+ editMode?: {
2321
+ enabled?: boolean;
2322
+ defaultEnterOption?: "edit" | "createNew" | "none";
2323
+ defaultExitOption?: "update" | "leave" | "none";
2017
2324
  };
2018
2325
  transcribe?: {
2019
2326
  subtitleDisclaimer?: {
@@ -2021,8 +2328,8 @@ declare interface Settings {
2021
2328
  defaultValue?: {
2022
2329
  enabled?: false;
2023
2330
  text?: Array<{
2024
- language: string;
2025
- value: string;
2331
+ language?: string;
2332
+ value?: string;
2026
2333
  }>;
2027
2334
  offset?: number;
2028
2335
  duration?: number;
@@ -2037,17 +2344,17 @@ declare interface Settings {
2037
2344
  } | string;
2038
2345
  };
2039
2346
  edit?: {
2040
- thumbnailView: "filmStrip" | "thumbnail" | "none";
2041
- voiceOver: {
2347
+ thumbnailView?: "filmStrip" | "thumbnail" | "none";
2348
+ voiceOver?: {
2042
2349
  inputDevice?: string;
2043
- inputGainDb: number;
2044
- backgroundReductionDb: number;
2045
- recordMode: "instant" | "punchAndRoll";
2046
- preRollDuration: number;
2350
+ inputGainDb?: number;
2351
+ backgroundReductionDb?: number;
2352
+ recordMode?: "instant" | "punchAndRoll";
2353
+ preRollDuration?: number;
2047
2354
  };
2048
2355
  };
2049
2356
  commands?: Array<{
2050
- title: string;
2357
+ title?: string;
2051
2358
  command?: string;
2052
2359
  args?: string[];
2053
2360
  }>;
@@ -2056,34 +2363,38 @@ declare interface Settings {
2056
2363
  folded?: {
2057
2364
  auto?: boolean;
2058
2365
  };
2059
- assets: {
2060
- story: {
2061
- excerpt: {
2062
- maxLines: number;
2063
- mode: string;
2366
+ assets?: {
2367
+ story?: {
2368
+ excerpt?: {
2369
+ maxLines?: number;
2370
+ mode?: string;
2371
+ comments?: boolean;
2064
2372
  };
2065
2373
  };
2066
2374
  note?: {
2067
2375
  maxHeight?: number;
2068
2376
  };
2069
2377
  };
2070
- pipeline: {
2071
- search: {
2072
- maxItemsDisplayed: number;
2378
+ pipeline?: {
2379
+ search?: {
2380
+ maxItemsDisplayed?: number;
2073
2381
  };
2074
- sortMode: PipelineSortMode;
2382
+ sortMode?: PipelineSortMode;
2075
2383
  };
2076
- item: {
2077
- maxHeight: number;
2384
+ item?: {
2385
+ maxHeight?: number;
2078
2386
  };
2079
2387
  };
2388
+ print?: {
2389
+ fontFamilies?: string[];
2390
+ };
2080
2391
  hiddenPreviews?: Array<{
2081
- id: string;
2082
- folded: boolean;
2392
+ id?: string;
2393
+ folded?: boolean;
2083
2394
  }>;
2084
2395
  plugins?: {
2085
- adobe: {
2086
- useProxies: boolean;
2396
+ adobe?: {
2397
+ useProxies?: boolean;
2087
2398
  };
2088
2399
  rive?: {
2089
2400
  template?: string;
@@ -2097,14 +2408,14 @@ declare interface Settings {
2097
2408
  ameRemoteRendering?: boolean;
2098
2409
  };
2099
2410
  flags?: {
2100
- utils: boolean;
2101
- history: boolean;
2102
- refs: boolean;
2103
- access: boolean;
2104
- files: boolean;
2105
- export: boolean;
2106
- json: boolean;
2107
- hlsjs: boolean;
2411
+ utils?: boolean;
2412
+ history?: boolean;
2413
+ refs?: boolean;
2414
+ access?: boolean;
2415
+ files?: boolean;
2416
+ export?: boolean;
2417
+ json?: boolean;
2418
+ hlsjs?: boolean;
2108
2419
  resetRenders?: boolean;
2109
2420
  resetReplicas?: boolean;
2110
2421
  assetStatus?: boolean;
@@ -2112,13 +2423,14 @@ declare interface Settings {
2112
2423
  hideInAssetMenu?: boolean;
2113
2424
  assetRoute?: boolean;
2114
2425
  devWarnings?: boolean;
2426
+ multiplexWebSockets?: boolean;
2115
2427
  };
2116
2428
  notifications?: {
2117
- events: {
2118
- comment: NotificationReason[];
2119
- assigned: NotificationReason[];
2120
- unassigned: NotificationReason[];
2121
- publishSucceeded: {
2429
+ events?: {
2430
+ comment?: NotificationReason[];
2431
+ assigned?: NotificationReason[];
2432
+ unassigned?: NotificationReason[];
2433
+ publishSucceeded?: {
2122
2434
  [connectionId: string]: NotificationReason[];
2123
2435
  };
2124
2436
  };
@@ -2127,13 +2439,17 @@ declare interface Settings {
2127
2439
  }
2128
2440
 
2129
2441
  declare interface SettingsDomainRecords {
2130
- ":settings": Settings;
2442
+ ":settings": SettingsRecord;
2131
2443
  }
2132
2444
 
2133
2445
  declare interface SettingsPanelStoreTab extends ModuleTabsSettingsValue {
2134
- activeSectionIndex: number;
2446
+ activeSectionIndex?: number;
2135
2447
  }
2136
2448
 
2449
+ declare type SettingsRecord = Settings;
2450
+
2451
+ declare type Spread<T1, T2> = Omit<T2, keyof T1> & T1;
2452
+
2137
2453
  declare interface StorageLocationsRecord {
2138
2454
  [key: string]: StorageLocationsRecordEntry;
2139
2455
  }
@@ -2174,15 +2490,15 @@ declare interface StoryboardDomainPipelinesRecord {
2174
2490
  value?: string[];
2175
2491
  }
2176
2492
 
2493
+ declare interface StoryboardDomainRecord {
2494
+ [key: string]: unknown;
2495
+ }
2496
+
2177
2497
  declare interface StoryboardDomainRecords {
2178
- ":storyboard": Record<string, unknown>;
2498
+ ":storyboard": StoryboardDomainRecord;
2179
2499
  ":storyboard.pipelines": StoryboardDomainPipelinesRecord;
2180
2500
  }
2181
2501
 
2182
- export declare const stringifyNxtpressionFetch: (input: NxtpressionFetch) => string;
2183
-
2184
- export declare const stringifyNxtpressionNxt: (input: NxtpressionNxt) => string;
2185
-
2186
2502
  /** OBSERVABLE INTERFACES */
2187
2503
  declare interface Subscribable<T> {
2188
2504
  subscribe(observer: Partial<Observer<T>>): Unsubscribable;
@@ -2400,7 +2716,7 @@ declare interface SubtitleProfile {
2400
2716
  style?: string;
2401
2717
  }
2402
2718
 
2403
- declare interface SubtitleStyleDomainRecord {
2719
+ declare interface SubtitleStyle {
2404
2720
  name?: string;
2405
2721
  fontname?: string;
2406
2722
  fontsize?: string;
@@ -2424,14 +2740,43 @@ declare interface SubtitleStyleDomainRecord {
2424
2740
  marginR?: string;
2425
2741
  marginV?: string;
2426
2742
  encoding?: string;
2743
+ }
2744
+
2745
+ declare interface SubtitleStyleDomainRecord extends SubtitleStyle {
2427
2746
  scaledBorderAndShadow?: boolean;
2428
2747
  futureWordWrapping?: boolean;
2748
+ previewSettings?: {
2749
+ aspectRatio?: string;
2750
+ backgroundAssetId?: string;
2751
+ text?: string;
2752
+ };
2429
2753
  }
2430
2754
 
2431
2755
  declare interface SubtitleStyleDomainRecords {
2432
2756
  ":subtitle-style": SubtitleStyleDomainRecord;
2433
2757
  }
2434
2758
 
2759
+ /**
2760
+ * Base type for all validation tags in typia.
2761
+ *
2762
+ * TagBase provides the foundation for all typia's validation tags. It attaches
2763
+ * metadata to TypeScript types that typia's transformer processes at
2764
+ * compile-time to generate optimized runtime validation code.
2765
+ *
2766
+ * @author Jeongho Nam - https://github.com/samchon
2767
+ * @example
2768
+ * ```typescript
2769
+ * // Custom tag example
2770
+ * type MyCustomTag<Value extends number> = TagBase<{
2771
+ * target: "number";
2772
+ * kind: "MyCustom";
2773
+ * value: Value;
2774
+ * validate: `$input === ${Value}`;
2775
+ * }>;
2776
+ * ```
2777
+ *
2778
+ * @template Props - Tag properties that define validation behavior
2779
+ */
2435
2780
  declare type TagBase<Props extends TagBase.IProps<any, any, any, any, any, any>> = {
2436
2781
  /**
2437
2782
  * This is a dummy property for compilation.
@@ -2442,37 +2787,38 @@ declare type TagBase<Props extends TagBase.IProps<any, any, any, any, any, any>>
2442
2787
  };
2443
2788
 
2444
2789
  declare namespace TagBase {
2445
- interface IProps<Target extends "boolean" | "bigint" | "number" | "string" | "array", Kind extends string, Value extends boolean | bigint | number | string | undefined, Validate extends string | {
2790
+ /**
2791
+ * Properties interface for validation tags.
2792
+ *
2793
+ * @author Jeongho Nam - https://github.com/samchon
2794
+ */
2795
+ interface IProps<Target extends "boolean" | "bigint" | "number" | "string" | "array" | "object", Kind extends string, Value extends boolean | bigint | number | string | undefined, Validate extends string | {
2446
2796
  [key in Target]?: string;
2447
2797
  }, Exclusive extends boolean | string[], Schema extends object | undefined> {
2448
2798
  /**
2449
2799
  * Target type.
2450
2800
  *
2451
- * If user tries to adapt this tag to a different type, it would be a compile
2452
- * error.
2801
+ * If user tries to adapt this tag to a different type, it would be a
2802
+ * compile error.
2453
2803
  *
2454
- * For example, you've configured target type as `string`, but user adapted it
2455
- * onto a `number` type (`number & YourCustomTag<Value>`), then it would be
2456
- * blocked by TypeScript compiler.
2804
+ * For example, you've configured target type as `string`, but user adapted
2805
+ * it onto a `number` type (`number & YourCustomTag<Value>`), then it would
2806
+ * be blocked by TypeScript compiler.
2457
2807
  */
2458
2808
  target: Target;
2459
- /**
2460
- * What kind of tag is this?
2461
- */
2809
+ /** What kind of tag is this? */
2462
2810
  kind: Kind;
2463
- /**
2464
- * Value to be configured by user.
2465
- */
2811
+ /** Value to be configured by user. */
2466
2812
  value: Value;
2467
2813
  /**
2468
2814
  * Validation script.
2469
2815
  *
2470
- * This script would be inserted into the generated validation function.
2471
- * In here script, target variable name must be `$input`. The variable name
2816
+ * This script would be inserted into the generated validation function. In
2817
+ * here script, target variable name must be `$input`. The variable name
2472
2818
  * `$input` would be transformed to the suitable when compilation.
2473
2819
  *
2474
2820
  * Also, If you've take a mistake on this script, compile error would be
2475
- * occured. So, define it with confidence. Compiler will block all your
2821
+ * occurred. So, define it with confidence. Compiler will block all your
2476
2822
  * mistakes.
2477
2823
  */
2478
2824
  validate?: Validate;
@@ -2481,15 +2827,13 @@ declare namespace TagBase {
2481
2827
  *
2482
2828
  * If this property configured as `true`, same {@link kind} tag cannot be
2483
2829
  * duplicated in the target type. Otherwise, if you've configured this
2484
- * property as string array, all of the {@link kind} value assigned
2485
- * tags cannot be compatible in the target type.
2830
+ * property as string array, all of the {@link kind} value assigned tags
2831
+ * cannot be compatible in the target type.
2486
2832
  *
2487
2833
  * @default false
2488
2834
  */
2489
2835
  exclusive?: Exclusive | string[];
2490
- /**
2491
- * Additional schema info assigned to the {@link IJsonSchema} object.
2492
- */
2836
+ /** Additional schema info assigned to the {@link IJsonSchema} object. */
2493
2837
  schema?: Schema;
2494
2838
  }
2495
2839
  }
@@ -2521,19 +2865,56 @@ declare interface TestOperation {
2521
2865
  value: any;
2522
2866
  }
2523
2867
 
2868
+ declare interface TextNodeContent {
2869
+ type: "text" | "link" | "autolink";
2870
+ text: string;
2871
+ style?: string;
2872
+ format?: number;
2873
+ }
2874
+
2875
+ /**
2876
+ * Type tag for specifying numeric bit-width representations.
2877
+ *
2878
+ * Constrains numeric types to specific bit-width formats used in systems
2879
+ * programming and protocol buffers. Ensures numbers conform to
2880
+ * platform-specific representations.
2881
+ *
2882
+ * Supported types:
2883
+ *
2884
+ * - `int32`: 32-bit signed integer (-2^31 to 2^31-1)
2885
+ * - `uint32`: 32-bit unsigned integer (0 to 2^32-1)
2886
+ * - `int64`: 64-bit signed integer (supports both bigint and number)
2887
+ * - `uint64`: 64-bit unsigned integer (supports both bigint and number)
2888
+ * - `float`: 32-bit floating point (single precision)
2889
+ * - `double`: 64-bit floating point (double precision, default JS number)
2890
+ *
2891
+ * @author Jeongho Nam - https://github.com/samchon
2892
+ * @example
2893
+ * ```typescript
2894
+ * type Score = number & Type<"int32">; // -2,147,483,648 to 2,147,483,647
2895
+ * type UserId = number & Type<"uint32">; // 0 to 4,294,967,295
2896
+ * type FileSize = bigint & Type<"int64">; // Large file sizes
2897
+ * type Coordinate = number & Type<"double">; // High precision coordinates
2898
+ * ```
2899
+ *
2900
+ * @template Value - The numeric type representation
2901
+ */
2524
2902
  declare type Type<Value extends "int32" | "uint32" | "int64" | "uint64" | "float" | "double"> = TagBase<{
2525
2903
  target: Value extends "int64" | "uint64" ? "bigint" | "number" : "number";
2526
2904
  kind: "type";
2527
2905
  value: Value;
2528
- validate: Value extends "int32" ? `Math.floor($input) === $input && -2147483648 <= $input && $input <= 2147483647` : Value extends "uint32" ? `Math.floor($input) === $input && 0 <= $input && $input <= 4294967295` : Value extends "int64" ? {
2529
- number: `Math.floor($input) === $input && -9223372036854775808 <= $input && $input <= 9223372036854775807`;
2906
+ validate: Value extends "int32" ? `$importInternal("isTypeInt32")($input)` : Value extends "uint32" ? `$importInternal("isTypeUint32")($input)` : Value extends "int64" ? {
2907
+ number: `$importInternal("isTypeInt64")($input)`;
2530
2908
  bigint: `true`;
2531
2909
  } : Value extends "uint64" ? {
2532
- number: `Math.floor($input) === $input && 0 <= $input && $input <= 18446744073709551615`;
2910
+ number: `$importInternal("isTypeUint64")($input)`;
2533
2911
  bigint: `BigInt(0) <= $input`;
2534
- } : Value extends "float" ? `-1.175494351e38 <= $input && $input <= 3.4028235e38` : `true`;
2912
+ } : Value extends "float" ? `$importInternal("isTypeFloat")($input)` : `true`;
2535
2913
  exclusive: true;
2536
- schema: {
2914
+ schema: Value extends "uint32" | "uint64" ? {
2915
+ type: "integer";
2916
+ minimum: 0;
2917
+ } : {
2537
2918
  type: Value extends "int32" | "uint32" | "int64" | "uint64" ? "integer" : "number";
2538
2919
  };
2539
2920
  }>;
@@ -2744,6 +3125,13 @@ declare interface WidgetItem {
2744
3125
 
2745
3126
  declare type WidgetType = "default" | "assetTypes" | "assetTags" | "geopoint" | "poster" | "textarea" | "tags";
2746
3127
 
3128
+ /**
3129
+ * A base64 encoded string representing a complete Yjs document state.
3130
+ * This is created using `Y.encodeStateAsUpdate()` and is used for
3131
+ * persistence and versioning.
3132
+ */
3133
+ declare type YjsSnapshot = string;
3134
+
2747
3135
  declare interface YoutubePublishRecord extends PublishRecordCommon<"youtube"> {
2748
3136
  draft?: {
2749
3137
  snippet?: {