@sortipei/api-contracts 0.2.4 → 0.2.6

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
  externalSourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -29,8 +29,8 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
29
29
  isPromoted: z.ZodOptional<z.ZodBoolean>;
30
30
  link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
31
  price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
- regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">>;
33
- secondaryCategory: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import('../../shared').Category>>>;
32
+ regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">>;
33
+ secondaryCategory: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../../shared").Category>>>;
34
34
  startTime: z.ZodOptional<z.ZodString>;
35
35
  thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
36
  ticketsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -49,15 +49,14 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
49
49
  name: string;
50
50
  }>, "many">>;
51
51
  }, "strip", z.ZodTypeAny, {
52
- regions?: import('../../shared').Region[] | undefined;
53
- category?: import('../../shared').Category | undefined;
52
+ category?: import("../../shared").Category | undefined;
54
53
  startTime?: string | undefined;
55
- createdAt?: string | undefined;
54
+ regions?: import("../../shared").Region[] | undefined;
56
55
  id?: (string & z.BRAND<"EventId">) | undefined;
57
- link?: string | null | undefined;
58
56
  title?: string | undefined;
59
57
  adress?: string | undefined;
60
58
  capacity?: number | null | undefined;
59
+ createdAt?: string | undefined;
61
60
  description?: string | undefined;
62
61
  externalSourceId?: string | null | undefined;
63
62
  finishTime?: string | null | undefined;
@@ -73,8 +72,9 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
73
72
  isOldTimes?: boolean | undefined;
74
73
  isPriceRange?: boolean | undefined;
75
74
  isPromoted?: boolean | undefined;
75
+ link?: string | null | undefined;
76
76
  price?: number | null | undefined;
77
- secondaryCategory?: import('../../shared').Category | null | undefined;
77
+ secondaryCategory?: import("../../shared").Category | null | undefined;
78
78
  thumbnailUrl?: string | null | undefined;
79
79
  ticketsUrl?: string | null | undefined;
80
80
  organizers?: {
@@ -83,15 +83,14 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
83
83
  name: string;
84
84
  }[] | undefined;
85
85
  }, {
86
- regions?: import('../../shared').Region[] | undefined;
87
- category?: import('../../shared').Category | undefined;
86
+ category?: import("../../shared").Category | undefined;
88
87
  startTime?: string | undefined;
89
- createdAt?: string | undefined;
88
+ regions?: import("../../shared").Region[] | undefined;
90
89
  id?: string | undefined;
91
- link?: string | null | undefined;
92
90
  title?: string | undefined;
93
91
  adress?: string | undefined;
94
92
  capacity?: number | null | undefined;
93
+ createdAt?: string | undefined;
95
94
  description?: string | undefined;
96
95
  externalSourceId?: string | null | undefined;
97
96
  finishTime?: string | null | undefined;
@@ -107,8 +106,9 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
107
106
  isOldTimes?: boolean | undefined;
108
107
  isPriceRange?: boolean | undefined;
109
108
  isPromoted?: boolean | undefined;
109
+ link?: string | null | undefined;
110
110
  price?: number | null | undefined;
111
- secondaryCategory?: import('../../shared').Category | null | undefined;
111
+ secondaryCategory?: import("../../shared").Category | null | undefined;
112
112
  thumbnailUrl?: string | null | undefined;
113
113
  ticketsUrl?: string | null | undefined;
114
114
  organizers?: {
@@ -125,15 +125,14 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
125
125
  userId: string;
126
126
  organizersNames: string[];
127
127
  partialEventState: {
128
- regions?: import('../../shared').Region[] | undefined;
129
- category?: import('../../shared').Category | undefined;
128
+ category?: import("../../shared").Category | undefined;
130
129
  startTime?: string | undefined;
131
- createdAt?: string | undefined;
130
+ regions?: import("../../shared").Region[] | undefined;
132
131
  id?: (string & z.BRAND<"EventId">) | undefined;
133
- link?: string | null | undefined;
134
132
  title?: string | undefined;
135
133
  adress?: string | undefined;
136
134
  capacity?: number | null | undefined;
135
+ createdAt?: string | undefined;
137
136
  description?: string | undefined;
138
137
  externalSourceId?: string | null | undefined;
139
138
  finishTime?: string | null | undefined;
@@ -149,8 +148,9 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
149
148
  isOldTimes?: boolean | undefined;
150
149
  isPriceRange?: boolean | undefined;
151
150
  isPromoted?: boolean | undefined;
151
+ link?: string | null | undefined;
152
152
  price?: number | null | undefined;
153
- secondaryCategory?: import('../../shared').Category | null | undefined;
153
+ secondaryCategory?: import("../../shared").Category | null | undefined;
154
154
  thumbnailUrl?: string | null | undefined;
155
155
  ticketsUrl?: string | null | undefined;
156
156
  organizers?: {
@@ -165,15 +165,14 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
165
165
  userId: string;
166
166
  organizersNames: string[];
167
167
  partialEventState: {
168
- regions?: import('../../shared').Region[] | undefined;
169
- category?: import('../../shared').Category | undefined;
168
+ category?: import("../../shared").Category | undefined;
170
169
  startTime?: string | undefined;
171
- createdAt?: string | undefined;
170
+ regions?: import("../../shared").Region[] | undefined;
172
171
  id?: string | undefined;
173
- link?: string | null | undefined;
174
172
  title?: string | undefined;
175
173
  adress?: string | undefined;
176
174
  capacity?: number | null | undefined;
175
+ createdAt?: string | undefined;
177
176
  description?: string | undefined;
178
177
  externalSourceId?: string | null | undefined;
179
178
  finishTime?: string | null | undefined;
@@ -189,8 +188,9 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
189
188
  isOldTimes?: boolean | undefined;
190
189
  isPriceRange?: boolean | undefined;
191
190
  isPromoted?: boolean | undefined;
191
+ link?: string | null | undefined;
192
192
  price?: number | null | undefined;
193
- secondaryCategory?: import('../../shared').Category | null | undefined;
193
+ secondaryCategory?: import("../../shared").Category | null | undefined;
194
194
  thumbnailUrl?: string | null | undefined;
195
195
  ticketsUrl?: string | null | undefined;
196
196
  organizers?: {
package/dist/flavors.d.ts CHANGED
@@ -14,4 +14,7 @@ export declare const createMainAdId: (id?: string) => MainAdId;
14
14
  export declare const RegionalAdIdSchema: z.ZodBranded<z.ZodString, "RegionalAdId">;
15
15
  export type RegionalAdId = z.infer<typeof RegionalAdIdSchema>;
16
16
  export declare const createRegionalAdId: (id?: string) => RegionalAdId;
17
+ export declare const ImportReminderIdSchema: z.ZodBranded<z.ZodString, "ImportReminderId">;
18
+ export type ImportReminderId = z.infer<typeof ImportReminderIdSchema>;
19
+ export declare const createImportReminderId: (id?: string) => ImportReminderId;
17
20
  //# 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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,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;AAEnH,eAAO,MAAM,sBAAsB,+CAAuC,CAAC;AAC3E,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,eAAO,MAAM,sBAAsB,QAAQ,MAAM,KAAyB,gBAAoD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sortipei/api-contracts",
3
- "version": "0.2.4",
3
+ "version": "0.2.6",
4
4
  "license": "UNLICENCED",
5
5
  "main": "dist/api-contracts.js",
6
6
  "module": "dist/api-contracts.mjs",