@assemblis/contracts 0.0.10 → 0.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/schemas.d.ts CHANGED
@@ -1,529 +1,221 @@
1
+ import z from 'zod';
1
2
  export declare const UserSchema: {
2
- payload: import("zod").ZodUndefined;
3
- response: import("zod").ZodObject<{
4
- id: import("zod").ZodString;
5
- created_at: import("zod").ZodDate;
6
- updated_at: import("zod").ZodDate;
7
- sub: import("zod").ZodString;
8
- is_mutirao: import("zod").ZodBoolean;
9
- }, "strip", import("zod").ZodTypeAny, {
10
- id: string;
11
- created_at: Date;
12
- updated_at: Date;
13
- sub: string;
14
- is_mutirao: boolean;
15
- }, {
16
- id: string;
17
- created_at: Date;
18
- updated_at: Date;
19
- sub: string;
20
- is_mutirao: boolean;
21
- }>;
3
+ payload: z.ZodUndefined;
4
+ response: z.ZodObject<{
5
+ id: z.ZodUUID;
6
+ created_at: z.ZodCoercedDate<unknown>;
7
+ updated_at: z.ZodCoercedDate<unknown>;
8
+ sub: z.ZodString;
9
+ is_mutirao: z.ZodBoolean;
10
+ }, z.core.$strip>;
22
11
  };
23
12
  export declare const SurveySchema: {
24
- payload: import("zod").ZodUndefined;
25
- response: import("zod").ZodObject<{
26
- id: import("zod").ZodString;
27
- created_at: import("zod").ZodDate;
28
- updated_at: import("zod").ZodDate;
29
- name: import("zod").ZodString;
30
- sections: import("zod").ZodArray<import("zod").ZodObject<{
31
- primary: import("zod").ZodObject<{
32
- id: import("zod").ZodString;
33
- text: import("zod").ZodString;
34
- }, "strip", import("zod").ZodTypeAny, {
35
- id: string;
36
- text: string;
37
- }, {
38
- id: string;
39
- text: string;
40
- }>;
41
- secondary: import("zod").ZodArray<import("zod").ZodObject<{
42
- id: import("zod").ZodString;
43
- text: import("zod").ZodString;
44
- }, "strip", import("zod").ZodTypeAny, {
45
- id: string;
46
- text: string;
47
- }, {
48
- id: string;
49
- text: string;
50
- }>, "many">;
51
- options: import("zod").ZodArray<import("zod").ZodObject<{
52
- label: import("zod").ZodString;
53
- value: import("zod").ZodNumber;
54
- }, "strip", import("zod").ZodTypeAny, {
55
- label: string;
56
- value: number;
57
- }, {
58
- label: string;
59
- value: number;
60
- }>, "many">;
61
- }, "strip", import("zod").ZodTypeAny, {
62
- options: {
63
- label: string;
64
- value: number;
65
- }[];
66
- primary: {
67
- id: string;
68
- text: string;
69
- };
70
- secondary: {
71
- id: string;
72
- text: string;
73
- }[];
74
- }, {
75
- options: {
76
- label: string;
77
- value: number;
78
- }[];
79
- primary: {
80
- id: string;
81
- text: string;
82
- };
83
- secondary: {
84
- id: string;
85
- text: string;
86
- }[];
87
- }>, "many">;
88
- }, "strip", import("zod").ZodTypeAny, {
89
- id: string;
90
- created_at: Date;
91
- updated_at: Date;
92
- name: string;
93
- sections: {
94
- options: {
95
- label: string;
96
- value: number;
97
- }[];
98
- primary: {
99
- id: string;
100
- text: string;
101
- };
102
- secondary: {
103
- id: string;
104
- text: string;
105
- }[];
106
- }[];
107
- }, {
108
- id: string;
109
- created_at: Date;
110
- updated_at: Date;
111
- name: string;
112
- sections: {
113
- options: {
114
- label: string;
115
- value: number;
116
- }[];
117
- primary: {
118
- id: string;
119
- text: string;
120
- };
121
- secondary: {
122
- id: string;
123
- text: string;
124
- }[];
125
- }[];
126
- }>;
13
+ payload: z.ZodUndefined;
14
+ response: z.ZodObject<{
15
+ id: z.ZodUUID;
16
+ created_at: z.ZodCoercedDate<unknown>;
17
+ updated_at: z.ZodCoercedDate<unknown>;
18
+ name: z.ZodString;
19
+ sections: z.ZodArray<z.ZodObject<{
20
+ primary: z.ZodObject<{
21
+ id: z.ZodUUID;
22
+ text: z.ZodString;
23
+ }, z.core.$strip>;
24
+ secondary: z.ZodArray<z.ZodObject<{
25
+ id: z.ZodUUID;
26
+ text: z.ZodString;
27
+ }, z.core.$strip>>;
28
+ options: z.ZodArray<z.ZodObject<{
29
+ label: z.ZodString;
30
+ value: z.ZodCoercedNumber<unknown>;
31
+ }, z.core.$strip>>;
32
+ }, z.core.$strip>>;
33
+ }, z.core.$strip>;
127
34
  };
128
35
  export declare const SurveyResponseSchema: {
129
- payload: import("zod").ZodObject<{
130
- answers: import("zod").ZodArray<import("zod").ZodObject<{
131
- question_id: import("zod").ZodString;
132
- answer_value: import("zod").ZodNumber;
133
- }, "strip", import("zod").ZodTypeAny, {
134
- question_id: string;
135
- answer_value: number;
136
- }, {
137
- question_id: string;
138
- answer_value: number;
139
- }>, "many">;
140
- }, "strip", import("zod").ZodTypeAny, {
141
- answers: {
142
- question_id: string;
143
- answer_value: number;
144
- }[];
145
- }, {
146
- answers: {
147
- question_id: string;
148
- answer_value: number;
149
- }[];
150
- }>;
151
- response: import("zod").ZodObject<{
152
- total: import("zod").ZodNumber;
153
- }, "strip", import("zod").ZodTypeAny, {
154
- total: number;
155
- }, {
156
- total: number;
157
- }>;
36
+ payload: z.ZodObject<{
37
+ answers: z.ZodArray<z.ZodObject<{
38
+ question_id: z.ZodUUID;
39
+ answer_value: z.ZodCoercedNumber<unknown>;
40
+ }, z.core.$strip>>;
41
+ }, z.core.$strip>;
42
+ response: z.ZodObject<{
43
+ total: z.ZodNumber;
44
+ }, z.core.$strip>;
158
45
  };
159
46
  export declare const AssemblyOverviewSchema: {
160
- payload: import("zod").ZodObject<{
161
- published_at: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>, Date | null, Date | null | undefined>;
162
- name: import("zod").ZodString;
163
- about: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
164
- topics: import("zod").ZodArray<import("zod").ZodString, "many">;
165
- country: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
166
- hide: import("zod").ZodDefault<import("zod").ZodBoolean>;
167
- }, "strip", import("zod").ZodTypeAny, {
168
- name: string;
169
- published_at: Date | null;
170
- about: string | null;
171
- topics: string[];
172
- country: string | null;
173
- hide: boolean;
174
- }, {
175
- name: string;
176
- topics: string[];
177
- published_at?: Date | null | undefined;
178
- about?: string | null | undefined;
179
- country?: string | null | undefined;
180
- hide?: boolean | undefined;
181
- }>;
182
- response: import("zod").ZodObject<{
183
- published_at: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>, Date | null, Date | null | undefined>;
184
- name: import("zod").ZodString;
185
- about: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
186
- topics: import("zod").ZodArray<import("zod").ZodString, "many">;
187
- country: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
188
- hide: import("zod").ZodDefault<import("zod").ZodBoolean>;
189
- } & {
190
- id: import("zod").ZodString;
191
- created_at: import("zod").ZodDate;
192
- updated_at: import("zod").ZodDate;
193
- has_image: import("zod").ZodBoolean;
194
- image_src: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
195
- }, "strip", import("zod").ZodTypeAny, {
196
- id: string;
197
- created_at: Date;
198
- updated_at: Date;
199
- name: string;
200
- published_at: Date | null;
201
- about: string | null;
202
- topics: string[];
203
- country: string | null;
204
- hide: boolean;
205
- has_image: boolean;
206
- image_src: string | null;
207
- }, {
208
- id: string;
209
- created_at: Date;
210
- updated_at: Date;
211
- name: string;
212
- topics: string[];
213
- has_image: boolean;
214
- published_at?: Date | null | undefined;
215
- about?: string | null | undefined;
216
- country?: string | null | undefined;
217
- hide?: boolean | undefined;
218
- image_src?: string | null | undefined;
219
- }>;
47
+ payload: z.ZodObject<{
48
+ published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>, z.ZodTransform<Date | null, Date | null | undefined>>;
49
+ name: z.ZodString;
50
+ about: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
51
+ topics: z.ZodArray<z.ZodString>;
52
+ country: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
53
+ hide: z.ZodDefault<z.ZodBoolean>;
54
+ }, z.core.$strip>;
55
+ response: z.ZodObject<{
56
+ published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>, z.ZodTransform<Date | null, Date | null | undefined>>;
57
+ name: z.ZodString;
58
+ about: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
59
+ topics: z.ZodArray<z.ZodString>;
60
+ country: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
61
+ hide: z.ZodDefault<z.ZodBoolean>;
62
+ id: z.ZodUUID;
63
+ created_at: z.ZodCoercedDate<unknown>;
64
+ updated_at: z.ZodCoercedDate<unknown>;
65
+ has_image: z.ZodBoolean;
66
+ image_src: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
67
+ user_id: z.ZodUUID;
68
+ }, z.core.$strip>;
220
69
  };
