@sortipei/api-contracts 0.1.28 → 0.1.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.
@@ -0,0 +1,104 @@
1
+ import { z } from 'zod';
2
+ export declare const MainAdDTOSchema: z.ZodObject<{
3
+ createdAt: z.ZodString;
4
+ endTime: z.ZodString;
5
+ id: z.ZodBranded<z.ZodString, "MainAdId">;
6
+ imageUrl: z.ZodString;
7
+ isEnabled: z.ZodBoolean;
8
+ link: z.ZodNullable<z.ZodString>;
9
+ startTime: z.ZodString;
10
+ }, "strip", z.ZodTypeAny, {
11
+ createdAt: string;
12
+ endTime: string;
13
+ id: string & z.BRAND<"MainAdId">;
14
+ imageUrl: string;
15
+ isEnabled: boolean;
16
+ link: string | null;
17
+ startTime: string;
18
+ }, {
19
+ createdAt: string;
20
+ endTime: string;
21
+ id: string;
22
+ imageUrl: string;
23
+ isEnabled: boolean;
24
+ link: string | null;
25
+ startTime: string;
26
+ }>;
27
+ export declare const UpdateMainAdDTOSchema: z.ZodObject<Omit<{
28
+ createdAt: z.ZodString;
29
+ endTime: z.ZodString;
30
+ id: z.ZodBranded<z.ZodString, "MainAdId">;
31
+ imageUrl: z.ZodString;
32
+ isEnabled: z.ZodBoolean;
33
+ link: z.ZodNullable<z.ZodString>;
34
+ startTime: z.ZodString;
35
+ }, "createdAt" | "id">, "strip", z.ZodTypeAny, {
36
+ endTime: string;
37
+ imageUrl: string;
38
+ isEnabled: boolean;
39
+ link: string | null;
40
+ startTime: string;
41
+ }, {
42
+ endTime: string;
43
+ imageUrl: string;
44
+ isEnabled: boolean;
45
+ link: string | null;
46
+ startTime: string;
47
+ }>;
48
+ export declare const RegionalAdDTOSchema: z.ZodObject<{
49
+ createdAt: z.ZodString;
50
+ endTime: z.ZodString;
51
+ id: z.ZodBranded<z.ZodString, "RegionalAdId">;
52
+ imageUrl: z.ZodString;
53
+ isEnabled: z.ZodBoolean;
54
+ link: z.ZodNullable<z.ZodString>;
55
+ regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
56
+ startTime: z.ZodString;
57
+ }, "strip", z.ZodTypeAny, {
58
+ createdAt: string;
59
+ endTime: string;
60
+ id: string & z.BRAND<"RegionalAdId">;
61
+ imageUrl: string;
62
+ isEnabled: boolean;
63
+ link: string | null;
64
+ startTime: string;
65
+ regions: import('../../shared').Region[];
66
+ }, {
67
+ createdAt: string;
68
+ endTime: string;
69
+ id: string;
70
+ imageUrl: string;
71
+ isEnabled: boolean;
72
+ link: string | null;
73
+ startTime: string;
74
+ regions: import('../../shared').Region[];
75
+ }>;
76
+ export declare const UpdateRegionalAdDTOSchema: z.ZodObject<Omit<{
77
+ createdAt: z.ZodString;
78
+ endTime: z.ZodString;
79
+ id: z.ZodBranded<z.ZodString, "RegionalAdId">;
80
+ imageUrl: z.ZodString;
81
+ isEnabled: z.ZodBoolean;
82
+ link: z.ZodNullable<z.ZodString>;
83
+ regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
84
+ startTime: z.ZodString;
85
+ }, "createdAt" | "id">, "strip", z.ZodTypeAny, {
86
+ endTime: string;
87
+ imageUrl: string;
88
+ isEnabled: boolean;
89
+ link: string | null;
90
+ startTime: string;
91
+ regions: import('../../shared').Region[];
92
+ }, {
93
+ endTime: string;
94
+ imageUrl: string;
95
+ isEnabled: boolean;
96
+ link: string | null;
97
+ startTime: string;
98
+ regions: import('../../shared').Region[];
99
+ }>;
100
+ export type MainAdDTO = z.infer<typeof MainAdDTOSchema>;
101
+ export type UpdateMainAdDTO = z.infer<typeof UpdateMainAdDTOSchema>;
102
+ export type RegionalAdDTO = z.infer<typeof RegionalAdDTOSchema>;
103
+ export type UpdateRegionalAdDTO = z.infer<typeof UpdateRegionalAdDTOSchema>;
104
+ //# sourceMappingURL=ad.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ad.d.ts","sourceRoot":"","sources":["../../../src/V1/api/ad.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;EAQ1B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;EAGhC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS9B,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;EAGpC,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
@@ -2,7 +2,7 @@ import { z } from 'zod';
2
2
  export declare const EventDTOSchema: z.ZodObject<{
3
3
  adress: z.ZodString;
4
4
  capacity: z.ZodNullable<z.ZodNumber>;
5
- category: z.ZodNativeEnum<typeof import("../../shared").Category>;
5
+ category: z.ZodNativeEnum<typeof import('../../shared').Category>;
6
6
  createdAt: z.ZodString;
7
7
  description: z.ZodString;
8
8
  finishTime: z.ZodNullable<z.ZodString>;
@@ -15,7 +15,7 @@ export declare const EventDTOSchema: z.ZodObject<{
15
15
  isPriceRange: z.ZodBoolean;
16
16
  link: z.ZodNullable<z.ZodString>;
17
17
  price: z.ZodNullable<z.ZodNumber>;
18
- regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
18
+ regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
19
19
  startTime: z.ZodString;
20
20
  title: z.ZodString;
21
21
  thumbnailUrl: z.ZodNullable<z.ZodString>;
@@ -26,70 +26,70 @@ export declare const EventDTOSchema: z.ZodObject<{
26
26
  imageUrl: z.ZodNullable<z.ZodString>;
27
27
  }, "strip", z.ZodTypeAny, {
28
28
  id: string & z.BRAND<"OrganizerId">;
29
- name: string;
30
29
  imageUrl: string | null;
30
+ name: string;
31
31
  }, {
32
32
  id: string;
33
- name: string;
34
33
  imageUrl: string | null;
34
+ name: string;
35
35
  }>, "many">;
36
36
  }, "strip", z.ZodTypeAny, {
37
+ createdAt: string;
38
+ id: string & z.BRAND<"EventId">;
39
+ link: string | null;
40
+ startTime: string;
41
+ regions: import('../../shared').Region[];
37
42
  adress: string;
38
43
  capacity: number | null;
39
- category: import("../../shared").Category;
40
- createdAt: string;
44
+ category: import('../../shared').Category;
41
45
  description: string;
42
46
  finishTime: string | null;
43
47
  hasHandicapAccess: boolean | null;
44
- id: string & z.BRAND<"EventId">;
45
48
  imageBlurHashes: string[];
46
49
  imageUrls: string[];
47
50
  isDisplayed: boolean;
48
51
  isPromoted: boolean;
49
52
  isPriceRange: boolean;
50
- link: string | null;
51
53
  price: number | null;
52
- regions: import("../../shared").Region[];
53
- startTime: string;
54
54
  title: string;
55
55
  thumbnailUrl: string | null;
56
56
  ticketsUrl: string | null;
57
57
  organizers: {
58
58
  id: string & z.BRAND<"OrganizerId">;
59
- name: string;
60
59
  imageUrl: string | null;
60
+ name: string;
61
61
  }[];
62
62
  }, {
63
+ createdAt: string;
64
+ id: string;
65
+ link: string | null;
66
+ startTime: string;
67
+ regions: import('../../shared').Region[];
63
68
  adress: string;
64
69
  capacity: number | null;
65
- category: import("../../shared").Category;
66
- createdAt: string;
70
+ category: import('../../shared').Category;
67
71
  description: string;
68
72
  finishTime: string | null;
69
73
  hasHandicapAccess: boolean | null;
70
- id: string;
71
74
  imageBlurHashes: string[];
72
75
  imageUrls: string[];
73
76
  isDisplayed: boolean;
74
77
  isPromoted: boolean;
75
78
  isPriceRange: boolean;
76
- link: string | null;
77
79
  price: number | null;
78
- regions: import("../../shared").Region[];
79
- startTime: string;
80
80
  title: string;
81
81
  thumbnailUrl: string | null;
82
82
  ticketsUrl: string | null;
83
83
  organizers: {
84
84
  id: string;
85
- name: string;
86
85
  imageUrl: string | null;
86
+ name: string;
87
87
  }[];
88
88
  }>;
89
89
  export declare const CreateEventDTOSchema: z.ZodObject<{
90
90
  adress: z.ZodString;
91
91
  capacity: z.ZodNullable<z.ZodNumber>;
92
- category: z.ZodNativeEnum<typeof import("../../shared").Category>;
92
+ category: z.ZodNativeEnum<typeof import('../../shared').Category>;
93
93
  description: z.ZodString;
94
94
  finishTime: z.ZodNullable<z.ZodString>;
95
95
  hasHandicapAccess: z.ZodNullable<z.ZodBoolean>;
@@ -101,47 +101,47 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
101
101
  link: z.ZodNullable<z.ZodString>;
102
102
  organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
103
103
  price: z.ZodNullable<z.ZodNumber>;
104
- regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
104
+ regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
105
105
  startTime: z.ZodString;
106
106
  title: z.ZodString;
107
107
  thumbnailUrl: z.ZodNullable<z.ZodString>;
108
108
  ticketsUrl: z.ZodNullable<z.ZodString>;
109
109
  }, "strip", z.ZodTypeAny, {
110
+ id: string & z.BRAND<"EventId">;
111
+ link: string | null;
112
+ startTime: string;
113
+ regions: import('../../shared').Region[];
110
114
  adress: string;
111
115
  capacity: number | null;
112
- category: import("../../shared").Category;
116
+ category: import('../../shared').Category;
113
117
  description: string;
114
118
  finishTime: string | null;
115
119
  hasHandicapAccess: boolean | null;
116
- id: string & z.BRAND<"EventId">;
117
120
  imageBlurHashes: string[];
118
121
  imageUrls: string[];
119
122
  isDisplayed: boolean;
120
123
  isPriceRange: boolean;
121
- link: string | null;
122
124
  price: number | null;
123
- regions: import("../../shared").Region[];
124
- startTime: string;
125
125
  title: string;
126
126
  thumbnailUrl: string | null;
127
127
  ticketsUrl: string | null;
128
128
  organizersIds: (string & z.BRAND<"OrganizerId">)[];
129
129
  }, {
130
+ id: string;
131
+ link: string | null;
132
+ startTime: string;
133
+ regions: import('../../shared').Region[];
130
134
  adress: string;
131
135
  capacity: number | null;
132
- category: import("../../shared").Category;
136
+ category: import('../../shared').Category;
133
137
  description: string;
134
138
  finishTime: string | null;
135
139
  hasHandicapAccess: boolean | null;
136
- id: string;
137
140
  imageBlurHashes: string[];
138
141
  imageUrls: string[];
139
142
  isDisplayed: boolean;
140
143
  isPriceRange: boolean;
141
- link: string | null;
142
144
  price: number | null;
143
- regions: import("../../shared").Region[];
144
- startTime: string;
145
145
  title: string;
146
146
  thumbnailUrl: string | null;
147
147
  ticketsUrl: string | null;
@@ -150,7 +150,7 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
150
150
  export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
151
151
  adress: z.ZodString;
152
152
  capacity: z.ZodNullable<z.ZodNumber>;
153
- category: z.ZodNativeEnum<typeof import("../../shared").Category>;
153
+ category: z.ZodNativeEnum<typeof import('../../shared').Category>;
154
154
  description: z.ZodString;
155
155
  finishTime: z.ZodNullable<z.ZodString>;
156
156
  hasHandicapAccess: z.ZodNullable<z.ZodBoolean>;
@@ -162,15 +162,18 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
162
162
  link: z.ZodNullable<z.ZodString>;
163
163
  organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
164
164
  price: z.ZodNullable<z.ZodNumber>;
165
- regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
165
+ regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
166
166
  startTime: z.ZodString;
167
167
  title: z.ZodString;
168
168
  thumbnailUrl: z.ZodNullable<z.ZodString>;
169
169
  ticketsUrl: z.ZodNullable<z.ZodString>;
170
170
  }, "id">, "strip", z.ZodTypeAny, {
171
+ link: string | null;
172
+ startTime: string;
173
+ regions: import('../../shared').Region[];
171
174
  adress: string;
172
175
  capacity: number | null;
173
- category: import("../../shared").Category;
176
+ category: import('../../shared').Category;
174
177
  description: string;
175
178
  finishTime: string | null;
176
179
  hasHandicapAccess: boolean | null;
@@ -178,18 +181,18 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
178
181
  imageUrls: string[];
179
182
  isDisplayed: boolean;
180
183
  isPriceRange: boolean;
181
- link: string | null;
182
184
  price: number | null;
183
- regions: import("../../shared").Region[];
184
- startTime: string;
185
185
  title: string;
186
186
  thumbnailUrl: string | null;
187
187
  ticketsUrl: string | null;
188
188
  organizersIds: (string & z.BRAND<"OrganizerId">)[];
189
189
  }, {
190
+ link: string | null;
191
+ startTime: string;
192
+ regions: import('../../shared').Region[];
190
193
  adress: string;
191
194
  capacity: number | null;
192
- category: import("../../shared").Category;
195
+ category: import('../../shared').Category;
193
196
  description: string;
194
197
  finishTime: string | null;
195
198
  hasHandicapAccess: boolean | null;
@@ -197,10 +200,7 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
197
200
  imageUrls: string[];
198
201
  isDisplayed: boolean;
199
202
  isPriceRange: boolean;
200
- link: string | null;
201
203
  price: number | null;
202
- regions: import("../../shared").Region[];
203
- startTime: string;
204
204
  title: string;
205
205
  thumbnailUrl: string | null;
206
206
  ticketsUrl: string | null;
@@ -246,7 +246,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
246
246
  partialEventState: z.ZodObject<{
247
247
  adress: z.ZodOptional<z.ZodString>;
248
248
  capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
249
- category: z.ZodOptional<z.ZodNativeEnum<typeof import("../../shared").Category>>;
249
+ category: z.ZodOptional<z.ZodNativeEnum<typeof import('../../shared').Category>>;
250
250
  createdAt: z.ZodOptional<z.ZodString>;
251
251
  description: z.ZodOptional<z.ZodString>;
252
252
  finishTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -259,7 +259,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
259
259
  isPriceRange: z.ZodOptional<z.ZodBoolean>;
260
260
  link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
261
261
  price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
262
- regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">>;
262
+ regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">>;
263
263
  startTime: z.ZodOptional<z.ZodString>;
264
264
  title: z.ZodOptional<z.ZodString>;
265
265
  thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -270,64 +270,64 @@ export declare const ImportDTOSchema: z.ZodObject<{
270
270
  imageUrl: z.ZodNullable<z.ZodString>;
271
271
  }, "strip", z.ZodTypeAny, {
272
272
  id: string & z.BRAND<"OrganizerId">;
273
- name: string;
274
273
  imageUrl: string | null;
274
+ name: string;
275
275
  }, {
276
276
  id: string;
277
- name: string;
278
277
  imageUrl: string | null;
278
+ name: string;
279
279
  }>, "many">>;
280
280
  }, "strip", z.ZodTypeAny, {
281
+ createdAt?: string | undefined;
282
+ id?: (string & z.BRAND<"EventId">) | undefined;
283
+ link?: string | null | undefined;
284
+ startTime?: string | undefined;
285
+ regions?: import('../../shared').Region[] | undefined;
281
286
  adress?: string | undefined;
282
287
  capacity?: number | null | undefined;
283
- category?: import("../../shared").Category | undefined;
284
- createdAt?: string | undefined;
288
+ category?: import('../../shared').Category | undefined;
285
289
  description?: string | undefined;
286
290
  finishTime?: string | null | undefined;
287
291
  hasHandicapAccess?: boolean | null | undefined;
288
- id?: (string & z.BRAND<"EventId">) | undefined;
289
292
  imageBlurHashes?: string[] | undefined;
290
293
  imageUrls?: string[] | undefined;
291
294
  isDisplayed?: boolean | undefined;
292
295
  isPromoted?: boolean | undefined;
293
296
  isPriceRange?: boolean | undefined;
294
- link?: string | null | undefined;
295
297
  price?: number | null | undefined;
296
- regions?: import("../../shared").Region[] | undefined;
297
- startTime?: string | undefined;
298
298
  title?: string | undefined;
299
299
  thumbnailUrl?: string | null | undefined;
300
300
  ticketsUrl?: string | null | undefined;
301
301
  organizers?: {
302
302
  id: string & z.BRAND<"OrganizerId">;
303
- name: string;
304
303
  imageUrl: string | null;
304
+ name: string;
305
305
  }[] | undefined;
306
306
  }, {
307
+ createdAt?: string | undefined;
308
+ id?: string | undefined;
309
+ link?: string | null | undefined;
310
+ startTime?: string | undefined;
311
+ regions?: import('../../shared').Region[] | undefined;
307
312
  adress?: string | undefined;
308
313
  capacity?: number | null | undefined;
309
- category?: import("../../shared").Category | undefined;
310
- createdAt?: string | undefined;
314
+ category?: import('../../shared').Category | undefined;
311
315
  description?: string | undefined;
312
316
  finishTime?: string | null | undefined;
313
317
  hasHandicapAccess?: boolean | null | undefined;
314
- id?: string | undefined;
315
318
  imageBlurHashes?: string[] | undefined;
316
319
  imageUrls?: string[] | undefined;
317
320
  isDisplayed?: boolean | undefined;
318
321
  isPromoted?: boolean | undefined;
319
322
  isPriceRange?: boolean | undefined;
320
- link?: string | null | undefined;
321
323
  price?: number | null | undefined;
322
- regions?: import("../../shared").Region[] | undefined;
323
- startTime?: string | undefined;
324
324
  title?: string | undefined;
325
325
  thumbnailUrl?: string | null | undefined;
326
326
  ticketsUrl?: string | null | undefined;
327
327
  organizers?: {
328
328
  id: string;
329
- name: string;
330
329
  imageUrl: string | null;
330
+ name: string;
331
331
  }[] | undefined;
332
332
  }>;
333
333
  source: z.ZodUnion<[z.ZodLiteral<"facebook">, z.ZodLiteral<"website">]>;
@@ -337,30 +337,30 @@ export declare const ImportDTOSchema: z.ZodObject<{
337
337
  id: string;
338
338
  organizersNames: string[];
339
339
  partialEventState: {
340
+ createdAt?: string | undefined;
341
+ id?: (string & z.BRAND<"EventId">) | undefined;
342
+ link?: string | null | undefined;
343
+ startTime?: string | undefined;
344
+ regions?: import('../../shared').Region[] | undefined;
340
345
  adress?: string | undefined;
341
346
  capacity?: number | null | undefined;
342
- category?: import("../../shared").Category | undefined;
343
- createdAt?: string | undefined;
347
+ category?: import('../../shared').Category | undefined;
344
348
  description?: string | undefined;
345
349
  finishTime?: string | null | undefined;
346
350
  hasHandicapAccess?: boolean | null | undefined;
347
- id?: (string & z.BRAND<"EventId">) | undefined;
348
351
  imageBlurHashes?: string[] | undefined;
349
352
  imageUrls?: string[] | undefined;
350
353
  isDisplayed?: boolean | undefined;
351
354
  isPromoted?: boolean | undefined;
352
355
  isPriceRange?: boolean | undefined;
353
- link?: string | null | undefined;
354
356
  price?: number | null | undefined;
355
- regions?: import("../../shared").Region[] | undefined;
356
- startTime?: string | undefined;
357
357
  title?: string | undefined;
358
358
  thumbnailUrl?: string | null | undefined;
359
359
  ticketsUrl?: string | null | undefined;
360
360
  organizers?: {
361
361
  id: string & z.BRAND<"OrganizerId">;
362
- name: string;
363
362
  imageUrl: string | null;
363
+ name: string;
364
364
  }[] | undefined;
365
365
  };
366
366
  source: "facebook" | "website";
@@ -370,30 +370,30 @@ export declare const ImportDTOSchema: z.ZodObject<{
370
370
  id: string;
371
371
  organizersNames: string[];
372
372
  partialEventState: {
373
+ createdAt?: string | undefined;
374
+ id?: string | undefined;
375
+ link?: string | null | undefined;
376
+ startTime?: string | undefined;
377
+ regions?: import('../../shared').Region[] | undefined;
373
378
  adress?: string | undefined;
374
379
  capacity?: number | null | undefined;
375
- category?: import("../../shared").Category | undefined;
376
- createdAt?: string | undefined;
380
+ category?: import('../../shared').Category | undefined;
377
381
  description?: string | undefined;
378
382
  finishTime?: string | null | undefined;
379
383
  hasHandicapAccess?: boolean | null | undefined;
380
- id?: string | undefined;
381
384
  imageBlurHashes?: string[] | undefined;
382
385
  imageUrls?: string[] | undefined;
383
386
  isDisplayed?: boolean | undefined;
384
387
  isPromoted?: boolean | undefined;
385
388
  isPriceRange?: boolean | undefined;
386
- link?: string | null | undefined;
387
389
  price?: number | null | undefined;
388
- regions?: import("../../shared").Region[] | undefined;
389
- startTime?: string | undefined;
390
390
  title?: string | undefined;
391
391
  thumbnailUrl?: string | null | undefined;
392
392
  ticketsUrl?: string | null | undefined;
393
393
  organizers?: {
394
394
  id: string;
395
- name: string;
396
395
  imageUrl: string | null;
396
+ name: string;
397
397
  }[] | undefined;
398
398
  };
399
399
  source: "facebook" | "website";
@@ -1,3 +1,4 @@
1
+ export * from './ad';
1
2
  export * from './app-configuration';
2
3
  export * from './common';
3
4
  export * from './event';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/V1/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAK7B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;CAGvB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/V1/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,MAAM,CAAC;AACrB,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAK7B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;CAGvB,CAAC"}
@@ -6,13 +6,13 @@ export declare const OrganizerDTOSchema: z.ZodObject<{
6
6
  name: z.ZodString;
7
7
  }, "strip", z.ZodTypeAny, {
8
8
  id: string & z.BRAND<"OrganizerId">;
9
- name: string;
10
9
  imageUrl: string | null;
10
+ name: string;
11
11
  eventsIds: (string & z.BRAND<"EventId">)[];
12
12
  }, {
13
13
  id: string;
14
- name: string;
15
14
  imageUrl: string | null;
15
+ name: string;
16
16
  eventsIds: string[];
17
17
  }>;
18
18
  export declare const CreateOrganizerDTOSchema: z.ZodObject<{
@@ -21,12 +21,12 @@ export declare const CreateOrganizerDTOSchema: z.ZodObject<{
21
21
  name: z.ZodString;
22
22
  }, "strip", z.ZodTypeAny, {
23
23
  id: string & z.BRAND<"OrganizerId">;
24
- name: string;
25
24
  imageUrl: string | null;
25
+ name: string;
26
26
  }, {
27
27
  id: string;
28
- name: string;
29
28
  imageUrl: string | null;
29
+ name: string;
30
30
  }>;
31
31
  export declare const UpdateOrganizerDTOSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
32
32
  id: z.ZodBranded<z.ZodString, "OrganizerId">;
@@ -3,7 +3,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
3
3
  partialEventState: z.ZodObject<{
4
4
  adress: z.ZodOptional<z.ZodString>;
5
5
  capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
6
- category: z.ZodOptional<z.ZodNativeEnum<typeof import("../../shared").Category>>;
6
+ category: z.ZodOptional<z.ZodNativeEnum<typeof import('../../shared').Category>>;
7
7
  createdAt: z.ZodOptional<z.ZodString>;
8
8
  description: z.ZodOptional<z.ZodString>;
9
9
  finishTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -16,7 +16,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
16
16
  isPriceRange: z.ZodOptional<z.ZodBoolean>;
17
17
  link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
- regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">>;
19
+ regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">>;
20
20
  startTime: z.ZodOptional<z.ZodString>;
21
21
  title: z.ZodOptional<z.ZodString>;
22
22
  thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -27,64 +27,64 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
27
27
  imageUrl: z.ZodNullable<z.ZodString>;
28
28
  }, "strip", z.ZodTypeAny, {
29
29
  id: string & z.BRAND<"OrganizerId">;
30
- name: string;
31
30
  imageUrl: string | null;
31
+ name: string;
32
32
  }, {
33
33
  id: string;
34
- name: string;
35
34
  imageUrl: string | null;
35
+ name: string;
36
36
  }>, "many">>;
37
37
  }, "strip", z.ZodTypeAny, {
38
+ createdAt?: string | undefined;
39
+ id?: (string & z.BRAND<"EventId">) | undefined;
40
+ link?: string | null | undefined;
41
+ startTime?: string | undefined;
42
+ regions?: import('../../shared').Region[] | undefined;
38
43
  adress?: string | undefined;
39
44
  capacity?: number | null | undefined;
40
- category?: import("../../shared").Category | undefined;
41
- createdAt?: string | undefined;
45
+ category?: import('../../shared').Category | undefined;
42
46
  description?: string | undefined;
43
47
  finishTime?: string | null | undefined;
44
48
  hasHandicapAccess?: boolean | null | undefined;
45
- id?: (string & z.BRAND<"EventId">) | undefined;
46
49
  imageBlurHashes?: string[] | undefined;
47
50
  imageUrls?: string[] | undefined;
48
51
  isDisplayed?: boolean | undefined;
49
52
  isPromoted?: boolean | undefined;
50
53
  isPriceRange?: boolean | undefined;
51
- link?: string | null | undefined;
52
54
  price?: number | null | undefined;
53
- regions?: import("../../shared").Region[] | undefined;
54
- startTime?: string | undefined;
55
55
  title?: string | undefined;
56
56
  thumbnailUrl?: string | null | undefined;
57
57
  ticketsUrl?: string | null | undefined;
58
58
  organizers?: {
59
59
  id: string & z.BRAND<"OrganizerId">;
60
- name: string;
61
60
  imageUrl: string | null;
61
+ name: string;
62
62
  }[] | undefined;
63
63
  }, {
64
+ createdAt?: string | undefined;
65
+ id?: string | undefined;
66
+ link?: string | null | undefined;
67
+ startTime?: string | undefined;
68
+ regions?: import('../../shared').Region[] | undefined;
64
69
  adress?: string | undefined;
65
70
  capacity?: number | null | undefined;
66
- category?: import("../../shared").Category | undefined;
67
- createdAt?: string | undefined;
71
+ category?: import('../../shared').Category | undefined;
68
72
  description?: string | undefined;
69
73
  finishTime?: string | null | undefined;
70
74
  hasHandicapAccess?: boolean | null | undefined;
71
- id?: string | undefined;
72
75
  imageBlurHashes?: string[] | undefined;
73
76
  imageUrls?: string[] | undefined;
74
77
  isDisplayed?: boolean | undefined;
75
78
  isPromoted?: boolean | undefined;
76
79
  isPriceRange?: boolean | undefined;
77
- link?: string | null | undefined;
78
80
  price?: number | null | undefined;
79
- regions?: import("../../shared").Region[] | undefined;
80
- startTime?: string | undefined;
81
81
  title?: string | undefined;
82
82
  thumbnailUrl?: string | null | undefined;
83
83
  ticketsUrl?: string | null | undefined;
84
84
  organizers?: {
85
85
  id: string;
86
- name: string;
87
86
  imageUrl: string | null;
87
+ name: string;
88
88
  }[] | undefined;
89
89
  }>;
90
90
  token: z.ZodString;
@@ -94,30 +94,30 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
94
94
  }, "strip", z.ZodTypeAny, {
95
95
  organizersNames: string[];
96
96
  partialEventState: {
97
+ createdAt?: string | undefined;
98
+ id?: (string & z.BRAND<"EventId">) | undefined;
99
+ link?: string | null | undefined;
100
+ startTime?: string | undefined;
101
+ regions?: import('../../shared').Region[] | undefined;
97
102
  adress?: string | undefined;
98
103
  capacity?: number | null | undefined;
99
- category?: import("../../shared").Category | undefined;
100
- createdAt?: string | undefined;
104
+ category?: import('../../shared').Category | undefined;
101
105
  description?: string | undefined;
102
106
  finishTime?: string | null | undefined;
103
107
  hasHandicapAccess?: boolean | null | undefined;
104
- id?: (string & z.BRAND<"EventId">) | undefined;
105
108
  imageBlurHashes?: string[] | undefined;
106
109
  imageUrls?: string[] | undefined;
107
110
  isDisplayed?: boolean | undefined;
108
111
  isPromoted?: boolean | undefined;
109
112
  isPriceRange?: boolean | undefined;
110
- link?: string | null | undefined;
111
113
  price?: number | null | undefined;
112
- regions?: import("../../shared").Region[] | undefined;
113
- startTime?: string | undefined;
114
114
  title?: string | undefined;
115
115
  thumbnailUrl?: string | null | undefined;
116
116
  ticketsUrl?: string | null | undefined;
117
117
  organizers?: {
118
118
  id: string & z.BRAND<"OrganizerId">;
119
- name: string;
120
119
  imageUrl: string | null;
120
+ name: string;
121
121
  }[] | undefined;
122
122
  };
123
123
  source: "facebook" | "website";
@@ -126,30 +126,30 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
126
126
  }, {
127
127
  organizersNames: string[];
128
128
  partialEventState: {
129
+ createdAt?: string | undefined;
130
+ id?: string | undefined;
131
+ link?: string | null | undefined;
132
+ startTime?: string | undefined;
133
+ regions?: import('../../shared').Region[] | undefined;
129
134
  adress?: string | undefined;
130
135
  capacity?: number | null | undefined;
131
- category?: import("../../shared").Category | undefined;
132
- createdAt?: string | undefined;
136
+ category?: import('../../shared').Category | undefined;
133
137
  description?: string | undefined;
134
138
  finishTime?: string | null | undefined;
135
139
  hasHandicapAccess?: boolean | null | undefined;
136
- id?: string | undefined;
137
140
  imageBlurHashes?: string[] | undefined;
138
141
  imageUrls?: string[] | undefined;
139
142
  isDisplayed?: boolean | undefined;
140
143
  isPromoted?: boolean | undefined;
141
144
  isPriceRange?: boolean | undefined;
142
- link?: string | null | undefined;
143
145
  price?: number | null | undefined;
144
- regions?: import("../../shared").Region[] | undefined;
145
- startTime?: string | undefined;
146
146
  title?: string | undefined;
147
147
  thumbnailUrl?: string | null | undefined;
148
148
  ticketsUrl?: string | null | undefined;
149
149
  organizers?: {
150
150
  id: string;
151
- name: string;
152
151
  imageUrl: string | null;
152
+ name: string;
153
153
  }[] | undefined;
154
154
  };
155
155
  source: "facebook" | "website";
@@ -4082,6 +4082,37 @@ const OrganizerIdSchema = UUIDSchema.brand("OrganizerId");
4082
4082
  const createOrganizerId = (id = crypto.randomUUID()) => OrganizerIdSchema.parse(id);
4083
4083
  const UserIdSchema = UUIDSchema.brand("UserId");
4084
4084
  const createUserId = (id = crypto.randomUUID()) => UserIdSchema.parse(id);
4085
+ const MainAdIdSchema = UUIDSchema.brand("MainAdId");
4086
+ const createMainAdId = (id = crypto.randomUUID()) => MainAdIdSchema.parse(id);
4087
+ const RegionalAdIdSchema = UUIDSchema.brand("RegionalAdId");
4088
+ const createRegionalAdId = (id = crypto.randomUUID()) => RegionalAdIdSchema.parse(id);
4089
+ const MainAdDTOSchema = z.object({
4090
+ createdAt: StringSchema.datetime(),
4091
+ endTime: StringSchema,
4092
+ id: MainAdIdSchema,
4093
+ imageUrl: URLSchema,
4094
+ isEnabled: z.boolean(),
4095
+ link: URLSchema.nullable(),
4096
+ startTime: StringSchema
4097
+ });
4098
+ const UpdateMainAdDTOSchema = MainAdDTOSchema.omit({
4099
+ createdAt: true,
4100
+ id: true
4101
+ });
4102
+ const RegionalAdDTOSchema = z.object({
4103
+ createdAt: StringSchema.datetime(),
4104
+ endTime: StringSchema,
4105
+ id: RegionalAdIdSchema,
4106
+ imageUrl: URLSchema,
4107
+ isEnabled: z.boolean(),
4108
+ link: URLSchema.nullable(),
4109
+ regions: RegionSchema.array(),
4110
+ startTime: StringSchema
4111
+ });
4112
+ const UpdateRegionalAdDTOSchema = RegionalAdDTOSchema.omit({
4113
+ createdAt: true,
4114
+ id: true
4115
+ });
4085
4116
  const AppConfigurationDTOSchema = z.object({
4086
4117
  isInfoMessageEnabled: z.boolean(),
4087
4118
  infoMessageContent: StringSchema
@@ -4221,11 +4252,15 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
4221
4252
  GlobalStatsDTOSchema,
4222
4253
  ImportDTOSchema,
4223
4254
  ImportFromUrlDTOSchema,
4255
+ MainAdDTOSchema,
4224
4256
  OrganizerDTOSchema,
4225
4257
  PromoteEventDTOSchema,
4258
+ RegionalAdDTOSchema,
4226
4259
  UpdateAppConfigurationDTOSchema,
4227
4260
  UpdateEventDTOSchema,
4261
+ UpdateMainAdDTOSchema,
4228
4262
  UpdateOrganizerDTOSchema,
4263
+ UpdateRegionalAdDTOSchema,
4229
4264
  constraints
4230
4265
  }, Symbol.toStringTag, { value: "Module" }));
4231
4266
  const CreatePartialImportedEventDTOSchema = z.object({
@@ -4250,9 +4285,11 @@ exports.CoerceDateSchema = CoerceDateSchema;
4250
4285
  exports.CoerceNullableDateSchema = CoerceNullableDateSchema;
4251
4286
  exports.ErrorCodes = ErrorCodes;
4252
4287
  exports.EventIdSchema = EventIdSchema;
4288
+ exports.MainAdIdSchema = MainAdIdSchema;
4253
4289
  exports.OrganizerIdSchema = OrganizerIdSchema;
4254
4290
  exports.Region = Region;
4255
4291
  exports.RegionSchema = RegionSchema;
4292
+ exports.RegionalAdIdSchema = RegionalAdIdSchema;
4256
4293
  exports.SafeNonNegativeFloatSchema = SafeNonNegativeFloatSchema;
4257
4294
  exports.SafeNonNegativeIntegerSchema = SafeNonNegativeIntegerSchema;
4258
4295
  exports.StringSchema = StringSchema;
@@ -4261,5 +4298,7 @@ exports.UUIDSchema = UUIDSchema;
4261
4298
  exports.UserIdSchema = UserIdSchema;
4262
4299
  exports.V1 = index;
4263
4300
  exports.createEventId = createEventId;
4301
+ exports.createMainAdId = createMainAdId;
4264
4302
  exports.createOrganizerId = createOrganizerId;
4303
+ exports.createRegionalAdId = createRegionalAdId;
4265
4304
  exports.createUserId = createUserId;
@@ -4080,6 +4080,37 @@ const OrganizerIdSchema = UUIDSchema.brand("OrganizerId");
4080
4080
  const createOrganizerId = (id = crypto.randomUUID()) => OrganizerIdSchema.parse(id);
4081
4081
  const UserIdSchema = UUIDSchema.brand("UserId");
4082
4082
  const createUserId = (id = crypto.randomUUID()) => UserIdSchema.parse(id);
4083
+ const MainAdIdSchema = UUIDSchema.brand("MainAdId");
4084
+ const createMainAdId = (id = crypto.randomUUID()) => MainAdIdSchema.parse(id);
4085
+ const RegionalAdIdSchema = UUIDSchema.brand("RegionalAdId");
4086
+ const createRegionalAdId = (id = crypto.randomUUID()) => RegionalAdIdSchema.parse(id);
4087
+ const MainAdDTOSchema = z.object({
4088
+ createdAt: StringSchema.datetime(),
4089
+ endTime: StringSchema,
4090
+ id: MainAdIdSchema,
4091
+ imageUrl: URLSchema,
4092
+ isEnabled: z.boolean(),
4093
+ link: URLSchema.nullable(),
4094
+ startTime: StringSchema
4095
+ });
4096
+ const UpdateMainAdDTOSchema = MainAdDTOSchema.omit({
4097
+ createdAt: true,
4098
+ id: true
4099
+ });
4100
+ const RegionalAdDTOSchema = z.object({
4101
+ createdAt: StringSchema.datetime(),
4102
+ endTime: StringSchema,
4103
+ id: RegionalAdIdSchema,
4104
+ imageUrl: URLSchema,
4105
+ isEnabled: z.boolean(),
4106
+ link: URLSchema.nullable(),
4107
+ regions: RegionSchema.array(),
4108
+ startTime: StringSchema
4109
+ });
4110
+ const UpdateRegionalAdDTOSchema = RegionalAdDTOSchema.omit({
4111
+ createdAt: true,
4112
+ id: true
4113
+ });
4083
4114
  const AppConfigurationDTOSchema = z.object({
4084
4115
  isInfoMessageEnabled: z.boolean(),
4085
4116
  infoMessageContent: StringSchema
@@ -4219,11 +4250,15 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
4219
4250
  GlobalStatsDTOSchema,
4220
4251
  ImportDTOSchema,
4221
4252
  ImportFromUrlDTOSchema,
4253
+ MainAdDTOSchema,
4222
4254
  OrganizerDTOSchema,
4223
4255
  PromoteEventDTOSchema,
4256
+ RegionalAdDTOSchema,
4224
4257
  UpdateAppConfigurationDTOSchema,
4225
4258
  UpdateEventDTOSchema,
4259
+ UpdateMainAdDTOSchema,
4226
4260
  UpdateOrganizerDTOSchema,
4261
+ UpdateRegionalAdDTOSchema,
4227
4262
  constraints
4228
4263
  }, Symbol.toStringTag, { value: "Module" }));
4229
4264
  const CreatePartialImportedEventDTOSchema = z.object({
@@ -4249,9 +4284,11 @@ export {
4249
4284
  CoerceNullableDateSchema,
4250
4285
  ErrorCodes,
4251
4286
  EventIdSchema,
4287
+ MainAdIdSchema,
4252
4288
  OrganizerIdSchema,
4253
4289
  Region,
4254
4290
  RegionSchema,
4291
+ RegionalAdIdSchema,
4255
4292
  SafeNonNegativeFloatSchema,
4256
4293
  SafeNonNegativeIntegerSchema,
4257
4294
  StringSchema,
@@ -4260,6 +4297,8 @@ export {
4260
4297
  UserIdSchema,
4261
4298
  index as V1,
4262
4299
  createEventId,
4300
+ createMainAdId,
4263
4301
  createOrganizerId,
4302
+ createRegionalAdId,
4264
4303
  createUserId
4265
4304
  };
package/dist/flavors.d.ts CHANGED
@@ -8,4 +8,10 @@ export declare const createOrganizerId: (id?: string) => OrganizerId;
8
8
  export declare const UserIdSchema: z.ZodBranded<z.ZodString, "UserId">;
9
9
  export type UserId = z.infer<typeof UserIdSchema>;
10
10
  export declare const createUserId: (id?: string) => UserId;
11
+ export declare const MainAdIdSchema: z.ZodBranded<z.ZodString, "MainAdId">;
12
+ export type MainAdId = z.infer<typeof MainAdIdSchema>;
13
+ export declare const createMainAdId: (id?: string) => MainAdId;
14
+ export declare const RegionalAdIdSchema: z.ZodBranded<z.ZodString, "RegionalAdId">;
15
+ export type RegionalAdId = z.infer<typeof RegionalAdIdSchema>;
16
+ export declare const createRegionalAdId: (id?: string) => RegionalAdId;
11
17
  //# sourceMappingURL=flavors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"flavors.d.ts","sourceRoot":"","sources":["../src/flavors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,aAAa,sCAA8B,CAAC;AACzD,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD,eAAO,MAAM,aAAa,QAAQ,MAAM,KAAyB,OAAkC,CAAC;AAEpG,eAAO,MAAM,iBAAiB,0CAAkC,CAAC;AACjE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,iBAAiB,QAAQ,MAAM,KAAyB,WAA0C,CAAC;AAEhH,eAAO,MAAM,YAAY,qCAA6B,CAAC;AACvD,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAElD,eAAO,MAAM,YAAY,QAAQ,MAAM,KAAyB,MAAgC,CAAC"}
1
+ {"version":3,"file":"flavors.d.ts","sourceRoot":"","sources":["../src/flavors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,aAAa,sCAA8B,CAAC;AACzD,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD,eAAO,MAAM,aAAa,QAAQ,MAAM,KAAyB,OAAkC,CAAC;AAEpG,eAAO,MAAM,iBAAiB,0CAAkC,CAAC;AACjE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,iBAAiB,QAAQ,MAAM,KAAyB,WAA0C,CAAC;AAEhH,eAAO,MAAM,YAAY,qCAA6B,CAAC;AACvD,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAElD,eAAO,MAAM,YAAY,QAAQ,MAAM,KAAyB,MAAgC,CAAC;AAEjG,eAAO,MAAM,cAAc,uCAA+B,CAAC;AAC3D,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,cAAc,QAAQ,MAAM,KAAyB,QAAoC,CAAC;AAEvG,eAAO,MAAM,kBAAkB,2CAAmC,CAAC;AACnE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,eAAO,MAAM,kBAAkB,QAAQ,MAAM,KAAyB,YAA4C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sortipei/api-contracts",
3
- "version": "0.1.28",
3
+ "version": "0.1.30",
4
4
  "license": "UNLICENCED",
5
5
  "main": "dist/api-contracts.js",
6
6
  "module": "dist/api-contracts.mjs",