@zyacreatives/shared 2.1.73 → 2.1.74
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 +2 -22
- package/dist/schemas/user.js +1 -1
- package/package.json +1 -1
- package/src/schemas/user.ts +1 -1
package/dist/schemas/user.d.ts
CHANGED
|
@@ -797,37 +797,17 @@ export declare const SearchUsersInputSchema: z.ZodObject<{
|
|
|
797
797
|
}, z.core.$strip>;
|
|
798
798
|
export declare const SearchUsersOutputSchema: z.ZodObject<{
|
|
799
799
|
users: z.ZodArray<z.ZodObject<{
|
|
800
|
-
id: z.ZodCUID2;
|
|
801
800
|
email: z.ZodEmail;
|
|
802
|
-
|
|
801
|
+
username: z.ZodOptional<z.ZodString>;
|
|
802
|
+
id: z.ZodCUID2;
|
|
803
803
|
name: z.ZodOptional<z.ZodString>;
|
|
804
804
|
image: z.ZodOptional<z.ZodString>;
|
|
805
|
-
username: z.ZodOptional<z.ZodString>;
|
|
806
|
-
displayUsername: z.ZodOptional<z.ZodString>;
|
|
807
805
|
role: z.ZodEnum<{
|
|
808
806
|
CREATIVE: "CREATIVE";
|
|
809
807
|
BRAND: "BRAND";
|
|
810
808
|
INVESTOR: "INVESTOR";
|
|
811
809
|
ADMIN: "ADMIN";
|
|
812
810
|
}>;
|
|
813
|
-
status: z.ZodEnum<{
|
|
814
|
-
ACTIVE: "ACTIVE";
|
|
815
|
-
SUSPENDED: "SUSPENDED";
|
|
816
|
-
DELETED: "DELETED";
|
|
817
|
-
}>;
|
|
818
|
-
onboardingPage: z.ZodEnum<{
|
|
819
|
-
EMAIL_VERIFICATION: "EMAIL_VERIFICATION";
|
|
820
|
-
USERNAME_SELECTION: "USERNAME_SELECTION";
|
|
821
|
-
ACCOUNT_TYPE_SELECTION: "ACCOUNT_TYPE_SELECTION";
|
|
822
|
-
CREATIVE_PROFILE_DETAILS: "CREATIVE_PROFILE_DETAILS";
|
|
823
|
-
BRAND_PROFILE_DETAILS: "BRAND_PROFILE_DETAILS";
|
|
824
|
-
INVESTOR_PROFILE_DETAILS: "INVESTOR_PROFILE_DETAILS";
|
|
825
|
-
INVESTOR_INVESTMENT_FOCUS: "INVESTOR_INVESTMENT_FOCUS";
|
|
826
|
-
INVESTOR_VERIFICATION: "INVESTOR_VERIFICATION";
|
|
827
|
-
DONE: "DONE";
|
|
828
|
-
}>;
|
|
829
|
-
createdAt: z.ZodCoercedDate<unknown>;
|
|
830
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
831
811
|
}, z.core.$strip>>;
|
|
832
812
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
833
813
|
}, z.core.$strip>;
|
package/dist/schemas/user.js
CHANGED
|
@@ -174,7 +174,7 @@ exports.SearchUsersInputSchema = zod_openapi_1.z.object({
|
|
|
174
174
|
}),
|
|
175
175
|
});
|
|
176
176
|
exports.SearchUsersOutputSchema = zod_openapi_1.z.object({
|
|
177
|
-
users: zod_openapi_1.z.array(exports.
|
|
177
|
+
users: zod_openapi_1.z.array(exports.MinimalUserSchema),
|
|
178
178
|
nextCursor: zod_openapi_1.z.string().optional().openapi({
|
|
179
179
|
example: "abc123",
|
|
180
180
|
description: "The next cursor for pagination",
|
package/package.json
CHANGED
package/src/schemas/user.ts
CHANGED
|
@@ -240,7 +240,7 @@ export const SearchUsersInputSchema = z.object({
|
|
|
240
240
|
});
|
|
241
241
|
|
|
242
242
|
export const SearchUsersOutputSchema = z.object({
|
|
243
|
-
users: z.array(
|
|
243
|
+
users: z.array(MinimalUserSchema),
|
|
244
244
|
nextCursor: z.string().optional().openapi({
|
|
245
245
|
example: "abc123",
|
|
246
246
|
description: "The next cursor for pagination",
|