221
70
  export declare const AssembliesListSchema: {
222
- payload: import("zod").ZodUndefined;
223
- response: import("zod").ZodObject<{
224
- assemblies: import("zod").ZodArray<import("zod").ZodObject<{
225
- published_at: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>, Date | null, Date | null | undefined>;
226
- name: import("zod").ZodString;
227
- about: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
228
- topics: import("zod").ZodArray<import("zod").ZodString, "many">;
229
- country: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
230
- hide: import("zod").ZodDefault<import("zod").ZodBoolean>;
231
- } & {
232
- id: import("zod").ZodString;
233
- created_at: import("zod").ZodDate;
234
- updated_at: import("zod").ZodDate;
235
- has_image: import("zod").ZodBoolean;
236
- image_src: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
237
- }, "strip", import("zod").ZodTypeAny, {
238
- id: string;
239
- created_at: Date;
240
- updated_at: Date;
241
- name: string;
242
- published_at: Date | null;
243
- about: string | null;
244
- topics: string[];
245
- country: string | null;
246
- hide: boolean;
247
- has_image: boolean;
248
- image_src: string | null;
249
- }, {
250
- id: string;
251
- created_at: Date;
252
- updated_at: Date;
253
- name: string;
254
- topics: string[];
255
- has_image: boolean;
256
- published_at?: Date | null | undefined;
257
- about?: string | null | undefined;
258
- country?: string | null | undefined;
259
- hide?: boolean | undefined;
260
- image_src?: string | null | undefined;
261
- }>, "many">;
262
- }, "strip", import("zod").ZodTypeAny, {
263
- assemblies: {
264
- id: string;
265
- created_at: Date;
266
- updated_at: Date;
267
- name: string;
268
- published_at: Date | null;
269
- about: string | null;
270
- topics: string[];
271
- country: string | null;
272
- hide: boolean;
273
- has_image: boolean;
274
- image_src: string | null;
275
- }[];
276
- }, {
277
- assemblies: {
278
- id: string;
279
- created_at: Date;
280
- updated_at: Date;
281
- name: string;
282
- topics: string[];
283
- has_image: boolean;
284
- published_at?: Date | null | undefined;
285
- about?: string | null | undefined;
286
- country?: string | null | undefined;
287
- hide?: boolean | undefined;
288
- image_src?: string | null | undefined;
289
- }[];
290
- }>;
71
+ payload: z.ZodUndefined;
72
+ response: z.ZodObject<{
73
+ assemblies: z.ZodArray<z.ZodObject<{
74
+ published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>, z.ZodTransform<Date | null, Date | null | undefined>>;
75
+ name: z.ZodString;
76
+ about: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
77
+ topics: z.ZodArray<z.ZodString>;
78
+ country: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
79
+ hide: z.ZodDefault<z.ZodBoolean>;
80
+ id: z.ZodUUID;
81
+ created_at: z.ZodCoercedDate<unknown>;
82
+ updated_at: z.ZodCoercedDate<unknown>;
83
+ has_image: z.ZodBoolean;
84
+ image_src: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
85
+ user_id: z.ZodUUID;
86
+ }, z.core.$strip>>;
87
+ }, z.core.$strip>;
291
88
  };
