@magiclabs.ai/magicbook-client 0.4.7-dev → 0.4.8
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/models/galleon.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const imageAssignmentSchema: z.ZodObject<{
|
|
3
|
-
photoRefId: z.
|
|
3
|
+
photoRefId: z.ZodString;
|
|
4
4
|
finalCrop: z.ZodArray<z.ZodNumber, "many">;
|
|
5
5
|
}, "strip", z.ZodTypeAny, {
|
|
6
|
-
photoRefId:
|
|
6
|
+
photoRefId: string;
|
|
7
7
|
finalCrop: number[];
|
|
8
8
|
}, {
|
|
9
|
-
photoRefId:
|
|
9
|
+
photoRefId: string;
|
|
10
10
|
finalCrop: number[];
|
|
11
11
|
}>;
|
|
12
12
|
export type ImageAssignment = z.infer<typeof imageAssignmentSchema>;
|
|
@@ -36,7 +36,7 @@ export declare const photoMetadataSchema: z.ZodObject<{
|
|
|
36
36
|
lly: z.ZodNumber;
|
|
37
37
|
urx: z.ZodNumber;
|
|
38
38
|
ury: z.ZodNumber;
|
|
39
|
-
data: z.ZodString
|
|
39
|
+
data: z.ZodNullable<z.ZodString>;
|
|
40
40
|
title: z.ZodString;
|
|
41
41
|
width: z.ZodNumber;
|
|
42
42
|
effect: z.ZodString;
|
|
@@ -45,7 +45,7 @@ export declare const photoMetadataSchema: z.ZodObject<{
|
|
|
45
45
|
rotation: z.ZodNumber;
|
|
46
46
|
uploadTime: z.ZodString;
|
|
47
47
|
}, "strip", z.ZodTypeAny, {
|
|
48
|
-
data: string;
|
|
48
|
+
data: string | null;
|
|
49
49
|
id: string;
|
|
50
50
|
title: string;
|
|
51
51
|
width: number;
|
|
@@ -59,7 +59,7 @@ export declare const photoMetadataSchema: z.ZodObject<{
|
|
|
59
59
|
source: string;
|
|
60
60
|
uploadTime: string;
|
|
61
61
|
}, {
|
|
62
|
-
data: string;
|
|
62
|
+
data: string | null;
|
|
63
63
|
id: string;
|
|
64
64
|
title: string;
|
|
65
65
|
width: number;
|
|
@@ -88,13 +88,13 @@ export type Property = z.infer<typeof propertySchema>;
|
|
|
88
88
|
export declare const assetSchema: z.ZodObject<{
|
|
89
89
|
type: z.ZodString;
|
|
90
90
|
imageAssignment: z.ZodOptional<z.ZodObject<{
|
|
91
|
-
photoRefId: z.
|
|
91
|
+
photoRefId: z.ZodString;
|
|
92
92
|
finalCrop: z.ZodArray<z.ZodNumber, "many">;
|
|
93
93
|
}, "strip", z.ZodTypeAny, {
|
|
94
|
-
photoRefId:
|
|
94
|
+
photoRefId: string;
|
|
95
95
|
finalCrop: number[];
|
|
96
96
|
}, {
|
|
97
|
-
photoRefId:
|
|
97
|
+
photoRefId: string;
|
|
98
98
|
finalCrop: number[];
|
|
99
99
|
}>>;
|
|
100
100
|
position: z.ZodObject<{
|
|
@@ -120,7 +120,7 @@ export declare const assetSchema: z.ZodObject<{
|
|
|
120
120
|
z: z.ZodNumber;
|
|
121
121
|
id: z.ZodOptional<z.ZodString>;
|
|
122
122
|
horizJustification: z.ZodOptional<z.ZodString>;
|
|
123
|
-
vertJustification: z.ZodOptional<z.ZodString
|
|
123
|
+
vertJustification: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
124
124
|
text: z.ZodOptional<z.ZodString>;
|
|
125
125
|
fontId: z.ZodOptional<z.ZodString>;
|
|
126
126
|
fontSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -138,12 +138,12 @@ export declare const assetSchema: z.ZodObject<{
|
|
|
138
138
|
seqNum: number;
|
|
139
139
|
z: number;
|
|
140
140
|
imageAssignment?: {
|
|
141
|
-
photoRefId:
|
|
141
|
+
photoRefId: string;
|
|
142
142
|
finalCrop: number[];
|
|
143
143
|
} | undefined;
|
|
144
144
|
id?: string | undefined;
|
|
145
145
|
horizJustification?: string | undefined;
|
|
146
|
-
vertJustification?: string | undefined;
|
|
146
|
+
vertJustification?: string | null | undefined;
|
|
147
147
|
text?: string | undefined;
|
|
148
148
|
fontId?: string | undefined;
|
|
149
149
|
fontSize?: number | undefined;
|
|
@@ -161,12 +161,12 @@ export declare const assetSchema: z.ZodObject<{
|
|
|
161
161
|
seqNum: number;
|
|
162
162
|
z: number;
|
|
163
163
|
imageAssignment?: {
|
|
164
|
-
photoRefId:
|
|
164
|
+
photoRefId: string;
|
|
165
165
|
finalCrop: number[];
|
|
166
166
|
} | undefined;
|
|
167
167
|
id?: string | undefined;
|
|
168
168
|
horizJustification?: string | undefined;
|
|
169
|
-
vertJustification?: string | undefined;
|
|
169
|
+
vertJustification?: string | null | undefined;
|
|
170
170
|
text?: string | undefined;
|
|
171
171
|
fontId?: string | undefined;
|
|
172
172
|
fontSize?: number | undefined;
|
|
@@ -177,14 +177,15 @@ export type Asset = z.infer<typeof assetSchema>;
|
|
|
177
177
|
export declare const photoStripSchema: z.ZodObject<{
|
|
178
178
|
url: z.ZodString;
|
|
179
179
|
encryptId: z.ZodString;
|
|
180
|
-
photoRefId: z.
|
|
180
|
+
photoRefId: z.ZodString;
|
|
181
|
+
photoId: z.ZodString;
|
|
181
182
|
photoMetadata: z.ZodObject<{
|
|
182
183
|
id: z.ZodString;
|
|
183
184
|
llx: z.ZodNumber;
|
|
184
185
|
lly: z.ZodNumber;
|
|
185
186
|
urx: z.ZodNumber;
|
|
186
187
|
ury: z.ZodNumber;
|
|
187
|
-
data: z.ZodString
|
|
188
|
+
data: z.ZodNullable<z.ZodString>;
|
|
188
189
|
title: z.ZodString;
|
|
189
190
|
width: z.ZodNumber;
|
|
190
191
|
effect: z.ZodString;
|
|
@@ -193,7 +194,7 @@ export declare const photoStripSchema: z.ZodObject<{
|
|
|
193
194
|
rotation: z.ZodNumber;
|
|
194
195
|
uploadTime: z.ZodString;
|
|
195
196
|
}, "strip", z.ZodTypeAny, {
|
|
196
|
-
data: string;
|
|
197
|
+
data: string | null;
|
|
197
198
|
id: string;
|
|
198
199
|
title: string;
|
|
199
200
|
width: number;
|
|
@@ -207,7 +208,7 @@ export declare const photoStripSchema: z.ZodObject<{
|
|
|
207
208
|
source: string;
|
|
208
209
|
uploadTime: string;
|
|
209
210
|
}, {
|
|
210
|
-
data: string;
|
|
211
|
+
data: string | null;
|
|
211
212
|
id: string;
|
|
212
213
|
title: string;
|
|
213
214
|
width: number;
|
|
@@ -223,10 +224,11 @@ export declare const photoStripSchema: z.ZodObject<{
|
|
|
223
224
|
}>;
|
|
224
225
|
}, "strip", z.ZodTypeAny, {
|
|
225
226
|
url: string;
|
|
226
|
-
photoRefId:
|
|
227
|
+
photoRefId: string;
|
|
227
228
|
encryptId: string;
|
|
229
|
+
photoId: string;
|
|
228
230
|
photoMetadata: {
|
|
229
|
-
data: string;
|
|
231
|
+
data: string | null;
|
|
230
232
|
id: string;
|
|
231
233
|
title: string;
|
|
232
234
|
width: number;
|
|
@@ -242,10 +244,11 @@ export declare const photoStripSchema: z.ZodObject<{
|
|
|
242
244
|
};
|
|
243
245
|
}, {
|
|
244
246
|
url: string;
|
|
245
|
-
photoRefId:
|
|
247
|
+
photoRefId: string;
|
|
246
248
|
encryptId: string;
|
|
249
|
+
photoId: string;
|
|
247
250
|
photoMetadata: {
|
|
248
|
-
data: string;
|
|
251
|
+
data: string | null;
|
|
249
252
|
id: string;
|
|
250
253
|
title: string;
|
|
251
254
|
width: number;
|
|
@@ -285,17 +288,17 @@ export declare const reportingDataSchema: z.ZodObject<{
|
|
|
285
288
|
}>;
|
|
286
289
|
export type ReportingData = z.infer<typeof reportingDataSchema>;
|
|
287
290
|
export declare const canvasSchema: z.ZodObject<{
|
|
288
|
-
backgroundId: z.
|
|
291
|
+
backgroundId: z.ZodNullable<z.ZodString>;
|
|
289
292
|
assets: z.ZodArray<z.ZodObject<{
|
|
290
293
|
type: z.ZodString;
|
|
291
294
|
imageAssignment: z.ZodOptional<z.ZodObject<{
|
|
292
|
-
photoRefId: z.
|
|
295
|
+
photoRefId: z.ZodString;
|
|
293
296
|
finalCrop: z.ZodArray<z.ZodNumber, "many">;
|
|
294
297
|
}, "strip", z.ZodTypeAny, {
|
|
295
|
-
photoRefId:
|
|
298
|
+
photoRefId: string;
|
|
296
299
|
finalCrop: number[];
|
|
297
300
|
}, {
|
|
298
|
-
photoRefId:
|
|
301
|
+
photoRefId: string;
|
|
299
302
|
finalCrop: number[];
|
|
300
303
|
}>>;
|
|
301
304
|
position: z.ZodObject<{
|
|
@@ -321,7 +324,7 @@ export declare const canvasSchema: z.ZodObject<{
|
|
|
321
324
|
z: z.ZodNumber;
|
|
322
325
|
id: z.ZodOptional<z.ZodString>;
|
|
323
326
|
horizJustification: z.ZodOptional<z.ZodString>;
|
|
324
|
-
vertJustification: z.ZodOptional<z.ZodString
|
|
327
|
+
vertJustification: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
325
328
|
text: z.ZodOptional<z.ZodString>;
|
|
326
329
|
fontId: z.ZodOptional<z.ZodString>;
|
|
327
330
|
fontSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -339,12 +342,12 @@ export declare const canvasSchema: z.ZodObject<{
|
|
|
339
342
|
seqNum: number;
|
|
340
343
|
z: number;
|
|
341
344
|
imageAssignment?: {
|
|
342
|
-
photoRefId:
|
|
345
|
+
photoRefId: string;
|
|
343
346
|
finalCrop: number[];
|
|
344
347
|
} | undefined;
|
|
345
348
|
id?: string | undefined;
|
|
346
349
|
horizJustification?: string | undefined;
|
|
347
|
-
vertJustification?: string | undefined;
|
|
350
|
+
vertJustification?: string | null | undefined;
|
|
348
351
|
text?: string | undefined;
|
|
349
352
|
fontId?: string | undefined;
|
|
350
353
|
fontSize?: number | undefined;
|
|
@@ -362,12 +365,12 @@ export declare const canvasSchema: z.ZodObject<{
|
|
|
362
365
|
seqNum: number;
|
|
363
366
|
z: number;
|
|
364
367
|
imageAssignment?: {
|
|
365
|
-
photoRefId:
|
|
368
|
+
photoRefId: string;
|
|
366
369
|
finalCrop: number[];
|
|
367
370
|
} | undefined;
|
|
368
371
|
id?: string | undefined;
|
|
369
372
|
horizJustification?: string | undefined;
|
|
370
|
-
vertJustification?: string | undefined;
|
|
373
|
+
vertJustification?: string | null | undefined;
|
|
371
374
|
text?: string | undefined;
|
|
372
375
|
fontId?: string | undefined;
|
|
373
376
|
fontSize?: number | undefined;
|
|
@@ -375,6 +378,7 @@ export declare const canvasSchema: z.ZodObject<{
|
|
|
375
378
|
frame?: string | undefined;
|
|
376
379
|
}>, "many">;
|
|
377
380
|
}, "strip", z.ZodTypeAny, {
|
|
381
|
+
backgroundId: string | null;
|
|
378
382
|
assets: {
|
|
379
383
|
type: string;
|
|
380
384
|
position: {
|
|
@@ -387,20 +391,20 @@ export declare const canvasSchema: z.ZodObject<{
|
|
|
387
391
|
seqNum: number;
|
|
388
392
|
z: number;
|
|
389
393
|
imageAssignment?: {
|
|
390
|
-
photoRefId:
|
|
394
|
+
photoRefId: string;
|
|
391
395
|
finalCrop: number[];
|
|
392
396
|
} | undefined;
|
|
393
397
|
id?: string | undefined;
|
|
394
398
|
horizJustification?: string | undefined;
|
|
395
|
-
vertJustification?: string | undefined;
|
|
399
|
+
vertJustification?: string | null | undefined;
|
|
396
400
|
text?: string | undefined;
|
|
397
401
|
fontId?: string | undefined;
|
|
398
402
|
fontSize?: number | undefined;
|
|
399
403
|
fontColor?: string | undefined;
|
|
400
404
|
frame?: string | undefined;
|
|
401
405
|
}[];
|
|
402
|
-
backgroundId?: string | undefined;
|
|
403
406
|
}, {
|
|
407
|
+
backgroundId: string | null;
|
|
404
408
|
assets: {
|
|
405
409
|
type: string;
|
|
406
410
|
position: {
|
|
@@ -413,36 +417,35 @@ export declare const canvasSchema: z.ZodObject<{
|
|
|
413
417
|
seqNum: number;
|
|
414
418
|
z: number;
|
|
415
419
|
imageAssignment?: {
|
|
416
|
-
photoRefId:
|
|
420
|
+
photoRefId: string;
|
|
417
421
|
finalCrop: number[];
|
|
418
422
|
} | undefined;
|
|
419
423
|
id?: string | undefined;
|
|
420
424
|
horizJustification?: string | undefined;
|
|
421
|
-
vertJustification?: string | undefined;
|
|
425
|
+
vertJustification?: string | null | undefined;
|
|
422
426
|
text?: string | undefined;
|
|
423
427
|
fontId?: string | undefined;
|
|
424
428
|
fontSize?: number | undefined;
|
|
425
429
|
fontColor?: string | undefined;
|
|
426
430
|
frame?: string | undefined;
|
|
427
431
|
}[];
|
|
428
|
-
backgroundId?: string | undefined;
|
|
429
432
|
}>;
|
|
430
433
|
export type Canvas = z.infer<typeof canvasSchema>;
|
|
431
434
|
export declare const pageSchema: z.ZodObject<{
|
|
432
435
|
pageNum: z.ZodNumber;
|
|
433
436
|
type: z.ZodString;
|
|
434
437
|
canvas: z.ZodObject<{
|
|
435
|
-
backgroundId: z.
|
|
438
|
+
backgroundId: z.ZodNullable<z.ZodString>;
|
|
436
439
|
assets: z.ZodArray<z.ZodObject<{
|
|
437
440
|
type: z.ZodString;
|
|
438
441
|
imageAssignment: z.ZodOptional<z.ZodObject<{
|
|
439
|
-
photoRefId: z.
|
|
442
|
+
photoRefId: z.ZodString;
|
|
440
443
|
finalCrop: z.ZodArray<z.ZodNumber, "many">;
|
|
441
444
|
}, "strip", z.ZodTypeAny, {
|
|
442
|
-
photoRefId:
|
|
445
|
+
photoRefId: string;
|
|
443
446
|
finalCrop: number[];
|
|
444
447
|
}, {
|
|
445
|
-
photoRefId:
|
|
448
|
+
photoRefId: string;
|
|
446
449
|
finalCrop: number[];
|
|
447
450
|
}>>;
|
|
448
451
|
position: z.ZodObject<{
|
|
@@ -468,7 +471,7 @@ export declare const pageSchema: z.ZodObject<{
|
|
|
468
471
|
z: z.ZodNumber;
|
|
469
472
|
id: z.ZodOptional<z.ZodString>;
|
|
470
473
|
horizJustification: z.ZodOptional<z.ZodString>;
|
|
471
|
-
vertJustification: z.ZodOptional<z.ZodString
|
|
474
|
+
vertJustification: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
472
475
|
text: z.ZodOptional<z.ZodString>;
|
|
473
476
|
fontId: z.ZodOptional<z.ZodString>;
|
|
474
477
|
fontSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -486,12 +489,12 @@ export declare const pageSchema: z.ZodObject<{
|
|
|
486
489
|
seqNum: number;
|
|
487
490
|
z: number;
|
|
488
491
|
imageAssignment?: {
|
|
489
|
-
photoRefId:
|
|
492
|
+
photoRefId: string;
|
|
490
493
|
finalCrop: number[];
|
|
491
494
|
} | undefined;
|
|
492
495
|
id?: string | undefined;
|
|
493
496
|
horizJustification?: string | undefined;
|
|
494
|
-
vertJustification?: string | undefined;
|
|
497
|
+
vertJustification?: string | null | undefined;
|
|
495
498
|
text?: string | undefined;
|
|
496
499
|
fontId?: string | undefined;
|
|
497
500
|
fontSize?: number | undefined;
|
|
@@ -509,12 +512,12 @@ export declare const pageSchema: z.ZodObject<{
|
|
|
509
512
|
seqNum: number;
|
|
510
513
|
z: number;
|
|
511
514
|
imageAssignment?: {
|
|
512
|
-
photoRefId:
|
|
515
|
+
photoRefId: string;
|
|
513
516
|
finalCrop: number[];
|
|
514
517
|
} | undefined;
|
|
515
518
|
id?: string | undefined;
|
|
516
519
|
horizJustification?: string | undefined;
|
|
517
|
-
vertJustification?: string | undefined;
|
|
520
|
+
vertJustification?: string | null | undefined;
|
|
518
521
|
text?: string | undefined;
|
|
519
522
|
fontId?: string | undefined;
|
|
520
523
|
fontSize?: number | undefined;
|
|
@@ -522,6 +525,7 @@ export declare const pageSchema: z.ZodObject<{
|
|
|
522
525
|
frame?: string | undefined;
|
|
523
526
|
}>, "many">;
|
|
524
527
|
}, "strip", z.ZodTypeAny, {
|
|
528
|
+
backgroundId: string | null;
|
|
525
529
|
assets: {
|
|
526
530
|
type: string;
|
|
527
531
|
position: {
|
|
@@ -534,20 +538,20 @@ export declare const pageSchema: z.ZodObject<{
|
|
|
534
538
|
seqNum: number;
|
|
535
539
|
z: number;
|
|
536
540
|
imageAssignment?: {
|
|
537
|
-
photoRefId:
|
|
541
|
+
photoRefId: string;
|
|
538
542
|
finalCrop: number[];
|
|
539
543
|
} | undefined;
|
|
540
544
|
id?: string | undefined;
|
|
541
545
|
horizJustification?: string | undefined;
|
|
542
|
-
vertJustification?: string | undefined;
|
|
546
|
+
vertJustification?: string | null | undefined;
|
|
543
547
|
text?: string | undefined;
|
|
544
548
|
fontId?: string | undefined;
|
|
545
549
|
fontSize?: number | undefined;
|
|
546
550
|
fontColor?: string | undefined;
|
|
547
551
|
frame?: string | undefined;
|
|
548
552
|
}[];
|
|
549
|
-
backgroundId?: string | undefined;
|
|
550
553
|
}, {
|
|
554
|
+
backgroundId: string | null;
|
|
551
555
|
assets: {
|
|
552
556
|
type: string;
|
|
553
557
|
position: {
|
|
@@ -560,24 +564,24 @@ export declare const pageSchema: z.ZodObject<{
|
|
|
560
564
|
seqNum: number;
|
|
561
565
|
z: number;
|
|
562
566
|
imageAssignment?: {
|
|
563
|
-
photoRefId:
|
|
567
|
+
photoRefId: string;
|
|
564
568
|
finalCrop: number[];
|
|
565
569
|
} | undefined;
|
|
566
570
|
id?: string | undefined;
|
|
567
571
|
horizJustification?: string | undefined;
|
|
568
|
-
vertJustification?: string | undefined;
|
|
572
|
+
vertJustification?: string | null | undefined;
|
|
569
573
|
text?: string | undefined;
|
|
570
574
|
fontId?: string | undefined;
|
|
571
575
|
fontSize?: number | undefined;
|
|
572
576
|
fontColor?: string | undefined;
|
|
573
577
|
frame?: string | undefined;
|
|
574
578
|
}[];
|
|
575
|
-
backgroundId?: string | undefined;
|
|
576
579
|
}>;
|
|
577
580
|
}, "strip", z.ZodTypeAny, {
|
|
578
581
|
type: string;
|
|
579
582
|
pageNum: number;
|
|
580
583
|
canvas: {
|
|
584
|
+
backgroundId: string | null;
|
|
581
585
|
assets: {
|
|
582
586
|
type: string;
|
|
583
587
|
position: {
|
|
@@ -590,24 +594,24 @@ export declare const pageSchema: z.ZodObject<{
|
|
|
590
594
|
seqNum: number;
|
|
591
595
|
z: number;
|
|
592
596
|
imageAssignment?: {
|
|
593
|
-
photoRefId:
|
|
597
|
+
photoRefId: string;
|
|
594
598
|
finalCrop: number[];
|
|
595
599
|
} | undefined;
|
|
596
600
|
id?: string | undefined;
|
|
597
601
|
horizJustification?: string | undefined;
|
|
598
|
-
vertJustification?: string | undefined;
|
|
602
|
+
vertJustification?: string | null | undefined;
|
|
599
603
|
text?: string | undefined;
|
|
600
604
|
fontId?: string | undefined;
|
|
601
605
|
fontSize?: number | undefined;
|
|
602
606
|
fontColor?: string | undefined;
|
|
603
607
|
frame?: string | undefined;
|
|
604
608
|
}[];
|
|
605
|
-
backgroundId?: string | undefined;
|
|
606
609
|
};
|
|
607
610
|
}, {
|
|
608
611
|
type: string;
|
|
609
612
|
pageNum: number;
|
|
610
613
|
canvas: {
|
|
614
|
+
backgroundId: string | null;
|
|
611
615
|
assets: {
|
|
612
616
|
type: string;
|
|
613
617
|
position: {
|
|
@@ -620,19 +624,18 @@ export declare const pageSchema: z.ZodObject<{
|
|
|
620
624
|
seqNum: number;
|
|
621
625
|
z: number;
|
|
622
626
|
imageAssignment?: {
|
|
623
|
-
photoRefId:
|
|
627
|
+
photoRefId: string;
|
|
624
628
|
finalCrop: number[];
|
|
625
629
|
} | undefined;
|
|
626
630
|
id?: string | undefined;
|
|
627
631
|
horizJustification?: string | undefined;
|
|
628
|
-
vertJustification?: string | undefined;
|
|
632
|
+
vertJustification?: string | null | undefined;
|
|
629
633
|
text?: string | undefined;
|
|
630
634
|
fontId?: string | undefined;
|
|
631
635
|
fontSize?: number | undefined;
|
|
632
636
|
fontColor?: string | undefined;
|
|
633
637
|
frame?: string | undefined;
|
|
634
638
|
}[];
|
|
635
|
-
backgroundId?: string | undefined;
|
|
636
639
|
};
|
|
637
640
|
}>;
|
|
638
641
|
export type Page = z.infer<typeof pageSchema>;
|
|
@@ -641,17 +644,17 @@ export declare const magicShopBookSchema: z.ZodObject<{
|
|
|
641
644
|
pageNum: z.ZodNumber;
|
|
642
645
|
type: z.ZodString;
|
|
643
646
|
canvas: z.ZodObject<{
|
|
644
|
-
backgroundId: z.
|
|
647
|
+
backgroundId: z.ZodNullable<z.ZodString>;
|
|
645
648
|
assets: z.ZodArray<z.ZodObject<{
|
|
646
649
|
type: z.ZodString;
|
|
647
650
|
imageAssignment: z.ZodOptional<z.ZodObject<{
|
|
648
|
-
photoRefId: z.
|
|
651
|
+
photoRefId: z.ZodString;
|
|
649
652
|
finalCrop: z.ZodArray<z.ZodNumber, "many">;
|
|
650
653
|
}, "strip", z.ZodTypeAny, {
|
|
651
|
-
photoRefId:
|
|
654
|
+
photoRefId: string;
|
|
652
655
|
finalCrop: number[];
|
|
653
656
|
}, {
|
|
654
|
-
photoRefId:
|
|
657
|
+
photoRefId: string;
|
|
655
658
|
finalCrop: number[];
|
|
656
659
|
}>>;
|
|
657
660
|
position: z.ZodObject<{
|
|
@@ -677,7 +680,7 @@ export declare const magicShopBookSchema: z.ZodObject<{
|
|
|
677
680
|
z: z.ZodNumber;
|
|
678
681
|
id: z.ZodOptional<z.ZodString>;
|
|
679
682
|
horizJustification: z.ZodOptional<z.ZodString>;
|
|
680
|
-
vertJustification: z.ZodOptional<z.ZodString
|
|
683
|
+
vertJustification: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
681
684
|
text: z.ZodOptional<z.ZodString>;
|
|
682
685
|
fontId: z.ZodOptional<z.ZodString>;
|
|
683
686
|
fontSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -695,12 +698,12 @@ export declare const magicShopBookSchema: z.ZodObject<{
|
|
|
695
698
|
seqNum: number;
|
|
696
699
|
z: number;
|
|
697
700
|
imageAssignment?: {
|
|
698
|
-
photoRefId:
|
|
701
|
+
photoRefId: string;
|
|
699
702
|
finalCrop: number[];
|
|
700
703
|
} | undefined;
|
|
701
704
|
id?: string | undefined;
|
|
702
705
|
horizJustification?: string | undefined;
|
|
703
|
-
vertJustification?: string | undefined;
|
|
706
|
+
vertJustification?: string | null | undefined;
|
|
704
707
|
text?: string | undefined;
|
|
705
708
|
fontId?: string | undefined;
|
|
706
709
|
fontSize?: number | undefined;
|
|
@@ -718,12 +721,12 @@ export declare const magicShopBookSchema: z.ZodObject<{
|
|
|
718
721
|
seqNum: number;
|
|
719
722
|
z: number;
|
|
720
723
|
imageAssignment?: {
|
|
721
|
-
photoRefId:
|
|
724
|
+
photoRefId: string;
|
|
722
725
|
finalCrop: number[];
|
|
723
726
|
} | undefined;
|
|
724
727
|
id?: string | undefined;
|
|
725
728
|
horizJustification?: string | undefined;
|
|
726
|
-
vertJustification?: string | undefined;
|
|
729
|
+
vertJustification?: string | null | undefined;
|
|
727
730
|
text?: string | undefined;
|
|
728
731
|
fontId?: string | undefined;
|
|
729
732
|
fontSize?: number | undefined;
|
|
@@ -731,6 +734,7 @@ export declare const magicShopBookSchema: z.ZodObject<{
|
|
|
731
734
|
frame?: string | undefined;
|
|
732
735
|
}>, "many">;
|
|
733
736
|
}, "strip", z.ZodTypeAny, {
|
|
737
|
+
backgroundId: string | null;
|
|
734
738
|
assets: {
|
|
735
739
|
type: string;
|
|
736
740
|
position: {
|
|
@@ -743,20 +747,20 @@ export declare const magicShopBookSchema: z.ZodObject<{
|
|
|
743
747
|
seqNum: number;
|
|
744
748
|
z: number;
|
|
745
749
|
imageAssignment?: {
|
|
746
|
-
photoRefId:
|
|
750
|
+
photoRefId: string;
|
|
747
751
|
finalCrop: number[];
|
|
748
752
|
} | undefined;
|
|
749
753
|
id?: string | undefined;
|
|
750
754
|
horizJustification?: string | undefined;
|
|
751
|
-
vertJustification?: string | undefined;
|
|
755
|
+
vertJustification?: string | null | undefined;
|
|
752
756
|
text?: string | undefined;
|
|
753
757
|
fontId?: string | undefined;
|
|
754
758
|
fontSize?: number | undefined;
|
|
755
759
|
fontColor?: string | undefined;
|
|
756
760
|
frame?: string | undefined;
|
|
757
761
|
}[];
|
|
758
|
-
backgroundId?: string | undefined;
|
|
759
762
|
}, {
|
|
763
|
+
backgroundId: string | null;
|
|
760
764
|
assets: {
|
|
761
765
|
type: string;
|
|
762
766
|
position: {
|
|
@@ -769,24 +773,24 @@ export declare const magicShopBookSchema: z.ZodObject<{
|
|
|
769
773
|
seqNum: number;
|
|
770
774
|
z: number;
|
|
771
775
|
imageAssignment?: {
|
|
772
|
-
photoRefId:
|
|
776
|
+
photoRefId: string;
|
|
773
777
|
finalCrop: number[];
|
|
774
778
|
} | undefined;
|
|
775
779
|
id?: string | undefined;
|
|
776
780
|
horizJustification?: string | undefined;
|
|
777
|
-
vertJustification?: string | undefined;
|
|
781
|
+
vertJustification?: string | null | undefined;
|
|
778
782
|
text?: string | undefined;
|
|
779
783
|
fontId?: string | undefined;
|
|
780
784
|
fontSize?: number | undefined;
|
|
781
785
|
fontColor?: string | undefined;
|
|
782
786
|
frame?: string | undefined;
|
|
783
787
|
}[];
|
|
784
|
-
backgroundId?: string | undefined;
|
|
785
788
|
}>;
|
|
786
789
|
}, "strip", z.ZodTypeAny, {
|
|
787
790
|
type: string;
|
|
788
791
|
pageNum: number;
|
|
789
792
|
canvas: {
|
|
793
|
+
backgroundId: string | null;
|
|
790
794
|
assets: {
|
|
791
795
|
type: string;
|
|
792
796
|
position: {
|
|
@@ -799,24 +803,24 @@ export declare const magicShopBookSchema: z.ZodObject<{
|
|
|
799
803
|
seqNum: number;
|
|
800
804
|
z: number;
|
|
801
805
|
imageAssignment?: {
|
|
802
|
-
photoRefId:
|
|
806
|
+
photoRefId: string;
|
|
803
807
|
finalCrop: number[];
|
|
804
808
|
} | undefined;
|
|
805
809
|
id?: string | undefined;
|
|
806
810
|
horizJustification?: string | undefined;
|
|
807
|
-
vertJustification?: string | undefined;
|
|
811
|
+
vertJustification?: string | null | undefined;
|
|
808
812
|
text?: string | undefined;
|
|
809
813
|
fontId?: string | undefined;
|
|
810
814
|
fontSize?: number | undefined;
|
|
811
815
|
fontColor?: string | undefined;
|
|
812
816
|
frame?: string | undefined;
|
|
813
817
|
}[];
|
|
814
|
-
backgroundId?: string | undefined;
|
|
815
818
|
};
|
|
816
819
|
}, {
|
|
817
820
|
type: string;
|
|
818
821
|
pageNum: number;
|
|
819
822
|
canvas: {
|
|
823
|
+
backgroundId: string | null;
|
|
820
824
|
assets: {
|
|
821
825
|
type: string;
|
|
822
826
|
position: {
|
|
@@ -829,32 +833,32 @@ export declare const magicShopBookSchema: z.ZodObject<{
|
|
|
829
833
|
seqNum: number;
|
|
830
834
|
z: number;
|
|
831
835
|
imageAssignment?: {
|
|
832
|
-
photoRefId:
|
|
836
|
+
photoRefId: string;
|
|
833
837
|
finalCrop: number[];
|
|
834
838
|
} | undefined;
|
|
835
839
|
id?: string | undefined;
|
|
836
840
|
horizJustification?: string | undefined;
|
|
837
|
-
vertJustification?: string | undefined;
|
|
841
|
+
vertJustification?: string | null | undefined;
|
|
838
842
|
text?: string | undefined;
|
|
839
843
|
fontId?: string | undefined;
|
|
840
844
|
fontSize?: number | undefined;
|
|
841
845
|
fontColor?: string | undefined;
|
|
842
846
|
frame?: string | undefined;
|
|
843
847
|
}[];
|
|
844
|
-
backgroundId?: string | undefined;
|
|
845
848
|
};
|
|
846
849
|
}>, "many">;
|
|
847
850
|
photoStrip: z.ZodArray<z.ZodObject<{
|
|
848
851
|
url: z.ZodString;
|
|
849
852
|
encryptId: z.ZodString;
|
|
850
|
-
photoRefId: z.
|
|
853
|
+
photoRefId: z.ZodString;
|
|
854
|
+
photoId: z.ZodString;
|
|
851
855
|
photoMetadata: z.ZodObject<{
|
|
852
856
|
id: z.ZodString;
|
|
853
857
|
llx: z.ZodNumber;
|
|
854
858
|
lly: z.ZodNumber;
|
|
855
859
|
urx: z.ZodNumber;
|
|
856
860
|
ury: z.ZodNumber;
|
|
857
|
-
data: z.ZodString
|
|
861
|
+
data: z.ZodNullable<z.ZodString>;
|
|
858
862
|
title: z.ZodString;
|
|
859
863
|
width: z.ZodNumber;
|
|
860
864
|
effect: z.ZodString;
|
|
@@ -863,7 +867,7 @@ export declare const magicShopBookSchema: z.ZodObject<{
|
|
|
863
867
|
rotation: z.ZodNumber;
|
|
864
868
|
uploadTime: z.ZodString;
|
|
865
869
|
}, "strip", z.ZodTypeAny, {
|
|
866
|
-
data: string;
|
|
870
|
+
data: string | null;
|
|
867
871
|
id: string;
|
|
868
872
|
title: string;
|
|
869
873
|
width: number;
|
|
@@ -877,7 +881,7 @@ export declare const magicShopBookSchema: z.ZodObject<{
|
|
|
877
881
|
source: string;
|
|
878
882
|
uploadTime: string;
|
|
879
883
|
}, {
|
|
880
|
-
data: string;
|
|
884
|
+
data: string | null;
|
|
881
885
|
id: string;
|
|
882
886
|
title: string;
|
|
883
887
|
width: number;
|
|
@@ -893,10 +897,11 @@ export declare const magicShopBookSchema: z.ZodObject<{
|
|
|
893
897
|
}>;
|
|
894
898
|
}, "strip", z.ZodTypeAny, {
|
|
895
899
|
url: string;
|
|
896
|
-
photoRefId:
|
|
900
|
+
photoRefId: string;
|
|
897
901
|
encryptId: string;
|
|
902
|
+
photoId: string;
|
|
898
903
|
photoMetadata: {
|
|
899
|
-
data: string;
|
|
904
|
+
data: string | null;
|
|
900
905
|
id: string;
|
|
901
906
|
title: string;
|
|
902
907
|
width: number;
|
|
@@ -912,10 +917,11 @@ export declare const magicShopBookSchema: z.ZodObject<{
|
|
|
912
917
|
};
|
|
913
918
|
}, {
|
|
914
919
|
url: string;
|
|
915
|
-
photoRefId:
|
|
920
|
+
photoRefId: string;
|
|
916
921
|
encryptId: string;
|
|
922
|
+
photoId: string;
|
|
917
923
|
photoMetadata: {
|
|
918
|
-
data: string;
|
|
924
|
+
data: string | null;
|
|
919
925
|
id: string;
|
|
920
926
|
title: string;
|
|
921
927
|
width: number;
|
|
@@ -935,6 +941,7 @@ export declare const magicShopBookSchema: z.ZodObject<{
|
|
|
935
941
|
type: string;
|
|
936
942
|
pageNum: number;
|
|
937
943
|
canvas: {
|
|
944
|
+
backgroundId: string | null;
|
|
938
945
|
assets: {
|
|
939
946
|
type: string;
|
|
940
947
|
position: {
|
|
@@ -947,27 +954,27 @@ export declare const magicShopBookSchema: z.ZodObject<{
|
|
|
947
954
|
seqNum: number;
|
|
948
955
|
z: number;
|
|
949
956
|
imageAssignment?: {
|
|
950
|
-
photoRefId:
|
|
957
|
+
photoRefId: string;
|
|
951
958
|
finalCrop: number[];
|
|
952
959
|
} | undefined;
|
|
953
960
|
id?: string | undefined;
|
|
954
961
|
horizJustification?: string | undefined;
|
|
955
|
-
vertJustification?: string | undefined;
|
|
962
|
+
vertJustification?: string | null | undefined;
|
|
956
963
|
text?: string | undefined;
|
|
957
964
|
fontId?: string | undefined;
|
|
958
965
|
fontSize?: number | undefined;
|
|
959
966
|
fontColor?: string | undefined;
|
|
960
967
|
frame?: string | undefined;
|
|
961
968
|
}[];
|
|
962
|
-
backgroundId?: string | undefined;
|
|
963
969
|
};
|
|
964
970
|
}[];
|
|
965
971
|
photoStrip: {
|
|
966
972
|
url: string;
|
|
967
|
-
photoRefId:
|
|
973
|
+
photoRefId: string;
|
|
968
974
|
encryptId: string;
|
|
975
|
+
photoId: string;
|
|
969
976
|
photoMetadata: {
|
|
970
|
-
data: string;
|
|
977
|
+
data: string | null;
|
|
971
978
|
id: string;
|
|
972
979
|
title: string;
|
|
973
980
|
width: number;
|
|
@@ -987,6 +994,7 @@ export declare const magicShopBookSchema: z.ZodObject<{
|
|
|
987
994
|
type: string;
|
|
988
995
|
pageNum: number;
|
|
989
996
|
canvas: {
|
|
997
|
+
backgroundId: string | null;
|
|
990
998
|
assets: {
|
|
991
999
|
type: string;
|
|
992
1000
|
position: {
|
|
@@ -999,27 +1007,27 @@ export declare const magicShopBookSchema: z.ZodObject<{
|
|
|
999
1007
|
seqNum: number;
|
|
1000
1008
|
z: number;
|
|
1001
1009
|
imageAssignment?: {
|
|
1002
|
-
photoRefId:
|
|
1010
|
+
photoRefId: string;
|
|
1003
1011
|
finalCrop: number[];
|
|
1004
1012
|
} | undefined;
|
|
1005
1013
|
id?: string | undefined;
|
|
1006
1014
|
horizJustification?: string | undefined;
|
|
1007
|
-
vertJustification?: string | undefined;
|
|
1015
|
+
vertJustification?: string | null | undefined;
|
|
1008
1016
|
text?: string | undefined;
|
|
1009
1017
|
fontId?: string | undefined;
|
|
1010
1018
|
fontSize?: number | undefined;
|
|
1011
1019
|
fontColor?: string | undefined;
|
|
1012
1020
|
frame?: string | undefined;
|
|
1013
1021
|
}[];
|
|
1014
|
-
backgroundId?: string | undefined;
|
|
1015
1022
|
};
|
|
1016
1023
|
}[];
|
|
1017
1024
|
photoStrip: {
|
|
1018
1025
|
url: string;
|
|
1019
|
-
photoRefId:
|
|
1026
|
+
photoRefId: string;
|
|
1020
1027
|
encryptId: string;
|
|
1028
|
+
photoId: string;
|
|
1021
1029
|
photoMetadata: {
|
|
1022
|
-
data: string;
|
|
1030
|
+
data: string | null;
|
|
1023
1031
|
id: string;
|
|
1024
1032
|
title: string;
|
|
1025
1033
|
width: number;
|
|
@@ -1046,17 +1054,17 @@ export declare const bookCreationRequestSchema: z.ZodObject<{
|
|
|
1046
1054
|
pageNum: z.ZodNumber;
|
|
1047
1055
|
type: z.ZodString;
|
|
1048
1056
|
canvas: z.ZodObject<{
|
|
1049
|
-
backgroundId: z.
|
|
1057
|
+
backgroundId: z.ZodNullable<z.ZodString>;
|
|
1050
1058
|
assets: z.ZodArray<z.ZodObject<{
|
|
1051
1059
|
type: z.ZodString;
|
|
1052
1060
|
imageAssignment: z.ZodOptional<z.ZodObject<{
|
|
1053
|
-
photoRefId: z.
|
|
1061
|
+
photoRefId: z.ZodString;
|
|
1054
1062
|
finalCrop: z.ZodArray<z.ZodNumber, "many">;
|
|
1055
1063
|
}, "strip", z.ZodTypeAny, {
|
|
1056
|
-
photoRefId:
|
|
1064
|
+
photoRefId: string;
|
|
1057
1065
|
finalCrop: number[];
|
|
1058
1066
|
}, {
|
|
1059
|
-
photoRefId:
|
|
1067
|
+
photoRefId: string;
|
|
1060
1068
|
finalCrop: number[];
|
|
1061
1069
|
}>>;
|
|
1062
1070
|
position: z.ZodObject<{
|
|
@@ -1082,7 +1090,7 @@ export declare const bookCreationRequestSchema: z.ZodObject<{
|
|
|
1082
1090
|
z: z.ZodNumber;
|
|
1083
1091
|
id: z.ZodOptional<z.ZodString>;
|
|
1084
1092
|
horizJustification: z.ZodOptional<z.ZodString>;
|
|
1085
|
-
vertJustification: z.ZodOptional<z.ZodString
|
|
1093
|
+
vertJustification: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1086
1094
|
text: z.ZodOptional<z.ZodString>;
|
|
1087
1095
|
fontId: z.ZodOptional<z.ZodString>;
|
|
1088
1096
|
fontSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1100,12 +1108,12 @@ export declare const bookCreationRequestSchema: z.ZodObject<{
|
|
|
1100
1108
|
seqNum: number;
|
|
1101
1109
|
z: number;
|
|
1102
1110
|
imageAssignment?: {
|
|
1103
|
-
photoRefId:
|
|
1111
|
+
photoRefId: string;
|
|
1104
1112
|
finalCrop: number[];
|
|
1105
1113
|
} | undefined;
|
|
1106
1114
|
id?: string | undefined;
|
|
1107
1115
|
horizJustification?: string | undefined;
|
|
1108
|
-
vertJustification?: string | undefined;
|
|
1116
|
+
vertJustification?: string | null | undefined;
|
|
1109
1117
|
text?: string | undefined;
|
|
1110
1118
|
fontId?: string | undefined;
|
|
1111
1119
|
fontSize?: number | undefined;
|
|
@@ -1123,12 +1131,12 @@ export declare const bookCreationRequestSchema: z.ZodObject<{
|
|
|
1123
1131
|
seqNum: number;
|
|
1124
1132
|
z: number;
|
|
1125
1133
|
imageAssignment?: {
|
|
1126
|
-
photoRefId:
|
|
1134
|
+
photoRefId: string;
|
|
1127
1135
|
finalCrop: number[];
|
|
1128
1136
|
} | undefined;
|
|
1129
1137
|
id?: string | undefined;
|
|
1130
1138
|
horizJustification?: string | undefined;
|
|
1131
|
-
vertJustification?: string | undefined;
|
|
1139
|
+
vertJustification?: string | null | undefined;
|
|
1132
1140
|
text?: string | undefined;
|
|
1133
1141
|
fontId?: string | undefined;
|
|
1134
1142
|
fontSize?: number | undefined;
|
|
@@ -1136,6 +1144,7 @@ export declare const bookCreationRequestSchema: z.ZodObject<{
|
|
|
1136
1144
|
frame?: string | undefined;
|
|
1137
1145
|
}>, "many">;
|
|
1138
1146
|
}, "strip", z.ZodTypeAny, {
|
|
1147
|
+
backgroundId: string | null;
|
|
1139
1148
|
assets: {
|
|
1140
1149
|
type: string;
|
|
1141
1150
|
position: {
|
|
@@ -1148,20 +1157,20 @@ export declare const bookCreationRequestSchema: z.ZodObject<{
|
|
|
1148
1157
|
seqNum: number;
|
|
1149
1158
|
z: number;
|
|
1150
1159
|
imageAssignment?: {
|
|
1151
|
-
photoRefId:
|
|
1160
|
+
photoRefId: string;
|
|
1152
1161
|
finalCrop: number[];
|
|
1153
1162
|
} | undefined;
|
|
1154
1163
|
id?: string | undefined;
|
|
1155
1164
|
horizJustification?: string | undefined;
|
|
1156
|
-
vertJustification?: string | undefined;
|
|
1165
|
+
vertJustification?: string | null | undefined;
|
|
1157
1166
|
text?: string | undefined;
|
|
1158
1167
|
fontId?: string | undefined;
|
|
1159
1168
|
fontSize?: number | undefined;
|
|
1160
1169
|
fontColor?: string | undefined;
|
|
1161
1170
|
frame?: string | undefined;
|
|
1162
1171
|
}[];
|
|
1163
|
-
backgroundId?: string | undefined;
|
|
1164
1172
|
}, {
|
|
1173
|
+
backgroundId: string | null;
|
|
1165
1174
|
assets: {
|
|
1166
1175
|
type: string;
|
|
1167
1176
|
position: {
|
|
@@ -1174,24 +1183,24 @@ export declare const bookCreationRequestSchema: z.ZodObject<{
|
|
|
1174
1183
|
seqNum: number;
|
|
1175
1184
|
z: number;
|
|
1176
1185
|
imageAssignment?: {
|
|
1177
|
-
photoRefId:
|
|
1186
|
+
photoRefId: string;
|
|
1178
1187
|
finalCrop: number[];
|
|
1179
1188
|
} | undefined;
|
|
1180
1189
|
id?: string | undefined;
|
|
1181
1190
|
horizJustification?: string | undefined;
|
|
1182
|
-
vertJustification?: string | undefined;
|
|
1191
|
+
vertJustification?: string | null | undefined;
|
|
1183
1192
|
text?: string | undefined;
|
|
1184
1193
|
fontId?: string | undefined;
|
|
1185
1194
|
fontSize?: number | undefined;
|
|
1186
1195
|
fontColor?: string | undefined;
|
|
1187
1196
|
frame?: string | undefined;
|
|
1188
1197
|
}[];
|
|
1189
|
-
backgroundId?: string | undefined;
|
|
1190
1198
|
}>;
|
|
1191
1199
|
}, "strip", z.ZodTypeAny, {
|
|
1192
1200
|
type: string;
|
|
1193
1201
|
pageNum: number;
|
|
1194
1202
|
canvas: {
|
|
1203
|
+
backgroundId: string | null;
|
|
1195
1204
|
assets: {
|
|
1196
1205
|
type: string;
|
|
1197
1206
|
position: {
|
|
@@ -1204,24 +1213,24 @@ export declare const bookCreationRequestSchema: z.ZodObject<{
|
|
|
1204
1213
|
seqNum: number;
|
|
1205
1214
|
z: number;
|
|
1206
1215
|
imageAssignment?: {
|
|
1207
|
-
photoRefId:
|
|
1216
|
+
photoRefId: string;
|
|
1208
1217
|
finalCrop: number[];
|
|
1209
1218
|
} | undefined;
|
|
1210
1219
|
id?: string | undefined;
|
|
1211
1220
|
horizJustification?: string | undefined;
|
|
1212
|
-
vertJustification?: string | undefined;
|
|
1221
|
+
vertJustification?: string | null | undefined;
|
|
1213
1222
|
text?: string | undefined;
|
|
1214
1223
|
fontId?: string | undefined;
|
|
1215
1224
|
fontSize?: number | undefined;
|
|
1216
1225
|
fontColor?: string | undefined;
|
|
1217
1226
|
frame?: string | undefined;
|
|
1218
1227
|
}[];
|
|
1219
|
-
backgroundId?: string | undefined;
|
|
1220
1228
|
};
|
|
1221
1229
|
}, {
|
|
1222
1230
|
type: string;
|
|
1223
1231
|
pageNum: number;
|
|
1224
1232
|
canvas: {
|
|
1233
|
+
backgroundId: string | null;
|
|
1225
1234
|
assets: {
|
|
1226
1235
|
type: string;
|
|
1227
1236
|
position: {
|
|
@@ -1234,32 +1243,32 @@ export declare const bookCreationRequestSchema: z.ZodObject<{
|
|
|
1234
1243
|
seqNum: number;
|
|
1235
1244
|
z: number;
|
|
1236
1245
|
imageAssignment?: {
|
|
1237
|
-
photoRefId:
|
|
1246
|
+
photoRefId: string;
|
|
1238
1247
|
finalCrop: number[];
|
|
1239
1248
|
} | undefined;
|
|
1240
1249
|
id?: string | undefined;
|
|
1241
1250
|
horizJustification?: string | undefined;
|
|
1242
|
-
vertJustification?: string | undefined;
|
|
1251
|
+
vertJustification?: string | null | undefined;
|
|
1243
1252
|
text?: string | undefined;
|
|
1244
1253
|
fontId?: string | undefined;
|
|
1245
1254
|
fontSize?: number | undefined;
|
|
1246
1255
|
fontColor?: string | undefined;
|
|
1247
1256
|
frame?: string | undefined;
|
|
1248
1257
|
}[];
|
|
1249
|
-
backgroundId?: string | undefined;
|
|
1250
1258
|
};
|
|
1251
1259
|
}>, "many">;
|
|
1252
1260
|
photoStrip: z.ZodArray<z.ZodObject<{
|
|
1253
1261
|
url: z.ZodString;
|
|
1254
1262
|
encryptId: z.ZodString;
|
|
1255
|
-
photoRefId: z.
|
|
1263
|
+
photoRefId: z.ZodString;
|
|
1264
|
+
photoId: z.ZodString;
|
|
1256
1265
|
photoMetadata: z.ZodObject<{
|
|
1257
1266
|
id: z.ZodString;
|
|
1258
1267
|
llx: z.ZodNumber;
|
|
1259
1268
|
lly: z.ZodNumber;
|
|
1260
1269
|
urx: z.ZodNumber;
|
|
1261
1270
|
ury: z.ZodNumber;
|
|
1262
|
-
data: z.ZodString
|
|
1271
|
+
data: z.ZodNullable<z.ZodString>;
|
|
1263
1272
|
title: z.ZodString;
|
|
1264
1273
|
width: z.ZodNumber;
|
|
1265
1274
|
effect: z.ZodString;
|
|
@@ -1268,7 +1277,7 @@ export declare const bookCreationRequestSchema: z.ZodObject<{
|
|
|
1268
1277
|
rotation: z.ZodNumber;
|
|
1269
1278
|
uploadTime: z.ZodString;
|
|
1270
1279
|
}, "strip", z.ZodTypeAny, {
|
|
1271
|
-
data: string;
|
|
1280
|
+
data: string | null;
|
|
1272
1281
|
id: string;
|
|
1273
1282
|
title: string;
|
|
1274
1283
|
width: number;
|
|
@@ -1282,7 +1291,7 @@ export declare const bookCreationRequestSchema: z.ZodObject<{
|
|
|
1282
1291
|
source: string;
|
|
1283
1292
|
uploadTime: string;
|
|
1284
1293
|
}, {
|
|
1285
|
-
data: string;
|
|
1294
|
+
data: string | null;
|
|
1286
1295
|
id: string;
|
|
1287
1296
|
title: string;
|
|
1288
1297
|
width: number;
|
|
@@ -1298,10 +1307,11 @@ export declare const bookCreationRequestSchema: z.ZodObject<{
|
|
|
1298
1307
|
}>;
|
|
1299
1308
|
}, "strip", z.ZodTypeAny, {
|
|
1300
1309
|
url: string;
|
|
1301
|
-
photoRefId:
|
|
1310
|
+
photoRefId: string;
|
|
1302
1311
|
encryptId: string;
|
|
1312
|
+
photoId: string;
|
|
1303
1313
|
photoMetadata: {
|
|
1304
|
-
data: string;
|
|
1314
|
+
data: string | null;
|
|
1305
1315
|
id: string;
|
|
1306
1316
|
title: string;
|
|
1307
1317
|
width: number;
|
|
@@ -1317,10 +1327,11 @@ export declare const bookCreationRequestSchema: z.ZodObject<{
|
|
|
1317
1327
|
};
|
|
1318
1328
|
}, {
|
|
1319
1329
|
url: string;
|
|
1320
|
-
photoRefId:
|
|
1330
|
+
photoRefId: string;
|
|
1321
1331
|
encryptId: string;
|
|
1332
|
+
photoId: string;
|
|
1322
1333
|
photoMetadata: {
|
|
1323
|
-
data: string;
|
|
1334
|
+
data: string | null;
|
|
1324
1335
|
id: string;
|
|
1325
1336
|
title: string;
|
|
1326
1337
|
width: number;
|
|
@@ -1340,6 +1351,7 @@ export declare const bookCreationRequestSchema: z.ZodObject<{
|
|
|
1340
1351
|
type: string;
|
|
1341
1352
|
pageNum: number;
|
|
1342
1353
|
canvas: {
|
|
1354
|
+
backgroundId: string | null;
|
|
1343
1355
|
assets: {
|
|
1344
1356
|
type: string;
|
|
1345
1357
|
position: {
|
|
@@ -1352,27 +1364,27 @@ export declare const bookCreationRequestSchema: z.ZodObject<{
|
|
|
1352
1364
|
seqNum: number;
|
|
1353
1365
|
z: number;
|
|
1354
1366
|
imageAssignment?: {
|
|
1355
|
-
photoRefId:
|
|
1367
|
+
photoRefId: string;
|
|
1356
1368
|
finalCrop: number[];
|
|
1357
1369
|
} | undefined;
|
|
1358
1370
|
id?: string | undefined;
|
|
1359
1371
|
horizJustification?: string | undefined;
|
|
1360
|
-
vertJustification?: string | undefined;
|
|
1372
|
+
vertJustification?: string | null | undefined;
|
|
1361
1373
|
text?: string | undefined;
|
|
1362
1374
|
fontId?: string | undefined;
|
|
1363
1375
|
fontSize?: number | undefined;
|
|
1364
1376
|
fontColor?: string | undefined;
|
|
1365
1377
|
frame?: string | undefined;
|
|
1366
1378
|
}[];
|
|
1367
|
-
backgroundId?: string | undefined;
|
|
1368
1379
|
};
|
|
1369
1380
|
}[];
|
|
1370
1381
|
photoStrip: {
|
|
1371
1382
|
url: string;
|
|
1372
|
-
photoRefId:
|
|
1383
|
+
photoRefId: string;
|
|
1373
1384
|
encryptId: string;
|
|
1385
|
+
photoId: string;
|
|
1374
1386
|
photoMetadata: {
|
|
1375
|
-
data: string;
|
|
1387
|
+
data: string | null;
|
|
1376
1388
|
id: string;
|
|
1377
1389
|
title: string;
|
|
1378
1390
|
width: number;
|
|
@@ -1392,6 +1404,7 @@ export declare const bookCreationRequestSchema: z.ZodObject<{
|
|
|
1392
1404
|
type: string;
|
|
1393
1405
|
pageNum: number;
|
|
1394
1406
|
canvas: {
|
|
1407
|
+
backgroundId: string | null;
|
|
1395
1408
|
assets: {
|
|
1396
1409
|
type: string;
|
|
1397
1410
|
position: {
|
|
@@ -1404,27 +1417,27 @@ export declare const bookCreationRequestSchema: z.ZodObject<{
|
|
|
1404
1417
|
seqNum: number;
|
|
1405
1418
|
z: number;
|
|
1406
1419
|
imageAssignment?: {
|
|
1407
|
-
photoRefId:
|
|
1420
|
+
photoRefId: string;
|
|
1408
1421
|
finalCrop: number[];
|
|
1409
1422
|
} | undefined;
|
|
1410
1423
|
id?: string | undefined;
|
|
1411
1424
|
horizJustification?: string | undefined;
|
|
1412
|
-
vertJustification?: string | undefined;
|
|
1425
|
+
vertJustification?: string | null | undefined;
|
|
1413
1426
|
text?: string | undefined;
|
|
1414
1427
|
fontId?: string | undefined;
|
|
1415
1428
|
fontSize?: number | undefined;
|
|
1416
1429
|
fontColor?: string | undefined;
|
|
1417
1430
|
frame?: string | undefined;
|
|
1418
1431
|
}[];
|
|
1419
|
-
backgroundId?: string | undefined;
|
|
1420
1432
|
};
|
|
1421
1433
|
}[];
|
|
1422
1434
|
photoStrip: {
|
|
1423
1435
|
url: string;
|
|
1424
|
-
photoRefId:
|
|
1436
|
+
photoRefId: string;
|
|
1425
1437
|
encryptId: string;
|
|
1438
|
+
photoId: string;
|
|
1426
1439
|
photoMetadata: {
|
|
1427
|
-
data: string;
|
|
1440
|
+
data: string | null;
|
|
1428
1441
|
id: string;
|
|
1429
1442
|
title: string;
|
|
1430
1443
|
width: number;
|
|
@@ -1472,6 +1485,7 @@ export declare const bookCreationRequestSchema: z.ZodObject<{
|
|
|
1472
1485
|
type: string;
|
|
1473
1486
|
pageNum: number;
|
|
1474
1487
|
canvas: {
|
|
1488
|
+
backgroundId: string | null;
|
|
1475
1489
|
assets: {
|
|
1476
1490
|
type: string;
|
|
1477
1491
|
position: {
|
|
@@ -1484,27 +1498,27 @@ export declare const bookCreationRequestSchema: z.ZodObject<{
|
|
|
1484
1498
|
seqNum: number;
|
|
1485
1499
|
z: number;
|
|
1486
1500
|
imageAssignment?: {
|
|
1487
|
-
photoRefId:
|
|
1501
|
+
photoRefId: string;
|
|
1488
1502
|
finalCrop: number[];
|
|
1489
1503
|
} | undefined;
|
|
1490
1504
|
id?: string | undefined;
|
|
1491
1505
|
horizJustification?: string | undefined;
|
|
1492
|
-
vertJustification?: string | undefined;
|
|
1506
|
+
vertJustification?: string | null | undefined;
|
|
1493
1507
|
text?: string | undefined;
|
|
1494
1508
|
fontId?: string | undefined;
|
|
1495
1509
|
fontSize?: number | undefined;
|
|
1496
1510
|
fontColor?: string | undefined;
|
|
1497
1511
|
frame?: string | undefined;
|
|
1498
1512
|
}[];
|
|
1499
|
-
backgroundId?: string | undefined;
|
|
1500
1513
|
};
|
|
1501
1514
|
}[];
|
|
1502
1515
|
photoStrip: {
|
|
1503
1516
|
url: string;
|
|
1504
|
-
photoRefId:
|
|
1517
|
+
photoRefId: string;
|
|
1505
1518
|
encryptId: string;
|
|
1519
|
+
photoId: string;
|
|
1506
1520
|
photoMetadata: {
|
|
1507
|
-
data: string;
|
|
1521
|
+
data: string | null;
|
|
1508
1522
|
id: string;
|
|
1509
1523
|
title: string;
|
|
1510
1524
|
width: number;
|
|
@@ -1536,6 +1550,7 @@ export declare const bookCreationRequestSchema: z.ZodObject<{
|
|
|
1536
1550
|
type: string;
|
|
1537
1551
|
pageNum: number;
|
|
1538
1552
|
canvas: {
|
|
1553
|
+
backgroundId: string | null;
|
|
1539
1554
|
assets: {
|
|
1540
1555
|
type: string;
|
|
1541
1556
|
position: {
|
|
@@ -1548,27 +1563,27 @@ export declare const bookCreationRequestSchema: z.ZodObject<{
|
|
|
1548
1563
|
seqNum: number;
|
|
1549
1564
|
z: number;
|
|
1550
1565
|
imageAssignment?: {
|
|
1551
|
-
photoRefId:
|
|
1566
|
+
photoRefId: string;
|
|
1552
1567
|
finalCrop: number[];
|
|
1553
1568
|
} | undefined;
|
|
1554
1569
|
id?: string | undefined;
|
|
1555
1570
|
horizJustification?: string | undefined;
|
|
1556
|
-
vertJustification?: string | undefined;
|
|
1571
|
+
vertJustification?: string | null | undefined;
|
|
1557
1572
|
text?: string | undefined;
|
|
1558
1573
|
fontId?: string | undefined;
|
|
1559
1574
|
fontSize?: number | undefined;
|
|
1560
1575
|
fontColor?: string | undefined;
|
|
1561
1576
|
frame?: string | undefined;
|
|
1562
1577
|
}[];
|
|
1563
|
-
backgroundId?: string | undefined;
|
|
1564
1578
|
};
|
|
1565
1579
|
}[];
|
|
1566
1580
|
photoStrip: {
|
|
1567
1581
|
url: string;
|
|
1568
|
-
photoRefId:
|
|
1582
|
+
photoRefId: string;
|
|
1569
1583
|
encryptId: string;
|
|
1584
|
+
photoId: string;
|
|
1570
1585
|
photoMetadata: {
|
|
1571
|
-
data: string;
|
|
1586
|
+
data: string | null;
|
|
1572
1587
|
id: string;
|
|
1573
1588
|
title: string;
|
|
1574
1589
|
width: number;
|