api-arreya-types 1.0.11 → 1.0.12
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/page.type.d.ts +51 -51
- package/dist/page.type.js +13 -13
- package/dist/presentation.type.d.ts +14 -14
- package/dist/template.type.d.ts +32 -32
- package/package.json +1 -1
package/dist/page.type.d.ts
CHANGED
|
@@ -4,9 +4,9 @@ export declare const Page: z.ZodObject<{
|
|
|
4
4
|
name: z.ZodString;
|
|
5
5
|
presentationId: z.ZodString;
|
|
6
6
|
layout: z.ZodString;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
duration: z.ZodNumber;
|
|
8
|
+
animation: z.ZodNullable<z.ZodString>;
|
|
9
|
+
speed: z.ZodNumber;
|
|
10
10
|
order: z.ZodNumber;
|
|
11
11
|
preview: z.ZodString;
|
|
12
12
|
template: z.ZodBoolean;
|
|
@@ -20,9 +20,9 @@ export declare const Page: z.ZodObject<{
|
|
|
20
20
|
preview: string;
|
|
21
21
|
presentationId: string;
|
|
22
22
|
layout: string;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
duration: number;
|
|
24
|
+
animation: string | null;
|
|
25
|
+
speed: number;
|
|
26
26
|
order: number;
|
|
27
27
|
template: boolean;
|
|
28
28
|
}, {
|
|
@@ -33,9 +33,9 @@ export declare const Page: z.ZodObject<{
|
|
|
33
33
|
preview: string;
|
|
34
34
|
presentationId: string;
|
|
35
35
|
layout: string;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
duration: number;
|
|
37
|
+
animation: string | null;
|
|
38
|
+
speed: number;
|
|
39
39
|
order: number;
|
|
40
40
|
template: boolean;
|
|
41
41
|
}>;
|
|
@@ -46,8 +46,8 @@ export declare const CreatePage: z.ZodObject<{
|
|
|
46
46
|
layout: z.ZodString;
|
|
47
47
|
backgroundColor: z.ZodString;
|
|
48
48
|
duration: z.ZodNumber;
|
|
49
|
-
animation: z.ZodString
|
|
50
|
-
|
|
49
|
+
animation: z.ZodNullable<z.ZodString>;
|
|
50
|
+
speed: z.ZodNumber;
|
|
51
51
|
order: z.ZodNumber;
|
|
52
52
|
preview: z.ZodString;
|
|
53
53
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -55,22 +55,22 @@ export declare const CreatePage: z.ZodObject<{
|
|
|
55
55
|
preview: string;
|
|
56
56
|
presentationId: string;
|
|
57
57
|
layout: string;
|
|
58
|
+
duration: number;
|
|
59
|
+
animation: string | null;
|
|
60
|
+
speed: number;
|
|
58
61
|
order: number;
|
|
59
62
|
backgroundColor: string;
|
|
60
|
-
duration: number;
|
|
61
|
-
animation: string;
|
|
62
|
-
delay: number;
|
|
63
63
|
id?: string | undefined;
|
|
64
64
|
}, {
|
|
65
65
|
name: string;
|
|
66
66
|
preview: string;
|
|
67
67
|
presentationId: string;
|
|
68
68
|
layout: string;
|
|
69
|
+
duration: number;
|
|
70
|
+
animation: string | null;
|
|
71
|
+
speed: number;
|
|
69
72
|
order: number;
|
|
70
73
|
backgroundColor: string;
|
|
71
|
-
duration: number;
|
|
72
|
-
animation: string;
|
|
73
|
-
delay: number;
|
|
74
74
|
id?: string | undefined;
|
|
75
75
|
}>;
|
|
76
76
|
export declare const CreatePages: z.ZodArray<z.ZodObject<{
|
|
@@ -80,8 +80,8 @@ export declare const CreatePages: z.ZodArray<z.ZodObject<{
|
|
|
80
80
|
layout: z.ZodString;
|
|
81
81
|
backgroundColor: z.ZodString;
|
|
82
82
|
duration: z.ZodNumber;
|
|
83
|
-
animation: z.ZodString
|
|
84
|
-
|
|
83
|
+
animation: z.ZodNullable<z.ZodString>;
|
|
84
|
+
speed: z.ZodNumber;
|
|
85
85
|
order: z.ZodNumber;
|
|
86
86
|
preview: z.ZodString;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -89,22 +89,22 @@ export declare const CreatePages: z.ZodArray<z.ZodObject<{
|
|
|
89
89
|
preview: string;
|
|
90
90
|
presentationId: string;
|
|
91
91
|
layout: string;
|
|
92
|
+
duration: number;
|
|
93
|
+
animation: string | null;
|
|
94
|
+
speed: number;
|
|
92
95
|
order: number;
|
|
93
96
|
backgroundColor: string;
|
|
94
|
-
duration: number;
|
|
95
|
-
animation: string;
|
|
96
|
-
delay: number;
|
|
97
97
|
id?: string | undefined;
|
|
98
98
|
}, {
|
|
99
99
|
name: string;
|
|
100
100
|
preview: string;
|
|
101
101
|
presentationId: string;
|
|
102
102
|
layout: string;
|
|
103
|
+
duration: number;
|
|
104
|
+
animation: string | null;
|
|
105
|
+
speed: number;
|
|
103
106
|
order: number;
|
|
104
107
|
backgroundColor: string;
|
|
105
|
-
duration: number;
|
|
106
|
-
animation: string;
|
|
107
|
-
delay: number;
|
|
108
108
|
id?: string | undefined;
|
|
109
109
|
}>, "many">;
|
|
110
110
|
export declare const UpdatePage: z.ZodObject<{
|
|
@@ -113,33 +113,33 @@ export declare const UpdatePage: z.ZodObject<{
|
|
|
113
113
|
presentationId: z.ZodOptional<z.ZodString>;
|
|
114
114
|
layout: z.ZodOptional<z.ZodString>;
|
|
115
115
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
116
|
-
duration: z.
|
|
116
|
+
duration: z.ZodNumber;
|
|
117
117
|
animation: z.ZodOptional<z.ZodString>;
|
|
118
|
-
|
|
118
|
+
speed: z.ZodNumber;
|
|
119
119
|
order: z.ZodOptional<z.ZodNumber>;
|
|
120
120
|
preview: z.ZodOptional<z.ZodString>;
|
|
121
121
|
}, "strip", z.ZodTypeAny, {
|
|
122
122
|
id: string;
|
|
123
|
+
duration: number;
|
|
124
|
+
speed: number;
|
|
123
125
|
name?: string | undefined;
|
|
124
126
|
preview?: string | undefined;
|
|
125
127
|
presentationId?: string | undefined;
|
|
126
128
|
layout?: string | undefined;
|
|
129
|
+
animation?: string | undefined;
|
|
127
130
|
order?: number | undefined;
|
|
128
131
|
backgroundColor?: string | undefined;
|
|
129
|
-
duration?: number | undefined;
|
|
130
|
-
animation?: string | undefined;
|
|
131
|
-
delay?: number | undefined;
|
|
132
132
|
}, {
|
|
133
133
|
id: string;
|
|
134
|
+
duration: number;
|
|
135
|
+
speed: number;
|
|
134
136
|
name?: string | undefined;
|
|
135
137
|
preview?: string | undefined;
|
|
136
138
|
presentationId?: string | undefined;
|
|
137
139
|
layout?: string | undefined;
|
|
140
|
+
animation?: string | undefined;
|
|
138
141
|
order?: number | undefined;
|
|
139
142
|
backgroundColor?: string | undefined;
|
|
140
|
-
duration?: number | undefined;
|
|
141
|
-
animation?: string | undefined;
|
|
142
|
-
delay?: number | undefined;
|
|
143
143
|
}>;
|
|
144
144
|
export type Page = z.infer<typeof Page>;
|
|
145
145
|
export type CreatePage = z.infer<typeof CreatePage>;
|
|
@@ -156,9 +156,9 @@ export declare const CreatePageRequestBody: z.ZodObject<{
|
|
|
156
156
|
name: z.ZodString;
|
|
157
157
|
presentationId: z.ZodString;
|
|
158
158
|
layout: z.ZodString;
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
159
|
+
duration: z.ZodNumber;
|
|
160
|
+
animation: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
161
|
+
speed: z.ZodNumber;
|
|
162
162
|
order: z.ZodNumber;
|
|
163
163
|
preview: z.ZodString;
|
|
164
164
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -166,28 +166,28 @@ export declare const CreatePageRequestBody: z.ZodObject<{
|
|
|
166
166
|
preview: string;
|
|
167
167
|
presentationId: string;
|
|
168
168
|
layout: string;
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
169
|
+
duration: number;
|
|
170
|
+
animation: string | null;
|
|
171
|
+
speed: number;
|
|
172
172
|
order: number;
|
|
173
173
|
}, {
|
|
174
174
|
name: string;
|
|
175
175
|
preview: string;
|
|
176
176
|
presentationId: string;
|
|
177
177
|
layout: string;
|
|
178
|
+
duration: number;
|
|
179
|
+
speed: number;
|
|
178
180
|
order: number;
|
|
179
|
-
|
|
180
|
-
transition?: number | null | undefined;
|
|
181
|
-
timeout?: number | null | undefined;
|
|
181
|
+
animation?: string | null | undefined;
|
|
182
182
|
}>;
|
|
183
183
|
export type CreatePageRequestBody = z.infer<typeof CreatePageRequestBody>;
|
|
184
184
|
export declare const UpdatePageRequestBody: z.ZodObject<{
|
|
185
185
|
id: z.ZodString;
|
|
186
186
|
name: z.ZodOptional<z.ZodString>;
|
|
187
187
|
layout: z.ZodOptional<z.ZodString>;
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
188
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
189
|
+
animation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
190
|
+
speed: z.ZodOptional<z.ZodNumber>;
|
|
191
191
|
order: z.ZodOptional<z.ZodNumber>;
|
|
192
192
|
preview: z.ZodOptional<z.ZodString>;
|
|
193
193
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -195,18 +195,18 @@ export declare const UpdatePageRequestBody: z.ZodObject<{
|
|
|
195
195
|
name?: string | undefined;
|
|
196
196
|
preview?: string | undefined;
|
|
197
197
|
layout?: string | undefined;
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
198
|
+
duration?: number | undefined;
|
|
199
|
+
animation?: string | null | undefined;
|
|
200
|
+
speed?: number | undefined;
|
|
201
201
|
order?: number | undefined;
|
|
202
202
|
}, {
|
|
203
203
|
id: string;
|
|
204
204
|
name?: string | undefined;
|
|
205
205
|
preview?: string | undefined;
|
|
206
206
|
layout?: string | undefined;
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
207
|
+
duration?: number | undefined;
|
|
208
|
+
animation?: string | null | undefined;
|
|
209
|
+
speed?: number | undefined;
|
|
210
210
|
order?: number | undefined;
|
|
211
211
|
}>;
|
|
212
212
|
export type UpdatePageRequestBody = z.infer<typeof UpdatePageRequestBody>;
|
package/dist/page.type.js
CHANGED
|
@@ -7,9 +7,9 @@ exports.Page = zod_1.z.object({
|
|
|
7
7
|
name: zod_1.z.string(),
|
|
8
8
|
presentationId: zod_1.z.string(),
|
|
9
9
|
layout: zod_1.z.string(),
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
duration: zod_1.z.number(), // speed: z.number().nullable().default(null),
|
|
11
|
+
animation: zod_1.z.string().nullable(), // transition: z.number().nullable().default(null),
|
|
12
|
+
speed: zod_1.z.number(), // timeout: z.number().nullable().default(null),
|
|
13
13
|
order: zod_1.z.number(),
|
|
14
14
|
preview: zod_1.z.string(),
|
|
15
15
|
template: zod_1.z.boolean(),
|
|
@@ -23,8 +23,8 @@ exports.CreatePage = zod_1.z.object({
|
|
|
23
23
|
layout: zod_1.z.string(),
|
|
24
24
|
backgroundColor: zod_1.z.string(),
|
|
25
25
|
duration: zod_1.z.number(), // speed: z.number().nullable().default(null),
|
|
26
|
-
animation: zod_1.z.string(), // transition: z.number().nullable().default(null),
|
|
27
|
-
|
|
26
|
+
animation: zod_1.z.string().nullable(), // transition: z.number().nullable().default(null),
|
|
27
|
+
speed: zod_1.z.number(), // timeout: z.number().nullable().default(null),
|
|
28
28
|
order: zod_1.z.number(),
|
|
29
29
|
preview: zod_1.z.string(),
|
|
30
30
|
});
|
|
@@ -35,9 +35,9 @@ exports.UpdatePage = zod_1.z.object({
|
|
|
35
35
|
presentationId: zod_1.z.string().optional(),
|
|
36
36
|
layout: zod_1.z.string().optional(),
|
|
37
37
|
backgroundColor: zod_1.z.string().optional(),
|
|
38
|
-
duration: zod_1.z.number()
|
|
38
|
+
duration: zod_1.z.number(), // speed: z.number().nullable().optional(),
|
|
39
39
|
animation: zod_1.z.string().optional(), // transition: z.number().nullable().optional(),
|
|
40
|
-
|
|
40
|
+
speed: zod_1.z.number(), // timeout: z.number().nullable().optional(),
|
|
41
41
|
order: zod_1.z.number().optional(),
|
|
42
42
|
preview: zod_1.z.string().optional(),
|
|
43
43
|
});
|
|
@@ -50,9 +50,9 @@ exports.CreatePageRequestBody = zod_1.z.object({
|
|
|
50
50
|
name: zod_1.z.string(),
|
|
51
51
|
presentationId: zod_1.z.string(),
|
|
52
52
|
layout: zod_1.z.string(),
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
duration: zod_1.z.number(), // speed: z.number().nullable().default(null),
|
|
54
|
+
animation: zod_1.z.string().nullable().default(null), // transition: z.number().nullable().default(null),
|
|
55
|
+
speed: zod_1.z.number(), // timeout: z.number().nullable().default(null),
|
|
56
56
|
order: zod_1.z.number(),
|
|
57
57
|
preview: zod_1.z.string(),
|
|
58
58
|
});
|
|
@@ -61,9 +61,9 @@ exports.UpdatePageRequestBody = zod_1.z.object({
|
|
|
61
61
|
id: zod_1.z.string(),
|
|
62
62
|
name: zod_1.z.string().optional(),
|
|
63
63
|
layout: zod_1.z.string().optional(),
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
duration: zod_1.z.number().optional(), // speed: z.number().nullable().optional(),
|
|
65
|
+
animation: zod_1.z.string().nullable().optional(), // transition: z.number().nullable().optional(),
|
|
66
|
+
speed: zod_1.z.number().optional(), // timeout: z.number().nullable().optional(),
|
|
67
67
|
order: zod_1.z.number().optional(),
|
|
68
68
|
preview: zod_1.z.string().optional(),
|
|
69
69
|
});
|
|
@@ -221,33 +221,33 @@ export declare const UpdatePresentationRequestBody: z.ZodObject<{
|
|
|
221
221
|
presentationId: z.ZodOptional<z.ZodString>;
|
|
222
222
|
layout: z.ZodOptional<z.ZodString>;
|
|
223
223
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
224
|
-
duration: z.
|
|
224
|
+
duration: z.ZodNumber;
|
|
225
225
|
animation: z.ZodOptional<z.ZodString>;
|
|
226
|
-
|
|
226
|
+
speed: z.ZodNumber;
|
|
227
227
|
order: z.ZodOptional<z.ZodNumber>;
|
|
228
228
|
preview: z.ZodOptional<z.ZodString>;
|
|
229
229
|
}, "strip", z.ZodTypeAny, {
|
|
230
230
|
id: string;
|
|
231
|
+
duration: number;
|
|
232
|
+
speed: number;
|
|
231
233
|
name?: string | undefined;
|
|
232
234
|
preview?: string | undefined;
|
|
233
235
|
presentationId?: string | undefined;
|
|
234
236
|
layout?: string | undefined;
|
|
237
|
+
animation?: string | undefined;
|
|
235
238
|
order?: number | undefined;
|
|
236
239
|
backgroundColor?: string | undefined;
|
|
237
|
-
duration?: number | undefined;
|
|
238
|
-
animation?: string | undefined;
|
|
239
|
-
delay?: number | undefined;
|
|
240
240
|
}, {
|
|
241
241
|
id: string;
|
|
242
|
+
duration: number;
|
|
243
|
+
speed: number;
|
|
242
244
|
name?: string | undefined;
|
|
243
245
|
preview?: string | undefined;
|
|
244
246
|
presentationId?: string | undefined;
|
|
245
247
|
layout?: string | undefined;
|
|
248
|
+
animation?: string | undefined;
|
|
246
249
|
order?: number | undefined;
|
|
247
250
|
backgroundColor?: string | undefined;
|
|
248
|
-
duration?: number | undefined;
|
|
249
|
-
animation?: string | undefined;
|
|
250
|
-
delay?: number | undefined;
|
|
251
251
|
}>, "many">>;
|
|
252
252
|
deletedPageIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
253
253
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -260,15 +260,15 @@ export declare const UpdatePresentationRequestBody: z.ZodObject<{
|
|
|
260
260
|
previewUrl?: string | null | undefined;
|
|
261
261
|
pages?: {
|
|
262
262
|
id: string;
|
|
263
|
+
duration: number;
|
|
264
|
+
speed: number;
|
|
263
265
|
name?: string | undefined;
|
|
264
266
|
preview?: string | undefined;
|
|
265
267
|
presentationId?: string | undefined;
|
|
266
268
|
layout?: string | undefined;
|
|
269
|
+
animation?: string | undefined;
|
|
267
270
|
order?: number | undefined;
|
|
268
271
|
backgroundColor?: string | undefined;
|
|
269
|
-
duration?: number | undefined;
|
|
270
|
-
animation?: string | undefined;
|
|
271
|
-
delay?: number | undefined;
|
|
272
272
|
}[] | undefined;
|
|
273
273
|
}, {
|
|
274
274
|
name?: string | undefined;
|
|
@@ -279,15 +279,15 @@ export declare const UpdatePresentationRequestBody: z.ZodObject<{
|
|
|
279
279
|
previewUrl?: string | null | undefined;
|
|
280
280
|
pages?: {
|
|
281
281
|
id: string;
|
|
282
|
+
duration: number;
|
|
283
|
+
speed: number;
|
|
282
284
|
name?: string | undefined;
|
|
283
285
|
preview?: string | undefined;
|
|
284
286
|
presentationId?: string | undefined;
|
|
285
287
|
layout?: string | undefined;
|
|
288
|
+
animation?: string | undefined;
|
|
286
289
|
order?: number | undefined;
|
|
287
290
|
backgroundColor?: string | undefined;
|
|
288
|
-
duration?: number | undefined;
|
|
289
|
-
animation?: string | undefined;
|
|
290
|
-
delay?: number | undefined;
|
|
291
291
|
}[] | undefined;
|
|
292
292
|
deletedPageIds?: string[] | undefined;
|
|
293
293
|
}>;
|
package/dist/template.type.d.ts
CHANGED
|
@@ -54,8 +54,8 @@ export declare const PageTemplateCreate: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
54
54
|
layout: z.ZodString;
|
|
55
55
|
backgroundColor: z.ZodString;
|
|
56
56
|
duration: z.ZodNumber;
|
|
57
|
-
animation: z.ZodString
|
|
58
|
-
|
|
57
|
+
animation: z.ZodNullable<z.ZodString>;
|
|
58
|
+
speed: z.ZodNumber;
|
|
59
59
|
order: z.ZodNumber;
|
|
60
60
|
preview: z.ZodString;
|
|
61
61
|
}, {
|
|
@@ -66,11 +66,11 @@ export declare const PageTemplateCreate: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
66
66
|
preview: string;
|
|
67
67
|
presentationId: string;
|
|
68
68
|
layout: string;
|
|
69
|
+
duration: number;
|
|
70
|
+
animation: string | null;
|
|
71
|
+
speed: number;
|
|
69
72
|
order: number;
|
|
70
73
|
backgroundColor: string;
|
|
71
|
-
duration: number;
|
|
72
|
-
animation: string;
|
|
73
|
-
delay: number;
|
|
74
74
|
id?: string | undefined;
|
|
75
75
|
}, {
|
|
76
76
|
name: string;
|
|
@@ -78,11 +78,11 @@ export declare const PageTemplateCreate: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
78
78
|
preview: string;
|
|
79
79
|
presentationId: string;
|
|
80
80
|
layout: string;
|
|
81
|
+
duration: number;
|
|
82
|
+
animation: string | null;
|
|
83
|
+
speed: number;
|
|
81
84
|
order: number;
|
|
82
85
|
backgroundColor: string;
|
|
83
|
-
duration: number;
|
|
84
|
-
animation: string;
|
|
85
|
-
delay: number;
|
|
86
86
|
id?: string | undefined;
|
|
87
87
|
}>;
|
|
88
88
|
export declare const TemplateCreate: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -126,8 +126,8 @@ export declare const TemplateCreate: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
126
126
|
layout: z.ZodString;
|
|
127
127
|
backgroundColor: z.ZodString;
|
|
128
128
|
duration: z.ZodNumber;
|
|
129
|
-
animation: z.ZodString
|
|
130
|
-
|
|
129
|
+
animation: z.ZodNullable<z.ZodString>;
|
|
130
|
+
speed: z.ZodNumber;
|
|
131
131
|
order: z.ZodNumber;
|
|
132
132
|
preview: z.ZodString;
|
|
133
133
|
}, {
|
|
@@ -138,11 +138,11 @@ export declare const TemplateCreate: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
138
138
|
preview: string;
|
|
139
139
|
presentationId: string;
|
|
140
140
|
layout: string;
|
|
141
|
+
duration: number;
|
|
142
|
+
animation: string | null;
|
|
143
|
+
speed: number;
|
|
141
144
|
order: number;
|
|
142
145
|
backgroundColor: string;
|
|
143
|
-
duration: number;
|
|
144
|
-
animation: string;
|
|
145
|
-
delay: number;
|
|
146
146
|
id?: string | undefined;
|
|
147
147
|
}, {
|
|
148
148
|
name: string;
|
|
@@ -150,11 +150,11 @@ export declare const TemplateCreate: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
150
150
|
preview: string;
|
|
151
151
|
presentationId: string;
|
|
152
152
|
layout: string;
|
|
153
|
+
duration: number;
|
|
154
|
+
animation: string | null;
|
|
155
|
+
speed: number;
|
|
153
156
|
order: number;
|
|
154
157
|
backgroundColor: string;
|
|
155
|
-
duration: number;
|
|
156
|
-
animation: string;
|
|
157
|
-
delay: number;
|
|
158
158
|
id?: string | undefined;
|
|
159
159
|
}>]>;
|
|
160
160
|
export type PresentationTemplateCreate = z.infer<typeof PresentationTemplateCreate>;
|
|
@@ -201,9 +201,9 @@ export declare const PageTemplateUpdate: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
201
201
|
presentationId: z.ZodOptional<z.ZodString>;
|
|
202
202
|
layout: z.ZodOptional<z.ZodString>;
|
|
203
203
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
204
|
-
duration: z.
|
|
204
|
+
duration: z.ZodNumber;
|
|
205
205
|
animation: z.ZodOptional<z.ZodString>;
|
|
206
|
-
|
|
206
|
+
speed: z.ZodNumber;
|
|
207
207
|
order: z.ZodOptional<z.ZodNumber>;
|
|
208
208
|
preview: z.ZodOptional<z.ZodString>;
|
|
209
209
|
}, {
|
|
@@ -211,27 +211,27 @@ export declare const PageTemplateUpdate: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
211
211
|
}>, "strip", z.ZodTypeAny, {
|
|
212
212
|
id: string;
|
|
213
213
|
type: string;
|
|
214
|
+
duration: number;
|
|
215
|
+
speed: number;
|
|
214
216
|
name?: string | undefined;
|
|
215
217
|
preview?: string | undefined;
|
|
216
218
|
presentationId?: string | undefined;
|
|
217
219
|
layout?: string | undefined;
|
|
220
|
+
animation?: string | undefined;
|
|
218
221
|
order?: number | undefined;
|
|
219
222
|
backgroundColor?: string | undefined;
|
|
220
|
-
duration?: number | undefined;
|
|
221
|
-
animation?: string | undefined;
|
|
222
|
-
delay?: number | undefined;
|
|
223
223
|
}, {
|
|
224
224
|
id: string;
|
|
225
225
|
type: string;
|
|
226
|
+
duration: number;
|
|
227
|
+
speed: number;
|
|
226
228
|
name?: string | undefined;
|
|
227
229
|
preview?: string | undefined;
|
|
228
230
|
presentationId?: string | undefined;
|
|
229
231
|
layout?: string | undefined;
|
|
232
|
+
animation?: string | undefined;
|
|
230
233
|
order?: number | undefined;
|
|
231
234
|
backgroundColor?: string | undefined;
|
|
232
|
-
duration?: number | undefined;
|
|
233
|
-
animation?: string | undefined;
|
|
234
|
-
delay?: number | undefined;
|
|
235
235
|
}>;
|
|
236
236
|
export declare const TemplateUpdate: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
|
237
237
|
id: z.ZodString;
|
|
@@ -273,9 +273,9 @@ export declare const TemplateUpdate: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
273
273
|
presentationId: z.ZodOptional<z.ZodString>;
|
|
274
274
|
layout: z.ZodOptional<z.ZodString>;
|
|
275
275
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
276
|
-
duration: z.
|
|
276
|
+
duration: z.ZodNumber;
|
|
277
277
|
animation: z.ZodOptional<z.ZodString>;
|
|
278
|
-
|
|
278
|
+
speed: z.ZodNumber;
|
|
279
279
|
order: z.ZodOptional<z.ZodNumber>;
|
|
280
280
|
preview: z.ZodOptional<z.ZodString>;
|
|
281
281
|
}, {
|
|
@@ -283,27 +283,27 @@ export declare const TemplateUpdate: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
283
283
|
}>, "strip", z.ZodTypeAny, {
|
|
284
284
|
id: string;
|
|
285
285
|
type: string;
|
|
286
|
+
duration: number;
|
|
287
|
+
speed: number;
|
|
286
288
|
name?: string | undefined;
|
|
287
289
|
preview?: string | undefined;
|
|
288
290
|
presentationId?: string | undefined;
|
|
289
291
|
layout?: string | undefined;
|
|
292
|
+
animation?: string | undefined;
|
|
290
293
|
order?: number | undefined;
|
|
291
294
|
backgroundColor?: string | undefined;
|
|
292
|
-
duration?: number | undefined;
|
|
293
|
-
animation?: string | undefined;
|
|
294
|
-
delay?: number | undefined;
|
|
295
295
|
}, {
|
|
296
296
|
id: string;
|
|
297
297
|
type: string;
|
|
298
|
+
duration: number;
|
|
299
|
+
speed: number;
|
|
298
300
|
name?: string | undefined;
|
|
299
301
|
preview?: string | undefined;
|
|
300
302
|
presentationId?: string | undefined;
|
|
301
303
|
layout?: string | undefined;
|
|
304
|
+
animation?: string | undefined;
|
|
302
305
|
order?: number | undefined;
|
|
303
306
|
backgroundColor?: string | undefined;
|
|
304
|
-
duration?: number | undefined;
|
|
305
|
-
animation?: string | undefined;
|
|
306
|
-
delay?: number | undefined;
|
|
307
307
|
}>]>;
|
|
308
308
|
export type PresentationTemplateUpdate = z.infer<typeof PresentationTemplateUpdate>;
|
|
309
309
|
export type PageTemplateUpdate = z.infer<typeof PageTemplateUpdate>;
|