292
89
  export declare const AssemblyDetailSchema: {
293
- payload: import("zod").ZodObject<{
294
- published_at: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>, Date | null, Date | null | undefined>;
295
- name: import("zod").ZodString;
296
- about: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
297
- topics: import("zod").ZodArray<import("zod").ZodString, "many">;
298
- country: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
299
- hide: import("zod").ZodDefault<import("zod").ZodBoolean>;
300
- } & {
301
- organisation: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
302
- visible_on_profile: import("zod").ZodBoolean;
303
- name: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
304
- description: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
305
- type: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
306
- } & {
307
- id: import("zod").ZodOptional<import("zod").ZodString>;
308
- }, "strip", import("zod").ZodTypeAny, {
309
- type: string | null;
310
- name: string | null;
311
- visible_on_profile: boolean;
312
- description: string | null;
313
- id?: string | undefined;
314
- }, {
90
+ payload: z.ZodObject<{
91
+ published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>, z.ZodTransform<Date | null, Date | null | undefined>>;
92
+ name: z.ZodString;
93
+ about: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
94
+ topics: z.ZodArray<z.ZodString>;
95
+ country: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
96
+ hide: z.ZodDefault<z.ZodBoolean>;
97
+ organisation: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
98
+ visible_on_profile: z.ZodBoolean;
99
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
100
+ description: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
101
+ type: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
102
+ id: z.ZodOptional<z.ZodUUID>;
103
+ }, z.core.$strip>>>, z.ZodTransform<{
315
104
  visible_on_profile: boolean;
316
- type?: string | null | undefined;
317
- id?: string | undefined;
318
- name?: string | null | undefined;
319
- description?: string | null | undefined;
320
- }>>>, {
321
- type: string | null;
322
105
  name: string | null;
323
- visible_on_profile: boolean;
324
106
  description: string | null;
107
+ type: string | null;
325
108
  id?: string | undefined;
326
109
  } | null, {
327
110
  visible_on_profile: boolean;
328
- type?: string | null | undefined;
111
+ name: string | null;
112
+ description: string | null;
113
+ type: string | null;
329
114
  id?: string | undefined;
330
- name?: string | null | undefined;
331
- description?: string | null | undefined;
332
- } | null | undefined>;
333
- event_details: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
334
- visible_on_profile: import("zod").ZodBoolean;
335
- registration_link: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
336
- start_date: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>, Date | null, Date | null | undefined>;
337
- }, "strip", import("zod").ZodTypeAny, {
115
+ } | null | undefined>>;
116
+ event_details: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
117
+ visible_on_profile: z.ZodBoolean;
118
+ registration_link: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
119
+ start_date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>, z.ZodTransform<Date | null, Date | null | undefined>>;
120
+ }, z.core.$strip>>>, z.ZodTransform<{
338
121
  visible_on_profile: boolean;
339
122
  registration_link: string | null;
340
123
  start_date: Date | null;
341
- }, {
342
- visible_on_profile: boolean;
343
- registration_link?: string | null | undefined;
344
- start_date?: Date | null | undefined;
345
- }>>>, {
124
+ } | null, {
346
125
  visible_on_profile: boolean;
347
126
  registration_link: string | null;
348
127
  start_date: Date | null;
349
- } | null, {
350
- visible_on_profile: boolean;
351
- registration_link?: string | null | undefined;
352
- start_date?: Date | null | undefined;
353
- } | null | undefined>;
354
- story: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
355
- visible_on_profile: import("zod").ZodBoolean;
356
- background: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
357
- }, "strip", import("zod").ZodTypeAny, {
358
- visible_on_profile: boolean;
359
- background: string | null;
360
- }, {
361
- visible_on_profile: boolean;
362
- background?: string | null | undefined;
363
- }>>>, {
128
+ } | null | undefined>>;
129
+ story: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
130
+ visible_on_profile: z.ZodBoolean;
131
+ background: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
132
+ }, z.core.$strip>>>, z.ZodTransform<{
364
133
  visible_on_profile: boolean;
365
134
  background: string | null;
366
135
  } | null, {
367
136
  visible_on_profile: boolean;
368
- background?: string | null | undefined;
369
- } | null | undefined>;
370
- supporters: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
371
- visible_on_profile: import("zod").ZodBoolean;
372
- organisation_types: import("zod").ZodArray<import("zod").ZodString, "many">;
373
- description: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
374
- }, "strip", import("zod").ZodTypeAny, {
375
- visible_on_profile: boolean;
376
- description: string | null;
377
- organisation_types: string[];
378
- }, {
137
+ background: string | null;
138
+ } | null | undefined>>;
139
+ supporters: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
140
+ visible_on_profile: z.ZodBoolean;
141
+ organisation_types: z.ZodArray<z.ZodString>;
142
+ description: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
143
+ }, z.core.$strip>>>, z.ZodTransform<{
379
144
  visible_on_profile: boolean;
380
145
  organisation_types: string[];
381
- description?: string | null | undefined;
382
- }>>>, {
383
- visible_on_profile: boolean;
384
146
  description: string | null;
385
- organisation_types: string[];
386
147
  } | null, {
387
148
  visible_on_profile: boolean;
388
149
  organisation_types: string[];
389
- description?: string | null | undefined;
390
- } | null | undefined>;
391
- funders: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
392
- visible_on_profile: import("zod").ZodBoolean;
393
- organisation_types: import("zod").ZodArray<import("zod").ZodString, "many">;
394
- description: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
395
- }, "strip", import("zod").ZodTypeAny, {
396
- visible_on_profile: boolean;
397
150
  description: string | null;
398
- organisation_types: string[];
399
- }, {
151
+ } | null | undefined>>;
152
+ funders: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
153
+ visible_on_profile: z.ZodBoolean;
154
+ organisation_types: z.ZodArray<z.ZodString>;
155
+ description: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
156
+ }, z.core.$strip>>>, z.ZodTransform<{
400
157
  visible_on_profile: boolean;
401
158
  organisation_types: string[];
402
- description?: string | null | undefined;
403
- }>>>, {
404
- visible_on_profile: boolean;
405
159
  description: string | null;
406
- organisation_types: string[];
407
160
  } | null, {
408
161
  visible_on_profile: boolean;
409
162
  organisation_types: string[];
410
- description?: string | null | undefined;
411
- } | null | undefined>;
412
- facilitation: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
413
- visible_on_profile: import("zod").ZodBoolean;
414
- decision_method: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
415
- }, "strip", import("zod").ZodTypeAny, {
416
- visible_on_profile: boolean;
417
- decision_method: string | null;
418
- }, {
419
- visible_on_profile: boolean;
420
- decision_method?: string | null | undefined;
421
- }>>>, {
163
+ description: string | null;
164
+ } | null | undefined>>;
165
+ facilitation: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
166
+ visible_on_profile: z.ZodBoolean;
167
+ decision_method: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
168
+ }, z.core.$strip>>>, z.ZodTransform<{
422
169
  visible_on_profile: boolean;
423
170
  decision_method: string | null;
424
171
  } | null, {
425
172
  visible_on_profile: boolean;
426
- decision_method?: string | null | undefined;
427
- } | null | undefined>;
428
- participants: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
429
- visible_on_profile: import("zod").ZodBoolean;
430
- recruitment_method: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
431
- community: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
432
- }, "strip", import("zod").ZodTypeAny, {
173
+ decision_method: string | null;
174
+ } | null | undefined>>;
175
+ participants: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
176
+ visible_on_profile: z.ZodBoolean;
177
+ recruitment_method: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
178
+ community: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
179
+ }, z.core.$strip>>>, z.ZodTransform<{
433
180
  visible_on_profile: boolean;
434
181
  recruitment_method: string | null;
435
182
  community: string | null;
436
- }, {
437
- visible_on_profile: boolean;
438
- recruitment_method?: string | null | undefined;
439
- community?: string | null | undefined;
440
- }>>>, {
183
+ } | null, {
441
184
  visible_on_profile: boolean;
442
185
  recruitment_method: string | null;
443
186
  community: string | null;
444
- } | null, {
445
- visible_on_profile: boolean;
446
- recruitment_method?: string | null | undefined;
447
- community?: string | null | undefined;
448
- } | null | undefined>;
449
- support: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
450
- visible_on_profile: import("zod").ZodBoolean;
451
- support_options: import("zod").ZodArray<import("zod").ZodString, "many">;
452
- }, "strip", import("zod").ZodTypeAny, {
453
- visible_on_profile: boolean;
454
- support_options: string[];
455
- }, {
456
- visible_on_profile: boolean;
457
- support_options: string[];
458
- }>>>, {
187
+ } | null | undefined>>;
188
+ support: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
189
+ visible_on_profile: z.ZodBoolean;
190
+ support_options: z.ZodArray<z.ZodString>;
191
+ }, z.core.$strip>>>, z.ZodTransform<{
459
192
  visible_on_profile: boolean;
460
193
  support_options: string[];
461
194
  } | null, {
462
195
  visible_on_profile: boolean;
463
196
  support_options: string[];
464
- } | null | undefined>;
465
- action_plan: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
466
- visible_on_profile: import("zod").ZodBoolean;
467
- description: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
468
- } & {
469
- actions: import("zod").ZodArray<import("zod").ZodObject<Omit<{
470
- text: import("zod").ZodString;
471
- agreed: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | null, number | null | undefined>;
472
- against: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | null, number | null | undefined>;
473
- abstained: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | null, number | null | undefined>;
474
- include_in_action_plan: import("zod").ZodDefault<import("zod").ZodBoolean>;
475
- assembly_id: import("zod").ZodString;
476
- }, "assembly_id"> & {
477
- id: import("zod").ZodOptional<import("zod").ZodString>;
478
- tasks: import("zod").ZodArray<import("zod").ZodObject<Omit<{
479
- text: import("zod").ZodString;
480
- complete: import("zod").ZodDefault<import("zod").ZodBoolean>;
481
- action_id: import("zod").ZodString;
482
- assembly_id: import("zod").ZodString;
483
- }, "assembly_id" | "action_id"> & {
484
- id: import("zod").ZodOptional<import("zod").ZodString>;
485
- }, "strip", import("zod").ZodTypeAny, {
486
- text: string;
487
- complete: boolean;
488
- id?: string | undefined;
489
- }, {
490
- text: string;
491
- id?: string | undefined;
492
- complete?: boolean | undefined;
493
- }>, "many">;
494
- updates: import("zod").ZodArray<import("zod").ZodUnknown, "many">;
495
- }, "strip", import("zod").ZodTypeAny, {
496
- text: string;
497
- agreed: number | null;
498
- against: number | null;
499
- abstained: number | null;
500
- include_in_action_plan: boolean;
501
- tasks: {
502
- text: string;
503
- complete: boolean;
504
- id?: string | undefined;
505
- }[];
506
- updates: unknown[];
507
- id?: string | undefined;
508
- }, {
509
- text: string;
510
- tasks: {
511
- text: string;
512
- id?: string | undefined;
513
- complete?: boolean | undefined;
514
- }[];
515
- updates: unknown[];
516
- id?: string | undefined;
517
- agreed?: number | null | undefined;
518
- against?: number | null | undefined;
519
- abstained?: number | null | undefined;
520
- include_in_action_plan?: boolean | undefined;
521
- }>, "many">;
522
- updates: import("zod").ZodArray<import("zod").ZodUnknown, "many">;
523
- }, "strip", import("zod").ZodTypeAny, {
197
+ } | null | undefined>>;
198
+ action_plan: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
199
+ visible_on_profile: z.ZodBoolean;
200
+ description: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
201
+ actions: z.ZodArray<z.ZodObject<{
202
+ text: z.ZodString;
203
+ agreed: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>, z.ZodTransform<number | null, number | null | undefined>>;
204
+ against: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>, z.ZodTransform<number | null, number | null | undefined>>;
205
+ abstained: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>, z.ZodTransform<number | null, number | null | undefined>>;
206
+ include_in_action_plan: z.ZodDefault<z.ZodBoolean>;
207
+ id: z.ZodOptional<z.ZodUUID>;
208
+ tasks: z.ZodArray<z.ZodObject<{
209
+ text: z.ZodString;
210
+ complete: z.ZodDefault<z.ZodBoolean>;
211
+ id: z.ZodOptional<z.ZodUUID>;
212
+ }, z.core.$strip>>;
213
+ updates: z.ZodArray<z.ZodUnknown>;
214
+ }, z.core.$strip>>;
215
+ updates: z.ZodArray<z.ZodUnknown>;
216
+ }, z.core.$strip>>>, z.ZodTransform<{
524
217
  visible_on_profile: boolean;
525
218
  description: string | null;
526
- updates: unknown[];
527
219
  actions: {
528
220
  text: string;
529
221
  agreed: number | null;
@@ -538,28 +230,10 @@ export declare const AssemblyDetailSchema: {
538
230
  updates: unknown[];
539
231
  id?: string | undefined;
540
232
  }[];
541
- }, {
542
- visible_on_profile: boolean;
543
233
  updates: unknown[];
544
- actions: {
545
- text: string;
546
- tasks: {
547
- text: string;
548
- id?: string | undefined;
549
- complete?: boolean | undefined;
550
- }[];
551
- updates: unknown[];
552
- id?: string | undefined;
553
- agreed?: number | null | undefined;
554
- against?: number | null | undefined;
555
- abstained?: number | null | undefined;
556
- include_in_action_plan?: boolean | undefined;
557
- }[];
558
- description?: string | null | undefined;
559
- }>>>, {
234
+ } | null, {
560
235
  visible_on_profile: boolean;
561
236
  description: string | null;
562
- updates: unknown[];
563
237
  actions: {
564
238
  text: string;
565
239
  agreed: number | null;
@@ -574,789 +248,269 @@ export declare const AssemblyDetailSchema: {
574
248
  updates: unknown[];
575
249
  id?: string | undefined;
576
250
  }[];
577
- } | null, {
578
- visible_on_profile: boolean;
579
251
  updates: unknown[];
580
- actions: {
581
- text: string;
582
- tasks: {
583
- text: string;
584
- id?: string | undefined;
585
- complete?: boolean | undefined;
586
- }[];
587
- updates: unknown[];
588
- id?: string | undefined;
589
- agreed?: number | null | undefined;
590
- against?: number | null | undefined;
591
- abstained?: number | null | undefined;
592
- include_in_action_plan?: boolean | undefined;
593
- }[];
594
- description?: string | null | undefined;
595
- } | null | undefined>;
596
- surveys: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
597
- visible_on_profile: import("zod").ZodBoolean;
598
- }, "strip", import("zod").ZodTypeAny, {
599
- visible_on_profile: boolean;
600
- }, {
601
- visible_on_profile: boolean;
602
- }>>>, {
252
+ } | null | undefined>>;
253
+ surveys: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
254
+ visible_on_profile: z.ZodBoolean;
255
+ }, z.core.$strip>>>, z.ZodTransform<{
603
256
  visible_on_profile: boolean;
604
257
  } | null, {
605
258
  visible_on_profile: boolean;
606
- } | null | undefined>;
607
- }, "strip", import("zod").ZodTypeAny, {
608
- name: string;
609
- published_at: Date | null;
610
- about: string | null;
611
- topics: string[];
612
- country: string | null;
613
- hide: boolean;
614
- organisation: {
615
- type: string | null;
616
- name: string | null;
617
- visible_on_profile: boolean;
618
- description: string | null;
619
- id?: string | undefined;
620
- } | null;
621
- event_details: {
622
- visible_on_profile: boolean;
623
- registration_link: string | null;
624
- start_date: Date | null;
625
- } | null;
626
- story: {
627
- visible_on_profile: boolean;
628
- background: string | null;
629
- } | null;
630
- supporters: {
631
- visible_on_profile: boolean;
632
- description: string | null;
633
- organisation_types: string[];
634
- } | null;
635
- funders: {
636
- visible_on_profile: boolean;
637
- description: string | null;
638
- organisation_types: string[];
639
- } | null;
640
- facilitation: {
641
- visible_on_profile: boolean;
642
- decision_method: string | null;
643
- } | null;
644
- participants: {
645
- visible_on_profile: boolean;
646
- recruitment_method: string | null;
647
- community: string | null;
648
- } | null;
649
- support: {
650
- visible_on_profile: boolean;
651
- support_options: string[];
652
- } | null;
653
- action_plan: {
654
- visible_on_profile: boolean;
655
- description: string | null;
656
- updates: unknown[];
657
- actions: {
658
- text: string;
659
- agreed: number | null;
660
- against: number | null;
661
- abstained: number | null;
662
- include_in_action_plan: boolean;
663
- tasks: {
664
- text: string;
665
- complete: boolean;
666
- id?: string | undefined;
667
- }[];
668
- updates: unknown[];
669
- id?: string | undefined;
670
- }[];
671
- } | null;
672
- surveys: {
673
- visible_on_profile: boolean;
674
- } | null;
675
- }, {
676
- name: string;
677
- topics: string[];
678
- published_at?: Date | null | undefined;
679
- about?: string | null | undefined;
680
- country?: string | null | undefined;
681
- hide?: boolean | undefined;
682
- organisation?: {
683
- visible_on_profile: boolean;
684
- type?: string | null | undefined;
685
- id?: string | undefined;
686
- name?: string | null | undefined;
687
- description?: string | null | undefined;
688
- } | null | undefined;
689
- event_details?: {
690
- visible_on_profile: boolean;
691
- registration_link?: string | null | undefined;
692
- start_date?: Date | null | undefined;
693
- } | null | undefined;
694
- story?: {
695
- visible_on_profile: boolean;
696
- background?: string | null | undefined;
697
- } | null | undefined;
698
- supporters?: {
699
- visible_on_profile: boolean;
700
- organisation_types: string[];
701
- description?: string | null | undefined;
702
- } | null | undefined;
703
- funders?: {
704
- visible_on_profile: boolean;
705
- organisation_types: string[];
706
- description?: string | null | undefined;
707
- } | null | undefined;
708
- facilitation?: {
709
- visible_on_profile: boolean;
710
- decision_method?: string | null | undefined;
711
- } | null | undefined;
712
- participants?: {
713
- visible_on_profile: boolean;
714
- recruitment_method?: string | null | undefined;
715
- community?: string | null | undefined;
716
- } | null | undefined;
717
- support?: {
718
- visible_on_profile: boolean;
719
- support_options: string[];
720
- } | null | undefined;
721
- action_plan?: {
722
- visible_on_profile: boolean;
723
- updates: unknown[];
724
- actions: {
725
- text: string;
726
- tasks: {
727
- text: string;
728
- id?: string | undefined;
729
- complete?: boolean | undefined;
730
- }[];
731
- updates: unknown[];
732
- id?: string | undefined;
733
- agreed?: number | null | undefined;
734
- against?: number | null | undefined;
735
- abstained?: number | null | undefined;
736
- include_in_action_plan?: boolean | undefined;
737
- }[];
738
- description?: string | null | undefined;
739
- } | null | undefined;
740
- surveys?: {
259
+ } | null | undefined>>;
260
+ }, z.core.$strip>;
261
+ response: z.ZodObject<{
262
+ id: z.ZodUUID;
263
+ created_at: z.ZodCoercedDate<unknown>;
264
+ updated_at: z.ZodCoercedDate<unknown>;
265
+ name: z.ZodString;
266
+ published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>, z.ZodTransform<Date | null, Date | null | undefined>>;
267
+ about: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
268
+ topics: z.ZodArray<z.ZodString>;
269
+ country: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
270
+ hide: z.ZodDefault<z.ZodBoolean>;
271
+ has_image: z.ZodBoolean;
272
+ image_src: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
273
+ is_own: z.ZodBoolean;
274
+ organisation: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
275
+ visible_on_profile: z.ZodBoolean;
276
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
277
+ description: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
278
+ type: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
279
+ id: z.ZodUUID;
280
+ created_at: z.ZodCoercedDate<unknown>;
281
+ updated_at: z.ZodCoercedDate<unknown>;
282
+ }, z.core.$strip>>>, z.ZodTransform<{
741
283
  visible_on_profile: boolean;
742
- } | null | undefined;
743
- }>;
744
- response: import("zod").ZodObject<{
745
- published_at: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>, Date | null, Date | null | undefined>;
746
- name: import("zod").ZodString;
747
- about: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
748
- topics: import("zod").ZodArray<import("zod").ZodString, "many">;
749
- country: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
750
- hide: import("zod").ZodDefault<import("zod").ZodBoolean>;
751
- } & {
752
- id: import("zod").ZodString;
753
- created_at: import("zod").ZodDate;
754
- updated_at: import("zod").ZodDate;
755
- has_image: import("zod").ZodBoolean;
756
- image_src: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
757
- } & {
758
- is_own: import("zod").ZodBoolean;
759
- organisation: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
760
- visible_on_profile: import("zod").ZodBoolean;
761
- name: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
762
- description: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
763
- type: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
764
- } & {
765
- id: import("zod").ZodString;
766
- created_at: import("zod").ZodDate;
767
- updated_at: import("zod").ZodDate;
768
- }, "strip", import("zod").ZodTypeAny, {
769
- type: string | null;
770
- id: string;
771
- created_at: Date;
772
- updated_at: Date;
773
284
  name: string | null;
774
- visible_on_profile: boolean;
775
285
  description: string | null;
776
- }, {
777
- id: string;
778
- created_at: Date;
779
- updated_at: Date;
780
- visible_on_profile: boolean;
781
- type?: string | null | undefined;
782
- name?: string | null | undefined;
783
- description?: string | null | undefined;
784
- }>>>, {
785
286
  type: string | null;
786
287
  id: string;
787
288
  created_at: Date;
788
289
  updated_at: Date;
789
- name: string | null;
290
+ } | null, {
790
291
  visible_on_profile: boolean;
292
+ name: string | null;
791
293
  description: string | null;
792
- } | null, {
294
+ type: string | null;
793
295
  id: string;
794
296
  created_at: Date;
795
297
  updated_at: Date;
796
- visible_on_profile: boolean;
797
- type?: string | null | undefined;
798
- name?: string | null | undefined;
799
- description?: string | null | undefined;
800
- } | null | undefined>;
801
- event_details: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
802
- visible_on_profile: import("zod").ZodBoolean;
803
- registration_link: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
804
- start_date: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>, Date | null, Date | null | undefined>;
805
- } & {
806
- created_at: import("zod").ZodDate;
807
- updated_at: import("zod").ZodDate;
808
- }, "strip", import("zod").ZodTypeAny, {
809
- created_at: Date;
810
- updated_at: Date;
298
+ } | null | undefined>>;
299
+ event_details: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
300
+ visible_on_profile: z.ZodBoolean;
301
+ registration_link: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
302
+ start_date: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>, z.ZodTransform<Date | null, Date | null | undefined>>;
303
+ created_at: z.ZodCoercedDate<unknown>;
304
+ updated_at: z.ZodCoercedDate<unknown>;
305
+ }, z.core.$strip>>>, z.ZodTransform<{
811
306
  visible_on_profile: boolean;
812
307
  registration_link: string | null;
813
308
  start_date: Date | null;
814
- }, {
815
- created_at: Date;
816
- updated_at: Date;
817
- visible_on_profile: boolean;
818
- registration_link?: string | null | undefined;
819
- start_date?: Date | null | undefined;
820
- }>>>, {
821
309
  created_at: Date;
822
310
  updated_at: Date;
311
+ } | null, {
823
312
  visible_on_profile: boolean;
824
313
  registration_link: string | null;
825
314
  start_date: Date | null;
826
- } | null, {
827
315
  created_at: Date;
828
316
  updated_at: Date;
317
+ } | null | undefined>>;
318
+ story: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
319
+ visible_on_profile: z.ZodBoolean;
320
+ background: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
321
+ created_at: z.ZodCoercedDate<unknown>;
322
+ updated_at: z.ZodCoercedDate<unknown>;
323
+ }, z.core.$strip>>>, z.ZodTransform<{
829
324
  visible_on_profile: boolean;
830
- registration_link?: string | null | undefined;
831
- start_date?: Date | null | undefined;
832
- } | null | undefined>;
833
- story: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
834
- visible_on_profile: import("zod").ZodBoolean;
835
- background: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
836
- } & {
837
- created_at: import("zod").ZodDate;
838
- updated_at: import("zod").ZodDate;
839
- }, "strip", import("zod").ZodTypeAny, {
325
+ background: string | null;
840
326
  created_at: Date;
841
327
  updated_at: Date;
328
+ } | null, {
842
329
  visible_on_profile: boolean;
843
330
  background: string | null;
844
- }, {
845
331
  created_at: Date;
846
332
  updated_at: Date;
333
+ } | null | undefined>>;
334
+ supporters: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
335
+ visible_on_profile: z.ZodBoolean;
336
+ organisation_types: z.ZodArray<z.ZodString>;
337
+ description: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
338
+ created_at: z.ZodCoercedDate<unknown>;
339
+ updated_at: z.ZodCoercedDate<unknown>;
340
+ }, z.core.$strip>>>, z.ZodTransform<{
847
341
  visible_on_profile: boolean;
848
- background?: string | null | undefined;
849
- }>>>, {
342
+ organisation_types: string[];
343
+ description: string | null;
850
344
  created_at: Date;
851
345
  updated_at: Date;
852
- visible_on_profile: boolean;
853
- background: string | null;
854
346
  } | null, {
855
- created_at: Date;
856
- updated_at: Date;
857
347
  visible_on_profile: boolean;
858
- background?: string | null | undefined;
859
- } | null | undefined>;
860
- supporters: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
861
- visible_on_profile: import("zod").ZodBoolean;
862
- organisation_types: import("zod").ZodArray<import("zod").ZodString, "many">;
863
- description: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
864
- } & {
865
- created_at: import("zod").ZodDate;
866
- updated_at: import("zod").ZodDate;
867
- }, "strip", import("zod").ZodTypeAny, {
348
+ organisation_types: string[];
349
+ description: string | null;
868
350
  created_at: Date;
869
351
  updated_at: Date;
352
+ } | null | undefined>>;
353
+ funders: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
354
+ visible_on_profile: z.ZodBoolean;
355
+ organisation_types: z.ZodArray<z.ZodString>;
356
+ description: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
357
+ created_at: z.ZodCoercedDate<unknown>;
358
+ updated_at: z.ZodCoercedDate<unknown>;
359
+ }, z.core.$strip>>>, z.ZodTransform<{
870
360
  visible_on_profile: boolean;
871
- description: string | null;
872
361
  organisation_types: string[];
873
- }, {
362
+ description: string | null;
874
363
  created_at: Date;
875
364
  updated_at: Date;
365
+ } | null, {
876
366
  visible_on_profile: boolean;
877
367
  organisation_types: string[];
878
- description?: string | null | undefined;
879
- }>>>, {
368
+ description: string | null;
880
369
  created_at: Date;
881
370
  updated_at: Date;
371
+ } | null | undefined>>;
372
+ facilitation: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
373
+ visible_on_profile: z.ZodBoolean;
374
+ decision_method: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
375
+ created_at: z.ZodCoercedDate<unknown>;
376
+ updated_at: z.ZodCoercedDate<unknown>;
377
+ }, z.core.$strip>>>, z.ZodTransform<{
882
378
  visible_on_profile: boolean;
883
- description: string | null;
884
- organisation_types: string[];
885
- } | null, {
379
+ decision_method: string | null;
886
380
  created_at: Date;
887
381
  updated_at: Date;
382
+ } | null, {
888
383
  visible_on_profile: boolean;
889
- organisation_types: string[];
890
- description?: string | null | undefined;
891
- } | null | undefined>;
892
- funders: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
893
- visible_on_profile: import("zod").ZodBoolean;
894
- organisation_types: import("zod").ZodArray<import("zod").ZodString, "many">;
895
- description: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
896
- } & {
897
- created_at: import("zod").ZodDate;
898
- updated_at: import("zod").ZodDate;
899
- }, "strip", import("zod").ZodTypeAny, {
384
+ decision_method: string | null;
900
385
  created_at: Date;
901
386
  updated_at: Date;
387
+ } | null | undefined>>;
388
+ participants: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
389
+ visible_on_profile: z.ZodBoolean;
390
+ recruitment_method: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
391
+ community: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
392
+ created_at: z.ZodCoercedDate<unknown>;
393
+ updated_at: z.ZodCoercedDate<unknown>;
394
+ }, z.core.$strip>>>, z.ZodTransform<{
902
395
  visible_on_profile: boolean;
903
- description: string | null;
904
- organisation_types: string[];
905
- }, {
396
+ recruitment_method: string | null;
397
+ community: string | null;
906
398
  created_at: Date;
907
399
  updated_at: Date;
908
- visible_on_profile: boolean;
909
- organisation_types: string[];
910
- description?: string | null | undefined;
911
- }>>>, {
912
- created_at: Date;
913
- updated_at: Date;
914
- visible_on_profile: boolean;
915
- description: string | null;
916
- organisation_types: string[];
917
400
  } | null, {
918
- created_at: Date;
919
- updated_at: Date;
920
- visible_on_profile: boolean;
921
- organisation_types: string[];
922
- description?: string | null | undefined;
923
- } | null | undefined>;
924
- facilitation: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
925
- visible_on_profile: import("zod").ZodBoolean;
926
- decision_method: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
927
- } & {
928
- created_at: import("zod").ZodDate;
929
- updated_at: import("zod").ZodDate;
930
- }, "strip", import("zod").ZodTypeAny, {
931
- created_at: Date;
932
- updated_at: Date;
933
- visible_on_profile: boolean;
934
- decision_method: string | null;
935
- }, {
936
- created_at: Date;
937
- updated_at: Date;
938
- visible_on_profile: boolean;
939
- decision_method?: string | null | undefined;
940
- }>>>, {
941
- created_at: Date;
942
- updated_at: Date;
943
- visible_on_profile: boolean;
944
- decision_method: string | null;
945
- } | null, {
946
- created_at: Date;
947
- updated_at: Date;
948
- visible_on_profile: boolean;
949
- decision_method?: string | null | undefined;
950
- } | null | undefined>;
951
- participants: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
952
- visible_on_profile: import("zod").ZodBoolean;
953
- recruitment_method: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
954
- community: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
955
- } & {
956
- created_at: import("zod").ZodDate;
957
- updated_at: import("zod").ZodDate;
958
- }, "strip", import("zod").ZodTypeAny, {
959
- created_at: Date;
960
- updated_at: Date;
961
401
  visible_on_profile: boolean;
962
402
  recruitment_method: string | null;
963
403
  community: string | null;
964
- }, {
965
- created_at: Date;
966
- updated_at: Date;
967
- visible_on_profile: boolean;
968
- recruitment_method?: string | null | undefined;
969
- community?: string | null | undefined;
970
- }>>>, {
971
- created_at: Date;
972
- updated_at: Date;
973
- visible_on_profile: boolean;
974
- recruitment_method: string | null;
975
- community: string | null;
976
- } | null, {
977
- created_at: Date;
978
- updated_at: Date;
979
- visible_on_profile: boolean;
980
- recruitment_method?: string | null | undefined;
981
- community?: string | null | undefined;
982
- } | null | undefined>;
983
- support: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
984
- visible_on_profile: import("zod").ZodBoolean;
985
- support_options: import("zod").ZodArray<import("zod").ZodString, "many">;
986
- } & {
987
- created_at: import("zod").ZodDate;
988
- updated_at: import("zod").ZodDate;
989
- }, "strip", import("zod").ZodTypeAny, {
990
404
  created_at: Date;
991
405
  updated_at: Date;
406
+ } | null | undefined>>;
407
+ support: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
408
+ visible_on_profile: z.ZodBoolean;
409
+ support_options: z.ZodArray<z.ZodString>;
410
+ created_at: z.ZodCoercedDate<unknown>;
411
+ updated_at: z.ZodCoercedDate<unknown>;
412
+ }, z.core.$strip>>>, z.ZodTransform<{
992
413
  visible_on_profile: boolean;
993
414
  support_options: string[];
994
- }, {
995
- created_at: Date;
996
- updated_at: Date;
997
- visible_on_profile: boolean;
998
- support_options: string[];
999
- }>>>, {
1000
415
  created_at: Date;
1001
416
  updated_at: Date;
417
+ } | null, {
1002
418
  visible_on_profile: boolean;
1003
419
  support_options: string[];
1004
- } | null, {
1005
420
  created_at: Date;
1006
421
  updated_at: Date;
422
+ } | null | undefined>>;
423
+ action_plan: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodIntersection<z.ZodObject<{
424
+ visible_on_profile: z.ZodBoolean;
425
+ description: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
426
+ actions: z.ZodArray<z.ZodObject<{
427
+ text: z.ZodString;
428
+ agreed: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>, z.ZodTransform<number | null, number | null | undefined>>;
429
+ against: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>, z.ZodTransform<number | null, number | null | undefined>>;
430
+ abstained: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>, z.ZodTransform<number | null, number | null | undefined>>;
431
+ include_in_action_plan: z.ZodDefault<z.ZodBoolean>;
432
+ id: z.ZodUUID;
433
+ tasks: z.ZodArray<z.ZodObject<{
434
+ text: z.ZodString;
435
+ complete: z.ZodDefault<z.ZodBoolean>;
436
+ id: z.ZodUUID;
437
+ created_at: z.ZodCoercedDate<unknown>;
438
+ updated_at: z.ZodCoercedDate<unknown>;
439
+ }, z.core.$strip>>;
440
+ updates: z.ZodArray<z.ZodUnknown>;
441
+ created_at: z.ZodCoercedDate<unknown>;
442
+ updated_at: z.ZodCoercedDate<unknown>;
443
+ }, z.core.$strip>>;
444
+ updates: z.ZodArray<z.ZodUnknown>;
445
+ }, z.core.$strip>, z.ZodObject<{
446
+ created_at: z.ZodCoercedDate<unknown>;
447
+ updated_at: z.ZodCoercedDate<unknown>;
448
+ }, z.core.$strip>>>>, z.ZodTransform<NonNullable<{
1007
449
  visible_on_profile: boolean;
1008
- support_options: string[];
1009
- } | null | undefined>;
1010
- action_plan: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodIntersection<import("zod").ZodObject<{
1011
- visible_on_profile: import("zod").ZodBoolean;
1012
- description: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
1013
- } & {
1014
- actions: import("zod").ZodArray<import("zod").ZodObject<{
1015
- text: import("zod").ZodString;
1016
- agreed: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | null, number | null | undefined>;
1017
- against: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | null, number | null | undefined>;
1018
- abstained: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>, number | null, number | null | undefined>;
1019
- include_in_action_plan: import("zod").ZodDefault<import("zod").ZodBoolean>;
1020
- id: import("zod").ZodString;
1021
- tasks: import("zod").ZodArray<import("zod").ZodObject<Omit<{
1022
- text: import("zod").ZodString;
1023
- complete: import("zod").ZodDefault<import("zod").ZodBoolean>;
1024
- action_id: import("zod").ZodString;
1025
- assembly_id: import("zod").ZodString;
1026
- }, "assembly_id" | "action_id"> & {
1027
- id: import("zod").ZodString;
1028
- created_at: import("zod").ZodDate;
1029
- updated_at: import("zod").ZodDate;
1030
- }, "strip", import("zod").ZodTypeAny, {
1031
- id: string;
1032
- created_at: Date;
1033
- updated_at: Date;
1034
- text: string;
1035
- complete: boolean;
1036
- }, {
1037
- id: string;
1038
- created_at: Date;
1039
- updated_at: Date;
1040
- text: string;
1041
- complete?: boolean | undefined;
1042
- }>, "many">;
1043
- updates: import("zod").ZodArray<import("zod").ZodUnknown, "many">;
1044
- } & {
1045
- created_at: import("zod").ZodDate;
1046
- updated_at: import("zod").ZodDate;
1047
- }, "strip", import("zod").ZodTypeAny, {
1048
- id: string;
1049
- created_at: Date;
1050
- updated_at: Date;
450
+ description: string | null;
451
+ actions: {
1051
452
  text: string;
1052
453
  agreed: number | null;
1053
454
  against: number | null;
1054
455
  abstained: number | null;
1055
456
  include_in_action_plan: boolean;
457
+ id: string;
1056
458
  tasks: {
1057
- id: string;
1058
- created_at: Date;
1059
- updated_at: Date;
1060
459
  text: string;
1061
460
  complete: boolean;
1062
- }[];
1063
- updates: unknown[];
1064
- }, {
1065
- id: string;
1066
- created_at: Date;
1067
- updated_at: Date;
1068
- text: string;
1069
- tasks: {
1070
461
  id: string;
1071
462
  created_at: Date;
1072
463
  updated_at: Date;
1073
- text: string;
1074
- complete?: boolean | undefined;
1075
464
  }[];
1076
465
  updates: unknown[];
1077
- agreed?: number | null | undefined;
1078
- against?: number | null | undefined;
1079
- abstained?: number | null | undefined;
1080
- include_in_action_plan?: boolean | undefined;
1081
- }>, "many">;
1082
- updates: import("zod").ZodArray<import("zod").ZodUnknown, "many">;
1083
- }, "strip", import("zod").ZodTypeAny, {
1084
- visible_on_profile: boolean;
1085
- description: string | null;
1086
- updates: unknown[];
1087
- actions: {
1088
- id: string;
1089
466
  created_at: Date;
1090
467
  updated_at: Date;
1091
- text: string;
1092
- agreed: number | null;
1093
- against: number | null;
1094
- abstained: number | null;
1095
- include_in_action_plan: boolean;
1096
- tasks: {
1097
- id: string;
1098
- created_at: Date;
1099
- updated_at: Date;
1100
- text: string;
1101
- complete: boolean;
1102
- }[];
1103
- updates: unknown[];
1104
468
  }[];
1105
- }, {
1106
- visible_on_profile: boolean;
1107
469
  updates: unknown[];
1108
- actions: {
1109
- id: string;
1110
- created_at: Date;
1111
- updated_at: Date;
1112
- text: string;
1113
- tasks: {
1114
- id: string;
1115
- created_at: Date;
1116
- updated_at: Date;
1117
- text: string;
1118
- complete?: boolean | undefined;
1119
- }[];
1120
- updates: unknown[];
1121
- agreed?: number | null | undefined;
1122
- against?: number | null | undefined;
1123
- abstained?: number | null | undefined;
1124
- include_in_action_plan?: boolean | undefined;
1125
- }[];
1126
- description?: string | null | undefined;
1127
- }>, import("zod").ZodObject<{
1128
- created_at: import("zod").ZodDate;
1129
- updated_at: import("zod").ZodDate;
1130
- }, "strip", import("zod").ZodTypeAny, {
1131
- created_at: Date;
1132
- updated_at: Date;
1133
- }, {
470
+ } & {
1134
471
  created_at: Date;
1135
472
  updated_at: Date;
1136
- }>>>>, NonNullable<{
473
+ }> | null, ({
1137
474
  visible_on_profile: boolean;
1138
475
  description: string | null;
1139
- updates: unknown[];
1140
476
  actions: {
1141
- id: string;
1142
- created_at: Date;
1143
- updated_at: Date;
1144
477
  text: string;
1145
478
  agreed: number | null;
1146
479
  against: number | null;
1147
480
  abstained: number | null;
1148
481
  include_in_action_plan: boolean;
482
+ id: string;
1149
483
  tasks: {
1150
- id: string;
1151
- created_at: Date;
1152
- updated_at: Date;
1153
484
  text: string;
1154
485
  complete: boolean;
1155
- }[];
1156
- updates: unknown[];
1157
- }[];
1158
- } & {
1159
- created_at: Date;
1160
- updated_at: Date;
1161
- }> | null, ({
1162
- visible_on_profile: boolean;
1163
- updates: unknown[];
1164
- actions: {
1165
- id: string;
1166
- created_at: Date;
1167
- updated_at: Date;
1168
- text: string;
1169
- tasks: {
1170
486
  id: string;
1171
487
  created_at: Date;
1172
488
  updated_at: Date;
1173
- text: string;
1174
- complete?: boolean | undefined;
1175
489
  }[];
1176
490
  updates: unknown[];
1177
- agreed?: number | null | undefined;
1178
- against?: number | null | undefined;
1179
- abstained?: number | null | undefined;
1180
- include_in_action_plan?: boolean | undefined;
1181
- }[];
1182
- description?: string | null | undefined;
1183
- } & {
1184
- created_at: Date;
1185
- updated_at: Date;
1186
- }) | null | undefined>;
1187
- surveys: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
1188
- visible_on_profile: import("zod").ZodBoolean;
1189
- } & {
1190
- created_at: import("zod").ZodDate;
1191
- updated_at: import("zod").ZodDate;
1192
- } & {
1193
- data: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1194
- total: import("zod").ZodNumber;
1195
- responses: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodArray<import("zod").ZodObject<{
1196
- label: import("zod").ZodString;
1197
- value: import("zod").ZodNumber;
1198
- }, "strip", import("zod").ZodTypeAny, {
1199
- label: string;
1200
- value: number;
1201
- }, {
1202
- label: string;
1203
- value: number;
1204
- }>, "many">>;
1205
- }, "strip", import("zod").ZodTypeAny, {
1206
- total: number;
1207
- responses: Record<string, {
1208
- label: string;
1209
- value: number;
1210
- }[]>;
1211
- }, {
1212
- total: number;
1213
- responses: Record<string, {
1214
- label: string;
1215
- value: number;
1216
- }[]>;
1217
- }>>;
1218
- }, "strip", import("zod").ZodTypeAny, {
1219
- created_at: Date;
1220
- updated_at: Date;
1221
- visible_on_profile: boolean;
1222
- data: Record<string, {
1223
- total: number;
1224
- responses: Record<string, {
1225
- label: string;
1226
- value: number;
1227
- }[]>;
1228
- }>;
1229
- }, {
1230
- created_at: Date;
1231
- updated_at: Date;
1232
- visible_on_profile: boolean;
1233
- data: Record<string, {
1234
- total: number;
1235
- responses: Record<string, {
1236
- label: string;
1237
- value: number;
1238
- }[]>;
1239
- }>;
1240
- }>>>, {
1241
- created_at: Date;
1242
- updated_at: Date;
1243
- visible_on_profile: boolean;
1244
- data: Record<string, {
1245
- total: number;
1246
- responses: Record<string, {
1247
- label: string;
1248
- value: number;
1249
- }[]>;
1250
- }>;
1251
- } | null, {
1252
- created_at: Date;
1253
- updated_at: Date;
1254
- visible_on_profile: boolean;
1255
- data: Record<string, {
1256
- total: number;
1257
- responses: Record<string, {
1258
- label: string;
1259
- value: number;
1260
- }[]>;
1261
- }>;
1262
- } | null | undefined>;
1263
- }, "strip", import("zod").ZodTypeAny, {
1264
- id: string;
1265
- created_at: Date;
1266
- updated_at: Date;
1267
- name: string;
1268
- published_at: Date | null;
1269
- about: string | null;
1270
- topics: string[];
1271
- country: string | null;
1272
- hide: boolean;
1273
- has_image: boolean;
1274
- image_src: string | null;
1275
- organisation: {
1276
- type: string | null;
1277
- id: string;
1278
- created_at: Date;
1279
- updated_at: Date;
1280
- name: string | null;
1281
- visible_on_profile: boolean;
1282
- description: string | null;
1283
- } | null;
1284
- event_details: {
1285
- created_at: Date;
1286
- updated_at: Date;
1287
- visible_on_profile: boolean;
1288
- registration_link: string | null;
1289
- start_date: Date | null;
1290
- } | null;
1291
- story: {
1292
- created_at: Date;
1293
- updated_at: Date;
1294
- visible_on_profile: boolean;
1295
- background: string | null;
1296
- } | null;
1297
- supporters: {
1298
- created_at: Date;
1299
- updated_at: Date;
1300
- visible_on_profile: boolean;
1301
- description: string | null;
1302
- organisation_types: string[];
1303
- } | null;
1304
- funders: {
1305
- created_at: Date;
1306
- updated_at: Date;
1307
- visible_on_profile: boolean;
1308
- description: string | null;
1309
- organisation_types: string[];
1310
- } | null;
1311
- facilitation: {
1312
- created_at: Date;
1313
- updated_at: Date;
1314
- visible_on_profile: boolean;
1315
- decision_method: string | null;
1316
- } | null;
1317
- participants: {
1318
- created_at: Date;
1319
- updated_at: Date;
1320
- visible_on_profile: boolean;
1321
- recruitment_method: string | null;
1322
- community: string | null;
1323
- } | null;
1324
- support: {
1325
- created_at: Date;
1326
- updated_at: Date;
1327
- visible_on_profile: boolean;
1328
- support_options: string[];
1329
- } | null;
1330
- action_plan: NonNullable<{
1331
- visible_on_profile: boolean;
1332
- description: string | null;
1333
- updates: unknown[];
1334
- actions: {
1335
- id: string;
1336
491
  created_at: Date;
1337
492
  updated_at: Date;
1338
- text: string;
1339
- agreed: number | null;
1340
- against: number | null;
1341
- abstained: number | null;
1342
- include_in_action_plan: boolean;
1343
- tasks: {
1344
- id: string;
1345
- created_at: Date;
1346
- updated_at: Date;
1347
- text: string;
1348
- complete: boolean;
1349
- }[];
1350
- updates: unknown[];
1351
493
  }[];
494
+ updates: unknown[];
1352
495
  } & {
1353
496
  created_at: Date;
1354
497
  updated_at: Date;
1355
- }> | null;
1356
- surveys: {
498
+ }) | null | undefined>>;
499
+ surveys: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
500
+ visible_on_profile: z.ZodBoolean;
501
+ created_at: z.ZodCoercedDate<unknown>;
502
+ updated_at: z.ZodCoercedDate<unknown>;
503
+ data: z.ZodRecord<z.ZodString, z.ZodObject<{
504
+ total: z.ZodNumber;
505
+ responses: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
506
+ label: z.ZodString;
507
+ value: z.ZodCoercedNumber<unknown>;
508
+ }, z.core.$strip>>>;
509
+ }, z.core.$strip>>;
510
+ }, z.core.$strip>>>, z.ZodTransform<{
511
+ visible_on_profile: boolean;
1357
512
  created_at: Date;
1358
513
  updated_at: Date;
1359
- visible_on_profile: boolean;
1360
514
  data: Record<string, {
1361
515
  total: number;
1362
516
  responses: Record<string, {
@@ -1364,106 +518,10 @@ export declare const AssemblyDetailSchema: {
1364
518
  value: number;
1365
519
  }[]>;
1366
520
  }>;
1367
- } | null;
1368
- is_own: boolean;
1369
- }, {
1370
- id: string;
1371
- created_at: Date;
1372
- updated_at: Date;
1373
- name: string;
1374
- topics: string[];
1375
- has_image: boolean;
1376
- is_own: boolean;
1377
- published_at?: Date | null | undefined;
1378
- about?: string | null | undefined;
1379
- country?: string | null | undefined;
1380
- hide?: boolean | undefined;
1381
- image_src?: string | null | undefined;
1382
- organisation?: {
1383
- id: string;
1384
- created_at: Date;
1385
- updated_at: Date;
1386
- visible_on_profile: boolean;
1387
- type?: string | null | undefined;
1388
- name?: string | null | undefined;
1389
- description?: string | null | undefined;
1390
- } | null | undefined;
1391
- event_details?: {
1392
- created_at: Date;
1393
- updated_at: Date;
1394
- visible_on_profile: boolean;
1395
- registration_link?: string | null | undefined;
1396
- start_date?: Date | null | undefined;
1397
- } | null | undefined;
1398
- story?: {
1399
- created_at: Date;
1400
- updated_at: Date;
1401
- visible_on_profile: boolean;
1402
- background?: string | null | undefined;
1403
- } | null | undefined;
1404
- supporters?: {
1405
- created_at: Date;
1406
- updated_at: Date;
1407
- visible_on_profile: boolean;
1408
- organisation_types: string[];
1409
- description?: string | null | undefined;
1410
- } | null | undefined;
1411
- funders?: {
1412
- created_at: Date;
1413
- updated_at: Date;
1414
- visible_on_profile: boolean;
1415
- organisation_types: string[];
1416
- description?: string | null | undefined;
1417
- } | null | undefined;
1418
- facilitation?: {
1419
- created_at: Date;
1420
- updated_at: Date;
1421
- visible_on_profile: boolean;
1422
- decision_method?: string | null | undefined;
1423
- } | null | undefined;
1424
- participants?: {
1425
- created_at: Date;
1426
- updated_at: Date;
1427
- visible_on_profile: boolean;
1428
- recruitment_method?: string | null | undefined;
1429
- community?: string | null | undefined;
1430
- } | null | undefined;
1431
- support?: {
1432
- created_at: Date;
1433
- updated_at: Date;
1434
- visible_on_profile: boolean;
1435
- support_options: string[];
1436
- } | null | undefined;
1437
- action_plan?: ({
521
+ } | null, {
1438
522
  visible_on_profile: boolean;
1439
- updates: unknown[];
1440
- actions: {
1441
- id: string;
1442
- created_at: Date;
1443
- updated_at: Date;
1444
- text: string;
1445
- tasks: {
1446
- id: string;
1447
- created_at: Date;
1448
- updated_at: Date;
1449
- text: string;
1450
- complete?: boolean | undefined;
1451
- }[];
1452
- updates: unknown[];
1453
- agreed?: number | null | undefined;
1454
- against?: number | null | undefined;
1455
- abstained?: number | null | undefined;
1456
- include_in_action_plan?: boolean | undefined;
1457
- }[];
1458
- description?: string | null | undefined;
1459
- } & {
1460
523
  created_at: Date;
1461
524
  updated_at: Date;
1462
- }) | null | undefined;
1463
- surveys?: {
1464
- created_at: Date;
1465
- updated_at: Date;
1466
- visible_on_profile: boolean;
1467
525
  data: Record<string, {
1468
526
  total: number;
1469
527
  responses: Record<string, {
@@ -1471,265 +529,85 @@ export declare const AssemblyDetailSchema: {
1471
529
  value: number;
1472
530
  }[]>;
1473
531
  }>;
1474
- } | null | undefined;
1475
- }>;
532
+ } | null | undefined>>;
533
+ }, z.core.$strip>;
1476
534
  };
