@sortipei/api-contracts 0.1.8 → 0.1.9
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/V1/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/V1/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAK5B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;CAGvB,CAAC"}
|
package/dist/api-contracts.js
CHANGED
|
@@ -4069,6 +4069,8 @@ const EventIdSchema = UUIDSchema.brand("EventId");
|
|
|
4069
4069
|
const createEventId = (id = crypto.randomUUID()) => EventIdSchema.parse(id);
|
|
4070
4070
|
const OrganizerIdSchema = UUIDSchema.brand("OrganizerId");
|
|
4071
4071
|
const createOrganizerId = (id = crypto.randomUUID()) => OrganizerIdSchema.parse(id);
|
|
4072
|
+
const UserIdSchema = UUIDSchema.brand("UserId");
|
|
4073
|
+
const createUserId = (id = crypto.randomUUID()) => UserIdSchema.parse(id);
|
|
4072
4074
|
const EventDTOSchema = z.object({
|
|
4073
4075
|
capacity: SafeNonNegativeIntegerSchema.nullable(),
|
|
4074
4076
|
description: StringSchema,
|
|
@@ -4192,6 +4194,8 @@ exports.SafeNonNegativeIntegerSchema = SafeNonNegativeIntegerSchema;
|
|
|
4192
4194
|
exports.StringSchema = StringSchema;
|
|
4193
4195
|
exports.URLSchema = URLSchema;
|
|
4194
4196
|
exports.UUIDSchema = UUIDSchema;
|
|
4197
|
+
exports.UserIdSchema = UserIdSchema;
|
|
4195
4198
|
exports.V1 = index;
|
|
4196
4199
|
exports.createEventId = createEventId;
|
|
4197
4200
|
exports.createOrganizerId = createOrganizerId;
|
|
4201
|
+
exports.createUserId = createUserId;
|
package/dist/api-contracts.mjs
CHANGED
|
@@ -4067,6 +4067,8 @@ const EventIdSchema = UUIDSchema.brand("EventId");
|
|
|
4067
4067
|
const createEventId = (id = crypto.randomUUID()) => EventIdSchema.parse(id);
|
|
4068
4068
|
const OrganizerIdSchema = UUIDSchema.brand("OrganizerId");
|
|
4069
4069
|
const createOrganizerId = (id = crypto.randomUUID()) => OrganizerIdSchema.parse(id);
|
|
4070
|
+
const UserIdSchema = UUIDSchema.brand("UserId");
|
|
4071
|
+
const createUserId = (id = crypto.randomUUID()) => UserIdSchema.parse(id);
|
|
4070
4072
|
const EventDTOSchema = z.object({
|
|
4071
4073
|
capacity: SafeNonNegativeIntegerSchema.nullable(),
|
|
4072
4074
|
description: StringSchema,
|
|
@@ -4191,7 +4193,9 @@ export {
|
|
|
4191
4193
|
StringSchema,
|
|
4192
4194
|
URLSchema,
|
|
4193
4195
|
UUIDSchema,
|
|
4196
|
+
UserIdSchema,
|
|
4194
4197
|
index as V1,
|
|
4195
4198
|
createEventId,
|
|
4196
|
-
createOrganizerId
|
|
4199
|
+
createOrganizerId,
|
|
4200
|
+
createUserId
|
|
4197
4201
|
};
|
package/dist/flavors.d.ts
CHANGED
|
@@ -5,4 +5,7 @@ export declare const createEventId: (id?: string) => EventId;
|
|
|
5
5
|
export declare const OrganizerIdSchema: z.ZodBranded<z.ZodString, "OrganizerId">;
|
|
6
6
|
export type OrganizerId = z.infer<typeof OrganizerIdSchema>;
|
|
7
7
|
export declare const createOrganizerId: (id?: string) => OrganizerId;
|
|
8
|
+
export declare const UserIdSchema: z.ZodBranded<z.ZodString, "UserId">;
|
|
9
|
+
export type UserId = z.infer<typeof UserIdSchema>;
|
|
10
|
+
export declare const createUserId: (id?: string) => UserId;
|
|
8
11
|
//# sourceMappingURL=flavors.d.ts.map
|
package/dist/flavors.d.ts.map
CHANGED
|
@@ -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"}
|
|
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"}
|