@assemblis/contracts 0.1.2 → 0.1.4
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.js +1 -347
- package/dist/schemas/api.d.ts +1187 -2433
- package/dist/schemas/base.d.ts +162 -362
- package/dist/schemas/legacy.d.ts +582 -1255
- package/dist/schemas/utils.d.ts +1 -9
- package/dist/types/api.d.ts +19 -45
- package/dist/types/enums.d.ts +19 -19
- package/dist/types/types.d.ts +2 -1
- package/package.json +1 -1
- package/src/schemas/api.ts +11 -9
- package/src/schemas/utils.ts +1 -1
- package/src/types/api.ts +1 -9
package/dist/schemas/base.d.ts
CHANGED
|
@@ -1,363 +1,163 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
|
-
export declare const ImageSchema: z.ZodObject<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
>;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
z.ZodTransform<string | null, string | null | undefined>
|
|
165
|
-
>;
|
|
166
|
-
cover_image_id: z.ZodPipe<
|
|
167
|
-
z.ZodOptional<z.ZodNullable<z.ZodString>>,
|
|
168
|
-
z.ZodTransform<string | null, string | null | undefined>
|
|
169
|
-
>;
|
|
170
|
-
},
|
|
171
|
-
z.core.$strip
|
|
172
|
-
>
|
|
173
|
-
>
|
|
174
|
-
>,
|
|
175
|
-
z.ZodTransform<
|
|
176
|
-
{
|
|
177
|
-
published_at: string | null;
|
|
178
|
-
title: string | null;
|
|
179
|
-
description: string | null;
|
|
180
|
-
location: string | null;
|
|
181
|
-
outputs: string[] | null;
|
|
182
|
-
initiation_type: string | null;
|
|
183
|
-
recruitment_method: string | null;
|
|
184
|
-
recruitment_description: string | null;
|
|
185
|
-
participant_count: number | null;
|
|
186
|
-
organiser_reflections: string | null;
|
|
187
|
-
organiser_report_url: string | null;
|
|
188
|
-
location_details: string | null;
|
|
189
|
-
date: string | null;
|
|
190
|
-
duration: number | null;
|
|
191
|
-
contact_information_url: string | null;
|
|
192
|
-
cover_image_id: string | null;
|
|
193
|
-
} | null,
|
|
194
|
-
| {
|
|
195
|
-
published_at: string | null;
|
|
196
|
-
title: string | null;
|
|
197
|
-
description: string | null;
|
|
198
|
-
location: string | null;
|
|
199
|
-
outputs: string[] | null;
|
|
200
|
-
initiation_type: string | null;
|
|
201
|
-
recruitment_method: string | null;
|
|
202
|
-
recruitment_description: string | null;
|
|
203
|
-
participant_count: number | null;
|
|
204
|
-
organiser_reflections: string | null;
|
|
205
|
-
organiser_report_url: string | null;
|
|
206
|
-
location_details: string | null;
|
|
207
|
-
date: string | null;
|
|
208
|
-
duration: number | null;
|
|
209
|
-
contact_information_url: string | null;
|
|
210
|
-
cover_image_id: string | null;
|
|
211
|
-
}
|
|
212
|
-
| null
|
|
213
|
-
| undefined
|
|
214
|
-
>
|
|
215
|
-
>;
|
|
216
|
-
published_content: z.ZodPipe<
|
|
217
|
-
z.ZodOptional<
|
|
218
|
-
z.ZodNullable<
|
|
219
|
-
z.ZodObject<
|
|
220
|
-
{
|
|
221
|
-
published_at: z.ZodPipe<
|
|
222
|
-
z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>,
|
|
223
|
-
z.ZodTransform<string | null, string | null | undefined>
|
|
224
|
-
>;
|
|
225
|
-
title: z.ZodPipe<
|
|
226
|
-
z.ZodOptional<z.ZodNullable<z.ZodString>>,
|
|
227
|
-
z.ZodTransform<string | null, string | null | undefined>
|
|
228
|
-
>;
|
|
229
|
-
description: z.ZodPipe<
|
|
230
|
-
z.ZodOptional<z.ZodNullable<z.ZodString>>,
|
|
231
|
-
z.ZodTransform<string | null, string | null | undefined>
|
|
232
|
-
>;
|
|
233
|
-
location: z.ZodPipe<
|
|
234
|
-
z.ZodOptional<z.ZodNullable<z.ZodString>>,
|
|
235
|
-
z.ZodTransform<string | null, string | null | undefined>
|
|
236
|
-
>;
|
|
237
|
-
outputs: z.ZodPipe<
|
|
238
|
-
z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>,
|
|
239
|
-
z.ZodTransform<string[] | null, string[] | null | undefined>
|
|
240
|
-
>;
|
|
241
|
-
initiation_type: z.ZodPipe<
|
|
242
|
-
z.ZodOptional<z.ZodNullable<z.ZodString>>,
|
|
243
|
-
z.ZodTransform<string | null, string | null | undefined>
|
|
244
|
-
>;
|
|
245
|
-
recruitment_method: z.ZodPipe<
|
|
246
|
-
z.ZodOptional<z.ZodNullable<z.ZodString>>,
|
|
247
|
-
z.ZodTransform<string | null, string | null | undefined>
|
|
248
|
-
>;
|
|
249
|
-
recruitment_description: z.ZodPipe<
|
|
250
|
-
z.ZodOptional<z.ZodNullable<z.ZodString>>,
|
|
251
|
-
z.ZodTransform<string | null, string | null | undefined>
|
|
252
|
-
>;
|
|
253
|
-
participant_count: z.ZodPipe<
|
|
254
|
-
z.ZodOptional<z.ZodNullable<z.ZodInt>>,
|
|
255
|
-
z.ZodTransform<number | null, number | null | undefined>
|
|
256
|
-
>;
|
|
257
|
-
organiser_reflections: z.ZodPipe<
|
|
258
|
-
z.ZodOptional<z.ZodNullable<z.ZodString>>,
|
|
259
|
-
z.ZodTransform<string | null, string | null | undefined>
|
|
260
|
-
>;
|
|
261
|
-
organiser_report_url: z.ZodPipe<
|
|
262
|
-
z.ZodOptional<z.ZodNullable<z.ZodString>>,
|
|
263
|
-
z.ZodTransform<string | null, string | null | undefined>
|
|
264
|
-
>;
|
|
265
|
-
location_details: z.ZodPipe<
|
|
266
|
-
z.ZodOptional<z.ZodNullable<z.ZodString>>,
|
|
267
|
-
z.ZodTransform<string | null, string | null | undefined>
|
|
268
|
-
>;
|
|
269
|
-
date: z.ZodPipe<
|
|
270
|
-
z.ZodOptional<z.ZodNullable<z.ZodString>>,
|
|
271
|
-
z.ZodTransform<string | null, string | null | undefined>
|
|
272
|
-
>;
|
|
273
|
-
duration: z.ZodPipe<
|
|
274
|
-
z.ZodOptional<z.ZodNullable<z.ZodInt>>,
|
|
275
|
-
z.ZodTransform<number | null, number | null | undefined>
|
|
276
|
-
>;
|
|
277
|
-
contact_information_url: z.ZodPipe<
|
|
278
|
-
z.ZodOptional<z.ZodNullable<z.ZodString>>,
|
|
279
|
-
z.ZodTransform<string | null, string | null | undefined>
|
|
280
|
-
>;
|
|
281
|
-
cover_image_id: z.ZodPipe<
|
|
282
|
-
z.ZodOptional<z.ZodNullable<z.ZodString>>,
|
|
283
|
-
z.ZodTransform<string | null, string | null | undefined>
|
|
284
|
-
>;
|
|
285
|
-
},
|
|
286
|
-
z.core.$strip
|
|
287
|
-
>
|
|
288
|
-
>
|
|
289
|
-
>,
|
|
290
|
-
z.ZodTransform<
|
|
291
|
-
{
|
|
292
|
-
published_at: string | null;
|
|
293
|
-
title: string | null;
|
|
294
|
-
description: string | null;
|
|
295
|
-
location: string | null;
|
|
296
|
-
outputs: string[] | null;
|
|
297
|
-
initiation_type: string | null;
|
|
298
|
-
recruitment_method: string | null;
|
|
299
|
-
recruitment_description: string | null;
|
|
300
|
-
participant_count: number | null;
|
|
301
|
-
organiser_reflections: string | null;
|
|
302
|
-
organiser_report_url: string | null;
|
|
303
|
-
location_details: string | null;
|
|
304
|
-
date: string | null;
|
|
305
|
-
duration: number | null;
|
|
306
|
-
contact_information_url: string | null;
|
|
307
|
-
cover_image_id: string | null;
|
|
308
|
-
} | null,
|
|
309
|
-
| {
|
|
310
|
-
published_at: string | null;
|
|
311
|
-
title: string | null;
|
|
312
|
-
description: string | null;
|
|
313
|
-
location: string | null;
|
|
314
|
-
outputs: string[] | null;
|
|
315
|
-
initiation_type: string | null;
|
|
316
|
-
recruitment_method: string | null;
|
|
317
|
-
recruitment_description: string | null;
|
|
318
|
-
participant_count: number | null;
|
|
319
|
-
organiser_reflections: string | null;
|
|
320
|
-
organiser_report_url: string | null;
|
|
321
|
-
location_details: string | null;
|
|
322
|
-
date: string | null;
|
|
323
|
-
duration: number | null;
|
|
324
|
-
contact_information_url: string | null;
|
|
325
|
-
cover_image_id: string | null;
|
|
326
|
-
}
|
|
327
|
-
| null
|
|
328
|
-
| undefined
|
|
329
|
-
>
|
|
330
|
-
>;
|
|
331
|
-
media: z.ZodObject<
|
|
332
|
-
{
|
|
333
|
-
images: z.ZodArray<
|
|
334
|
-
z.ZodObject<
|
|
335
|
-
{
|
|
336
|
-
id: z.ZodUUID;
|
|
337
|
-
created_at: z.ZodISODateTime;
|
|
338
|
-
updated_at: z.ZodISODateTime;
|
|
339
|
-
uri: z.ZodString;
|
|
340
|
-
alt: z.ZodString;
|
|
341
|
-
src: z.ZodString;
|
|
342
|
-
sizes: z.ZodString;
|
|
343
|
-
srcset: z.ZodString;
|
|
344
|
-
},
|
|
345
|
-
z.core.$strip
|
|
346
|
-
>
|
|
347
|
-
>;
|
|
348
|
-
},
|
|
349
|
-
z.core.$strip
|
|
350
|
-
>;
|
|
351
|
-
},
|
|
352
|
-
z.core.$strip
|
|
353
|
-
>;
|
|
354
|
-
export declare const UserSchema: z.ZodObject<
|
|
355
|
-
{
|
|
356
|
-
id: z.ZodUUID;
|
|
357
|
-
created_at: z.ZodISODateTime;
|
|
358
|
-
updated_at: z.ZodISODateTime;
|
|
359
|
-
sub: z.ZodString;
|
|
360
|
-
is_mutirao: z.ZodBoolean;
|
|
361
|
-
},
|
|
362
|
-
z.core.$strip
|
|
363
|
-
>;
|
|
2
|
+
export declare const ImageSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodUUID;
|
|
4
|
+
created_at: z.ZodISODateTime;
|
|
5
|
+
updated_at: z.ZodISODateTime;
|
|
6
|
+
uri: z.ZodString;
|
|
7
|
+
alt: z.ZodString;
|
|
8
|
+
src: z.ZodString;
|
|
9
|
+
sizes: z.ZodString;
|
|
10
|
+
srcset: z.ZodString;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
export declare const OptionSchema: z.ZodObject<{
|
|
13
|
+
label: z.ZodString;
|
|
14
|
+
value: z.ZodCoercedNumber<unknown>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
export declare const ReportContentSchema: z.ZodObject<{
|
|
17
|
+
published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
18
|
+
title: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
19
|
+
description: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
20
|
+
location: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
21
|
+
outputs: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>, z.ZodTransform<string[] | null, string[] | null | undefined>>;
|
|
22
|
+
initiation_type: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
23
|
+
recruitment_method: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
24
|
+
recruitment_description: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
25
|
+
participant_count: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
|
|
26
|
+
organiser_reflections: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
27
|
+
organiser_report_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
28
|
+
location_details: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
29
|
+
date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
30
|
+
duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
|
|
31
|
+
contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
32
|
+
cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
export declare const ReportSchema: z.ZodObject<{
|
|
35
|
+
id: z.ZodUUID;
|
|
36
|
+
created_at: z.ZodISODateTime;
|
|
37
|
+
updated_at: z.ZodISODateTime;
|
|
38
|
+
published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
39
|
+
viewer_password: z.ZodString;
|
|
40
|
+
draft_content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
41
|
+
published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
42
|
+
title: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
43
|
+
description: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
44
|
+
location: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
45
|
+
outputs: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>, z.ZodTransform<string[] | null, string[] | null | undefined>>;
|
|
46
|
+
initiation_type: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
47
|
+
recruitment_method: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
48
|
+
recruitment_description: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
49
|
+
participant_count: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
|
|
50
|
+
organiser_reflections: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
51
|
+
organiser_report_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
52
|
+
location_details: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
53
|
+
date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
54
|
+
duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
|
|
55
|
+
contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
56
|
+
cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
57
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
58
|
+
published_at: string | null;
|
|
59
|
+
title: string | null;
|
|
60
|
+
description: string | null;
|
|
61
|
+
location: string | null;
|
|
62
|
+
outputs: string[] | null;
|
|
63
|
+
initiation_type: string | null;
|
|
64
|
+
recruitment_method: string | null;
|
|
65
|
+
recruitment_description: string | null;
|
|
66
|
+
participant_count: number | null;
|
|
67
|
+
organiser_reflections: string | null;
|
|
68
|
+
organiser_report_url: string | null;
|
|
69
|
+
location_details: string | null;
|
|
70
|
+
date: string | null;
|
|
71
|
+
duration: number | null;
|
|
72
|
+
contact_information_url: string | null;
|
|
73
|
+
cover_image_id: string | null;
|
|
74
|
+
} | null, {
|
|
75
|
+
published_at: string | null;
|
|
76
|
+
title: string | null;
|
|
77
|
+
description: string | null;
|
|
78
|
+
location: string | null;
|
|
79
|
+
outputs: string[] | null;
|
|
80
|
+
initiation_type: string | null;
|
|
81
|
+
recruitment_method: string | null;
|
|
82
|
+
recruitment_description: string | null;
|
|
83
|
+
participant_count: number | null;
|
|
84
|
+
organiser_reflections: string | null;
|
|
85
|
+
organiser_report_url: string | null;
|
|
86
|
+
location_details: string | null;
|
|
87
|
+
date: string | null;
|
|
88
|
+
duration: number | null;
|
|
89
|
+
contact_information_url: string | null;
|
|
90
|
+
cover_image_id: string | null;
|
|
91
|
+
} | null | undefined>>;
|
|
92
|
+
published_content: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
93
|
+
published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
94
|
+
title: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
95
|
+
description: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
96
|
+
location: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
97
|
+
outputs: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>, z.ZodTransform<string[] | null, string[] | null | undefined>>;
|
|
98
|
+
initiation_type: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
99
|
+
recruitment_method: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
100
|
+
recruitment_description: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
101
|
+
participant_count: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
|
|
102
|
+
organiser_reflections: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
103
|
+
organiser_report_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
104
|
+
location_details: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
105
|
+
date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
106
|
+
duration: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodInt>>, z.ZodTransform<number | null, number | null | undefined>>;
|
|
107
|
+
contact_information_url: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
108
|
+
cover_image_id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
|
|
109
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
110
|
+
published_at: string | null;
|
|
111
|
+
title: string | null;
|
|
112
|
+
description: string | null;
|
|
113
|
+
location: string | null;
|
|
114
|
+
outputs: string[] | null;
|
|
115
|
+
initiation_type: string | null;
|
|
116
|
+
recruitment_method: string | null;
|
|
117
|
+
recruitment_description: string | null;
|
|
118
|
+
participant_count: number | null;
|
|
119
|
+
organiser_reflections: string | null;
|
|
120
|
+
organiser_report_url: string | null;
|
|
121
|
+
location_details: string | null;
|
|
122
|
+
date: string | null;
|
|
123
|
+
duration: number | null;
|
|
124
|
+
contact_information_url: string | null;
|
|
125
|
+
cover_image_id: string | null;
|
|
126
|
+
} | null, {
|
|
127
|
+
published_at: string | null;
|
|
128
|
+
title: string | null;
|
|
129
|
+
description: string | null;
|
|
130
|
+
location: string | null;
|
|
131
|
+
outputs: string[] | null;
|
|
132
|
+
initiation_type: string | null;
|
|
133
|
+
recruitment_method: string | null;
|
|
134
|
+
recruitment_description: string | null;
|
|
135
|
+
participant_count: number | null;
|
|
136
|
+
organiser_reflections: string | null;
|
|
137
|
+
organiser_report_url: string | null;
|
|
138
|
+
location_details: string | null;
|
|
139
|
+
date: string | null;
|
|
140
|
+
duration: number | null;
|
|
141
|
+
contact_information_url: string | null;
|
|
142
|
+
cover_image_id: string | null;
|
|
143
|
+
} | null | undefined>>;
|
|
144
|
+
media: z.ZodObject<{
|
|
145
|
+
images: z.ZodArray<z.ZodObject<{
|
|
146
|
+
id: z.ZodUUID;
|
|
147
|
+
created_at: z.ZodISODateTime;
|
|
148
|
+
updated_at: z.ZodISODateTime;
|
|
149
|
+
uri: z.ZodString;
|
|
150
|
+
alt: z.ZodString;
|
|
151
|
+
src: z.ZodString;
|
|
152
|
+
sizes: z.ZodString;
|
|
153
|
+
srcset: z.ZodString;
|
|
154
|
+
}, z.core.$strip>>;
|
|
155
|
+
}, z.core.$strip>;
|
|
156
|
+
}, z.core.$strip>;
|
|
157
|
+
export declare const UserSchema: z.ZodObject<{
|
|
158
|
+
id: z.ZodUUID;
|
|
159
|
+
created_at: z.ZodISODateTime;
|
|
160
|
+
updated_at: z.ZodISODateTime;
|
|
161
|
+
sub: z.ZodString;
|
|
162
|
+
is_mutirao: z.ZodBoolean;
|
|
163
|
+
}, z.core.$strip>;
|