1477
535
  export declare const FeedbackSchema: {
1478
- payload: import("zod").ZodObject<{
1479
- route: import("zod").ZodString;
1480
- text: import("zod").ZodString;
1481
- metadata: import("zod").ZodUnknown;
1482
- }, "strip", import("zod").ZodTypeAny, {
1483
- text: string;
1484
- route: string;
1485
- metadata?: unknown;
1486
- }, {
1487
- text: string;
1488
- route: string;
1489
- metadata?: unknown;
1490
- }>;
1491
- response: import("zod").ZodString;
536
+ payload: z.ZodObject<{
537
+ route: z.ZodString;
538
+ text: z.ZodString;
539
+ metadata: z.ZodUnknown;
540
+ }, z.core.$strip>;
541
+ response: z.ZodString;
1492
542
  };
1493
543
  export declare const LogSchema: {
1494
- payload: import("zod").ZodObject<{
1495
- message: import("zod").ZodOptional<import("zod").ZodString>;
1496
- data: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodString>>>;
1497
- metadata: import("zod").ZodObject<{
1498
- origin: import("zod").ZodString;
1499
- route: import("zod").ZodString;
1500
- status: import("zod").ZodNumber;
1501
- }, "strip", import("zod").ZodTypeAny, {
1502
- status: number;
1503
- route: string;
1504
- origin: string;
1505
- }, {
1506
- status: number;
1507
- route: string;
1508
- origin: string;
1509
- }>;
1510
- }, "strip", import("zod").ZodTypeAny, {
1511
- metadata: {
1512
- status: number;
1513
- route: string;
1514
- origin: string;
1515
- };
1516
- message?: string | undefined;
1517
- data?: Record<string, string | undefined> | undefined;
1518
- }, {
1519
- metadata: {
1520
- status: number;
1521
- route: string;
1522
- origin: string;
1523
- };
1524
- message?: string | undefined;
1525
- data?: Record<string, string | undefined> | undefined;
1526
- }>;
1527
- response: import("zod").ZodString;
544
+ payload: z.ZodObject<{
545
+ message: z.ZodOptional<z.ZodString>;
546
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
547
+ metadata: z.ZodObject<{
548
+ origin: z.ZodString;
549
+ route: z.ZodString;
550
+ status: z.ZodNumber;
551
+ }, z.core.$strip>;
552
+ }, z.core.$strip>;
553
+ response: z.ZodString;
1528
554
  };
