@blitzreels/contracts 0.2.8 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai-credit-costs.d.ts +3 -0
- package/dist/ai-credit-costs.d.ts.map +1 -1
- package/dist/ai-credit-costs.js +4 -1
- package/dist/ai-credit-costs.js.map +1 -1
- package/dist/clip-batch-archive-contract.d.ts +26 -0
- package/dist/clip-batch-archive-contract.d.ts.map +1 -0
- package/dist/clip-batch-archive-contract.js +26 -0
- package/dist/clip-batch-archive-contract.js.map +1 -0
- package/dist/clipping-projects-contract.d.ts +104 -0
- package/dist/clipping-projects-contract.d.ts.map +1 -0
- package/dist/clipping-projects-contract.js +54 -0
- package/dist/clipping-projects-contract.js.map +1 -0
- package/dist/editor-command-contract.d.ts +38 -2
- package/dist/editor-command-contract.d.ts.map +1 -1
- package/dist/editor-command-contract.js +17 -1
- package/dist/editor-command-contract.js.map +1 -1
- package/dist/editor-text-transform.d.ts +29 -0
- package/dist/editor-text-transform.d.ts.map +1 -0
- package/dist/editor-text-transform.js +70 -0
- package/dist/editor-text-transform.js.map +1 -0
- package/dist/generation-resolution.d.ts +4 -1
- package/dist/generation-resolution.d.ts.map +1 -1
- package/dist/generation-resolution.js +34 -20
- package/dist/generation-resolution.js.map +1 -1
- package/dist/index.d.ts +7 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/sequence-operation-registry.d.ts +2 -0
- package/dist/sequence-operation-registry.d.ts.map +1 -1
- package/dist/sequence-operation-registry.js +30 -12
- package/dist/sequence-operation-registry.js.map +1 -1
- package/dist/visuals-contract.d.ts +385 -0
- package/dist/visuals-contract.d.ts.map +1 -0
- package/dist/visuals-contract.js +220 -0
- package/dist/visuals-contract.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,385 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const VISUAL_PRESETS: readonly [{
|
|
3
|
+
readonly id: "broll-headline";
|
|
4
|
+
readonly number: "03";
|
|
5
|
+
readonly name: "B-roll headline";
|
|
6
|
+
}, {
|
|
7
|
+
readonly id: "steps";
|
|
8
|
+
readonly number: "04";
|
|
9
|
+
readonly name: "Steps";
|
|
10
|
+
}, {
|
|
11
|
+
readonly id: "quote";
|
|
12
|
+
readonly number: "05";
|
|
13
|
+
readonly name: "Quote";
|
|
14
|
+
}, {
|
|
15
|
+
readonly id: "end-screen";
|
|
16
|
+
readonly number: "06";
|
|
17
|
+
readonly name: "End screen";
|
|
18
|
+
}, {
|
|
19
|
+
readonly id: "key-number";
|
|
20
|
+
readonly number: "07";
|
|
21
|
+
readonly name: "Key number";
|
|
22
|
+
}, {
|
|
23
|
+
readonly id: "before-after";
|
|
24
|
+
readonly number: "08";
|
|
25
|
+
readonly name: "Before / after";
|
|
26
|
+
}, {
|
|
27
|
+
readonly id: "screenshot-focus";
|
|
28
|
+
readonly number: "09";
|
|
29
|
+
readonly name: "Screenshot focus";
|
|
30
|
+
}, {
|
|
31
|
+
readonly id: "chapter";
|
|
32
|
+
readonly number: "10";
|
|
33
|
+
readonly name: "Chapter divider";
|
|
34
|
+
}];
|
|
35
|
+
export declare const visualItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
36
|
+
id: z.ZodString;
|
|
37
|
+
at: z.ZodNumber;
|
|
38
|
+
duration: z.ZodNumber;
|
|
39
|
+
preset: z.ZodLiteral<"broll-headline">;
|
|
40
|
+
text: z.ZodString;
|
|
41
|
+
assetId: z.ZodString;
|
|
42
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
43
|
+
id: z.ZodString;
|
|
44
|
+
at: z.ZodNumber;
|
|
45
|
+
duration: z.ZodNumber;
|
|
46
|
+
preset: z.ZodLiteral<"steps">;
|
|
47
|
+
text: z.ZodString;
|
|
48
|
+
steps: z.ZodArray<z.ZodString>;
|
|
49
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
50
|
+
id: z.ZodString;
|
|
51
|
+
at: z.ZodNumber;
|
|
52
|
+
duration: z.ZodNumber;
|
|
53
|
+
preset: z.ZodLiteral<"quote">;
|
|
54
|
+
text: z.ZodString;
|
|
55
|
+
attribution: z.ZodString;
|
|
56
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
57
|
+
id: z.ZodString;
|
|
58
|
+
at: z.ZodNumber;
|
|
59
|
+
duration: z.ZodNumber;
|
|
60
|
+
preset: z.ZodLiteral<"end-screen">;
|
|
61
|
+
text: z.ZodString;
|
|
62
|
+
cta: z.ZodString;
|
|
63
|
+
logoAssetId: z.ZodNullable<z.ZodString>;
|
|
64
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
65
|
+
id: z.ZodString;
|
|
66
|
+
at: z.ZodNumber;
|
|
67
|
+
duration: z.ZodNumber;
|
|
68
|
+
preset: z.ZodLiteral<"key-number">;
|
|
69
|
+
text: z.ZodString;
|
|
70
|
+
value: z.ZodNumber;
|
|
71
|
+
suffix: z.ZodString;
|
|
72
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
73
|
+
id: z.ZodString;
|
|
74
|
+
at: z.ZodNumber;
|
|
75
|
+
duration: z.ZodNumber;
|
|
76
|
+
preset: z.ZodLiteral<"before-after">;
|
|
77
|
+
text: z.ZodString;
|
|
78
|
+
beforeAssetId: z.ZodString;
|
|
79
|
+
afterAssetId: z.ZodString;
|
|
80
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
81
|
+
id: z.ZodString;
|
|
82
|
+
at: z.ZodNumber;
|
|
83
|
+
duration: z.ZodNumber;
|
|
84
|
+
preset: z.ZodLiteral<"screenshot-focus">;
|
|
85
|
+
text: z.ZodString;
|
|
86
|
+
assetId: z.ZodString;
|
|
87
|
+
focus: z.ZodObject<{
|
|
88
|
+
x: z.ZodNumber;
|
|
89
|
+
y: z.ZodNumber;
|
|
90
|
+
width: z.ZodNumber;
|
|
91
|
+
height: z.ZodNumber;
|
|
92
|
+
}, z.core.$strict>;
|
|
93
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
94
|
+
id: z.ZodString;
|
|
95
|
+
at: z.ZodNumber;
|
|
96
|
+
duration: z.ZodNumber;
|
|
97
|
+
preset: z.ZodLiteral<"chapter">;
|
|
98
|
+
text: z.ZodString;
|
|
99
|
+
number: z.ZodString;
|
|
100
|
+
}, z.core.$strict>], "preset">;
|
|
101
|
+
export declare const visualItemsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
102
|
+
id: z.ZodString;
|
|
103
|
+
at: z.ZodNumber;
|
|
104
|
+
duration: z.ZodNumber;
|
|
105
|
+
preset: z.ZodLiteral<"broll-headline">;
|
|
106
|
+
text: z.ZodString;
|
|
107
|
+
assetId: z.ZodString;
|
|
108
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
109
|
+
id: z.ZodString;
|
|
110
|
+
at: z.ZodNumber;
|
|
111
|
+
duration: z.ZodNumber;
|
|
112
|
+
preset: z.ZodLiteral<"steps">;
|
|
113
|
+
text: z.ZodString;
|
|
114
|
+
steps: z.ZodArray<z.ZodString>;
|
|
115
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
116
|
+
id: z.ZodString;
|
|
117
|
+
at: z.ZodNumber;
|
|
118
|
+
duration: z.ZodNumber;
|
|
119
|
+
preset: z.ZodLiteral<"quote">;
|
|
120
|
+
text: z.ZodString;
|
|
121
|
+
attribution: z.ZodString;
|
|
122
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
123
|
+
id: z.ZodString;
|
|
124
|
+
at: z.ZodNumber;
|
|
125
|
+
duration: z.ZodNumber;
|
|
126
|
+
preset: z.ZodLiteral<"end-screen">;
|
|
127
|
+
text: z.ZodString;
|
|
128
|
+
cta: z.ZodString;
|
|
129
|
+
logoAssetId: z.ZodNullable<z.ZodString>;
|
|
130
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
131
|
+
id: z.ZodString;
|
|
132
|
+
at: z.ZodNumber;
|
|
133
|
+
duration: z.ZodNumber;
|
|
134
|
+
preset: z.ZodLiteral<"key-number">;
|
|
135
|
+
text: z.ZodString;
|
|
136
|
+
value: z.ZodNumber;
|
|
137
|
+
suffix: z.ZodString;
|
|
138
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
139
|
+
id: z.ZodString;
|
|
140
|
+
at: z.ZodNumber;
|
|
141
|
+
duration: z.ZodNumber;
|
|
142
|
+
preset: z.ZodLiteral<"before-after">;
|
|
143
|
+
text: z.ZodString;
|
|
144
|
+
beforeAssetId: z.ZodString;
|
|
145
|
+
afterAssetId: z.ZodString;
|
|
146
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
147
|
+
id: z.ZodString;
|
|
148
|
+
at: z.ZodNumber;
|
|
149
|
+
duration: z.ZodNumber;
|
|
150
|
+
preset: z.ZodLiteral<"screenshot-focus">;
|
|
151
|
+
text: z.ZodString;
|
|
152
|
+
assetId: z.ZodString;
|
|
153
|
+
focus: z.ZodObject<{
|
|
154
|
+
x: z.ZodNumber;
|
|
155
|
+
y: z.ZodNumber;
|
|
156
|
+
width: z.ZodNumber;
|
|
157
|
+
height: z.ZodNumber;
|
|
158
|
+
}, z.core.$strict>;
|
|
159
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
160
|
+
id: z.ZodString;
|
|
161
|
+
at: z.ZodNumber;
|
|
162
|
+
duration: z.ZodNumber;
|
|
163
|
+
preset: z.ZodLiteral<"chapter">;
|
|
164
|
+
text: z.ZodString;
|
|
165
|
+
number: z.ZodString;
|
|
166
|
+
}, z.core.$strict>], "preset">>;
|
|
167
|
+
export declare const visualsApplySchema: z.ZodObject<{
|
|
168
|
+
projectId: z.ZodString;
|
|
169
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
170
|
+
id: z.ZodString;
|
|
171
|
+
at: z.ZodNumber;
|
|
172
|
+
duration: z.ZodNumber;
|
|
173
|
+
preset: z.ZodLiteral<"broll-headline">;
|
|
174
|
+
text: z.ZodString;
|
|
175
|
+
assetId: z.ZodString;
|
|
176
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
177
|
+
id: z.ZodString;
|
|
178
|
+
at: z.ZodNumber;
|
|
179
|
+
duration: z.ZodNumber;
|
|
180
|
+
preset: z.ZodLiteral<"steps">;
|
|
181
|
+
text: z.ZodString;
|
|
182
|
+
steps: z.ZodArray<z.ZodString>;
|
|
183
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
184
|
+
id: z.ZodString;
|
|
185
|
+
at: z.ZodNumber;
|
|
186
|
+
duration: z.ZodNumber;
|
|
187
|
+
preset: z.ZodLiteral<"quote">;
|
|
188
|
+
text: z.ZodString;
|
|
189
|
+
attribution: z.ZodString;
|
|
190
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
191
|
+
id: z.ZodString;
|
|
192
|
+
at: z.ZodNumber;
|
|
193
|
+
duration: z.ZodNumber;
|
|
194
|
+
preset: z.ZodLiteral<"end-screen">;
|
|
195
|
+
text: z.ZodString;
|
|
196
|
+
cta: z.ZodString;
|
|
197
|
+
logoAssetId: z.ZodNullable<z.ZodString>;
|
|
198
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
199
|
+
id: z.ZodString;
|
|
200
|
+
at: z.ZodNumber;
|
|
201
|
+
duration: z.ZodNumber;
|
|
202
|
+
preset: z.ZodLiteral<"key-number">;
|
|
203
|
+
text: z.ZodString;
|
|
204
|
+
value: z.ZodNumber;
|
|
205
|
+
suffix: z.ZodString;
|
|
206
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
207
|
+
id: z.ZodString;
|
|
208
|
+
at: z.ZodNumber;
|
|
209
|
+
duration: z.ZodNumber;
|
|
210
|
+
preset: z.ZodLiteral<"before-after">;
|
|
211
|
+
text: z.ZodString;
|
|
212
|
+
beforeAssetId: z.ZodString;
|
|
213
|
+
afterAssetId: z.ZodString;
|
|
214
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
215
|
+
id: z.ZodString;
|
|
216
|
+
at: z.ZodNumber;
|
|
217
|
+
duration: z.ZodNumber;
|
|
218
|
+
preset: z.ZodLiteral<"screenshot-focus">;
|
|
219
|
+
text: z.ZodString;
|
|
220
|
+
assetId: z.ZodString;
|
|
221
|
+
focus: z.ZodObject<{
|
|
222
|
+
x: z.ZodNumber;
|
|
223
|
+
y: z.ZodNumber;
|
|
224
|
+
width: z.ZodNumber;
|
|
225
|
+
height: z.ZodNumber;
|
|
226
|
+
}, z.core.$strict>;
|
|
227
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
228
|
+
id: z.ZodString;
|
|
229
|
+
at: z.ZodNumber;
|
|
230
|
+
duration: z.ZodNumber;
|
|
231
|
+
preset: z.ZodLiteral<"chapter">;
|
|
232
|
+
text: z.ZodString;
|
|
233
|
+
number: z.ZodString;
|
|
234
|
+
}, z.core.$strict>], "preset">>;
|
|
235
|
+
expectedRevision: z.ZodNullable<z.ZodNumber>;
|
|
236
|
+
dryRun: z.ZodBoolean;
|
|
237
|
+
}, z.core.$strict>;
|
|
238
|
+
export declare const visualInstanceSchema: z.ZodObject<{
|
|
239
|
+
id: z.ZodString;
|
|
240
|
+
timelineItemId: z.ZodString;
|
|
241
|
+
contentItemId: z.ZodString;
|
|
242
|
+
compositionId: z.ZodString;
|
|
243
|
+
status: z.ZodEnum<{
|
|
244
|
+
created: "created";
|
|
245
|
+
updated: "updated";
|
|
246
|
+
}>;
|
|
247
|
+
}, z.core.$strip>;
|
|
248
|
+
export declare const visualsApplyResultSchema: z.ZodObject<{
|
|
249
|
+
success: z.ZodLiteral<true>;
|
|
250
|
+
dryRun: z.ZodBoolean;
|
|
251
|
+
revision: z.ZodNumber;
|
|
252
|
+
mutationReceiptId: z.ZodNullable<z.ZodString>;
|
|
253
|
+
replayed: z.ZodBoolean;
|
|
254
|
+
items: z.ZodArray<z.ZodObject<{
|
|
255
|
+
id: z.ZodString;
|
|
256
|
+
timelineItemId: z.ZodString;
|
|
257
|
+
contentItemId: z.ZodString;
|
|
258
|
+
compositionId: z.ZodString;
|
|
259
|
+
status: z.ZodEnum<{
|
|
260
|
+
created: "created";
|
|
261
|
+
updated: "updated";
|
|
262
|
+
}>;
|
|
263
|
+
}, z.core.$strip>>;
|
|
264
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
265
|
+
}, z.core.$strip>;
|
|
266
|
+
export type VisualItem = z.infer<typeof visualItemSchema>;
|
|
267
|
+
export type VisualsApplyInput = z.infer<typeof visualsApplySchema>;
|
|
268
|
+
export type VisualInstance = z.infer<typeof visualInstanceSchema>;
|
|
269
|
+
export type VisualsApplyResult = z.infer<typeof visualsApplyResultSchema>;
|
|
270
|
+
export type SavedVisual = {
|
|
271
|
+
version: 1;
|
|
272
|
+
input: VisualItem;
|
|
273
|
+
};
|
|
274
|
+
export declare function getVisualAssetIds(item: VisualItem): string[];
|
|
275
|
+
export declare const visualsToolInputSchema: z.ZodObject<{
|
|
276
|
+
projectId: z.ZodString;
|
|
277
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
278
|
+
id: z.ZodString;
|
|
279
|
+
at: z.ZodNumber;
|
|
280
|
+
duration: z.ZodNumber;
|
|
281
|
+
preset: z.ZodLiteral<"broll-headline">;
|
|
282
|
+
text: z.ZodString;
|
|
283
|
+
assetId: z.ZodString;
|
|
284
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
285
|
+
id: z.ZodString;
|
|
286
|
+
at: z.ZodNumber;
|
|
287
|
+
duration: z.ZodNumber;
|
|
288
|
+
preset: z.ZodLiteral<"steps">;
|
|
289
|
+
text: z.ZodString;
|
|
290
|
+
steps: z.ZodArray<z.ZodString>;
|
|
291
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
292
|
+
id: z.ZodString;
|
|
293
|
+
at: z.ZodNumber;
|
|
294
|
+
duration: z.ZodNumber;
|
|
295
|
+
preset: z.ZodLiteral<"quote">;
|
|
296
|
+
text: z.ZodString;
|
|
297
|
+
attribution: z.ZodString;
|
|
298
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
299
|
+
id: z.ZodString;
|
|
300
|
+
at: z.ZodNumber;
|
|
301
|
+
duration: z.ZodNumber;
|
|
302
|
+
preset: z.ZodLiteral<"end-screen">;
|
|
303
|
+
text: z.ZodString;
|
|
304
|
+
cta: z.ZodString;
|
|
305
|
+
logoAssetId: z.ZodNullable<z.ZodString>;
|
|
306
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
307
|
+
id: z.ZodString;
|
|
308
|
+
at: z.ZodNumber;
|
|
309
|
+
duration: z.ZodNumber;
|
|
310
|
+
preset: z.ZodLiteral<"key-number">;
|
|
311
|
+
text: z.ZodString;
|
|
312
|
+
value: z.ZodNumber;
|
|
313
|
+
suffix: z.ZodString;
|
|
314
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
315
|
+
id: z.ZodString;
|
|
316
|
+
at: z.ZodNumber;
|
|
317
|
+
duration: z.ZodNumber;
|
|
318
|
+
preset: z.ZodLiteral<"before-after">;
|
|
319
|
+
text: z.ZodString;
|
|
320
|
+
beforeAssetId: z.ZodString;
|
|
321
|
+
afterAssetId: z.ZodString;
|
|
322
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
323
|
+
id: z.ZodString;
|
|
324
|
+
at: z.ZodNumber;
|
|
325
|
+
duration: z.ZodNumber;
|
|
326
|
+
preset: z.ZodLiteral<"screenshot-focus">;
|
|
327
|
+
text: z.ZodString;
|
|
328
|
+
assetId: z.ZodString;
|
|
329
|
+
focus: z.ZodObject<{
|
|
330
|
+
x: z.ZodNumber;
|
|
331
|
+
y: z.ZodNumber;
|
|
332
|
+
width: z.ZodNumber;
|
|
333
|
+
height: z.ZodNumber;
|
|
334
|
+
}, z.core.$strict>;
|
|
335
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
336
|
+
id: z.ZodString;
|
|
337
|
+
at: z.ZodNumber;
|
|
338
|
+
duration: z.ZodNumber;
|
|
339
|
+
preset: z.ZodLiteral<"chapter">;
|
|
340
|
+
text: z.ZodString;
|
|
341
|
+
number: z.ZodString;
|
|
342
|
+
}, z.core.$strict>], "preset">>;
|
|
343
|
+
expectedRevision: z.ZodNullable<z.ZodNumber>;
|
|
344
|
+
dryRun: z.ZodBoolean;
|
|
345
|
+
idempotencyKey: z.ZodString;
|
|
346
|
+
}, z.core.$strict>;
|
|
347
|
+
export declare const visualsToolDescriptorSchema: z.ZodObject<{
|
|
348
|
+
projectId: z.ZodString;
|
|
349
|
+
expectedRevision: z.ZodNullable<z.ZodNumber>;
|
|
350
|
+
dryRun: z.ZodBoolean;
|
|
351
|
+
idempotencyKey: z.ZodString;
|
|
352
|
+
items: z.ZodArray<z.ZodObject<{
|
|
353
|
+
id: z.ZodString;
|
|
354
|
+
at: z.ZodNumber;
|
|
355
|
+
duration: z.ZodNumber;
|
|
356
|
+
preset: z.ZodEnum<{
|
|
357
|
+
"before-after": "before-after";
|
|
358
|
+
"broll-headline": "broll-headline";
|
|
359
|
+
chapter: "chapter";
|
|
360
|
+
"end-screen": "end-screen";
|
|
361
|
+
"key-number": "key-number";
|
|
362
|
+
quote: "quote";
|
|
363
|
+
"screenshot-focus": "screenshot-focus";
|
|
364
|
+
steps: "steps";
|
|
365
|
+
}>;
|
|
366
|
+
text: z.ZodString;
|
|
367
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
368
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
369
|
+
attribution: z.ZodOptional<z.ZodString>;
|
|
370
|
+
cta: z.ZodOptional<z.ZodString>;
|
|
371
|
+
logoAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
372
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
373
|
+
suffix: z.ZodOptional<z.ZodString>;
|
|
374
|
+
beforeAssetId: z.ZodOptional<z.ZodString>;
|
|
375
|
+
afterAssetId: z.ZodOptional<z.ZodString>;
|
|
376
|
+
focus: z.ZodOptional<z.ZodObject<{
|
|
377
|
+
x: z.ZodNumber;
|
|
378
|
+
y: z.ZodNumber;
|
|
379
|
+
width: z.ZodNumber;
|
|
380
|
+
height: z.ZodNumber;
|
|
381
|
+
}, z.core.$strip>>;
|
|
382
|
+
number: z.ZodOptional<z.ZodString>;
|
|
383
|
+
}, z.core.$strict>>;
|
|
384
|
+
}, z.core.$strict>;
|
|
385
|
+
//# sourceMappingURL=visuals-contract.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"visuals-contract.d.ts","sourceRoot":"","sources":["../src/visuals-contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc;aACvB,EAAE,EAAE,gBAAgB;aAAE,MAAM,EAAE,IAAI;aAAE,IAAI,EAAE,iBAAiB;;aAC3D,EAAE,EAAE,OAAO;aAAE,MAAM,EAAE,IAAI;aAAE,IAAI,EAAE,OAAO;;aACxC,EAAE,EAAE,OAAO;aAAE,MAAM,EAAE,IAAI;aAAE,IAAI,EAAE,OAAO;;aACxC,EAAE,EAAE,YAAY;aAAE,MAAM,EAAE,IAAI;aAAE,IAAI,EAAE,YAAY;;aAClD,EAAE,EAAE,YAAY;aAAE,MAAM,EAAE,IAAI;aAAE,IAAI,EAAE,YAAY;;aAClD,EAAE,EAAE,cAAc;aAAE,MAAM,EAAE,IAAI;aAAE,IAAI,EAAE,gBAAgB;;aACxD,EAAE,EAAE,kBAAkB;aAAE,MAAM,EAAE,IAAI;aAAE,IAAI,EAAE,kBAAkB;;aAC9D,EAAE,EAAE,SAAS;aAAE,MAAM,EAAE,IAAI;aAAE,IAAI,EAAE,iBAAiB;EAC9C,CAAC;AAUX,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAgF3B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BAO3B,CAAC;AAEJ,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAOpB,CAAC;AAEZ,eAAO,MAAM,oBAAoB;;;;;;;;;iBAM/B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;iBAQnC,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AACnE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,WAAW,GAAG;IAAE,OAAO,EAAE,CAAC,CAAC;IAAC,KAAK,EAAE,UAAU,CAAA;CAAE,CAAC;AAE5D,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM,EAAE,CAY5D;AAED,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAMjC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA+EtC,CAAC"}
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export const VISUAL_PRESETS = [
|
|
3
|
+
{ id: "broll-headline", number: "03", name: "B-roll headline" },
|
|
4
|
+
{ id: "steps", number: "04", name: "Steps" },
|
|
5
|
+
{ id: "quote", number: "05", name: "Quote" },
|
|
6
|
+
{ id: "end-screen", number: "06", name: "End screen" },
|
|
7
|
+
{ id: "key-number", number: "07", name: "Key number" },
|
|
8
|
+
{ id: "before-after", number: "08", name: "Before / after" },
|
|
9
|
+
{ id: "screenshot-focus", number: "09", name: "Screenshot focus" },
|
|
10
|
+
{ id: "chapter", number: "10", name: "Chapter divider" },
|
|
11
|
+
];
|
|
12
|
+
const heading = z.string().trim().min(1).max(120);
|
|
13
|
+
const assetId = z.string().uuid();
|
|
14
|
+
const base = {
|
|
15
|
+
id: z.string().regex(/^[a-zA-Z0-9_-]{1,80}$/),
|
|
16
|
+
at: z.number().finite().min(0).max(86400),
|
|
17
|
+
duration: z.number().finite().min(1).max(30),
|
|
18
|
+
};
|
|
19
|
+
export const visualItemSchema = z.discriminatedUnion("preset", [
|
|
20
|
+
z
|
|
21
|
+
.object({
|
|
22
|
+
...base,
|
|
23
|
+
preset: z.literal("broll-headline"),
|
|
24
|
+
text: heading,
|
|
25
|
+
assetId,
|
|
26
|
+
})
|
|
27
|
+
.strict(),
|
|
28
|
+
z
|
|
29
|
+
.object({
|
|
30
|
+
...base,
|
|
31
|
+
preset: z.literal("steps"),
|
|
32
|
+
text: heading,
|
|
33
|
+
steps: z.array(z.string().trim().min(1).max(48)).min(2).max(5),
|
|
34
|
+
})
|
|
35
|
+
.strict(),
|
|
36
|
+
z
|
|
37
|
+
.object({
|
|
38
|
+
...base,
|
|
39
|
+
preset: z.literal("quote"),
|
|
40
|
+
text: z.string().trim().min(1).max(220),
|
|
41
|
+
attribution: z.string().trim().min(1).max(60),
|
|
42
|
+
})
|
|
43
|
+
.strict(),
|
|
44
|
+
z
|
|
45
|
+
.object({
|
|
46
|
+
...base,
|
|
47
|
+
preset: z.literal("end-screen"),
|
|
48
|
+
text: heading,
|
|
49
|
+
cta: z.string().trim().min(1).max(40),
|
|
50
|
+
logoAssetId: assetId.nullable(),
|
|
51
|
+
})
|
|
52
|
+
.strict(),
|
|
53
|
+
z
|
|
54
|
+
.object({
|
|
55
|
+
...base,
|
|
56
|
+
preset: z.literal("key-number"),
|
|
57
|
+
text: heading,
|
|
58
|
+
value: z.number().finite().min(-999999).max(999999),
|
|
59
|
+
suffix: z.string().max(8),
|
|
60
|
+
})
|
|
61
|
+
.strict(),
|
|
62
|
+
z
|
|
63
|
+
.object({
|
|
64
|
+
...base,
|
|
65
|
+
preset: z.literal("before-after"),
|
|
66
|
+
text: heading,
|
|
67
|
+
beforeAssetId: assetId,
|
|
68
|
+
afterAssetId: assetId,
|
|
69
|
+
})
|
|
70
|
+
.strict(),
|
|
71
|
+
z
|
|
72
|
+
.object({
|
|
73
|
+
...base,
|
|
74
|
+
preset: z.literal("screenshot-focus"),
|
|
75
|
+
text: heading,
|
|
76
|
+
assetId,
|
|
77
|
+
focus: z
|
|
78
|
+
.object({
|
|
79
|
+
x: z.number().min(0).max(1),
|
|
80
|
+
y: z.number().min(0).max(1),
|
|
81
|
+
width: z.number().positive().max(1),
|
|
82
|
+
height: z.number().positive().max(1),
|
|
83
|
+
})
|
|
84
|
+
.strict()
|
|
85
|
+
.refine((box) => box.x + box.width <= 1 && box.y + box.height <= 1, "Focus must fit inside the image"),
|
|
86
|
+
})
|
|
87
|
+
.strict(),
|
|
88
|
+
z
|
|
89
|
+
.object({
|
|
90
|
+
...base,
|
|
91
|
+
preset: z.literal("chapter"),
|
|
92
|
+
text: heading,
|
|
93
|
+
number: z.string().trim().min(1).max(4),
|
|
94
|
+
})
|
|
95
|
+
.strict(),
|
|
96
|
+
]);
|
|
97
|
+
export const visualItemsSchema = z
|
|
98
|
+
.array(visualItemSchema)
|
|
99
|
+
.min(1)
|
|
100
|
+
.max(20)
|
|
101
|
+
.refine((items) => new Set(items.map((item) => item.id)).size === items.length, "Visual IDs must be unique within a batch");
|
|
102
|
+
export const visualsApplySchema = z
|
|
103
|
+
.object({
|
|
104
|
+
projectId: z.string().uuid(),
|
|
105
|
+
items: visualItemsSchema,
|
|
106
|
+
expectedRevision: z.number().int().nonnegative().nullable(),
|
|
107
|
+
dryRun: z.boolean(),
|
|
108
|
+
})
|
|
109
|
+
.strict();
|
|
110
|
+
export const visualInstanceSchema = z.object({
|
|
111
|
+
id: z.string(),
|
|
112
|
+
timelineItemId: z.string().uuid(),
|
|
113
|
+
contentItemId: z.string().uuid(),
|
|
114
|
+
compositionId: z.string().uuid(),
|
|
115
|
+
status: z.enum(["created", "updated"]),
|
|
116
|
+
});
|
|
117
|
+
export const visualsApplyResultSchema = z.object({
|
|
118
|
+
success: z.literal(true),
|
|
119
|
+
dryRun: z.boolean(),
|
|
120
|
+
revision: z.number().int().nonnegative(),
|
|
121
|
+
mutationReceiptId: z.string().nullable(),
|
|
122
|
+
replayed: z.boolean(),
|
|
123
|
+
items: z.array(visualInstanceSchema),
|
|
124
|
+
warnings: z.array(z.string()),
|
|
125
|
+
});
|
|
126
|
+
export function getVisualAssetIds(item) {
|
|
127
|
+
switch (item.preset) {
|
|
128
|
+
case "broll-headline":
|
|
129
|
+
case "screenshot-focus":
|
|
130
|
+
return [item.assetId];
|
|
131
|
+
case "before-after":
|
|
132
|
+
return [item.beforeAssetId, item.afterAssetId];
|
|
133
|
+
case "end-screen":
|
|
134
|
+
return item.logoAssetId === null ? [] : [item.logoAssetId];
|
|
135
|
+
default:
|
|
136
|
+
return [];
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
export const visualsToolInputSchema = visualsApplySchema.extend({
|
|
140
|
+
idempotencyKey: z
|
|
141
|
+
.string()
|
|
142
|
+
.min(8)
|
|
143
|
+
.max(200)
|
|
144
|
+
.regex(/^[A-Za-z0-9._:-]+$/),
|
|
145
|
+
});
|
|
146
|
+
export const visualsToolDescriptorSchema = visualsToolInputSchema.extend({
|
|
147
|
+
items: z
|
|
148
|
+
.array(z
|
|
149
|
+
.object({
|
|
150
|
+
...base,
|
|
151
|
+
preset: z.enum(VISUAL_PRESETS.map((preset) => preset.id)),
|
|
152
|
+
text: z
|
|
153
|
+
.string()
|
|
154
|
+
.min(1)
|
|
155
|
+
.max(220)
|
|
156
|
+
.describe("Heading, or quote. Max 120 characters except quote: 220."),
|
|
157
|
+
assetId: assetId
|
|
158
|
+
.optional()
|
|
159
|
+
.describe("Required for broll-headline and screenshot-focus."),
|
|
160
|
+
steps: z
|
|
161
|
+
.array(z.string().min(1).max(48))
|
|
162
|
+
.min(2)
|
|
163
|
+
.max(5)
|
|
164
|
+
.optional()
|
|
165
|
+
.describe("Required for steps."),
|
|
166
|
+
attribution: z
|
|
167
|
+
.string()
|
|
168
|
+
.min(1)
|
|
169
|
+
.max(60)
|
|
170
|
+
.optional()
|
|
171
|
+
.describe("Required for quote."),
|
|
172
|
+
cta: z
|
|
173
|
+
.string()
|
|
174
|
+
.min(1)
|
|
175
|
+
.max(40)
|
|
176
|
+
.optional()
|
|
177
|
+
.describe("Required for end-screen."),
|
|
178
|
+
logoAssetId: assetId
|
|
179
|
+
.nullable()
|
|
180
|
+
.optional()
|
|
181
|
+
.describe("Required for end-screen; null for no logo."),
|
|
182
|
+
value: z
|
|
183
|
+
.number()
|
|
184
|
+
.min(-999999)
|
|
185
|
+
.max(999999)
|
|
186
|
+
.optional()
|
|
187
|
+
.describe("Required for key-number."),
|
|
188
|
+
suffix: z
|
|
189
|
+
.string()
|
|
190
|
+
.max(8)
|
|
191
|
+
.optional()
|
|
192
|
+
.describe("Required for key-number; empty string allowed."),
|
|
193
|
+
beforeAssetId: assetId
|
|
194
|
+
.optional()
|
|
195
|
+
.describe("Required for before-after."),
|
|
196
|
+
afterAssetId: assetId
|
|
197
|
+
.optional()
|
|
198
|
+
.describe("Required for before-after."),
|
|
199
|
+
focus: z
|
|
200
|
+
.object({
|
|
201
|
+
x: z.number().min(0).max(1),
|
|
202
|
+
y: z.number().min(0).max(1),
|
|
203
|
+
width: z.number().positive().max(1),
|
|
204
|
+
height: z.number().positive().max(1),
|
|
205
|
+
})
|
|
206
|
+
.optional()
|
|
207
|
+
.describe("Required for screenshot-focus. Normalized rectangle inside the source image."),
|
|
208
|
+
number: z
|
|
209
|
+
.string()
|
|
210
|
+
.min(1)
|
|
211
|
+
.max(4)
|
|
212
|
+
.optional()
|
|
213
|
+
.describe("Required for chapter."),
|
|
214
|
+
})
|
|
215
|
+
.strict())
|
|
216
|
+
.min(1)
|
|
217
|
+
.max(20)
|
|
218
|
+
.describe("Supply only the fields for the selected preset."),
|
|
219
|
+
});
|
|
220
|
+
//# sourceMappingURL=visuals-contract.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"visuals-contract.js","sourceRoot":"","sources":["../src/visuals-contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,EAAE,EAAE,EAAE,gBAAgB,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,iBAAiB,EAAE;IAC/D,EAAE,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE;IAC5C,EAAE,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE;IAC5C,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE;IACtD,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE;IACtD,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,gBAAgB,EAAE;IAC5D,EAAE,EAAE,EAAE,kBAAkB,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,kBAAkB,EAAE;IAClE,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,iBAAiB,EAAE;CAChD,CAAC;AAEX,MAAM,OAAO,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAClD,MAAM,OAAO,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