@sortipei/api-contracts 0.1.26 → 0.1.27
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 +44 -0
- package/dist/V1/api/event.d.ts.map +1 -1
- package/dist/V1/external/partial-imported-event.d.ts +26 -0
- package/dist/V1/external/partial-imported-event.d.ts.map +1 -1
- package/dist/api-contracts.js +0 -6
- package/dist/api-contracts.mjs +0 -6
- package/package.json +1 -1
package/dist/V1/api/event.d.ts
CHANGED
|
@@ -8,6 +8,16 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
8
8
|
finishTime: z.ZodNullable<z.ZodString>;
|
|
9
9
|
hasHandicapAccess: z.ZodNullable<z.ZodBoolean>;
|
|
10
10
|
id: z.ZodBranded<z.ZodString, "EventId">;
|
|
11
|
+
gpsCoordinates: z.ZodObject<{
|
|
12
|
+
latitude: z.ZodNumber;
|
|
13
|
+
longitude: z.ZodNumber;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
latitude: number;
|
|
16
|
+
longitude: number;
|
|
17
|
+
}, {
|
|
18
|
+
latitude: number;
|
|
19
|
+
longitude: number;
|
|
20
|
+
}>;
|
|
11
21
|
imageBlurHashes: z.ZodArray<z.ZodString, "many">;
|
|
12
22
|
imageUrls: z.ZodArray<z.ZodString, "many">;
|
|
13
23
|
isDisplayed: z.ZodBoolean;
|
|
@@ -42,6 +52,10 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
42
52
|
finishTime: string | null;
|
|
43
53
|
hasHandicapAccess: boolean | null;
|
|
44
54
|
id: string & z.BRAND<"EventId">;
|
|
55
|
+
gpsCoordinates: {
|
|
56
|
+
latitude: number;
|
|
57
|
+
longitude: number;
|
|
58
|
+
};
|
|
45
59
|
imageBlurHashes: string[];
|
|
46
60
|
imageUrls: string[];
|
|
47
61
|
isDisplayed: boolean;
|
|
@@ -68,6 +82,10 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
68
82
|
finishTime: string | null;
|
|
69
83
|
hasHandicapAccess: boolean | null;
|
|
70
84
|
id: string;
|
|
85
|
+
gpsCoordinates: {
|
|
86
|
+
latitude: number;
|
|
87
|
+
longitude: number;
|
|
88
|
+
};
|
|
71
89
|
imageBlurHashes: string[];
|
|
72
90
|
imageUrls: string[];
|
|
73
91
|
isDisplayed: boolean;
|
|
@@ -252,6 +270,16 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
252
270
|
finishTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
253
271
|
hasHandicapAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
254
272
|
id: z.ZodOptional<z.ZodBranded<z.ZodString, "EventId">>;
|
|
273
|
+
gpsCoordinates: z.ZodOptional<z.ZodObject<{
|
|
274
|
+
latitude: z.ZodNumber;
|
|
275
|
+
longitude: z.ZodNumber;
|
|
276
|
+
}, "strip", z.ZodTypeAny, {
|
|
277
|
+
latitude: number;
|
|
278
|
+
longitude: number;
|
|
279
|
+
}, {
|
|
280
|
+
latitude: number;
|
|
281
|
+
longitude: number;
|
|
282
|
+
}>>;
|
|
255
283
|
imageBlurHashes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
256
284
|
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
257
285
|
isDisplayed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -286,6 +314,10 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
286
314
|
finishTime?: string | null | undefined;
|
|
287
315
|
hasHandicapAccess?: boolean | null | undefined;
|
|
288
316
|
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
317
|
+
gpsCoordinates?: {
|
|
318
|
+
latitude: number;
|
|
319
|
+
longitude: number;
|
|
320
|
+
} | undefined;
|
|
289
321
|
imageBlurHashes?: string[] | undefined;
|
|
290
322
|
imageUrls?: string[] | undefined;
|
|
291
323
|
isDisplayed?: boolean | undefined;
|
|
@@ -312,6 +344,10 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
312
344
|
finishTime?: string | null | undefined;
|
|
313
345
|
hasHandicapAccess?: boolean | null | undefined;
|
|
314
346
|
id?: string | undefined;
|
|
347
|
+
gpsCoordinates?: {
|
|
348
|
+
latitude: number;
|
|
349
|
+
longitude: number;
|
|
350
|
+
} | undefined;
|
|
315
351
|
imageBlurHashes?: string[] | undefined;
|
|
316
352
|
imageUrls?: string[] | undefined;
|
|
317
353
|
isDisplayed?: boolean | undefined;
|
|
@@ -345,6 +381,10 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
345
381
|
finishTime?: string | null | undefined;
|
|
346
382
|
hasHandicapAccess?: boolean | null | undefined;
|
|
347
383
|
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
384
|
+
gpsCoordinates?: {
|
|
385
|
+
latitude: number;
|
|
386
|
+
longitude: number;
|
|
387
|
+
} | undefined;
|
|
348
388
|
imageBlurHashes?: string[] | undefined;
|
|
349
389
|
imageUrls?: string[] | undefined;
|
|
350
390
|
isDisplayed?: boolean | undefined;
|
|
@@ -378,6 +418,10 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
378
418
|
finishTime?: string | null | undefined;
|
|
379
419
|
hasHandicapAccess?: boolean | null | undefined;
|
|
380
420
|
id?: string | undefined;
|
|
421
|
+
gpsCoordinates?: {
|
|
422
|
+
latitude: number;
|
|
423
|
+
longitude: number;
|
|
424
|
+
} | undefined;
|
|
381
425
|
imageBlurHashes?: string[] | undefined;
|
|
382
426
|
imageUrls?: string[] | undefined;
|
|
383
427
|
isDisplayed?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../src/V1/api/event.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"event.d.ts","sour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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,sBAAsB;;;;;;EAEjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -9,6 +9,16 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
9
9
|
finishTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
hasHandicapAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11
11
|
id: z.ZodOptional<z.ZodBranded<z.ZodString, "EventId">>;
|
|
12
|
+
gpsCoordinates: z.ZodOptional<z.ZodObject<{
|
|
13
|
+
latitude: z.ZodNumber;
|
|
14
|
+
longitude: z.ZodNumber;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
latitude: number;
|
|
17
|
+
longitude: number;
|
|
18
|
+
}, {
|
|
19
|
+
latitude: number;
|
|
20
|
+
longitude: number;
|
|
21
|
+
}>>;
|
|
12
22
|
imageBlurHashes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13
23
|
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
14
24
|
isDisplayed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -43,6 +53,10 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
43
53
|
finishTime?: string | null | undefined;
|
|
44
54
|
hasHandicapAccess?: boolean | null | undefined;
|
|
45
55
|
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
56
|
+
gpsCoordinates?: {
|
|
57
|
+
latitude: number;
|
|
58
|
+
longitude: number;
|
|
59
|
+
} | undefined;
|
|
46
60
|
imageBlurHashes?: string[] | undefined;
|
|
47
61
|
imageUrls?: string[] | undefined;
|
|
48
62
|
isDisplayed?: boolean | undefined;
|
|
@@ -69,6 +83,10 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
69
83
|
finishTime?: string | null | undefined;
|
|
70
84
|
hasHandicapAccess?: boolean | null | undefined;
|
|
71
85
|
id?: string | undefined;
|
|
86
|
+
gpsCoordinates?: {
|
|
87
|
+
latitude: number;
|
|
88
|
+
longitude: number;
|
|
89
|
+
} | undefined;
|
|
72
90
|
imageBlurHashes?: string[] | undefined;
|
|
73
91
|
imageUrls?: string[] | undefined;
|
|
74
92
|
isDisplayed?: boolean | undefined;
|
|
@@ -102,6 +120,10 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
102
120
|
finishTime?: string | null | undefined;
|
|
103
121
|
hasHandicapAccess?: boolean | null | undefined;
|
|
104
122
|
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
123
|
+
gpsCoordinates?: {
|
|
124
|
+
latitude: number;
|
|
125
|
+
longitude: number;
|
|
126
|
+
} | undefined;
|
|
105
127
|
imageBlurHashes?: string[] | undefined;
|
|
106
128
|
imageUrls?: string[] | undefined;
|
|
107
129
|
isDisplayed?: boolean | undefined;
|
|
@@ -134,6 +156,10 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
134
156
|
finishTime?: string | null | undefined;
|
|
135
157
|
hasHandicapAccess?: boolean | null | undefined;
|
|
136
158
|
id?: string | undefined;
|
|
159
|
+
gpsCoordinates?: {
|
|
160
|
+
latitude: number;
|
|
161
|
+
longitude: number;
|
|
162
|
+
} | undefined;
|
|
137
163
|
imageBlurHashes?: string[] | undefined;
|
|
138
164
|
imageUrls?: string[] | undefined;
|
|
139
165
|
isDisplayed?: boolean | undefined;
|
|
@@ -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
|
@@ -4057,10 +4057,6 @@ const SafeIntegerSchema = SafeFloatSchema.int();
|
|
|
4057
4057
|
const SafeNonNegativeIntegerSchema = SafeIntegerSchema.nonnegative();
|
|
4058
4058
|
const SafeNonNegativeFloatSchema = SafeFloatSchema.nonnegative();
|
|
4059
4059
|
const URLSchema = StringSchema.url();
|
|
4060
|
-
const GPSCoordinatesSchema = z.object({
|
|
4061
|
-
latitude: z.number().min(-90).max(90),
|
|
4062
|
-
longitude: z.number().min(-180).max(180)
|
|
4063
|
-
});
|
|
4064
4060
|
var Region = /* @__PURE__ */ ((Region2) => {
|
|
4065
4061
|
Region2["East"] = "East";
|
|
4066
4062
|
Region2["North"] = "North";
|
|
@@ -4105,7 +4101,6 @@ const EventDTOSchema = z.object({
|
|
|
4105
4101
|
createdAt: z.string().datetime(),
|
|
4106
4102
|
description: StringSchema,
|
|
4107
4103
|
finishTime: z.string().datetime().nullable(),
|
|
4108
|
-
gpsCoordinates: GPSCoordinatesSchema,
|
|
4109
4104
|
hasHandicapAccess: z.boolean().nullable(),
|
|
4110
4105
|
id: EventIdSchema,
|
|
4111
4106
|
imageBlurHashes: StringSchema.array(),
|
|
@@ -4255,7 +4250,6 @@ exports.CoerceDateSchema = CoerceDateSchema;
|
|
|
4255
4250
|
exports.CoerceNullableDateSchema = CoerceNullableDateSchema;
|
|
4256
4251
|
exports.ErrorCodes = ErrorCodes;
|
|
4257
4252
|
exports.EventIdSchema = EventIdSchema;
|
|
4258
|
-
exports.GPSCoordinatesSchema = GPSCoordinatesSchema;
|
|
4259
4253
|
exports.OrganizerIdSchema = OrganizerIdSchema;
|
|
4260
4254
|
exports.Region = Region;
|
|
4261
4255
|
exports.RegionSchema = RegionSchema;
|
package/dist/api-contracts.mjs
CHANGED
|
@@ -4055,10 +4055,6 @@ const SafeIntegerSchema = SafeFloatSchema.int();
|
|
|
4055
4055
|
const SafeNonNegativeIntegerSchema = SafeIntegerSchema.nonnegative();
|
|
4056
4056
|
const SafeNonNegativeFloatSchema = SafeFloatSchema.nonnegative();
|
|
4057
4057
|
const URLSchema = StringSchema.url();
|
|
4058
|
-
const GPSCoordinatesSchema = z.object({
|
|
4059
|
-
latitude: z.number().min(-90).max(90),
|
|
4060
|
-
longitude: z.number().min(-180).max(180)
|
|
4061
|
-
});
|
|
4062
4058
|
var Region = /* @__PURE__ */ ((Region2) => {
|
|
4063
4059
|
Region2["East"] = "East";
|
|
4064
4060
|
Region2["North"] = "North";
|
|
@@ -4103,7 +4099,6 @@ const EventDTOSchema = z.object({
|
|
|
4103
4099
|
createdAt: z.string().datetime(),
|
|
4104
4100
|
description: StringSchema,
|
|
4105
4101
|
finishTime: z.string().datetime().nullable(),
|
|
4106
|
-
gpsCoordinates: GPSCoordinatesSchema,
|
|
4107
4102
|
hasHandicapAccess: z.boolean().nullable(),
|
|
4108
4103
|
id: EventIdSchema,
|
|
4109
4104
|
imageBlurHashes: StringSchema.array(),
|
|
@@ -4254,7 +4249,6 @@ export {
|
|
|
4254
4249
|
CoerceNullableDateSchema,
|
|
4255
4250
|
ErrorCodes,
|
|
4256
4251
|
EventIdSchema,
|
|
4257
|
-
GPSCoordinatesSchema,
|
|
4258
4252
|
OrganizerIdSchema,
|
|
4259
4253
|
Region,
|
|
4260
4254
|
RegionSchema,
|