@sortipei/api-contracts 0.1.13 → 0.1.14
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/V1/api/event.d.ts +10 -4
- package/dist/V1/api/event.d.ts.map +1 -1
- package/dist/V1/external/partial-imported-event.d.ts +8 -2
- package/dist/V1/external/partial-imported-event.d.ts.map +1 -1
- package/dist/api-contracts.js +8 -4
- package/dist/api-contracts.mjs +8 -4
- package/package.json +1 -1
package/dist/V1/api/event.d.ts
CHANGED
|
@@ -192,9 +192,9 @@ export declare const constraints: {
|
|
|
192
192
|
};
|
|
193
193
|
};
|
|
194
194
|
export declare const ImportDTOSchema: z.ZodObject<{
|
|
195
|
-
id: z.ZodString;
|
|
196
|
-
userId: z.ZodString;
|
|
197
195
|
createdAt: z.ZodString;
|
|
196
|
+
id: z.ZodString;
|
|
197
|
+
organizersNames: z.ZodArray<z.ZodString, "many">;
|
|
198
198
|
partialEventState: z.ZodObject<{
|
|
199
199
|
adress: z.ZodOptional<z.ZodString>;
|
|
200
200
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -264,10 +264,12 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
264
264
|
imageUrl: string | null;
|
|
265
265
|
}[] | undefined;
|
|
266
266
|
}>;
|
|
267
|
+
source: z.ZodLiteral<"facebook">;
|
|
268
|
+
userId: z.ZodString;
|
|
267
269
|
}, "strip", z.ZodTypeAny, {
|
|
268
270
|
id: string;
|
|
269
|
-
userId: string;
|
|
270
271
|
createdAt: string;
|
|
272
|
+
organizersNames: string[];
|
|
271
273
|
partialEventState: {
|
|
272
274
|
adress?: string | undefined;
|
|
273
275
|
capacity?: number | null | undefined;
|
|
@@ -289,10 +291,12 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
289
291
|
imageUrl: string | null;
|
|
290
292
|
}[] | undefined;
|
|
291
293
|
};
|
|
294
|
+
source: "facebook";
|
|
295
|
+
userId: string;
|
|
292
296
|
}, {
|
|
293
297
|
id: string;
|
|
294
|
-
userId: string;
|
|
295
298
|
createdAt: string;
|
|
299
|
+
organizersNames: string[];
|
|
296
300
|
partialEventState: {
|
|
297
301
|
adress?: string | undefined;
|
|
298
302
|
capacity?: number | null | undefined;
|
|
@@ -314,6 +318,8 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
314
318
|
imageUrl: string | null;
|
|
315
319
|
}[] | undefined;
|
|
316
320
|
};
|
|
321
|
+
source: "facebook";
|
|
322
|
+
userId: string;
|
|
317
323
|
}>;
|
|
318
324
|
export type ImportDTO = z.infer<typeof ImportDTOSchema>;
|
|
319
325
|
//# sourceMappingURL=event.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../src/V1/api/event.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwBzB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAe/B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE/B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;EAEhC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;EAEhC,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
|
|
@@ -71,8 +71,10 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
71
71
|
}>;
|
|
72
72
|
token: z.ZodString;
|
|
73
73
|
userId: z.ZodString;
|
|
74
|
+
organizersNames: z.ZodArray<z.ZodString, "many">;
|
|
75
|
+
source: z.ZodLiteral<"facebook">;
|
|
74
76
|
}, "strip", z.ZodTypeAny, {
|
|
75
|
-
|
|
77
|
+
organizersNames: string[];
|
|
76
78
|
partialEventState: {
|
|
77
79
|
adress?: string | undefined;
|
|
78
80
|
capacity?: number | null | undefined;
|
|
@@ -94,9 +96,11 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
94
96
|
imageUrl: string | null;
|
|
95
97
|
}[] | undefined;
|
|
96
98
|
};
|
|
99
|
+
source: "facebook";
|
|
100
|
+
userId: string;
|
|
97
101
|
token: string;
|
|
98
102
|
}, {
|
|
99
|
-
|
|
103
|
+
organizersNames: string[];
|
|
100
104
|
partialEventState: {
|
|
101
105
|
adress?: string | undefined;
|
|
102
106
|
capacity?: number | null | undefined;
|
|
@@ -118,6 +122,8 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
118
122
|
imageUrl: string | null;
|
|
119
123
|
}[] | undefined;
|
|
120
124
|
};
|
|
125
|
+
source: "facebook";
|
|
126
|
+
userId: string;
|
|
121
127
|
token: string;
|
|
122
128
|
}>;
|
|
123
129
|
export type CreatePartialImportedEventDTO = z.infer<typeof CreatePartialImportedEventDTOSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"partial-imported-event.d.ts","sourceRoot":"","sources":["../../../src/V1/external/partial-imported-event.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,mCAAmC
|
|
1
|
+
{"version":3,"file":"partial-imported-event.d.ts","sourceRoot":"","sources":["../../../src/V1/external/partial-imported-event.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM9C,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
|
package/dist/api-contracts.js
CHANGED
|
@@ -4132,10 +4132,12 @@ const constraints$2 = {
|
|
|
4132
4132
|
}
|
|
4133
4133
|
};
|
|
4134
4134
|
const ImportDTOSchema = z.object({
|
|
4135
|
+
createdAt: z.string().datetime(),
|
|
4135
4136
|
id: StringSchema,
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4137
|
+
organizersNames: StringSchema.array(),
|
|
4138
|
+
partialEventState: EventDTOSchema.partial(),
|
|
4139
|
+
source: z.literal("facebook"),
|
|
4140
|
+
userId: StringSchema
|
|
4139
4141
|
});
|
|
4140
4142
|
const OrganizerDTOSchema = z.object({
|
|
4141
4143
|
eventsIds: EventIdSchema.array(),
|
|
@@ -4182,7 +4184,9 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
4182
4184
|
const CreatePartialImportedEventDTOSchema = z.object({
|
|
4183
4185
|
partialEventState: EventDTOSchema.partial(),
|
|
4184
4186
|
token: StringSchema,
|
|
4185
|
-
userId: StringSchema
|
|
4187
|
+
userId: StringSchema,
|
|
4188
|
+
organizersNames: StringSchema.array(),
|
|
4189
|
+
source: z.literal("facebook")
|
|
4186
4190
|
});
|
|
4187
4191
|
const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4188
4192
|
__proto__: null,
|
package/dist/api-contracts.mjs
CHANGED
|
@@ -4130,10 +4130,12 @@ const constraints$2 = {
|
|
|
4130
4130
|
}
|
|
4131
4131
|
};
|
|
4132
4132
|
const ImportDTOSchema = z.object({
|
|
4133
|
+
createdAt: z.string().datetime(),
|
|
4133
4134
|
id: StringSchema,
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4135
|
+
organizersNames: StringSchema.array(),
|
|
4136
|
+
partialEventState: EventDTOSchema.partial(),
|
|
4137
|
+
source: z.literal("facebook"),
|
|
4138
|
+
userId: StringSchema
|
|
4137
4139
|
});
|
|
4138
4140
|
const OrganizerDTOSchema = z.object({
|
|
4139
4141
|
eventsIds: EventIdSchema.array(),
|
|
@@ -4180,7 +4182,9 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
4180
4182
|
const CreatePartialImportedEventDTOSchema = z.object({
|
|
4181
4183
|
partialEventState: EventDTOSchema.partial(),
|
|
4182
4184
|
token: StringSchema,
|
|
4183
|
-
userId: StringSchema
|
|
4185
|
+
userId: StringSchema,
|
|
4186
|
+
organizersNames: StringSchema.array(),
|
|
4187
|
+
source: z.literal("facebook")
|
|
4184
4188
|
});
|
|
4185
4189
|
const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4186
4190
|
__proto__: null,
|