1529
555
  export declare const RegisterSchema: {
1530
- payload: import("zod").ZodObject<{
1531
- type: import("zod").ZodLiteral<"user.created">;
1532
- object: import("zod").ZodLiteral<"event">;
1533
- data: import("zod").ZodObject<{
1534
- id: import("zod").ZodString;
1535
- email_addresses: import("zod").ZodArray<import("zod").ZodObject<{
1536
- email_address: import("zod").ZodString;
1537
- }, "strip", import("zod").ZodTypeAny, {
1538
- email_address: string;
1539
- }, {
1540
- email_address: string;
1541
- }>, "many">;
1542
- }, "strip", import("zod").ZodTypeAny, {
1543
- id: string;
1544
- email_addresses: {
1545
- email_address: string;
1546
- }[];
1547
- }, {
1548
- id: string;
1549
- email_addresses: {
1550
- email_address: string;
1551
- }[];
1552
- }>;
1553
- }, "strip", import("zod").ZodTypeAny, {
1554
- object: "event";
1555
- type: "user.created";
1556
- data: {
1557
- id: string;
1558
- email_addresses: {
1559
- email_address: string;
1560
- }[];
1561
- };
1562
- }, {
1563
- object: "event";
1564
- type: "user.created";
1565
- data: {
1566
- id: string;
1567
- email_addresses: {
1568
- email_address: string;
1569
- }[];
1570
- };
1571
- }>;
1572
- response: import("zod").ZodString;
556
+ payload: z.ZodObject<{
557
+ type: z.ZodLiteral<"user.created">;
558
+ object: z.ZodLiteral<"event">;
559
+ data: z.ZodObject<{
560
+ id: z.ZodString;
561
+ email_addresses: z.ZodArray<z.ZodObject<{
562
+ email_address: z.ZodString;
563
+ }, z.core.$strip>>;
564
+ }, z.core.$strip>;
565
+ }, z.core.$strip>;
566
+ response: z.ZodString;
1573
567
  };
