@dragonmastery/dragoncore-shared 0.0.24 → 0.0.26
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/index.d.mts +101 -93
- package/dist/index.mjs +6 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1770,7 +1770,10 @@ const UserProfileBaseSchema = z.object({
|
|
|
1770
1770
|
/**
|
|
1771
1771
|
* Schema for updating a user profile
|
|
1772
1772
|
*/
|
|
1773
|
-
const UserProfileUpdateSchema = UserProfileBaseSchema.extend({
|
|
1773
|
+
const UserProfileUpdateSchema = UserProfileBaseSchema.extend({
|
|
1774
|
+
user_id: z.string().min(1, "User ID is required"),
|
|
1775
|
+
customFields: z.record(z.string(), z.unknown()).optional()
|
|
1776
|
+
});
|
|
1774
1777
|
/**
|
|
1775
1778
|
* Schema for reading a user profile
|
|
1776
1779
|
*/
|
|
@@ -1780,7 +1783,8 @@ const UserProfileReadSchema = UserProfileBaseSchema.extend({
|
|
|
1780
1783
|
created_at: z.string().datetime(),
|
|
1781
1784
|
created_by: z.string().min(1, "Created by is required"),
|
|
1782
1785
|
updated_at: z.string().datetime().nullable(),
|
|
1783
|
-
updated_by: z.string().nullable()
|
|
1786
|
+
updated_by: z.string().nullable(),
|
|
1787
|
+
customFields: z.record(z.string(), z.unknown()).optional()
|
|
1784
1788
|
});
|
|
1785
1789
|
|
|
1786
1790
|
//#endregion
|