@sortipei/api-contracts 0.1.30 → 0.1.32

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.
@@ -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
- imageUrl: string | null;
31
30
  name: string;
31
+ imageUrl: string | null;
32
32
  }, {
33
33
  id: string;
34
- imageUrl: string | null;
35
34
  name: string;
35
+ imageUrl: string | null;
36
36
  }>, "many">>;
37
37
  }, "strip", z.ZodTypeAny, {
38
- createdAt?: string | undefined;
39
- id?: (string & z.BRAND<"EventId">) | undefined;
40
- link?: string | null | undefined;
38
+ category?: import("../../shared").Category | undefined;
41
39
  startTime?: string | undefined;
42
- regions?: import('../../shared').Region[] | undefined;
43
40
  adress?: string | undefined;
44
41
  capacity?: number | null | undefined;
45
- category?: import('../../shared').Category | undefined;
42
+ createdAt?: string | undefined;
46
43
  description?: string | undefined;
47
44
  finishTime?: string | null | undefined;
48
45
  hasHandicapAccess?: boolean | null | undefined;
46
+ id?: (string & z.BRAND<"EventId">) | undefined;
49
47
  imageBlurHashes?: string[] | undefined;
50
48
  imageUrls?: string[] | undefined;
51
49
  isDisplayed?: boolean | undefined;
52
50
  isPromoted?: boolean | undefined;
53
51
  isPriceRange?: boolean | undefined;
52
+ link?: string | null | undefined;
54
53
  price?: number | null | undefined;
54
+ regions?: import("../../shared").Region[] | 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
- imageUrl: string | null;
61
60
  name: string;
61
+ imageUrl: string | null;
62
62
  }[] | undefined;
63
63
  }, {
64
- createdAt?: string | undefined;
65
- id?: string | undefined;
66
- link?: string | null | undefined;
64
+ category?: import("../../shared").Category | undefined;
67
65
  startTime?: string | undefined;
68
- regions?: import('../../shared').Region[] | undefined;
69
66
  adress?: string | undefined;
70
67
  capacity?: number | null | undefined;
71
- category?: import('../../shared').Category | undefined;
68
+ createdAt?: string | undefined;
72
69
  description?: string | undefined;
73
70
  finishTime?: string | null | undefined;
74
71
  hasHandicapAccess?: boolean | null | undefined;
72
+ id?: string | undefined;
75
73
  imageBlurHashes?: string[] | undefined;
76
74
  imageUrls?: string[] | undefined;
77
75
  isDisplayed?: boolean | undefined;
78
76
  isPromoted?: boolean | undefined;
79
77
  isPriceRange?: boolean | undefined;
78
+ link?: string | null | undefined;
80
79
  price?: number | null | undefined;
80
+ regions?: import("../../shared").Region[] | 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
- imageUrl: string | null;
87
86
  name: string;
87
+ imageUrl: string | null;
88
88
  }[] | undefined;
89
89
  }>;
90
90
  token: z.ZodString;
@@ -92,69 +92,69 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
92
92
  organizersNames: z.ZodArray<z.ZodString, "many">;
93
93
  source: z.ZodUnion<[z.ZodLiteral<"facebook">, z.ZodLiteral<"website">]>;
94
94
  }, "strip", z.ZodTypeAny, {
95
- organizersNames: string[];
95
+ userId: string;
96
96
  partialEventState: {
97
- createdAt?: string | undefined;
98
- id?: (string & z.BRAND<"EventId">) | undefined;
99
- link?: string | null | undefined;
97
+ category?: import("../../shared").Category | undefined;
100
98
  startTime?: string | undefined;
101
- regions?: import('../../shared').Region[] | undefined;
102
99
  adress?: string | undefined;
103
100
  capacity?: number | null | undefined;
104
- category?: import('../../shared').Category | undefined;
101
+ createdAt?: string | undefined;
105
102
  description?: string | undefined;
106
103
  finishTime?: string | null | undefined;
107
104
  hasHandicapAccess?: boolean | null | undefined;
105
+ id?: (string & z.BRAND<"EventId">) | undefined;
108
106
  imageBlurHashes?: string[] | undefined;
109
107
  imageUrls?: string[] | undefined;
110
108
  isDisplayed?: boolean | undefined;
111
109
  isPromoted?: boolean | undefined;
112
110
  isPriceRange?: boolean | undefined;
111
+ link?: string | null | undefined;
113
112
  price?: number | null | undefined;
113
+ regions?: import("../../shared").Region[] | 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
- imageUrl: string | null;
120
119
  name: string;
120
+ imageUrl: string | null;
121
121
  }[] | undefined;
122
122
  };
123
- source: "facebook" | "website";
124
- userId: string;
125
123
  token: string;
126
- }, {
127
124
  organizersNames: string[];
125
+ source: "facebook" | "website";
126
+ }, {
127
+ userId: string;
128
128
  partialEventState: {
129
- createdAt?: string | undefined;
130
- id?: string | undefined;
131
- link?: string | null | undefined;
129
+ category?: import("../../shared").Category | undefined;
132
130
  startTime?: string | undefined;
133
- regions?: import('../../shared').Region[] | undefined;
134
131
  adress?: string | undefined;
135
132
  capacity?: number | null | undefined;
136
- category?: import('../../shared').Category | undefined;
133
+ createdAt?: string | undefined;
137
134
  description?: string | undefined;
138
135
  finishTime?: string | null | undefined;
139
136
  hasHandicapAccess?: boolean | null | undefined;
137
+ id?: string | undefined;
140
138
  imageBlurHashes?: string[] | undefined;
141
139
  imageUrls?: string[] | undefined;
142
140
  isDisplayed?: boolean | undefined;
143
141
  isPromoted?: boolean | undefined;
144
142
  isPriceRange?: boolean | undefined;
143
+ link?: string | null | undefined;
145
144
  price?: number | null | undefined;
145
+ regions?: import("../../shared").Region[] | 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
- imageUrl: string | null;
152
151
  name: string;
152
+ imageUrl: string | null;
153
153
  }[] | undefined;
154
154
  };
155
- source: "facebook" | "website";
156
- userId: string;
157
155
  token: string;
156
+ organizersNames: string[];
157
+ source: "facebook" | "website";
158
158
  }>;
159
159
  export type CreatePartialImportedEventDTO = z.infer<typeof CreatePartialImportedEventDTOSchema>;
160
160
  //# sourceMappingURL=partial-imported-event.d.ts.map
@@ -1,3 +1,4 @@
1
1
  export * from './schemas';
2
2
  export * from './event';
3
+ export * from './stats';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/shared/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/shared/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}