@lcas58/esmi-api-types 1.0.28 → 1.0.30
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/src/routes/events/events.handlers.d.ts +1 -1
- package/dist/src/routes/events/events.handlers.js +5 -5
- package/dist/src/routes/events/events.index.d.ts +23 -19
- package/dist/src/routes/events/events.routes.d.ts +51 -39
- package/dist/src/routes/events/schemas/event.schemas.d.ts +11 -8
- package/dist/src/routes/groups/groups.handlers.js +53 -12
- package/dist/src/routes/groups/groups.index.d.ts +73 -28
- package/dist/src/routes/groups/groups.routes.d.ts +210 -67
- package/dist/src/routes/groups/schemas/group.schemas.d.ts +82 -19
- package/dist/src/routes/groups/schemas/group.schemas.js +20 -1
- package/dist/src/routes/groups/schemas/index.d.ts +1 -1
- package/dist/src/routes/groups/schemas/index.js +1 -1
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ export declare const list: {
|
|
|
8
8
|
sportId: z.ZodOptional<z.ZodString>;
|
|
9
9
|
city: z.ZodOptional<z.ZodString>;
|
|
10
10
|
state: z.ZodOptional<z.ZodString>;
|
|
11
|
-
|
|
11
|
+
platform: z.ZodOptional<z.ZodString>;
|
|
12
12
|
search: z.ZodOptional<z.ZodString>;
|
|
13
13
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
14
14
|
offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -16,16 +16,16 @@ export declare const list: {
|
|
|
16
16
|
limit: number;
|
|
17
17
|
offset: number;
|
|
18
18
|
search?: string | undefined;
|
|
19
|
+
sportId?: string | undefined;
|
|
19
20
|
city?: string | undefined;
|
|
20
21
|
state?: string | undefined;
|
|
21
|
-
|
|
22
|
-
source?: "external" | "internal" | undefined;
|
|
22
|
+
platform?: string | undefined;
|
|
23
23
|
}, {
|
|
24
24
|
search?: string | undefined;
|
|
25
|
+
sportId?: string | undefined;
|
|
25
26
|
city?: string | undefined;
|
|
26
27
|
state?: string | undefined;
|
|
27
|
-
|
|
28
|
-
source?: "external" | "internal" | undefined;
|
|
28
|
+
platform?: string | undefined;
|
|
29
29
|
limit?: number | undefined;
|
|
30
30
|
offset?: number | undefined;
|
|
31
31
|
}>;
|
|
@@ -39,15 +39,17 @@ export declare const list: {
|
|
|
39
39
|
name: z.ZodString;
|
|
40
40
|
slug: z.ZodString;
|
|
41
41
|
description: z.ZodNullable<z.ZodString>;
|
|
42
|
-
|
|
42
|
+
platform: z.ZodNullable<z.ZodString>;
|
|
43
43
|
city: z.ZodNullable<z.ZodString>;
|
|
44
44
|
state: z.ZodNullable<z.ZodString>;
|
|
45
45
|
country: z.ZodString;
|
|
46
46
|
sportId: z.ZodString;
|
|
47
|
-
sourceOrgId: z.ZodNullable<z.ZodString>;
|
|
48
47
|
externalUrl: z.ZodNullable<z.ZodString>;
|
|
49
48
|
createdByUserId: z.ZodNullable<z.ZodString>;
|
|
50
49
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
50
|
+
skillLevel: z.ZodNullable<z.ZodString>;
|
|
51
|
+
vibe: z.ZodNullable<z.ZodString>;
|
|
52
|
+
activityFrequency: z.ZodNullable<z.ZodString>;
|
|
51
53
|
isActive: z.ZodBoolean;
|
|
52
54
|
createdAt: z.ZodDate;
|
|
53
55
|
updatedAt: z.ZodDate;
|
|
@@ -78,6 +80,19 @@ export declare const list: {
|
|
|
78
80
|
id: string;
|
|
79
81
|
name: string;
|
|
80
82
|
}>>;
|
|
83
|
+
skillLevel: z.ZodNullable<z.ZodEnum<["beginner", "intermediate", "advanced", "all-levels"]>>;
|
|
84
|
+
vibe: z.ZodNullable<z.ZodEnum<["casual", "competitive", "social", "fitness"]>>;
|
|
85
|
+
activityFrequency: z.ZodNullable<z.ZodEnum<["weekly", "biweekly", "monthly", "sporadic"]>>;
|
|
86
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
87
|
+
id: z.ZodString;
|
|
88
|
+
name: z.ZodString;
|
|
89
|
+
}, "strip", z.ZodTypeAny, {
|
|
90
|
+
id: string;
|
|
91
|
+
name: string;
|
|
92
|
+
}, {
|
|
93
|
+
id: string;
|
|
94
|
+
name: string;
|
|
95
|
+
}>, "many">;
|
|
81
96
|
_count: z.ZodOptional<z.ZodObject<{
|
|
82
97
|
events: z.ZodNumber;
|
|
83
98
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -89,29 +104,35 @@ export declare const list: {
|
|
|
89
104
|
id: string;
|
|
90
105
|
description: string | null;
|
|
91
106
|
name: string;
|
|
92
|
-
city: string | null;
|
|
93
|
-
state: string | null;
|
|
94
|
-
sportId: string;
|
|
95
107
|
createdAt: Date;
|
|
96
108
|
sport: {
|
|
97
109
|
id: string;
|
|
98
110
|
name: string;
|
|
99
111
|
icon: string | null;
|
|
100
112
|
} | null;
|
|
113
|
+
sportId: string;
|
|
114
|
+
city: string | null;
|
|
115
|
+
state: string | null;
|
|
101
116
|
country: string;
|
|
102
|
-
source: "external" | "internal";
|
|
103
117
|
slug: string;
|
|
104
|
-
|
|
105
|
-
sourceOrgId: string | null;
|
|
118
|
+
platform: string | null;
|
|
106
119
|
externalUrl: string | null;
|
|
107
120
|
updatedAt: Date;
|
|
108
121
|
createdByUserId: string | null;
|
|
109
122
|
imageUrl: string | null;
|
|
123
|
+
skillLevel: "advanced" | "beginner" | "intermediate" | "all-levels" | null;
|
|
124
|
+
vibe: "social" | "casual" | "competitive" | "fitness" | null;
|
|
125
|
+
activityFrequency: "weekly" | "biweekly" | "monthly" | "sporadic" | null;
|
|
126
|
+
isActive: boolean;
|
|
110
127
|
creator: {
|
|
111
128
|
image: string | null;
|
|
112
129
|
id: string;
|
|
113
130
|
name: string;
|
|
114
131
|
} | null;
|
|
132
|
+
tags: {
|
|
133
|
+
id: string;
|
|
134
|
+
name: string;
|
|
135
|
+
}[];
|
|
115
136
|
_count?: {
|
|
116
137
|
events: number;
|
|
117
138
|
} | undefined;
|
|
@@ -119,29 +140,35 @@ export declare const list: {
|
|
|
119
140
|
id: string;
|
|
120
141
|
description: string | null;
|
|
121
142
|
name: string;
|
|
122
|
-
city: string | null;
|
|
123
|
-
state: string | null;
|
|
124
|
-
sportId: string;
|
|
125
143
|
createdAt: Date;
|
|
126
144
|
sport: {
|
|
127
145
|
id: string;
|
|
128
146
|
name: string;
|
|
129
147
|
icon: string | null;
|
|
130
148
|
} | null;
|
|
149
|
+
sportId: string;
|
|
150
|
+
city: string | null;
|
|
151
|
+
state: string | null;
|
|
131
152
|
country: string;
|
|
132
|
-
source: "external" | "internal";
|
|
133
153
|
slug: string;
|
|
134
|
-
|
|
135
|
-
sourceOrgId: string | null;
|
|
154
|
+
platform: string | null;
|
|
136
155
|
externalUrl: string | null;
|
|
137
156
|
updatedAt: Date;
|
|
138
157
|
createdByUserId: string | null;
|
|
139
158
|
imageUrl: string | null;
|
|
159
|
+
skillLevel: "advanced" | "beginner" | "intermediate" | "all-levels" | null;
|
|
160
|
+
vibe: "social" | "casual" | "competitive" | "fitness" | null;
|
|
161
|
+
activityFrequency: "weekly" | "biweekly" | "monthly" | "sporadic" | null;
|
|
162
|
+
isActive: boolean;
|
|
140
163
|
creator: {
|
|
141
164
|
image: string | null;
|
|
142
165
|
id: string;
|
|
143
166
|
name: string;
|
|
144
167
|
} | null;
|
|
168
|
+
tags: {
|
|
169
|
+
id: string;
|
|
170
|
+
name: string;
|
|
171
|
+
}[];
|
|
145
172
|
_count?: {
|
|
146
173
|
events: number;
|
|
147
174
|
} | undefined;
|
|
@@ -176,15 +203,17 @@ export declare const getOne: {
|
|
|
176
203
|
name: z.ZodString;
|
|
177
204
|
slug: z.ZodString;
|
|
178
205
|
description: z.ZodNullable<z.ZodString>;
|
|
179
|
-
|
|
206
|
+
platform: z.ZodNullable<z.ZodString>;
|
|
180
207
|
city: z.ZodNullable<z.ZodString>;
|
|
181
208
|
state: z.ZodNullable<z.ZodString>;
|
|
182
209
|
country: z.ZodString;
|
|
183
210
|
sportId: z.ZodString;
|
|
184
|
-
sourceOrgId: z.ZodNullable<z.ZodString>;
|
|
185
211
|
externalUrl: z.ZodNullable<z.ZodString>;
|
|
186
212
|
createdByUserId: z.ZodNullable<z.ZodString>;
|
|
187
213
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
214
|
+
skillLevel: z.ZodNullable<z.ZodString>;
|
|
215
|
+
vibe: z.ZodNullable<z.ZodString>;
|
|
216
|
+
activityFrequency: z.ZodNullable<z.ZodString>;
|
|
188
217
|
isActive: z.ZodBoolean;
|
|
189
218
|
createdAt: z.ZodDate;
|
|
190
219
|
updatedAt: z.ZodDate;
|
|
@@ -215,6 +244,19 @@ export declare const getOne: {
|
|
|
215
244
|
id: string;
|
|
216
245
|
name: string;
|
|
217
246
|
}>>;
|
|
247
|
+
skillLevel: z.ZodNullable<z.ZodEnum<["beginner", "intermediate", "advanced", "all-levels"]>>;
|
|
248
|
+
vibe: z.ZodNullable<z.ZodEnum<["casual", "competitive", "social", "fitness"]>>;
|
|
249
|
+
activityFrequency: z.ZodNullable<z.ZodEnum<["weekly", "biweekly", "monthly", "sporadic"]>>;
|
|
250
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
251
|
+
id: z.ZodString;
|
|
252
|
+
name: z.ZodString;
|
|
253
|
+
}, "strip", z.ZodTypeAny, {
|
|
254
|
+
id: string;
|
|
255
|
+
name: string;
|
|
256
|
+
}, {
|
|
257
|
+
id: string;
|
|
258
|
+
name: string;
|
|
259
|
+
}>, "many">;
|
|
218
260
|
_count: z.ZodOptional<z.ZodObject<{
|
|
219
261
|
events: z.ZodNumber;
|
|
220
262
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -226,29 +268,35 @@ export declare const getOne: {
|
|
|
226
268
|
id: string;
|
|
227
269
|
description: string | null;
|
|
228
270
|
name: string;
|
|
229
|
-
city: string | null;
|
|
230
|
-
state: string | null;
|
|
231
|
-
sportId: string;
|
|
232
271
|
createdAt: Date;
|
|
233
272
|
sport: {
|
|
234
273
|
id: string;
|
|
235
274
|
name: string;
|
|
236
275
|
icon: string | null;
|
|
237
276
|
} | null;
|
|
277
|
+
sportId: string;
|
|
278
|
+
city: string | null;
|
|
279
|
+
state: string | null;
|
|
238
280
|
country: string;
|
|
239
|
-
source: "external" | "internal";
|
|
240
281
|
slug: string;
|
|
241
|
-
|
|
242
|
-
sourceOrgId: string | null;
|
|
282
|
+
platform: string | null;
|
|
243
283
|
externalUrl: string | null;
|
|
244
284
|
updatedAt: Date;
|
|
245
285
|
createdByUserId: string | null;
|
|
246
286
|
imageUrl: string | null;
|
|
287
|
+
skillLevel: "advanced" | "beginner" | "intermediate" | "all-levels" | null;
|
|
288
|
+
vibe: "social" | "casual" | "competitive" | "fitness" | null;
|
|
289
|
+
activityFrequency: "weekly" | "biweekly" | "monthly" | "sporadic" | null;
|
|
290
|
+
isActive: boolean;
|
|
247
291
|
creator: {
|
|
248
292
|
image: string | null;
|
|
249
293
|
id: string;
|
|
250
294
|
name: string;
|
|
251
295
|
} | null;
|
|
296
|
+
tags: {
|
|
297
|
+
id: string;
|
|
298
|
+
name: string;
|
|
299
|
+
}[];
|
|
252
300
|
_count?: {
|
|
253
301
|
events: number;
|
|
254
302
|
} | undefined;
|
|
@@ -256,29 +304,35 @@ export declare const getOne: {
|
|
|
256
304
|
id: string;
|
|
257
305
|
description: string | null;
|
|
258
306
|
name: string;
|
|
259
|
-
city: string | null;
|
|
260
|
-
state: string | null;
|
|
261
|
-
sportId: string;
|
|
262
307
|
createdAt: Date;
|
|
263
308
|
sport: {
|
|
264
309
|
id: string;
|
|
265
310
|
name: string;
|
|
266
311
|
icon: string | null;
|
|
267
312
|
} | null;
|
|
313
|
+
sportId: string;
|
|
314
|
+
city: string | null;
|
|
315
|
+
state: string | null;
|
|
268
316
|
country: string;
|
|
269
|
-
source: "external" | "internal";
|
|
270
317
|
slug: string;
|
|
271
|
-
|
|
272
|
-
sourceOrgId: string | null;
|
|
318
|
+
platform: string | null;
|
|
273
319
|
externalUrl: string | null;
|
|
274
320
|
updatedAt: Date;
|
|
275
321
|
createdByUserId: string | null;
|
|
276
322
|
imageUrl: string | null;
|
|
323
|
+
skillLevel: "advanced" | "beginner" | "intermediate" | "all-levels" | null;
|
|
324
|
+
vibe: "social" | "casual" | "competitive" | "fitness" | null;
|
|
325
|
+
activityFrequency: "weekly" | "biweekly" | "monthly" | "sporadic" | null;
|
|
326
|
+
isActive: boolean;
|
|
277
327
|
creator: {
|
|
278
328
|
image: string | null;
|
|
279
329
|
id: string;
|
|
280
330
|
name: string;
|
|
281
331
|
} | null;
|
|
332
|
+
tags: {
|
|
333
|
+
id: string;
|
|
334
|
+
name: string;
|
|
335
|
+
}[];
|
|
282
336
|
_count?: {
|
|
283
337
|
events: number;
|
|
284
338
|
} | undefined;
|
|
@@ -401,6 +455,7 @@ export declare const getEvents: {
|
|
|
401
455
|
groupId: z.ZodNullable<z.ZodString>;
|
|
402
456
|
createdByUserId: z.ZodNullable<z.ZodString>;
|
|
403
457
|
createdAt: z.ZodDate;
|
|
458
|
+
description: z.ZodNullable<z.ZodString>;
|
|
404
459
|
}, {
|
|
405
460
|
sport: z.ZodNullable<z.ZodObject<{
|
|
406
461
|
id: z.ZodString;
|
|
@@ -426,17 +481,17 @@ export declare const getEvents: {
|
|
|
426
481
|
}, "strip", z.ZodTypeAny, {
|
|
427
482
|
id: string;
|
|
428
483
|
name: string;
|
|
484
|
+
formattedAddress: string;
|
|
429
485
|
city: string | null;
|
|
430
486
|
state: string | null;
|
|
431
|
-
formattedAddress: string;
|
|
432
487
|
latitude: number | null;
|
|
433
488
|
longitude: number | null;
|
|
434
489
|
}, {
|
|
435
490
|
id: string;
|
|
436
491
|
name: string;
|
|
492
|
+
formattedAddress: string;
|
|
437
493
|
city: string | null;
|
|
438
494
|
state: string | null;
|
|
439
|
-
formattedAddress: string;
|
|
440
495
|
latitude: number | null;
|
|
441
496
|
longitude: number | null;
|
|
442
497
|
}>>;
|
|
@@ -493,23 +548,24 @@ export declare const getEvents: {
|
|
|
493
548
|
[key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
|
|
494
549
|
} | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
495
550
|
id: string;
|
|
551
|
+
description: string | null;
|
|
496
552
|
title: string;
|
|
497
|
-
sportId: string;
|
|
498
553
|
createdAt: Date;
|
|
499
554
|
sport: {
|
|
500
555
|
id: string;
|
|
501
556
|
name: string;
|
|
502
557
|
icon: string | null;
|
|
503
558
|
} | null;
|
|
559
|
+
sportId: string;
|
|
504
560
|
startsAt: Date;
|
|
505
561
|
endsAt: Date | null;
|
|
506
562
|
timezone: string;
|
|
507
563
|
location: {
|
|
508
564
|
id: string;
|
|
509
565
|
name: string;
|
|
566
|
+
formattedAddress: string;
|
|
510
567
|
city: string | null;
|
|
511
568
|
state: string | null;
|
|
512
|
-
formattedAddress: string;
|
|
513
569
|
latitude: number | null;
|
|
514
570
|
longitude: number | null;
|
|
515
571
|
} | null;
|
|
@@ -556,23 +612,24 @@ export declare const getEvents: {
|
|
|
556
612
|
[key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
|
|
557
613
|
} | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
558
614
|
id: string;
|
|
615
|
+
description: string | null;
|
|
559
616
|
title: string;
|
|
560
|
-
sportId: string;
|
|
561
617
|
createdAt: Date;
|
|
562
618
|
sport: {
|
|
563
619
|
id: string;
|
|
564
620
|
name: string;
|
|
565
621
|
icon: string | null;
|
|
566
622
|
} | null;
|
|
623
|
+
sportId: string;
|
|
567
624
|
startsAt: Date;
|
|
568
625
|
endsAt: Date | null;
|
|
569
626
|
timezone: string;
|
|
570
627
|
location: {
|
|
571
628
|
id: string;
|
|
572
629
|
name: string;
|
|
630
|
+
formattedAddress: string;
|
|
573
631
|
city: string | null;
|
|
574
632
|
state: string | null;
|
|
575
|
-
formattedAddress: string;
|
|
576
633
|
latitude: number | null;
|
|
577
634
|
longitude: number | null;
|
|
578
635
|
} | null;
|
|
@@ -633,6 +690,10 @@ export declare const create: {
|
|
|
633
690
|
city: z.ZodOptional<z.ZodString>;
|
|
634
691
|
state: z.ZodOptional<z.ZodString>;
|
|
635
692
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
693
|
+
skillLevel: z.ZodOptional<z.ZodEnum<["beginner", "intermediate", "advanced", "all-levels"]>>;
|
|
694
|
+
vibe: z.ZodOptional<z.ZodEnum<["casual", "competitive", "social", "fitness"]>>;
|
|
695
|
+
activityFrequency: z.ZodOptional<z.ZodEnum<["weekly", "biweekly", "monthly", "sporadic"]>>;
|
|
696
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
636
697
|
}, "strip", z.ZodTypeAny, {
|
|
637
698
|
name: string;
|
|
638
699
|
sportId: string;
|
|
@@ -641,6 +702,10 @@ export declare const create: {
|
|
|
641
702
|
state?: string | undefined;
|
|
642
703
|
slug?: string | undefined;
|
|
643
704
|
imageUrl?: string | undefined;
|
|
705
|
+
skillLevel?: "advanced" | "beginner" | "intermediate" | "all-levels" | undefined;
|
|
706
|
+
vibe?: "social" | "casual" | "competitive" | "fitness" | undefined;
|
|
707
|
+
activityFrequency?: "weekly" | "biweekly" | "monthly" | "sporadic" | undefined;
|
|
708
|
+
tags?: string[] | undefined;
|
|
644
709
|
}, {
|
|
645
710
|
name: string;
|
|
646
711
|
sportId: string;
|
|
@@ -649,6 +714,10 @@ export declare const create: {
|
|
|
649
714
|
state?: string | undefined;
|
|
650
715
|
slug?: string | undefined;
|
|
651
716
|
imageUrl?: string | undefined;
|
|
717
|
+
skillLevel?: "advanced" | "beginner" | "intermediate" | "all-levels" | undefined;
|
|
718
|
+
vibe?: "social" | "casual" | "competitive" | "fitness" | undefined;
|
|
719
|
+
activityFrequency?: "weekly" | "biweekly" | "monthly" | "sporadic" | undefined;
|
|
720
|
+
tags?: string[] | undefined;
|
|
652
721
|
}>;
|
|
653
722
|
};
|
|
654
723
|
};
|
|
@@ -664,15 +733,17 @@ export declare const create: {
|
|
|
664
733
|
name: z.ZodString;
|
|
665
734
|
slug: z.ZodString;
|
|
666
735
|
description: z.ZodNullable<z.ZodString>;
|
|
667
|
-
|
|
736
|
+
platform: z.ZodNullable<z.ZodString>;
|
|
668
737
|
city: z.ZodNullable<z.ZodString>;
|
|
669
738
|
state: z.ZodNullable<z.ZodString>;
|
|
670
739
|
country: z.ZodString;
|
|
671
740
|
sportId: z.ZodString;
|
|
672
|
-
sourceOrgId: z.ZodNullable<z.ZodString>;
|
|
673
741
|
externalUrl: z.ZodNullable<z.ZodString>;
|
|
674
742
|
createdByUserId: z.ZodNullable<z.ZodString>;
|
|
675
743
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
744
|
+
skillLevel: z.ZodNullable<z.ZodString>;
|
|
745
|
+
vibe: z.ZodNullable<z.ZodString>;
|
|
746
|
+
activityFrequency: z.ZodNullable<z.ZodString>;
|
|
676
747
|
isActive: z.ZodBoolean;
|
|
677
748
|
createdAt: z.ZodDate;
|
|
678
749
|
updatedAt: z.ZodDate;
|
|
@@ -703,6 +774,19 @@ export declare const create: {
|
|
|
703
774
|
id: string;
|
|
704
775
|
name: string;
|
|
705
776
|
}>>;
|
|
777
|
+
skillLevel: z.ZodNullable<z.ZodEnum<["beginner", "intermediate", "advanced", "all-levels"]>>;
|
|
778
|
+
vibe: z.ZodNullable<z.ZodEnum<["casual", "competitive", "social", "fitness"]>>;
|
|
779
|
+
activityFrequency: z.ZodNullable<z.ZodEnum<["weekly", "biweekly", "monthly", "sporadic"]>>;
|
|
780
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
781
|
+
id: z.ZodString;
|
|
782
|
+
name: z.ZodString;
|
|
783
|
+
}, "strip", z.ZodTypeAny, {
|
|
784
|
+
id: string;
|
|
785
|
+
name: string;
|
|
786
|
+
}, {
|
|
787
|
+
id: string;
|
|
788
|
+
name: string;
|
|
789
|
+
}>, "many">;
|
|
706
790
|
_count: z.ZodOptional<z.ZodObject<{
|
|
707
791
|
events: z.ZodNumber;
|
|
708
792
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -714,29 +798,35 @@ export declare const create: {
|
|
|
714
798
|
id: string;
|
|
715
799
|
description: string | null;
|
|
716
800
|
name: string;
|
|
717
|
-
city: string | null;
|
|
718
|
-
state: string | null;
|
|
719
|
-
sportId: string;
|
|
720
801
|
createdAt: Date;
|
|
721
802
|
sport: {
|
|
722
803
|
id: string;
|
|
723
804
|
name: string;
|
|
724
805
|
icon: string | null;
|
|
725
806
|
} | null;
|
|
807
|
+
sportId: string;
|
|
808
|
+
city: string | null;
|
|
809
|
+
state: string | null;
|
|
726
810
|
country: string;
|
|
727
|
-
source: "external" | "internal";
|
|
728
811
|
slug: string;
|
|
729
|
-
|
|
730
|
-
sourceOrgId: string | null;
|
|
812
|
+
platform: string | null;
|
|
731
813
|
externalUrl: string | null;
|
|
732
814
|
updatedAt: Date;
|
|
733
815
|
createdByUserId: string | null;
|
|
734
816
|
imageUrl: string | null;
|
|
817
|
+
skillLevel: "advanced" | "beginner" | "intermediate" | "all-levels" | null;
|
|
818
|
+
vibe: "social" | "casual" | "competitive" | "fitness" | null;
|
|
819
|
+
activityFrequency: "weekly" | "biweekly" | "monthly" | "sporadic" | null;
|
|
820
|
+
isActive: boolean;
|
|
735
821
|
creator: {
|
|
736
822
|
image: string | null;
|
|
737
823
|
id: string;
|
|
738
824
|
name: string;
|
|
739
825
|
} | null;
|
|
826
|
+
tags: {
|
|
827
|
+
id: string;
|
|
828
|
+
name: string;
|
|
829
|
+
}[];
|
|
740
830
|
_count?: {
|
|
741
831
|
events: number;
|
|
742
832
|
} | undefined;
|
|
@@ -744,29 +834,35 @@ export declare const create: {
|
|
|
744
834
|
id: string;
|
|
745
835
|
description: string | null;
|
|
746
836
|
name: string;
|
|
747
|
-
city: string | null;
|
|
748
|
-
state: string | null;
|
|
749
|
-
sportId: string;
|
|
750
837
|
createdAt: Date;
|
|
751
838
|
sport: {
|
|
752
839
|
id: string;
|
|
753
840
|
name: string;
|
|
754
841
|
icon: string | null;
|
|
755
842
|
} | null;
|
|
843
|
+
sportId: string;
|
|
844
|
+
city: string | null;
|
|
845
|
+
state: string | null;
|
|
756
846
|
country: string;
|
|
757
|
-
source: "external" | "internal";
|
|
758
847
|
slug: string;
|
|
759
|
-
|
|
760
|
-
sourceOrgId: string | null;
|
|
848
|
+
platform: string | null;
|
|
761
849
|
externalUrl: string | null;
|
|
762
850
|
updatedAt: Date;
|
|
763
851
|
createdByUserId: string | null;
|
|
764
852
|
imageUrl: string | null;
|
|
853
|
+
skillLevel: "advanced" | "beginner" | "intermediate" | "all-levels" | null;
|
|
854
|
+
vibe: "social" | "casual" | "competitive" | "fitness" | null;
|
|
855
|
+
activityFrequency: "weekly" | "biweekly" | "monthly" | "sporadic" | null;
|
|
856
|
+
isActive: boolean;
|
|
765
857
|
creator: {
|
|
766
858
|
image: string | null;
|
|
767
859
|
id: string;
|
|
768
860
|
name: string;
|
|
769
861
|
} | null;
|
|
862
|
+
tags: {
|
|
863
|
+
id: string;
|
|
864
|
+
name: string;
|
|
865
|
+
}[];
|
|
770
866
|
_count?: {
|
|
771
867
|
events: number;
|
|
772
868
|
} | undefined;
|
|
@@ -816,30 +912,50 @@ export declare const update: {
|
|
|
816
912
|
city: z.ZodOptional<z.ZodString>;
|
|
817
913
|
state: z.ZodOptional<z.ZodString>;
|
|
818
914
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
915
|
+
skillLevel: z.ZodOptional<z.ZodNullable<z.ZodEnum<["beginner", "intermediate", "advanced", "all-levels"]>>>;
|
|
916
|
+
vibe: z.ZodOptional<z.ZodNullable<z.ZodEnum<["casual", "competitive", "social", "fitness"]>>>;
|
|
917
|
+
activityFrequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<["weekly", "biweekly", "monthly", "sporadic"]>>>;
|
|
918
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
819
919
|
}, "strip", z.ZodTypeAny, {
|
|
820
920
|
description?: string | undefined;
|
|
821
921
|
name?: string | undefined;
|
|
822
922
|
city?: string | undefined;
|
|
823
923
|
state?: string | undefined;
|
|
824
924
|
imageUrl?: string | null | undefined;
|
|
925
|
+
skillLevel?: "advanced" | "beginner" | "intermediate" | "all-levels" | null | undefined;
|
|
926
|
+
vibe?: "social" | "casual" | "competitive" | "fitness" | null | undefined;
|
|
927
|
+
activityFrequency?: "weekly" | "biweekly" | "monthly" | "sporadic" | null | undefined;
|
|
928
|
+
tags?: string[] | null | undefined;
|
|
825
929
|
}, {
|
|
826
930
|
description?: string | undefined;
|
|
827
931
|
name?: string | undefined;
|
|
828
932
|
city?: string | undefined;
|
|
829
933
|
state?: string | undefined;
|
|
830
934
|
imageUrl?: string | null | undefined;
|
|
935
|
+
skillLevel?: "advanced" | "beginner" | "intermediate" | "all-levels" | null | undefined;
|
|
936
|
+
vibe?: "social" | "casual" | "competitive" | "fitness" | null | undefined;
|
|
937
|
+
activityFrequency?: "weekly" | "biweekly" | "monthly" | "sporadic" | null | undefined;
|
|
938
|
+
tags?: string[] | null | undefined;
|
|
831
939
|
}>, {
|
|
832
940
|
description?: string | undefined;
|
|
833
941
|
name?: string | undefined;
|
|
834
942
|
city?: string | undefined;
|
|
835
943
|
state?: string | undefined;
|
|
836
944
|
imageUrl?: string | null | undefined;
|
|
945
|
+
skillLevel?: "advanced" | "beginner" | "intermediate" | "all-levels" | null | undefined;
|
|
946
|
+
vibe?: "social" | "casual" | "competitive" | "fitness" | null | undefined;
|
|
947
|
+
activityFrequency?: "weekly" | "biweekly" | "monthly" | "sporadic" | null | undefined;
|
|
948
|
+
tags?: string[] | null | undefined;
|
|
837
949
|
}, {
|
|
838
950
|
description?: string | undefined;
|
|
839
951
|
name?: string | undefined;
|
|
840
952
|
city?: string | undefined;
|
|
841
953
|
state?: string | undefined;
|
|
842
954
|
imageUrl?: string | null | undefined;
|
|
955
|
+
skillLevel?: "advanced" | "beginner" | "intermediate" | "all-levels" | null | undefined;
|
|
956
|
+
vibe?: "social" | "casual" | "competitive" | "fitness" | null | undefined;
|
|
957
|
+
activityFrequency?: "weekly" | "biweekly" | "monthly" | "sporadic" | null | undefined;
|
|
958
|
+
tags?: string[] | null | undefined;
|
|
843
959
|
}>;
|
|
844
960
|
};
|
|
845
961
|
};
|
|
@@ -855,15 +971,17 @@ export declare const update: {
|
|
|
855
971
|
name: z.ZodString;
|
|
856
972
|
slug: z.ZodString;
|
|
857
973
|
description: z.ZodNullable<z.ZodString>;
|
|
858
|
-
|
|
974
|
+
platform: z.ZodNullable<z.ZodString>;
|
|
859
975
|
city: z.ZodNullable<z.ZodString>;
|
|
860
976
|
state: z.ZodNullable<z.ZodString>;
|
|
861
977
|
country: z.ZodString;
|
|
862
978
|
sportId: z.ZodString;
|
|
863
|
-
sourceOrgId: z.ZodNullable<z.ZodString>;
|
|
864
979
|
externalUrl: z.ZodNullable<z.ZodString>;
|
|
865
980
|
createdByUserId: z.ZodNullable<z.ZodString>;
|
|
866
981
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
982
|
+
skillLevel: z.ZodNullable<z.ZodString>;
|
|
983
|
+
vibe: z.ZodNullable<z.ZodString>;
|
|
984
|
+
activityFrequency: z.ZodNullable<z.ZodString>;
|
|
867
985
|
isActive: z.ZodBoolean;
|
|
868
986
|
createdAt: z.ZodDate;
|
|
869
987
|
updatedAt: z.ZodDate;
|
|
@@ -894,6 +1012,19 @@ export declare const update: {
|
|
|
894
1012
|
id: string;
|
|
895
1013
|
name: string;
|
|
896
1014
|
}>>;
|
|
1015
|
+
skillLevel: z.ZodNullable<z.ZodEnum<["beginner", "intermediate", "advanced", "all-levels"]>>;
|
|
1016
|
+
vibe: z.ZodNullable<z.ZodEnum<["casual", "competitive", "social", "fitness"]>>;
|
|
1017
|
+
activityFrequency: z.ZodNullable<z.ZodEnum<["weekly", "biweekly", "monthly", "sporadic"]>>;
|
|
1018
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
1019
|
+
id: z.ZodString;
|
|
1020
|
+
name: z.ZodString;
|
|
1021
|
+
}, "strip", z.ZodTypeAny, {
|
|
1022
|
+
id: string;
|
|
1023
|
+
name: string;
|
|
1024
|
+
}, {
|
|
1025
|
+
id: string;
|
|
1026
|
+
name: string;
|
|
1027
|
+
}>, "many">;
|
|
897
1028
|
_count: z.ZodOptional<z.ZodObject<{
|
|
898
1029
|
events: z.ZodNumber;
|
|
899
1030
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -905,29 +1036,35 @@ export declare const update: {
|
|
|
905
1036
|
id: string;
|
|
906
1037
|
description: string | null;
|
|
907
1038
|
name: string;
|
|
908
|
-
city: string | null;
|
|
909
|
-
state: string | null;
|
|
910
|
-
sportId: string;
|
|
911
1039
|
createdAt: Date;
|
|
912
1040
|
sport: {
|
|
913
1041
|
id: string;
|
|
914
1042
|
name: string;
|
|
915
1043
|
icon: string | null;
|
|
916
1044
|
} | null;
|
|
1045
|
+
sportId: string;
|
|
1046
|
+
city: string | null;
|
|
1047
|
+
state: string | null;
|
|
917
1048
|
country: string;
|
|
918
|
-
source: "external" | "internal";
|
|
919
1049
|
slug: string;
|
|
920
|
-
|
|
921
|
-
sourceOrgId: string | null;
|
|
1050
|
+
platform: string | null;
|
|
922
1051
|
externalUrl: string | null;
|
|
923
1052
|
updatedAt: Date;
|
|
924
1053
|
createdByUserId: string | null;
|
|
925
1054
|
imageUrl: string | null;
|
|
1055
|
+
skillLevel: "advanced" | "beginner" | "intermediate" | "all-levels" | null;
|
|
1056
|
+
vibe: "social" | "casual" | "competitive" | "fitness" | null;
|
|
1057
|
+
activityFrequency: "weekly" | "biweekly" | "monthly" | "sporadic" | null;
|
|
1058
|
+
isActive: boolean;
|
|
926
1059
|
creator: {
|
|
927
1060
|
image: string | null;
|
|
928
1061
|
id: string;
|
|
929
1062
|
name: string;
|
|
930
1063
|
} | null;
|
|
1064
|
+
tags: {
|
|
1065
|
+
id: string;
|
|
1066
|
+
name: string;
|
|
1067
|
+
}[];
|
|
931
1068
|
_count?: {
|
|
932
1069
|
events: number;
|
|
933
1070
|
} | undefined;
|
|
@@ -935,29 +1072,35 @@ export declare const update: {
|
|
|
935
1072
|
id: string;
|
|
936
1073
|
description: string | null;
|
|
937
1074
|
name: string;
|
|
938
|
-
city: string | null;
|
|
939
|
-
state: string | null;
|
|
940
|
-
sportId: string;
|
|
941
1075
|
createdAt: Date;
|
|
942
1076
|
sport: {
|
|
943
1077
|
id: string;
|
|
944
1078
|
name: string;
|
|
945
1079
|
icon: string | null;
|
|
946
1080
|
} | null;
|
|
1081
|
+
sportId: string;
|
|
1082
|
+
city: string | null;
|
|
1083
|
+
state: string | null;
|
|
947
1084
|
country: string;
|
|
948
|
-
source: "external" | "internal";
|
|
949
1085
|
slug: string;
|
|
950
|
-
|
|
951
|
-
sourceOrgId: string | null;
|
|
1086
|
+
platform: string | null;
|
|
952
1087
|
externalUrl: string | null;
|
|
953
1088
|
updatedAt: Date;
|
|
954
1089
|
createdByUserId: string | null;
|
|
955
1090
|
imageUrl: string | null;
|
|
1091
|
+
skillLevel: "advanced" | "beginner" | "intermediate" | "all-levels" | null;
|
|
1092
|
+
vibe: "social" | "casual" | "competitive" | "fitness" | null;
|
|
1093
|
+
activityFrequency: "weekly" | "biweekly" | "monthly" | "sporadic" | null;
|
|
1094
|
+
isActive: boolean;
|
|
956
1095
|
creator: {
|
|
957
1096
|
image: string | null;
|
|
958
1097
|
id: string;
|
|
959
1098
|
name: string;
|
|
960
1099
|
} | null;
|
|
1100
|
+
tags: {
|
|
1101
|
+
id: string;
|
|
1102
|
+
name: string;
|
|
1103
|
+
}[];
|
|
961
1104
|
_count?: {
|
|
962
1105
|
events: number;
|
|
963
1106
|
} | undefined;
|