@supernova-studio/model 0.54.27 → 0.54.29
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 +40 -23
- package/dist/index.d.ts +40 -23
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/users/user-profile.ts +9 -5
- package/src/users/user.ts +4 -0
package/dist/index.mjs
CHANGED
|
@@ -4550,6 +4550,7 @@ var UserTest = z139.object({
|
|
|
4550
4550
|
|
|
4551
4551
|
// src/users/user.ts
|
|
4552
4552
|
import { z as z140 } from "zod";
|
|
4553
|
+
var UserSource = z140.enum(["SignUp", "Invite", "SSO"]);
|
|
4553
4554
|
var User = z140.object({
|
|
4554
4555
|
id: z140.string(),
|
|
4555
4556
|
email: z140.string(),
|
|
@@ -4559,7 +4560,8 @@ var User = z140.object({
|
|
|
4559
4560
|
profile: UserProfile,
|
|
4560
4561
|
linkedIntegrations: UserLinkedIntegrations.optional(),
|
|
4561
4562
|
loggedOutAt: z140.coerce.date().optional(),
|
|
4562
|
-
isProtected: z140.boolean()
|
|
4563
|
+
isProtected: z140.boolean(),
|
|
4564
|
+
source: UserSource.optional()
|
|
4563
4565
|
});
|
|
4564
4566
|
|
|
4565
4567
|
// src/data-dumps/workspace-dump.ts
|
|
@@ -5756,6 +5758,7 @@ export {
|
|
|
5756
5758
|
UserProfile,
|
|
5757
5759
|
UserProfileUpdate,
|
|
5758
5760
|
UserSession,
|
|
5761
|
+
UserSource,
|
|
5759
5762
|
UserTest,
|
|
5760
5763
|
VersionCreationJob,
|
|
5761
5764
|
VersionCreationJobStatus,
|