api-arreya-types 1.0.37 → 1.0.38
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 +64 -1
- package/dist/slideshow.type.js +2 -1
- package/package.json +1 -1
package/dist/slideshow.type.d.ts
CHANGED
|
@@ -403,15 +403,78 @@ 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<{
|
|
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
|
+
}, "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
|
+
slideshowId: string;
|
|
427
|
+
caption: string;
|
|
428
|
+
fileId: string;
|
|
429
|
+
id?: string | undefined;
|
|
430
|
+
}, {
|
|
431
|
+
speed: string;
|
|
432
|
+
transition: string;
|
|
433
|
+
timeout: number;
|
|
434
|
+
order: number;
|
|
435
|
+
title: string;
|
|
436
|
+
start: Date | null;
|
|
437
|
+
end: Date | null;
|
|
438
|
+
slideshowId: string;
|
|
439
|
+
caption: string;
|
|
440
|
+
fileId: string;
|
|
441
|
+
id?: string | undefined;
|
|
442
|
+
}>, "many">;
|
|
407
443
|
allProjects: z.ZodDefault<z.ZodBoolean>;
|
|
444
|
+
projectIds: z.ZodArray<z.ZodString, "many">;
|
|
408
445
|
}, "strip", z.ZodTypeAny, {
|
|
409
446
|
name: string;
|
|
410
447
|
projectIds: string[];
|
|
411
448
|
allProjects: boolean;
|
|
449
|
+
slides: {
|
|
450
|
+
speed: string;
|
|
451
|
+
transition: string;
|
|
452
|
+
timeout: number;
|
|
453
|
+
order: number;
|
|
454
|
+
title: string;
|
|
455
|
+
start: Date | null;
|
|
456
|
+
end: Date | null;
|
|
457
|
+
slideshowId: string;
|
|
458
|
+
caption: string;
|
|
459
|
+
fileId: string;
|
|
460
|
+
id?: string | undefined;
|
|
461
|
+
}[];
|
|
412
462
|
}, {
|
|
413
463
|
name: string;
|
|
414
464
|
projectIds: string[];
|
|
465
|
+
slides: {
|
|
466
|
+
speed: string;
|
|
467
|
+
transition: string;
|
|
468
|
+
timeout: number;
|
|
469
|
+
order: number;
|
|
470
|
+
title: string;
|
|
471
|
+
start: Date | null;
|
|
472
|
+
end: Date | null;
|
|
473
|
+
slideshowId: string;
|
|
474
|
+
caption: string;
|
|
475
|
+
fileId: string;
|
|
476
|
+
id?: string | undefined;
|
|
477
|
+
}[];
|
|
415
478
|
allProjects?: boolean | undefined;
|
|
416
479
|
}>;
|
|
417
480
|
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),
|
|
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({
|