@zyacreatives/shared 2.5.18 → 2.5.19
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/schemas/user.d.ts +1 -1
- package/dist/schemas/user.js +1 -3
- package/package.json +1 -1
- package/src/schemas/user.ts +1 -3
package/dist/schemas/user.d.ts
CHANGED
|
@@ -1744,7 +1744,7 @@ export declare const UserSearchDocumentSchema: z.ZodObject<{
|
|
|
1744
1744
|
INVESTOR: "INVESTOR";
|
|
1745
1745
|
ADMIN: "ADMIN";
|
|
1746
1746
|
}>;
|
|
1747
|
-
|
|
1747
|
+
location: z.ZodNullable<z.ZodString>;
|
|
1748
1748
|
disciplines: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1749
1749
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
1750
1750
|
createdAt: z.ZodNullable<z.ZodString>;
|
package/dist/schemas/user.js
CHANGED
|
@@ -314,9 +314,7 @@ exports.UserSearchDocumentSchema = zod_openapi_1.z
|
|
|
314
314
|
role: zod_openapi_1.z
|
|
315
315
|
.enum(Object.values(constants_1.ROLES))
|
|
316
316
|
.openapi({ example: "CREATIVE" }),
|
|
317
|
-
|
|
318
|
-
example: "Passionate designer and developer based in Lagos.",
|
|
319
|
-
}),
|
|
317
|
+
location: zod_openapi_1.z.string().nullable().openapi({ example: "Lagos, Nigeria" }),
|
|
320
318
|
disciplines: zod_openapi_1.z
|
|
321
319
|
.array(zod_openapi_1.z.string())
|
|
322
320
|
.nullable()
|
package/package.json
CHANGED
package/src/schemas/user.ts
CHANGED
|
@@ -419,9 +419,7 @@ export const UserSearchDocumentSchema = z
|
|
|
419
419
|
role: z
|
|
420
420
|
.enum(Object.values(ROLES) as [Role, ...Role[]])
|
|
421
421
|
.openapi({ example: "CREATIVE" }),
|
|
422
|
-
|
|
423
|
-
example: "Passionate designer and developer based in Lagos.",
|
|
424
|
-
}),
|
|
422
|
+
location: z.string().nullable().openapi({ example: "Lagos, Nigeria" }),
|
|
425
423
|
disciplines: z
|
|
426
424
|
.array(z.string())
|
|
427
425
|
.nullable()
|