api-arreya-types 1.0.37 → 1.0.39
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/slideshow.type.d.ts +60 -1
- package/dist/slideshow.type.js +2 -1
- package/package.json +1 -1
package/dist/slideshow.type.d.ts
CHANGED
|
@@ -403,15 +403,74 @@ export declare const SlideshowIdRequestParams: z.ZodObject<{
|
|
|
403
403
|
}>;
|
|
404
404
|
export declare const CreateSlideshowRequestBody: z.ZodObject<{
|
|
405
405
|
name: z.ZodString;
|
|
406
|
-
|
|
406
|
+
slides: z.ZodArray<z.ZodObject<Omit<{
|
|
407
|
+
id: z.ZodOptional<z.ZodString>;
|
|
408
|
+
slideshowId: z.ZodString;
|
|
409
|
+
title: z.ZodString;
|
|
410
|
+
caption: z.ZodString;
|
|
411
|
+
order: z.ZodNumber;
|
|
412
|
+
fileId: z.ZodString;
|
|
413
|
+
speed: z.ZodString;
|
|
414
|
+
transition: z.ZodString;
|
|
415
|
+
timeout: z.ZodNumber;
|
|
416
|
+
start: z.ZodNullable<z.ZodDate>;
|
|
417
|
+
end: z.ZodNullable<z.ZodDate>;
|
|
418
|
+
}, "slideshowId">, "strip", z.ZodTypeAny, {
|
|
419
|
+
speed: string;
|
|
420
|
+
transition: string;
|
|
421
|
+
timeout: number;
|
|
422
|
+
order: number;
|
|
423
|
+
title: string;
|
|
424
|
+
start: Date | null;
|
|
425
|
+
end: Date | null;
|
|
426
|
+
caption: string;
|
|
427
|
+
fileId: string;
|
|
428
|
+
id?: string | undefined;
|
|
429
|
+
}, {
|
|
430
|
+
speed: string;
|
|
431
|
+
transition: string;
|
|
432
|
+
timeout: number;
|
|
433
|
+
order: number;
|
|
434
|
+
title: string;
|
|
435
|
+
start: Date | null;
|
|
436
|
+
end: Date | null;
|
|
437
|
+
caption: string;
|
|
438
|
+
fileId: string;
|
|
439
|
+
id?: string | undefined;
|
|
440
|
+
}>, "many">;
|
|
407
441
|
allProjects: z.ZodDefault<z.ZodBoolean>;
|
|
442
|
+
projectIds: z.ZodArray<z.ZodString, "many">;
|
|
408
443
|
}, "strip", z.ZodTypeAny, {
|
|
409
444
|
name: string;
|
|
410
445
|
projectIds: string[];
|
|
411
446
|
allProjects: boolean;
|
|
447
|
+
slides: {
|
|
448
|
+
speed: string;
|
|
449
|
+
transition: string;
|
|
450
|
+
timeout: number;
|
|
451
|
+
order: number;
|
|
452
|
+
title: string;
|
|
453
|
+
start: Date | null;
|
|
454
|
+
end: Date | null;
|
|
455
|
+
caption: string;
|
|
456
|
+
fileId: string;
|
|
457
|
+
id?: string | undefined;
|
|
458
|
+
}[];
|
|
412
459
|
}, {
|
|
413
460
|
name: string;
|
|
414
461
|
projectIds: string[];
|
|
462
|
+
slides: {
|
|
463
|
+
speed: string;
|
|
464
|
+
transition: string;
|
|
465
|
+
timeout: number;
|
|
466
|
+
order: number;
|
|
467
|
+
title: string;
|
|
468
|
+
start: Date | null;
|
|
469
|
+
end: Date | null;
|
|
470
|
+
caption: string;
|
|
471
|
+
fileId: string;
|
|
472
|
+
id?: string | undefined;
|
|
473
|
+
}[];
|
|
415
474
|
allProjects?: boolean | undefined;
|
|
416
475
|
}>;
|
|
417
476
|
export declare const UpdateSlideshowRequestBody: z.ZodObject<{
|
package/dist/slideshow.type.js
CHANGED
|
@@ -54,8 +54,9 @@ exports.SlideshowIdRequestParams = zod_1.z.object({
|
|
|
54
54
|
// Create Slideshow Request
|
|
55
55
|
exports.CreateSlideshowRequestBody = zod_1.z.object({
|
|
56
56
|
name: zod_1.z.string(),
|
|
57
|
-
|
|
57
|
+
slides: zod_1.z.array(slide_type_1.CreateSlide.omit({ slideshowId: true })),
|
|
58
58
|
allProjects: zod_1.z.boolean().default(true),
|
|
59
|
+
projectIds: zod_1.z.array(zod_1.z.string()),
|
|
59
60
|
});
|
|
60
61
|
// Update Slideshow Request
|
|
61
62
|
exports.UpdateSlideshowRequestBody = zod_1.z.object({
|