1574
568
  export declare const PinSchema: {
1575
- payload: import("zod").ZodObject<{
1576
- country: import("zod").ZodString;
1577
- email: import("zod").ZodString;
1578
- text: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
1579
- }, "strip", import("zod").ZodTypeAny, {
1580
- text: string | null;
1581
- country: string;
1582
- email: string;
1583
- }, {
1584
- country: string;
1585
- email: string;
1586
- text?: string | null | undefined;
1587
- }>;
1588
- response: import("zod").ZodObject<{
1589
- id: import("zod").ZodString;
1590
- created_at: import("zod").ZodDate;
1591
- updated_at: import("zod").ZodDate;
1592
- country: import("zod").ZodString;
1593
- text: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
1594
- hide: import("zod").ZodBoolean;
1595
- has_image: import("zod").ZodBoolean;
1596
- image_src: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
1597
- }, "strip", import("zod").ZodTypeAny, {
1598
- id: string;
1599
- created_at: Date;
1600
- updated_at: Date;
1601
- text: string | null;
1602
- country: string;
1603
- hide: boolean;
1604
- has_image: boolean;
1605
- image_src: string | null;
1606
- }, {
1607
- id: string;
1608
- created_at: Date;
1609
- updated_at: Date;
1610
- country: string;
1611
- hide: boolean;
1612
- has_image: boolean;
1613
- text?: string | null | undefined;
1614
- image_src?: string | null | undefined;
1615
- }>;
569
+ payload: z.ZodObject<{
570
+ country: z.ZodString;
571
+ email: z.ZodString;
572
+ text: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
573
+ }, z.core.$strip>;
574
+ response: z.ZodObject<{
575
+ id: z.ZodUUID;
576
+ created_at: z.ZodCoercedDate<unknown>;
577
+ updated_at: z.ZodCoercedDate<unknown>;
578
+ country: z.ZodString;
579
+ text: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
580
+ hide: z.ZodBoolean;
581
+ has_image: z.ZodBoolean;
582
+ image_src: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
583
+ }, z.core.$strip>;
1616
584
  };
