api-arreya-types 1.0.54 → 1.0.56
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/alert.type.d.ts +137 -9
- package/dist/alert.type.js +29 -36
- package/dist/page.type.d.ts +2 -2
- package/dist/presentation.type.d.ts +4 -4
- package/dist/schedule.type.d.ts +12 -12
- package/dist/slide.type.d.ts +2 -2
- package/dist/slideshow.type.d.ts +4 -4
- package/package.json +1 -1
package/dist/alert.type.d.ts
CHANGED
|
@@ -2,25 +2,153 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const Alert: z.ZodObject<{
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
projectId: z.ZodString;
|
|
5
|
+
source: z.ZodString;
|
|
5
6
|
title: z.ZodString;
|
|
6
7
|
message: z.ZodString;
|
|
8
|
+
color: z.ZodString;
|
|
9
|
+
background: z.ZodString;
|
|
10
|
+
animation: z.ZodString;
|
|
11
|
+
timeout: z.ZodNumber;
|
|
7
12
|
createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
|
|
8
13
|
updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
|
|
9
14
|
}, "strip", z.ZodTypeAny, {
|
|
10
15
|
message: string;
|
|
11
16
|
id: string;
|
|
12
17
|
projectId: string;
|
|
18
|
+
source: string;
|
|
13
19
|
title: string;
|
|
20
|
+
color: string;
|
|
21
|
+
background: string;
|
|
22
|
+
animation: string;
|
|
23
|
+
timeout: number;
|
|
14
24
|
createdAt: Date;
|
|
15
25
|
updatedAt: Date;
|
|
16
26
|
}, {
|
|
17
27
|
message: string;
|
|
18
28
|
id: string;
|
|
19
29
|
projectId: string;
|
|
30
|
+
source: string;
|
|
20
31
|
title: string;
|
|
32
|
+
color: string;
|
|
33
|
+
background: string;
|
|
34
|
+
animation: string;
|
|
35
|
+
timeout: number;
|
|
21
36
|
createdAt: string | Date;
|
|
22
37
|
updatedAt: string | Date;
|
|
23
38
|
}>;
|
|
39
|
+
export type Alert = z.infer<typeof Alert>;
|
|
40
|
+
export declare const CreateAlert: z.ZodObject<{
|
|
41
|
+
projectId: z.ZodString;
|
|
42
|
+
source: z.ZodString;
|
|
43
|
+
title: z.ZodString;
|
|
44
|
+
message: z.ZodString;
|
|
45
|
+
color: z.ZodString;
|
|
46
|
+
background: z.ZodString;
|
|
47
|
+
animation: z.ZodString;
|
|
48
|
+
timeout: z.ZodNumber;
|
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
|
50
|
+
message: string;
|
|
51
|
+
projectId: string;
|
|
52
|
+
source: string;
|
|
53
|
+
title: string;
|
|
54
|
+
color: string;
|
|
55
|
+
background: string;
|
|
56
|
+
animation: string;
|
|
57
|
+
timeout: number;
|
|
58
|
+
}, {
|
|
59
|
+
message: string;
|
|
60
|
+
projectId: string;
|
|
61
|
+
source: string;
|
|
62
|
+
title: string;
|
|
63
|
+
color: string;
|
|
64
|
+
background: string;
|
|
65
|
+
animation: string;
|
|
66
|
+
timeout: number;
|
|
67
|
+
}>;
|
|
68
|
+
export declare const UpdateAlert: z.ZodObject<{
|
|
69
|
+
id: z.ZodString;
|
|
70
|
+
source: z.ZodString;
|
|
71
|
+
title: z.ZodOptional<z.ZodString>;
|
|
72
|
+
message: z.ZodOptional<z.ZodString>;
|
|
73
|
+
color: z.ZodOptional<z.ZodString>;
|
|
74
|
+
background: z.ZodOptional<z.ZodString>;
|
|
75
|
+
animation: z.ZodOptional<z.ZodString>;
|
|
76
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
77
|
+
}, "strip", z.ZodTypeAny, {
|
|
78
|
+
id: string;
|
|
79
|
+
source: string;
|
|
80
|
+
message?: string | undefined;
|
|
81
|
+
title?: string | undefined;
|
|
82
|
+
color?: string | undefined;
|
|
83
|
+
background?: string | undefined;
|
|
84
|
+
animation?: string | undefined;
|
|
85
|
+
timeout?: number | undefined;
|
|
86
|
+
}, {
|
|
87
|
+
id: string;
|
|
88
|
+
source: string;
|
|
89
|
+
message?: string | undefined;
|
|
90
|
+
title?: string | undefined;
|
|
91
|
+
color?: string | undefined;
|
|
92
|
+
background?: string | undefined;
|
|
93
|
+
animation?: string | undefined;
|
|
94
|
+
timeout?: number | undefined;
|
|
95
|
+
}>;
|
|
96
|
+
export type CreateAlert = z.infer<typeof CreateAlert>;
|
|
97
|
+
export type UpdateAlert = z.infer<typeof UpdateAlert>;
|
|
98
|
+
export declare const CreateAlertRequestBody: z.ZodObject<Omit<{
|
|
99
|
+
projectId: z.ZodString;
|
|
100
|
+
source: z.ZodString;
|
|
101
|
+
title: z.ZodString;
|
|
102
|
+
message: z.ZodString;
|
|
103
|
+
color: z.ZodString;
|
|
104
|
+
background: z.ZodString;
|
|
105
|
+
animation: z.ZodString;
|
|
106
|
+
timeout: z.ZodNumber;
|
|
107
|
+
}, "projectId">, "strip", z.ZodTypeAny, {
|
|
108
|
+
message: string;
|
|
109
|
+
source: string;
|
|
110
|
+
title: string;
|
|
111
|
+
color: string;
|
|
112
|
+
background: string;
|
|
113
|
+
animation: string;
|
|
114
|
+
timeout: number;
|
|
115
|
+
}, {
|
|
116
|
+
message: string;
|
|
117
|
+
source: string;
|
|
118
|
+
title: string;
|
|
119
|
+
color: string;
|
|
120
|
+
background: string;
|
|
121
|
+
animation: string;
|
|
122
|
+
timeout: number;
|
|
123
|
+
}>;
|
|
124
|
+
export declare const UpdateAlertRequestBody: z.ZodObject<Omit<{
|
|
125
|
+
id: z.ZodString;
|
|
126
|
+
source: z.ZodString;
|
|
127
|
+
title: z.ZodOptional<z.ZodString>;
|
|
128
|
+
message: z.ZodOptional<z.ZodString>;
|
|
129
|
+
color: z.ZodOptional<z.ZodString>;
|
|
130
|
+
background: z.ZodOptional<z.ZodString>;
|
|
131
|
+
animation: z.ZodOptional<z.ZodString>;
|
|
132
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
133
|
+
}, "id">, "strip", z.ZodTypeAny, {
|
|
134
|
+
source: string;
|
|
135
|
+
message?: string | undefined;
|
|
136
|
+
title?: string | undefined;
|
|
137
|
+
color?: string | undefined;
|
|
138
|
+
background?: string | undefined;
|
|
139
|
+
animation?: string | undefined;
|
|
140
|
+
timeout?: number | undefined;
|
|
141
|
+
}, {
|
|
142
|
+
source: string;
|
|
143
|
+
message?: string | undefined;
|
|
144
|
+
title?: string | undefined;
|
|
145
|
+
color?: string | undefined;
|
|
146
|
+
background?: string | undefined;
|
|
147
|
+
animation?: string | undefined;
|
|
148
|
+
timeout?: number | undefined;
|
|
149
|
+
}>;
|
|
150
|
+
export type CreateAlertRequestBody = z.infer<typeof CreateAlertRequestBody>;
|
|
151
|
+
export type UpdateAlertRequestBody = z.infer<typeof UpdateAlertRequestBody>;
|
|
24
152
|
export declare const BeepAlert: z.ZodObject<{
|
|
25
153
|
soundEffect: z.ZodLiteral<"beep">;
|
|
26
154
|
soundPitch: z.ZodNumber;
|
|
@@ -125,21 +253,21 @@ export declare const ContinuousToneAlert: z.ZodObject<{
|
|
|
125
253
|
soundDuration: z.ZodNumber;
|
|
126
254
|
timeout: z.ZodNumber;
|
|
127
255
|
}, "strip", z.ZodTypeAny, {
|
|
256
|
+
timeout: number;
|
|
128
257
|
soundEffect: "continuousTone";
|
|
129
258
|
soundPitch: number;
|
|
130
259
|
soundDelay: number;
|
|
131
260
|
soundVolume: number;
|
|
132
261
|
soundLoop: boolean;
|
|
133
262
|
soundDuration: number;
|
|
134
|
-
timeout: number;
|
|
135
263
|
}, {
|
|
264
|
+
timeout: number;
|
|
136
265
|
soundEffect: "continuousTone";
|
|
137
266
|
soundPitch: number;
|
|
138
267
|
soundDelay: number;
|
|
139
268
|
soundVolume: number;
|
|
140
269
|
soundLoop: boolean;
|
|
141
270
|
soundDuration: number;
|
|
142
|
-
timeout: number;
|
|
143
271
|
}>;
|
|
144
272
|
export declare const SpeechAlert: z.ZodObject<{
|
|
145
273
|
soundEffect: z.ZodLiteral<"speech">;
|
|
@@ -184,7 +312,7 @@ export declare const AudioFileAlert: z.ZodObject<{
|
|
|
184
312
|
}>;
|
|
185
313
|
export declare const AlertRequestParams: z.ZodObject<{
|
|
186
314
|
id: z.ZodString;
|
|
187
|
-
source: z.
|
|
315
|
+
source: z.ZodString;
|
|
188
316
|
icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
189
317
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
190
318
|
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -211,6 +339,7 @@ export declare const AlertRequestParams: z.ZodObject<{
|
|
|
211
339
|
endTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>>>;
|
|
212
340
|
}, "strip", z.ZodTypeAny, {
|
|
213
341
|
id: string;
|
|
342
|
+
source: string;
|
|
214
343
|
soundEffect: string;
|
|
215
344
|
soundPitch: string;
|
|
216
345
|
soundDelay: string;
|
|
@@ -222,22 +351,22 @@ export declare const AlertRequestParams: z.ZodObject<{
|
|
|
222
351
|
soundRate: string;
|
|
223
352
|
soundUrl: string;
|
|
224
353
|
soundAudioVolume: string;
|
|
225
|
-
source: "api";
|
|
226
354
|
sound: string;
|
|
227
355
|
schedule: string;
|
|
228
356
|
soundVoice: string;
|
|
229
357
|
message?: string | null | undefined;
|
|
230
358
|
title?: string | null | undefined;
|
|
231
|
-
timeout?: number | null | undefined;
|
|
232
|
-
icon?: string | null | undefined;
|
|
233
359
|
color?: string | null | undefined;
|
|
234
360
|
background?: string | null | undefined;
|
|
235
361
|
animation?: string | null | undefined;
|
|
362
|
+
timeout?: number | null | undefined;
|
|
363
|
+
icon?: string | null | undefined;
|
|
236
364
|
timeoutUnit?: string | null | undefined;
|
|
237
365
|
startTime?: Date | null | undefined;
|
|
238
366
|
endTime?: Date | null | undefined;
|
|
239
367
|
}, {
|
|
240
368
|
id: string;
|
|
369
|
+
source: string;
|
|
241
370
|
soundEffect: string;
|
|
242
371
|
soundPitch: string;
|
|
243
372
|
soundDelay: string;
|
|
@@ -249,17 +378,16 @@ export declare const AlertRequestParams: z.ZodObject<{
|
|
|
249
378
|
soundRate: string;
|
|
250
379
|
soundUrl: string;
|
|
251
380
|
soundAudioVolume: string;
|
|
252
|
-
source: "api";
|
|
253
381
|
sound: string;
|
|
254
382
|
schedule: string;
|
|
255
383
|
soundVoice: string;
|
|
256
384
|
message?: string | null | undefined;
|
|
257
385
|
title?: string | null | undefined;
|
|
258
|
-
timeout?: number | null | undefined;
|
|
259
|
-
icon?: string | null | undefined;
|
|
260
386
|
color?: string | null | undefined;
|
|
261
387
|
background?: string | null | undefined;
|
|
262
388
|
animation?: string | null | undefined;
|
|
389
|
+
timeout?: number | null | undefined;
|
|
390
|
+
icon?: string | null | undefined;
|
|
263
391
|
timeoutUnit?: string | null | undefined;
|
|
264
392
|
startTime?: string | Date | null | undefined;
|
|
265
393
|
endTime?: string | Date | null | undefined;
|
package/dist/alert.type.js
CHANGED
|
@@ -1,26 +1,43 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AlertRequestParams = exports.AudioFileAlert = exports.SpeechAlert = exports.ContinuousToneAlert = exports.IntermittentToneAlert = exports.FireAlert = exports.ClickAlert = exports.TapAlert = exports.BeepAlert = exports.Alert = void 0;
|
|
3
|
+
exports.AlertRequestParams = exports.AudioFileAlert = exports.SpeechAlert = exports.ContinuousToneAlert = exports.IntermittentToneAlert = exports.FireAlert = exports.ClickAlert = exports.TapAlert = exports.BeepAlert = exports.UpdateAlertRequestBody = exports.CreateAlertRequestBody = exports.UpdateAlert = exports.CreateAlert = exports.Alert = void 0;
|
|
4
4
|
var zod_1 = require("zod");
|
|
5
5
|
var zod_utils_1 = require("./zod-utils");
|
|
6
6
|
exports.Alert = zod_1.z.object({
|
|
7
7
|
id: zod_1.z.string(),
|
|
8
8
|
projectId: zod_1.z.string(),
|
|
9
|
+
source: zod_1.z.string(),
|
|
9
10
|
title: zod_1.z.string(),
|
|
10
11
|
message: zod_1.z.string(),
|
|
12
|
+
color: zod_1.z.string(),
|
|
13
|
+
background: zod_1.z.string(),
|
|
14
|
+
animation: zod_1.z.string(),
|
|
15
|
+
timeout: zod_1.z.number(),
|
|
11
16
|
createdAt: zod_utils_1.zodDate,
|
|
12
17
|
updatedAt: zod_utils_1.zodDate,
|
|
13
18
|
});
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
exports.CreateAlert = zod_1.z.object({
|
|
20
|
+
projectId: zod_1.z.string(),
|
|
21
|
+
source: zod_1.z.string(),
|
|
22
|
+
title: zod_1.z.string(),
|
|
23
|
+
message: zod_1.z.string(),
|
|
24
|
+
color: zod_1.z.string(),
|
|
25
|
+
background: zod_1.z.string(),
|
|
26
|
+
animation: zod_1.z.string(),
|
|
27
|
+
timeout: zod_1.z.number(),
|
|
28
|
+
});
|
|
29
|
+
exports.UpdateAlert = zod_1.z.object({
|
|
30
|
+
id: zod_1.z.string(),
|
|
31
|
+
source: zod_1.z.string(),
|
|
32
|
+
title: zod_1.z.string().optional(),
|
|
33
|
+
message: zod_1.z.string().optional(),
|
|
34
|
+
color: zod_1.z.string().optional(),
|
|
35
|
+
background: zod_1.z.string().optional(),
|
|
36
|
+
animation: zod_1.z.string().optional(),
|
|
37
|
+
timeout: zod_1.z.number().optional(),
|
|
38
|
+
});
|
|
39
|
+
exports.CreateAlertRequestBody = exports.CreateAlert.omit({ projectId: true });
|
|
40
|
+
exports.UpdateAlertRequestBody = exports.UpdateAlert.omit({ id: true });
|
|
24
41
|
// Legacy alert request params
|
|
25
42
|
var animations = [
|
|
26
43
|
'bounce',
|
|
@@ -182,7 +199,7 @@ exports.AudioFileAlert = zod_1.z.object({
|
|
|
182
199
|
});
|
|
183
200
|
exports.AlertRequestParams = zod_1.z.object({
|
|
184
201
|
id: zod_1.z.string(),
|
|
185
|
-
source: zod_1.z.
|
|
202
|
+
source: zod_1.z.string(),
|
|
186
203
|
icon: zod_1.z.string().nullable().optional(),
|
|
187
204
|
message: zod_1.z.string().nullable().optional(),
|
|
188
205
|
color: zod_1.z.string().nullable().optional(),
|
|
@@ -207,28 +224,4 @@ exports.AlertRequestParams = zod_1.z.object({
|
|
|
207
224
|
soundUrl: zod_1.z.string(),
|
|
208
225
|
startTime: zod_utils_1.zodDate.nullable().optional(),
|
|
209
226
|
endTime: zod_utils_1.zodDate.nullable().optional(),
|
|
210
|
-
// message.icon = req.param('icon'); // 'phone'
|
|
211
|
-
// message.message = req.param('message'); // 'MOORE AHSLEY (13199291968)'
|
|
212
|
-
// message.color = req.param('color'); // '#32a852'
|
|
213
|
-
// message.background = req.param('background');
|
|
214
|
-
// message.title = req.param('title'); // 'Incoming Call'
|
|
215
|
-
// message.timeout = req.param('timeout'); // 10
|
|
216
|
-
// message.animation = req.param('animation');
|
|
217
|
-
// message.timeoutUnit = req.param('timeoutUnit');
|
|
218
|
-
// // message.sound = req.param('sound');
|
|
219
|
-
// message.schedule = req.param('schedule');
|
|
220
|
-
// message.soundLoop = req.param('soundLoop');
|
|
221
|
-
// message.soundEffect = req.param('soundEffect');
|
|
222
|
-
// message.soundPitch = req.param('soundPitch');
|
|
223
|
-
// message.soundVoicePitch = req.param('soundVoicePitch');
|
|
224
|
-
// message.soundVolume = req.param('soundVolume');
|
|
225
|
-
// message.soundAudioVolume = req.param('soundAudioVolume');
|
|
226
|
-
// message.soundDelay = req.param('soundDelay');
|
|
227
|
-
// message.soundDuration = req.param('soundDuration');
|
|
228
|
-
// message.soundVoice = req.param('soundVoice');
|
|
229
|
-
// message.soundRate = req.param('soundRate');
|
|
230
|
-
// message.soundText = req.param('soundText');
|
|
231
|
-
// message.soundUrl = req.param('soundUrl');
|
|
232
|
-
// message.startTime = decodeURIComponent(req.param('startTime'));
|
|
233
|
-
// message.endTime = decodeURIComponent(req.param('endTime'));
|
|
234
227
|
});
|
package/dist/page.type.d.ts
CHANGED
|
@@ -14,9 +14,9 @@ export declare const Page: z.ZodObject<{
|
|
|
14
14
|
updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
16
|
id: string;
|
|
17
|
+
animation: string | null;
|
|
17
18
|
createdAt: Date;
|
|
18
19
|
updatedAt: Date;
|
|
19
|
-
animation: string | null;
|
|
20
20
|
name: string;
|
|
21
21
|
preview: string;
|
|
22
22
|
presentationId: string;
|
|
@@ -27,9 +27,9 @@ export declare const Page: z.ZodObject<{
|
|
|
27
27
|
template: boolean;
|
|
28
28
|
}, {
|
|
29
29
|
id: string;
|
|
30
|
+
animation: string | null;
|
|
30
31
|
createdAt: string | Date;
|
|
31
32
|
updatedAt: string | Date;
|
|
32
|
-
animation: string | null;
|
|
33
33
|
name: string;
|
|
34
34
|
preview: string;
|
|
35
35
|
presentationId: string;
|
|
@@ -177,9 +177,9 @@ export declare const PresentationExtended: z.ZodObject<z.objectUtil.extendShape<
|
|
|
177
177
|
updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
|
|
178
178
|
}, "strip", z.ZodTypeAny, {
|
|
179
179
|
id: string;
|
|
180
|
+
animation: string | null;
|
|
180
181
|
createdAt: Date;
|
|
181
182
|
updatedAt: Date;
|
|
182
|
-
animation: string | null;
|
|
183
183
|
name: string;
|
|
184
184
|
preview: string;
|
|
185
185
|
presentationId: string;
|
|
@@ -190,9 +190,9 @@ export declare const PresentationExtended: z.ZodObject<z.objectUtil.extendShape<
|
|
|
190
190
|
template: boolean;
|
|
191
191
|
}, {
|
|
192
192
|
id: string;
|
|
193
|
+
animation: string | null;
|
|
193
194
|
createdAt: string | Date;
|
|
194
195
|
updatedAt: string | Date;
|
|
195
|
-
animation: string | null;
|
|
196
196
|
name: string;
|
|
197
197
|
preview: string;
|
|
198
198
|
presentationId: string;
|
|
@@ -242,9 +242,9 @@ export declare const PresentationExtended: z.ZodObject<z.objectUtil.extendShape<
|
|
|
242
242
|
}[];
|
|
243
243
|
pages: {
|
|
244
244
|
id: string;
|
|
245
|
+
animation: string | null;
|
|
245
246
|
createdAt: Date;
|
|
246
247
|
updatedAt: Date;
|
|
247
|
-
animation: string | null;
|
|
248
248
|
name: string;
|
|
249
249
|
preview: string;
|
|
250
250
|
presentationId: string;
|
|
@@ -275,9 +275,9 @@ export declare const PresentationExtended: z.ZodObject<z.objectUtil.extendShape<
|
|
|
275
275
|
}[];
|
|
276
276
|
pages: {
|
|
277
277
|
id: string;
|
|
278
|
+
animation: string | null;
|
|
278
279
|
createdAt: string | Date;
|
|
279
280
|
updatedAt: string | Date;
|
|
280
|
-
animation: string | null;
|
|
281
281
|
name: string;
|
|
282
282
|
preview: string;
|
|
283
283
|
presentationId: string;
|
package/dist/schedule.type.d.ts
CHANGED
|
@@ -16,9 +16,9 @@ export declare const BaseSchedule: z.ZodObject<{
|
|
|
16
16
|
id: string;
|
|
17
17
|
projectId: string;
|
|
18
18
|
title: string;
|
|
19
|
+
color: string;
|
|
19
20
|
createdAt: Date;
|
|
20
21
|
updatedAt: Date;
|
|
21
|
-
color: string;
|
|
22
22
|
presentationId: string;
|
|
23
23
|
start: Date;
|
|
24
24
|
end: Date;
|
|
@@ -29,9 +29,9 @@ export declare const BaseSchedule: z.ZodObject<{
|
|
|
29
29
|
id: string;
|
|
30
30
|
projectId: string;
|
|
31
31
|
title: string;
|
|
32
|
+
color: string;
|
|
32
33
|
createdAt: string | Date;
|
|
33
34
|
updatedAt: string | Date;
|
|
34
|
-
color: string;
|
|
35
35
|
presentationId: string;
|
|
36
36
|
start: string | Date;
|
|
37
37
|
end: string | Date;
|
|
@@ -61,9 +61,9 @@ export declare const RecurSchedule: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
61
61
|
id: string;
|
|
62
62
|
projectId: string;
|
|
63
63
|
title: string;
|
|
64
|
+
color: string;
|
|
64
65
|
createdAt: Date;
|
|
65
66
|
updatedAt: Date;
|
|
66
|
-
color: string;
|
|
67
67
|
presentationId: string;
|
|
68
68
|
start: Date;
|
|
69
69
|
end: Date;
|
|
@@ -78,9 +78,9 @@ export declare const RecurSchedule: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
78
78
|
id: string;
|
|
79
79
|
projectId: string;
|
|
80
80
|
title: string;
|
|
81
|
+
color: string;
|
|
81
82
|
createdAt: string | Date;
|
|
82
83
|
updatedAt: string | Date;
|
|
83
|
-
color: string;
|
|
84
84
|
presentationId: string;
|
|
85
85
|
start: string | Date;
|
|
86
86
|
end: string | Date;
|
|
@@ -114,9 +114,9 @@ export declare const NonRecurSchedule: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
114
114
|
id: string;
|
|
115
115
|
projectId: string;
|
|
116
116
|
title: string;
|
|
117
|
+
color: string;
|
|
117
118
|
createdAt: Date;
|
|
118
119
|
updatedAt: Date;
|
|
119
|
-
color: string;
|
|
120
120
|
presentationId: string;
|
|
121
121
|
start: Date;
|
|
122
122
|
end: Date;
|
|
@@ -131,9 +131,9 @@ export declare const NonRecurSchedule: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
131
131
|
id: string;
|
|
132
132
|
projectId: string;
|
|
133
133
|
title: string;
|
|
134
|
+
color: string;
|
|
134
135
|
createdAt: string | Date;
|
|
135
136
|
updatedAt: string | Date;
|
|
136
|
-
color: string;
|
|
137
137
|
presentationId: string;
|
|
138
138
|
start: string | Date;
|
|
139
139
|
end: string | Date;
|
|
@@ -180,9 +180,9 @@ export declare const Schedule: z.ZodDiscriminatedUnion<"recur", [z.ZodObject<z.o
|
|
|
180
180
|
id: string;
|
|
181
181
|
projectId: string;
|
|
182
182
|
title: string;
|
|
183
|
+
color: string;
|
|
183
184
|
createdAt: Date;
|
|
184
185
|
updatedAt: Date;
|
|
185
|
-
color: string;
|
|
186
186
|
presentationId: string;
|
|
187
187
|
start: Date;
|
|
188
188
|
end: Date;
|
|
@@ -197,9 +197,9 @@ export declare const Schedule: z.ZodDiscriminatedUnion<"recur", [z.ZodObject<z.o
|
|
|
197
197
|
id: string;
|
|
198
198
|
projectId: string;
|
|
199
199
|
title: string;
|
|
200
|
+
color: string;
|
|
200
201
|
createdAt: string | Date;
|
|
201
202
|
updatedAt: string | Date;
|
|
202
|
-
color: string;
|
|
203
203
|
presentationId: string;
|
|
204
204
|
start: string | Date;
|
|
205
205
|
end: string | Date;
|
|
@@ -245,9 +245,9 @@ export declare const Schedule: z.ZodDiscriminatedUnion<"recur", [z.ZodObject<z.o
|
|
|
245
245
|
id: string;
|
|
246
246
|
projectId: string;
|
|
247
247
|
title: string;
|
|
248
|
+
color: string;
|
|
248
249
|
createdAt: Date;
|
|
249
250
|
updatedAt: Date;
|
|
250
|
-
color: string;
|
|
251
251
|
presentationId: string;
|
|
252
252
|
start: Date;
|
|
253
253
|
end: Date;
|
|
@@ -262,9 +262,9 @@ export declare const Schedule: z.ZodDiscriminatedUnion<"recur", [z.ZodObject<z.o
|
|
|
262
262
|
id: string;
|
|
263
263
|
projectId: string;
|
|
264
264
|
title: string;
|
|
265
|
+
color: string;
|
|
265
266
|
createdAt: string | Date;
|
|
266
267
|
updatedAt: string | Date;
|
|
267
|
-
color: string;
|
|
268
268
|
presentationId: string;
|
|
269
269
|
start: string | Date;
|
|
270
270
|
end: string | Date;
|
|
@@ -297,9 +297,9 @@ export declare const ScheduleFromDB: z.ZodObject<{
|
|
|
297
297
|
id: string;
|
|
298
298
|
projectId: string;
|
|
299
299
|
title: string;
|
|
300
|
+
color: string;
|
|
300
301
|
createdAt: Date;
|
|
301
302
|
updatedAt: Date;
|
|
302
|
-
color: string;
|
|
303
303
|
presentationId: string;
|
|
304
304
|
start: Date;
|
|
305
305
|
end: Date;
|
|
@@ -314,9 +314,9 @@ export declare const ScheduleFromDB: z.ZodObject<{
|
|
|
314
314
|
id: string;
|
|
315
315
|
projectId: string;
|
|
316
316
|
title: string;
|
|
317
|
+
color: string;
|
|
317
318
|
createdAt: Date;
|
|
318
319
|
updatedAt: Date;
|
|
319
|
-
color: string;
|
|
320
320
|
presentationId: string;
|
|
321
321
|
start: Date;
|
|
322
322
|
end: Date;
|
package/dist/slide.type.d.ts
CHANGED
|
@@ -65,9 +65,9 @@ export declare const Slide: z.ZodObject<{
|
|
|
65
65
|
}, "strip", z.ZodTypeAny, {
|
|
66
66
|
id: string;
|
|
67
67
|
title: string | null;
|
|
68
|
+
timeout: number;
|
|
68
69
|
createdAt: Date;
|
|
69
70
|
updatedAt: Date;
|
|
70
|
-
timeout: number;
|
|
71
71
|
speed: number;
|
|
72
72
|
order: number;
|
|
73
73
|
start: Date | null;
|
|
@@ -96,9 +96,9 @@ export declare const Slide: z.ZodObject<{
|
|
|
96
96
|
}, {
|
|
97
97
|
id: string;
|
|
98
98
|
title: string | null;
|
|
99
|
+
timeout: number;
|
|
99
100
|
createdAt: string | Date;
|
|
100
101
|
updatedAt: string | Date;
|
|
101
|
-
timeout: number;
|
|
102
102
|
speed: number;
|
|
103
103
|
order: number;
|
|
104
104
|
start: string | Date | null;
|
package/dist/slideshow.type.d.ts
CHANGED
|
@@ -193,9 +193,9 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
193
193
|
}, "strip", z.ZodTypeAny, {
|
|
194
194
|
id: string;
|
|
195
195
|
title: string | null;
|
|
196
|
+
timeout: number;
|
|
196
197
|
createdAt: Date;
|
|
197
198
|
updatedAt: Date;
|
|
198
|
-
timeout: number;
|
|
199
199
|
speed: number;
|
|
200
200
|
order: number;
|
|
201
201
|
start: Date | null;
|
|
@@ -224,9 +224,9 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
224
224
|
}, {
|
|
225
225
|
id: string;
|
|
226
226
|
title: string | null;
|
|
227
|
+
timeout: number;
|
|
227
228
|
createdAt: string | Date;
|
|
228
229
|
updatedAt: string | Date;
|
|
229
|
-
timeout: number;
|
|
230
230
|
speed: number;
|
|
231
231
|
order: number;
|
|
232
232
|
start: string | Date | null;
|
|
@@ -289,9 +289,9 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
289
289
|
slides: {
|
|
290
290
|
id: string;
|
|
291
291
|
title: string | null;
|
|
292
|
+
timeout: number;
|
|
292
293
|
createdAt: Date;
|
|
293
294
|
updatedAt: Date;
|
|
294
|
-
timeout: number;
|
|
295
295
|
speed: number;
|
|
296
296
|
order: number;
|
|
297
297
|
start: Date | null;
|
|
@@ -335,9 +335,9 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
335
335
|
slides: {
|
|
336
336
|
id: string;
|
|
337
337
|
title: string | null;
|
|
338
|
+
timeout: number;
|
|
338
339
|
createdAt: string | Date;
|
|
339
340
|
updatedAt: string | Date;
|
|
340
|
-
timeout: number;
|
|
341
341
|
speed: number;
|
|
342
342
|
order: number;
|
|
343
343
|
start: string | Date | null;
|