api-arreya-types 1.0.42 → 1.0.43
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/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/slide.type.d.ts +5 -5
- package/dist/slideshow.type.d.ts +36 -36
- package/dist/slideshow.type.js +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7,5 +7,7 @@ export * from './page.type';
|
|
|
7
7
|
export * from './presentation.type';
|
|
8
8
|
export * from './project.type';
|
|
9
9
|
export * from './schedule.type';
|
|
10
|
+
export * from './slide.type';
|
|
11
|
+
export * from './slideshow.type';
|
|
10
12
|
export * from './template.type';
|
|
11
13
|
export * from './user.type';
|
package/dist/index.js
CHANGED
|
@@ -23,5 +23,7 @@ __exportStar(require("./page.type"), exports);
|
|
|
23
23
|
__exportStar(require("./presentation.type"), exports);
|
|
24
24
|
__exportStar(require("./project.type"), exports);
|
|
25
25
|
__exportStar(require("./schedule.type"), exports);
|
|
26
|
+
__exportStar(require("./slide.type"), exports);
|
|
27
|
+
__exportStar(require("./slideshow.type"), exports);
|
|
26
28
|
__exportStar(require("./template.type"), exports);
|
|
27
29
|
__exportStar(require("./user.type"), exports);
|
package/dist/slide.type.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare const Slide: z.ZodObject<{
|
|
|
13
13
|
end: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>>;
|
|
14
14
|
file: z.ZodNullable<z.ZodObject<{
|
|
15
15
|
id: z.ZodString;
|
|
16
|
-
|
|
16
|
+
organizationId: z.ZodString;
|
|
17
17
|
name: z.ZodString;
|
|
18
18
|
mimetype: z.ZodString;
|
|
19
19
|
mediatype: z.ZodString;
|
|
@@ -28,11 +28,11 @@ export declare const Slide: z.ZodObject<{
|
|
|
28
28
|
createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
|
|
29
29
|
updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
|
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
organizationId: string;
|
|
31
32
|
id: string;
|
|
32
33
|
name: string;
|
|
33
34
|
createdAt: Date;
|
|
34
35
|
updatedAt: Date;
|
|
35
|
-
accountId: string;
|
|
36
36
|
mimetype: string;
|
|
37
37
|
mediatype: string;
|
|
38
38
|
size: number;
|
|
@@ -44,11 +44,11 @@ export declare const Slide: z.ZodObject<{
|
|
|
44
44
|
hd: string | null;
|
|
45
45
|
folderId: string;
|
|
46
46
|
}, {
|
|
47
|
+
organizationId: string;
|
|
47
48
|
id: string;
|
|
48
49
|
name: string;
|
|
49
50
|
createdAt: string | Date;
|
|
50
51
|
updatedAt: string | Date;
|
|
51
|
-
accountId: string;
|
|
52
52
|
mimetype: string;
|
|
53
53
|
mediatype: string;
|
|
54
54
|
size: number;
|
|
@@ -77,11 +77,11 @@ export declare const Slide: z.ZodObject<{
|
|
|
77
77
|
caption: string;
|
|
78
78
|
fileId: string;
|
|
79
79
|
file: {
|
|
80
|
+
organizationId: string;
|
|
80
81
|
id: string;
|
|
81
82
|
name: string;
|
|
82
83
|
createdAt: Date;
|
|
83
84
|
updatedAt: Date;
|
|
84
|
-
accountId: string;
|
|
85
85
|
mimetype: string;
|
|
86
86
|
mediatype: string;
|
|
87
87
|
size: number;
|
|
@@ -108,11 +108,11 @@ export declare const Slide: z.ZodObject<{
|
|
|
108
108
|
caption: string;
|
|
109
109
|
fileId: string;
|
|
110
110
|
file: {
|
|
111
|
+
organizationId: string;
|
|
111
112
|
id: string;
|
|
112
113
|
name: string;
|
|
113
114
|
createdAt: string | Date;
|
|
114
115
|
updatedAt: string | Date;
|
|
115
|
-
accountId: string;
|
|
116
116
|
mimetype: string;
|
|
117
117
|
mediatype: string;
|
|
118
118
|
size: number;
|
package/dist/slideshow.type.d.ts
CHANGED
|
@@ -7,15 +7,15 @@ export declare const SlideshowProject: z.ZodObject<{
|
|
|
7
7
|
updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
id: string;
|
|
10
|
+
projectId: string;
|
|
10
11
|
createdAt: Date;
|
|
11
12
|
updatedAt: Date;
|
|
12
|
-
projectId: string;
|
|
13
13
|
slideshowId: string;
|
|
14
14
|
}, {
|
|
15
15
|
id: string;
|
|
16
|
+
projectId: string;
|
|
16
17
|
createdAt: string | Date;
|
|
17
18
|
updatedAt: string | Date;
|
|
18
|
-
projectId: string;
|
|
19
19
|
slideshowId: string;
|
|
20
20
|
}>;
|
|
21
21
|
export declare const CreateSlideshowProject: z.ZodObject<{
|
|
@@ -43,29 +43,29 @@ export type CreateSlideshowProject = z.infer<typeof CreateSlideshowProject>;
|
|
|
43
43
|
export type CreateSlideshowProjects = z.infer<typeof CreateSlideshowProjects>;
|
|
44
44
|
export declare const Slideshow: z.ZodObject<{
|
|
45
45
|
id: z.ZodString;
|
|
46
|
-
|
|
46
|
+
organizationId: z.ZodString;
|
|
47
47
|
name: z.ZodString;
|
|
48
48
|
allProjects: z.ZodBoolean;
|
|
49
49
|
createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
|
|
50
50
|
updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
|
|
51
51
|
}, "strip", z.ZodTypeAny, {
|
|
52
|
+
organizationId: string;
|
|
52
53
|
id: string;
|
|
53
54
|
name: string;
|
|
54
55
|
createdAt: Date;
|
|
55
56
|
updatedAt: Date;
|
|
56
|
-
accountId: string;
|
|
57
57
|
allProjects: boolean;
|
|
58
58
|
}, {
|
|
59
|
+
organizationId: string;
|
|
59
60
|
id: string;
|
|
60
61
|
name: string;
|
|
61
62
|
createdAt: string | Date;
|
|
62
63
|
updatedAt: string | Date;
|
|
63
|
-
accountId: string;
|
|
64
64
|
allProjects: boolean;
|
|
65
65
|
}>;
|
|
66
66
|
export declare const SlideshowWithProjects: z.ZodObject<z.objectUtil.extendShape<{
|
|
67
67
|
id: z.ZodString;
|
|
68
|
-
|
|
68
|
+
organizationId: z.ZodString;
|
|
69
69
|
name: z.ZodString;
|
|
70
70
|
allProjects: z.ZodBoolean;
|
|
71
71
|
createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
|
|
@@ -79,49 +79,49 @@ export declare const SlideshowWithProjects: z.ZodObject<z.objectUtil.extendShape
|
|
|
79
79
|
updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
|
|
80
80
|
}, "strip", z.ZodTypeAny, {
|
|
81
81
|
id: string;
|
|
82
|
+
projectId: string;
|
|
82
83
|
createdAt: Date;
|
|
83
84
|
updatedAt: Date;
|
|
84
|
-
projectId: string;
|
|
85
85
|
slideshowId: string;
|
|
86
86
|
}, {
|
|
87
87
|
id: string;
|
|
88
|
+
projectId: string;
|
|
88
89
|
createdAt: string | Date;
|
|
89
90
|
updatedAt: string | Date;
|
|
90
|
-
projectId: string;
|
|
91
91
|
slideshowId: string;
|
|
92
92
|
}>, "many">;
|
|
93
93
|
}>, "strip", z.ZodTypeAny, {
|
|
94
|
+
organizationId: string;
|
|
94
95
|
id: string;
|
|
95
96
|
name: string;
|
|
96
97
|
createdAt: Date;
|
|
97
98
|
updatedAt: Date;
|
|
98
|
-
accountId: string;
|
|
99
99
|
allProjects: boolean;
|
|
100
100
|
slideshowProjects: {
|
|
101
101
|
id: string;
|
|
102
|
+
projectId: string;
|
|
102
103
|
createdAt: Date;
|
|
103
104
|
updatedAt: Date;
|
|
104
|
-
projectId: string;
|
|
105
105
|
slideshowId: string;
|
|
106
106
|
}[];
|
|
107
107
|
}, {
|
|
108
|
+
organizationId: string;
|
|
108
109
|
id: string;
|
|
109
110
|
name: string;
|
|
110
111
|
createdAt: string | Date;
|
|
111
112
|
updatedAt: string | Date;
|
|
112
|
-
accountId: string;
|
|
113
113
|
allProjects: boolean;
|
|
114
114
|
slideshowProjects: {
|
|
115
115
|
id: string;
|
|
116
|
+
projectId: string;
|
|
116
117
|
createdAt: string | Date;
|
|
117
118
|
updatedAt: string | Date;
|
|
118
|
-
projectId: string;
|
|
119
119
|
slideshowId: string;
|
|
120
120
|
}[];
|
|
121
121
|
}>;
|
|
122
122
|
export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
|
|
123
123
|
id: z.ZodString;
|
|
124
|
-
|
|
124
|
+
organizationId: z.ZodString;
|
|
125
125
|
name: z.ZodString;
|
|
126
126
|
allProjects: z.ZodBoolean;
|
|
127
127
|
createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
|
|
@@ -141,7 +141,7 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
141
141
|
end: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>>;
|
|
142
142
|
file: z.ZodNullable<z.ZodObject<{
|
|
143
143
|
id: z.ZodString;
|
|
144
|
-
|
|
144
|
+
organizationId: z.ZodString;
|
|
145
145
|
name: z.ZodString;
|
|
146
146
|
mimetype: z.ZodString;
|
|
147
147
|
mediatype: z.ZodString;
|
|
@@ -156,11 +156,11 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
156
156
|
createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
|
|
157
157
|
updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
|
|
158
158
|
}, "strip", z.ZodTypeAny, {
|
|
159
|
+
organizationId: string;
|
|
159
160
|
id: string;
|
|
160
161
|
name: string;
|
|
161
162
|
createdAt: Date;
|
|
162
163
|
updatedAt: Date;
|
|
163
|
-
accountId: string;
|
|
164
164
|
mimetype: string;
|
|
165
165
|
mediatype: string;
|
|
166
166
|
size: number;
|
|
@@ -172,11 +172,11 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
172
172
|
hd: string | null;
|
|
173
173
|
folderId: string;
|
|
174
174
|
}, {
|
|
175
|
+
organizationId: string;
|
|
175
176
|
id: string;
|
|
176
177
|
name: string;
|
|
177
178
|
createdAt: string | Date;
|
|
178
179
|
updatedAt: string | Date;
|
|
179
|
-
accountId: string;
|
|
180
180
|
mimetype: string;
|
|
181
181
|
mediatype: string;
|
|
182
182
|
size: number;
|
|
@@ -205,11 +205,11 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
205
205
|
caption: string;
|
|
206
206
|
fileId: string;
|
|
207
207
|
file: {
|
|
208
|
+
organizationId: string;
|
|
208
209
|
id: string;
|
|
209
210
|
name: string;
|
|
210
211
|
createdAt: Date;
|
|
211
212
|
updatedAt: Date;
|
|
212
|
-
accountId: string;
|
|
213
213
|
mimetype: string;
|
|
214
214
|
mediatype: string;
|
|
215
215
|
size: number;
|
|
@@ -236,11 +236,11 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
236
236
|
caption: string;
|
|
237
237
|
fileId: string;
|
|
238
238
|
file: {
|
|
239
|
+
organizationId: string;
|
|
239
240
|
id: string;
|
|
240
241
|
name: string;
|
|
241
242
|
createdAt: string | Date;
|
|
242
243
|
updatedAt: string | Date;
|
|
243
|
-
accountId: string;
|
|
244
244
|
mimetype: string;
|
|
245
245
|
mediatype: string;
|
|
246
246
|
size: number;
|
|
@@ -261,29 +261,29 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
261
261
|
updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
|
|
262
262
|
}, "strip", z.ZodTypeAny, {
|
|
263
263
|
id: string;
|
|
264
|
+
projectId: string;
|
|
264
265
|
createdAt: Date;
|
|
265
266
|
updatedAt: Date;
|
|
266
|
-
projectId: string;
|
|
267
267
|
slideshowId: string;
|
|
268
268
|
}, {
|
|
269
269
|
id: string;
|
|
270
|
+
projectId: string;
|
|
270
271
|
createdAt: string | Date;
|
|
271
272
|
updatedAt: string | Date;
|
|
272
|
-
projectId: string;
|
|
273
273
|
slideshowId: string;
|
|
274
274
|
}>, "many">;
|
|
275
275
|
}>, "strip", z.ZodTypeAny, {
|
|
276
|
+
organizationId: string;
|
|
276
277
|
id: string;
|
|
277
278
|
name: string;
|
|
278
279
|
createdAt: Date;
|
|
279
280
|
updatedAt: Date;
|
|
280
|
-
accountId: string;
|
|
281
281
|
allProjects: boolean;
|
|
282
282
|
slideshowProjects: {
|
|
283
283
|
id: string;
|
|
284
|
+
projectId: string;
|
|
284
285
|
createdAt: Date;
|
|
285
286
|
updatedAt: Date;
|
|
286
|
-
projectId: string;
|
|
287
287
|
slideshowId: string;
|
|
288
288
|
}[];
|
|
289
289
|
slides: {
|
|
@@ -301,11 +301,11 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
301
301
|
caption: string;
|
|
302
302
|
fileId: string;
|
|
303
303
|
file: {
|
|
304
|
+
organizationId: string;
|
|
304
305
|
id: string;
|
|
305
306
|
name: string;
|
|
306
307
|
createdAt: Date;
|
|
307
308
|
updatedAt: Date;
|
|
308
|
-
accountId: string;
|
|
309
309
|
mimetype: string;
|
|
310
310
|
mediatype: string;
|
|
311
311
|
size: number;
|
|
@@ -319,17 +319,17 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
319
319
|
} | null;
|
|
320
320
|
}[];
|
|
321
321
|
}, {
|
|
322
|
+
organizationId: string;
|
|
322
323
|
id: string;
|
|
323
324
|
name: string;
|
|
324
325
|
createdAt: string | Date;
|
|
325
326
|
updatedAt: string | Date;
|
|
326
|
-
accountId: string;
|
|
327
327
|
allProjects: boolean;
|
|
328
328
|
slideshowProjects: {
|
|
329
329
|
id: string;
|
|
330
|
+
projectId: string;
|
|
330
331
|
createdAt: string | Date;
|
|
331
332
|
updatedAt: string | Date;
|
|
332
|
-
projectId: string;
|
|
333
333
|
slideshowId: string;
|
|
334
334
|
}[];
|
|
335
335
|
slides: {
|
|
@@ -347,11 +347,11 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
347
347
|
caption: string;
|
|
348
348
|
fileId: string;
|
|
349
349
|
file: {
|
|
350
|
+
organizationId: string;
|
|
350
351
|
id: string;
|
|
351
352
|
name: string;
|
|
352
353
|
createdAt: string | Date;
|
|
353
354
|
updatedAt: string | Date;
|
|
354
|
-
accountId: string;
|
|
355
355
|
mimetype: string;
|
|
356
356
|
mediatype: string;
|
|
357
357
|
size: number;
|
|
@@ -366,32 +366,32 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
366
366
|
}[];
|
|
367
367
|
}>;
|
|
368
368
|
export declare const CreateSlideshow: z.ZodObject<{
|
|
369
|
-
|
|
369
|
+
organizationId: z.ZodString;
|
|
370
370
|
name: z.ZodString;
|
|
371
371
|
allProjects: z.ZodDefault<z.ZodBoolean>;
|
|
372
372
|
}, "strip", z.ZodTypeAny, {
|
|
373
|
+
organizationId: string;
|
|
373
374
|
name: string;
|
|
374
|
-
accountId: string;
|
|
375
375
|
allProjects: boolean;
|
|
376
376
|
}, {
|
|
377
|
+
organizationId: string;
|
|
377
378
|
name: string;
|
|
378
|
-
accountId: string;
|
|
379
379
|
allProjects?: boolean | undefined;
|
|
380
380
|
}>;
|
|
381
381
|
export declare const UpdateSlideshow: z.ZodObject<{
|
|
382
382
|
id: z.ZodString;
|
|
383
|
-
|
|
383
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
384
384
|
name: z.ZodOptional<z.ZodString>;
|
|
385
385
|
allProjects: z.ZodOptional<z.ZodBoolean>;
|
|
386
386
|
}, "strip", z.ZodTypeAny, {
|
|
387
387
|
id: string;
|
|
388
|
+
organizationId?: string | undefined;
|
|
388
389
|
name?: string | undefined;
|
|
389
|
-
accountId?: string | undefined;
|
|
390
390
|
allProjects?: boolean | undefined;
|
|
391
391
|
}, {
|
|
392
392
|
id: string;
|
|
393
|
+
organizationId?: string | undefined;
|
|
393
394
|
name?: string | undefined;
|
|
394
|
-
accountId?: string | undefined;
|
|
395
395
|
allProjects?: boolean | undefined;
|
|
396
396
|
}>;
|
|
397
397
|
export declare const SlideshowIdRequestParams: z.ZodObject<{
|
|
@@ -441,8 +441,8 @@ export declare const CreateSlideshowRequestBody: z.ZodObject<{
|
|
|
441
441
|
allProjects: z.ZodDefault<z.ZodBoolean>;
|
|
442
442
|
projectIds: z.ZodArray<z.ZodString, "many">;
|
|
443
443
|
}, "strip", z.ZodTypeAny, {
|
|
444
|
-
name: string;
|
|
445
444
|
projectIds: string[];
|
|
445
|
+
name: string;
|
|
446
446
|
allProjects: boolean;
|
|
447
447
|
slides: {
|
|
448
448
|
speed: string;
|
|
@@ -457,8 +457,8 @@ export declare const CreateSlideshowRequestBody: z.ZodObject<{
|
|
|
457
457
|
id?: string | undefined;
|
|
458
458
|
}[];
|
|
459
459
|
}, {
|
|
460
|
-
name: string;
|
|
461
460
|
projectIds: string[];
|
|
461
|
+
name: string;
|
|
462
462
|
slides: {
|
|
463
463
|
speed: string;
|
|
464
464
|
transition: string;
|
|
@@ -517,8 +517,8 @@ export declare const UpdateSlideshowRequestBody: z.ZodObject<{
|
|
|
517
517
|
projectIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
518
518
|
}, "strip", z.ZodTypeAny, {
|
|
519
519
|
deletedSlideIds: string[];
|
|
520
|
-
name?: string | undefined;
|
|
521
520
|
projectIds?: string[] | undefined;
|
|
521
|
+
name?: string | undefined;
|
|
522
522
|
allProjects?: boolean | undefined;
|
|
523
523
|
slides?: {
|
|
524
524
|
id: string;
|
|
@@ -534,8 +534,8 @@ export declare const UpdateSlideshowRequestBody: z.ZodObject<{
|
|
|
534
534
|
fileId?: string | undefined;
|
|
535
535
|
}[] | undefined;
|
|
536
536
|
}, {
|
|
537
|
-
name?: string | undefined;
|
|
538
537
|
projectIds?: string[] | undefined;
|
|
538
|
+
name?: string | undefined;
|
|
539
539
|
allProjects?: boolean | undefined;
|
|
540
540
|
slides?: {
|
|
541
541
|
id: string;
|
package/dist/slideshow.type.js
CHANGED
|
@@ -23,7 +23,7 @@ exports.CreateSlideshowProjects = zod_1.z.object({
|
|
|
23
23
|
// Slideshow
|
|
24
24
|
exports.Slideshow = zod_1.z.object({
|
|
25
25
|
id: zod_1.z.string(),
|
|
26
|
-
|
|
26
|
+
organizationId: zod_1.z.string(),
|
|
27
27
|
name: zod_1.z.string(),
|
|
28
28
|
allProjects: zod_1.z.boolean(),
|
|
29
29
|
createdAt: zod_utils_1.zodDate,
|
|
@@ -37,13 +37,13 @@ exports.SlideshowExtended = exports.Slideshow.extend({
|
|
|
37
37
|
slideshowProjects: zod_1.z.array(exports.SlideshowProject),
|
|
38
38
|
});
|
|
39
39
|
exports.CreateSlideshow = zod_1.z.object({
|
|
40
|
-
|
|
40
|
+
organizationId: zod_1.z.string(),
|
|
41
41
|
name: zod_1.z.string(),
|
|
42
42
|
allProjects: zod_1.z.boolean().default(true),
|
|
43
43
|
});
|
|
44
44
|
exports.UpdateSlideshow = zod_1.z.object({
|
|
45
45
|
id: zod_1.z.string(),
|
|
46
|
-
|
|
46
|
+
organizationId: zod_1.z.string().optional(),
|
|
47
47
|
name: zod_1.z.string().optional(),
|
|
48
48
|
allProjects: zod_1.z.boolean().optional(),
|
|
49
49
|
});
|