1617
585
  export declare const PinListSchema: {
1618
- payload: import("zod").ZodUndefined;
1619
- response: import("zod").ZodObject<{
1620
- assemblies: import("zod").ZodArray<import("zod").ZodObject<{
1621
- published_at: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>, Date | null, Date | null | undefined>;
1622
- name: import("zod").ZodString;
1623
- about: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
1624
- topics: import("zod").ZodArray<import("zod").ZodString, "many">;
1625
- country: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
1626
- hide: import("zod").ZodDefault<import("zod").ZodBoolean>;
1627
- } & {
1628
- id: import("zod").ZodString;
1629
- created_at: import("zod").ZodDate;
1630
- updated_at: import("zod").ZodDate;
1631
- has_image: import("zod").ZodBoolean;
1632
- image_src: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
1633
- }, "strip", import("zod").ZodTypeAny, {
1634
- id: string;
1635
- created_at: Date;
1636
- updated_at: Date;
1637
- name: string;
1638
- published_at: Date | null;
1639
- about: string | null;
1640
- topics: string[];
1641
- country: string | null;
1642
- hide: boolean;
1643
- has_image: boolean;
1644
- image_src: string | null;
1645
- }, {
1646
- id: string;
1647
- created_at: Date;
1648
- updated_at: Date;
1649
- name: string;
1650
- topics: string[];
1651
- has_image: boolean;
1652
- published_at?: Date | null | undefined;
1653
- about?: string | null | undefined;
1654
- country?: string | null | undefined;
1655
- hide?: boolean | undefined;
1656
- image_src?: string | null | undefined;
1657
- }>, "many">;
1658
- pins: import("zod").ZodArray<import("zod").ZodObject<{
1659
- id: import("zod").ZodString;
1660
- created_at: import("zod").ZodDate;
1661
- updated_at: import("zod").ZodDate;
1662
- country: import("zod").ZodString;
1663
- text: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
1664
- hide: import("zod").ZodBoolean;
1665
- has_image: import("zod").ZodBoolean;
1666
- image_src: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null, string | null | undefined>;
1667
- }, "strip", import("zod").ZodTypeAny, {
1668
- id: string;
1669
- created_at: Date;
1670
- updated_at: Date;
1671
- text: string | null;
1672
- country: string;
1673
- hide: boolean;
1674
- has_image: boolean;
1675
- image_src: string | null;
1676
- }, {
1677
- id: string;
1678
- created_at: Date;
1679
- updated_at: Date;
1680
- country: string;
1681
- hide: boolean;
1682
- has_image: boolean;
1683
- text?: string | null | undefined;
1684
- image_src?: string | null | undefined;
1685
- }>, "many">;
1686
- }, "strip", import("zod").ZodTypeAny, {
1687
- assemblies: {
1688
- id: string;
1689
- created_at: Date;
1690
- updated_at: Date;
1691
- name: string;
1692
- published_at: Date | null;
1693
- about: string | null;
1694
- topics: string[];
1695
- country: string | null;
1696
- hide: boolean;
1697
- has_image: boolean;
1698
- image_src: string | null;
1699
- }[];
1700
- pins: {
1701
- id: string;
1702
- created_at: Date;
1703
- updated_at: Date;
1704
- text: string | null;
1705
- country: string;
1706
- hide: boolean;
1707
- has_image: boolean;
1708
- image_src: string | null;
1709
- }[];
1710
- }, {
1711
- assemblies: {
1712
- id: string;
1713
- created_at: Date;
1714
- updated_at: Date;
1715
- name: string;
1716
- topics: string[];
1717
- has_image: boolean;
1718
- published_at?: Date | null | undefined;
1719
- about?: string | null | undefined;
1720
- country?: string | null | undefined;
1721
- hide?: boolean | undefined;
1722
- image_src?: string | null | undefined;
1723
- }[];
1724
- pins: {
1725
- id: string;
1726
- created_at: Date;
1727
- updated_at: Date;
1728
- country: string;
1729
- hide: boolean;
1730
- has_image: boolean;
1731
- text?: string | null | undefined;
1732
- image_src?: string | null | undefined;
1733
- }[];
1734
- }>;
586
+ payload: z.ZodUndefined;
587
+ response: z.ZodObject<{
588
+ assemblies: z.ZodArray<z.ZodObject<{
589
+ published_at: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>, z.ZodTransform<Date | null, Date | null | undefined>>;
590
+ name: z.ZodString;
591
+ about: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
592
+ topics: z.ZodArray<z.ZodString>;
593
+ country: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
594
+ hide: z.ZodDefault<z.ZodBoolean>;
595
+ id: z.ZodUUID;
596
+ created_at: z.ZodCoercedDate<unknown>;
597
+ updated_at: z.ZodCoercedDate<unknown>;
598
+ has_image: z.ZodBoolean;
599
+ image_src: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
600
+ user_id: z.ZodUUID;
601
+ }, z.core.$strip>>;
602
+ pins: z.ZodArray<z.ZodObject<{
603
+ id: z.ZodUUID;
604
+ created_at: z.ZodCoercedDate<unknown>;
605
+ updated_at: z.ZodCoercedDate<unknown>;
606
+ country: z.ZodString;
607
+ text: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
608
+ hide: z.ZodBoolean;
609
+ has_image: z.ZodBoolean;
610
+ image_src: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null, string | null | undefined>>;
611
+ }, z.core.$strip>>;
612
+ }, z.core.$strip>;
1735
613
  };