@supernova-studio/model 1.54.0 → 1.55.0
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 +49 -46
- package/dist/index.d.ts +49 -46
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -328,12 +328,13 @@ declare const PluginOAuthRequestSchema: z$1.ZodObject<{
|
|
|
328
328
|
type PluginOAuthRequest = z$1.infer<typeof PluginOAuthRequestSchema>;
|
|
329
329
|
|
|
330
330
|
declare const AuthV2Request: z$1.ZodObject<{
|
|
331
|
-
code: z$1.ZodOptional<z$1.ZodString>;
|
|
332
331
|
state: z$1.ZodString;
|
|
333
332
|
codeChallenge: z$1.ZodString;
|
|
334
333
|
codeChallengeMethod: z$1.ZodString;
|
|
335
334
|
redirectUri: z$1.ZodString;
|
|
336
335
|
sessionId: z$1.ZodString;
|
|
336
|
+
code: z$1.ZodOptional<z$1.ZodString>;
|
|
337
|
+
codeVerifier: z$1.ZodOptional<z$1.ZodString>;
|
|
337
338
|
}, "strip", z$1.ZodTypeAny, {
|
|
338
339
|
state: string;
|
|
339
340
|
codeChallenge: string;
|
|
@@ -341,6 +342,7 @@ declare const AuthV2Request: z$1.ZodObject<{
|
|
|
341
342
|
redirectUri: string;
|
|
342
343
|
sessionId: string;
|
|
343
344
|
code?: string | undefined;
|
|
345
|
+
codeVerifier?: string | undefined;
|
|
344
346
|
}, {
|
|
345
347
|
state: string;
|
|
346
348
|
codeChallenge: string;
|
|
@@ -348,6 +350,7 @@ declare const AuthV2Request: z$1.ZodObject<{
|
|
|
348
350
|
redirectUri: string;
|
|
349
351
|
sessionId: string;
|
|
350
352
|
code?: string | undefined;
|
|
353
|
+
codeVerifier?: string | undefined;
|
|
351
354
|
}>;
|
|
352
355
|
type AuthV2Request = z$1.infer<typeof AuthV2Request>;
|
|
353
356
|
|
|
@@ -11949,7 +11952,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
11949
11952
|
}>;
|
|
11950
11953
|
loggedOutAt: z$1.ZodOptional<z$1.ZodDate>;
|
|
11951
11954
|
isProtected: z$1.ZodBoolean;
|
|
11952
|
-
source: z$1.ZodOptional<z$1.ZodEnum<["SignUp", "Invite", "SSO"]>>;
|
|
11955
|
+
source: z$1.ZodOptional<z$1.ZodEnum<["SignUp", "Invite", "SSO", "Google"]>>;
|
|
11953
11956
|
emailSettings: z$1.ZodOptional<z$1.ZodObject<{
|
|
11954
11957
|
marketingEmails: z$1.ZodBoolean;
|
|
11955
11958
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -12001,7 +12004,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
12001
12004
|
};
|
|
12002
12005
|
createdAt: Date;
|
|
12003
12006
|
isProtected: boolean;
|
|
12004
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
12007
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
12005
12008
|
loggedOutAt?: Date | undefined;
|
|
12006
12009
|
emailSettings?: {
|
|
12007
12010
|
marketingEmails: boolean;
|
|
@@ -12050,7 +12053,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
12050
12053
|
};
|
|
12051
12054
|
createdAt: Date;
|
|
12052
12055
|
isProtected: boolean;
|
|
12053
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
12056
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
12054
12057
|
loggedOutAt?: Date | undefined;
|
|
12055
12058
|
emailSettings?: {
|
|
12056
12059
|
marketingEmails: boolean;
|
|
@@ -22228,7 +22231,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
22228
22231
|
};
|
|
22229
22232
|
createdAt: Date;
|
|
22230
22233
|
isProtected: boolean;
|
|
22231
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
22234
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
22232
22235
|
loggedOutAt?: Date | undefined;
|
|
22233
22236
|
emailSettings?: {
|
|
22234
22237
|
marketingEmails: boolean;
|
|
@@ -23174,7 +23177,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
23174
23177
|
};
|
|
23175
23178
|
createdAt: Date;
|
|
23176
23179
|
isProtected: boolean;
|
|
23177
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
23180
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
23178
23181
|
loggedOutAt?: Date | undefined;
|
|
23179
23182
|
emailSettings?: {
|
|
23180
23183
|
marketingEmails: boolean;
|
|
@@ -32791,7 +32794,7 @@ declare const UserSession: z$1.ZodObject<{
|
|
|
32791
32794
|
}>;
|
|
32792
32795
|
loggedOutAt: z$1.ZodOptional<z$1.ZodDate>;
|
|
32793
32796
|
isProtected: z$1.ZodBoolean;
|
|
32794
|
-
source: z$1.ZodOptional<z$1.ZodEnum<["SignUp", "Invite", "SSO"]>>;
|
|
32797
|
+
source: z$1.ZodOptional<z$1.ZodEnum<["SignUp", "Invite", "SSO", "Google"]>>;
|
|
32795
32798
|
emailSettings: z$1.ZodOptional<z$1.ZodObject<{
|
|
32796
32799
|
marketingEmails: z$1.ZodBoolean;
|
|
32797
32800
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -32843,7 +32846,7 @@ declare const UserSession: z$1.ZodObject<{
|
|
|
32843
32846
|
};
|
|
32844
32847
|
createdAt: Date;
|
|
32845
32848
|
isProtected: boolean;
|
|
32846
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
32849
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
32847
32850
|
loggedOutAt?: Date | undefined;
|
|
32848
32851
|
emailSettings?: {
|
|
32849
32852
|
marketingEmails: boolean;
|
|
@@ -32892,7 +32895,7 @@ declare const UserSession: z$1.ZodObject<{
|
|
|
32892
32895
|
};
|
|
32893
32896
|
createdAt: Date;
|
|
32894
32897
|
isProtected: boolean;
|
|
32895
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
32898
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
32896
32899
|
loggedOutAt?: Date | undefined;
|
|
32897
32900
|
emailSettings?: {
|
|
32898
32901
|
marketingEmails: boolean;
|
|
@@ -32956,7 +32959,7 @@ declare const UserSession: z$1.ZodObject<{
|
|
|
32956
32959
|
};
|
|
32957
32960
|
createdAt: Date;
|
|
32958
32961
|
isProtected: boolean;
|
|
32959
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
32962
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
32960
32963
|
loggedOutAt?: Date | undefined;
|
|
32961
32964
|
emailSettings?: {
|
|
32962
32965
|
marketingEmails: boolean;
|
|
@@ -33020,7 +33023,7 @@ declare const UserSession: z$1.ZodObject<{
|
|
|
33020
33023
|
};
|
|
33021
33024
|
createdAt: Date;
|
|
33022
33025
|
isProtected: boolean;
|
|
33023
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
33026
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
33024
33027
|
loggedOutAt?: Date | undefined;
|
|
33025
33028
|
emailSettings?: {
|
|
33026
33029
|
marketingEmails: boolean;
|
|
@@ -145277,7 +145280,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
|
|
|
145277
145280
|
}>;
|
|
145278
145281
|
loggedOutAt: z$1.ZodOptional<z$1.ZodDate>;
|
|
145279
145282
|
isProtected: z$1.ZodBoolean;
|
|
145280
|
-
source: z$1.ZodOptional<z$1.ZodEnum<["SignUp", "Invite", "SSO"]>>;
|
|
145283
|
+
source: z$1.ZodOptional<z$1.ZodEnum<["SignUp", "Invite", "SSO", "Google"]>>;
|
|
145281
145284
|
emailSettings: z$1.ZodOptional<z$1.ZodObject<{
|
|
145282
145285
|
marketingEmails: z$1.ZodBoolean;
|
|
145283
145286
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -145329,7 +145332,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
|
|
|
145329
145332
|
};
|
|
145330
145333
|
createdAt: Date;
|
|
145331
145334
|
isProtected: boolean;
|
|
145332
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
145335
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
145333
145336
|
loggedOutAt?: Date | undefined;
|
|
145334
145337
|
emailSettings?: {
|
|
145335
145338
|
marketingEmails: boolean;
|
|
@@ -145378,7 +145381,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
|
|
|
145378
145381
|
};
|
|
145379
145382
|
createdAt: Date;
|
|
145380
145383
|
isProtected: boolean;
|
|
145381
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
145384
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
145382
145385
|
loggedOutAt?: Date | undefined;
|
|
145383
145386
|
emailSettings?: {
|
|
145384
145387
|
marketingEmails: boolean;
|
|
@@ -145537,7 +145540,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
|
|
|
145537
145540
|
};
|
|
145538
145541
|
createdAt: Date;
|
|
145539
145542
|
isProtected: boolean;
|
|
145540
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
145543
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
145541
145544
|
loggedOutAt?: Date | undefined;
|
|
145542
145545
|
emailSettings?: {
|
|
145543
145546
|
marketingEmails: boolean;
|
|
@@ -145720,7 +145723,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
|
|
|
145720
145723
|
};
|
|
145721
145724
|
createdAt: Date;
|
|
145722
145725
|
isProtected: boolean;
|
|
145723
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
145726
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
145724
145727
|
loggedOutAt?: Date | undefined;
|
|
145725
145728
|
emailSettings?: {
|
|
145726
145729
|
marketingEmails: boolean;
|
|
@@ -146597,7 +146600,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
|
|
|
146597
146600
|
}>;
|
|
146598
146601
|
loggedOutAt: z$1.ZodOptional<z$1.ZodDate>;
|
|
146599
146602
|
isProtected: z$1.ZodBoolean;
|
|
146600
|
-
source: z$1.ZodOptional<z$1.ZodEnum<["SignUp", "Invite", "SSO"]>>;
|
|
146603
|
+
source: z$1.ZodOptional<z$1.ZodEnum<["SignUp", "Invite", "SSO", "Google"]>>;
|
|
146601
146604
|
emailSettings: z$1.ZodOptional<z$1.ZodObject<{
|
|
146602
146605
|
marketingEmails: z$1.ZodBoolean;
|
|
146603
146606
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -146649,7 +146652,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
|
|
|
146649
146652
|
};
|
|
146650
146653
|
createdAt: Date;
|
|
146651
146654
|
isProtected: boolean;
|
|
146652
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
146655
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
146653
146656
|
loggedOutAt?: Date | undefined;
|
|
146654
146657
|
emailSettings?: {
|
|
146655
146658
|
marketingEmails: boolean;
|
|
@@ -146698,7 +146701,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
|
|
|
146698
146701
|
};
|
|
146699
146702
|
createdAt: Date;
|
|
146700
146703
|
isProtected: boolean;
|
|
146701
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
146704
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
146702
146705
|
loggedOutAt?: Date | undefined;
|
|
146703
146706
|
emailSettings?: {
|
|
146704
146707
|
marketingEmails: boolean;
|
|
@@ -146857,7 +146860,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
|
|
|
146857
146860
|
};
|
|
146858
146861
|
createdAt: Date;
|
|
146859
146862
|
isProtected: boolean;
|
|
146860
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
146863
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
146861
146864
|
loggedOutAt?: Date | undefined;
|
|
146862
146865
|
emailSettings?: {
|
|
146863
146866
|
marketingEmails: boolean;
|
|
@@ -147016,7 +147019,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
|
|
|
147016
147019
|
};
|
|
147017
147020
|
createdAt: Date;
|
|
147018
147021
|
isProtected: boolean;
|
|
147019
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
147022
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
147020
147023
|
loggedOutAt?: Date | undefined;
|
|
147021
147024
|
emailSettings?: {
|
|
147022
147025
|
marketingEmails: boolean;
|
|
@@ -155309,7 +155312,7 @@ declare const ForgeIterationMessage: z$1.ZodObject<{
|
|
|
155309
155312
|
}>;
|
|
155310
155313
|
loggedOutAt: z$1.ZodOptional<z$1.ZodDate>;
|
|
155311
155314
|
isProtected: z$1.ZodBoolean;
|
|
155312
|
-
source: z$1.ZodOptional<z$1.ZodEnum<["SignUp", "Invite", "SSO"]>>;
|
|
155315
|
+
source: z$1.ZodOptional<z$1.ZodEnum<["SignUp", "Invite", "SSO", "Google"]>>;
|
|
155313
155316
|
emailSettings: z$1.ZodOptional<z$1.ZodObject<{
|
|
155314
155317
|
marketingEmails: z$1.ZodBoolean;
|
|
155315
155318
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -155361,7 +155364,7 @@ declare const ForgeIterationMessage: z$1.ZodObject<{
|
|
|
155361
155364
|
};
|
|
155362
155365
|
createdAt: Date;
|
|
155363
155366
|
isProtected: boolean;
|
|
155364
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
155367
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
155365
155368
|
loggedOutAt?: Date | undefined;
|
|
155366
155369
|
emailSettings?: {
|
|
155367
155370
|
marketingEmails: boolean;
|
|
@@ -155410,7 +155413,7 @@ declare const ForgeIterationMessage: z$1.ZodObject<{
|
|
|
155410
155413
|
};
|
|
155411
155414
|
createdAt: Date;
|
|
155412
155415
|
isProtected: boolean;
|
|
155413
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
155416
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
155414
155417
|
loggedOutAt?: Date | undefined;
|
|
155415
155418
|
emailSettings?: {
|
|
155416
155419
|
marketingEmails: boolean;
|
|
@@ -155465,7 +155468,7 @@ declare const ForgeIterationMessage: z$1.ZodObject<{
|
|
|
155465
155468
|
};
|
|
155466
155469
|
createdAt: Date;
|
|
155467
155470
|
isProtected: boolean;
|
|
155468
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
155471
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
155469
155472
|
loggedOutAt?: Date | undefined;
|
|
155470
155473
|
emailSettings?: {
|
|
155471
155474
|
marketingEmails: boolean;
|
|
@@ -155536,7 +155539,7 @@ declare const ForgeIterationMessage: z$1.ZodObject<{
|
|
|
155536
155539
|
};
|
|
155537
155540
|
createdAt: Date;
|
|
155538
155541
|
isProtected: boolean;
|
|
155539
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
155542
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
155540
155543
|
loggedOutAt?: Date | undefined;
|
|
155541
155544
|
emailSettings?: {
|
|
155542
155545
|
marketingEmails: boolean;
|
|
@@ -155631,7 +155634,7 @@ declare const ForgeIterationMessage: z$1.ZodObject<{
|
|
|
155631
155634
|
};
|
|
155632
155635
|
createdAt: Date;
|
|
155633
155636
|
isProtected: boolean;
|
|
155634
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
155637
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
155635
155638
|
loggedOutAt?: Date | undefined;
|
|
155636
155639
|
emailSettings?: {
|
|
155637
155640
|
marketingEmails: boolean;
|
|
@@ -155715,7 +155718,7 @@ declare const ForgeIterationMessage: z$1.ZodObject<{
|
|
|
155715
155718
|
};
|
|
155716
155719
|
createdAt: Date;
|
|
155717
155720
|
isProtected: boolean;
|
|
155718
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
155721
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
155719
155722
|
loggedOutAt?: Date | undefined;
|
|
155720
155723
|
emailSettings?: {
|
|
155721
155724
|
marketingEmails: boolean;
|
|
@@ -156017,7 +156020,7 @@ declare const ForgeParticipant: z$1.ZodObject<{
|
|
|
156017
156020
|
}>;
|
|
156018
156021
|
loggedOutAt: z$1.ZodOptional<z$1.ZodDate>;
|
|
156019
156022
|
isProtected: z$1.ZodBoolean;
|
|
156020
|
-
source: z$1.ZodOptional<z$1.ZodEnum<["SignUp", "Invite", "SSO"]>>;
|
|
156023
|
+
source: z$1.ZodOptional<z$1.ZodEnum<["SignUp", "Invite", "SSO", "Google"]>>;
|
|
156021
156024
|
emailSettings: z$1.ZodOptional<z$1.ZodObject<{
|
|
156022
156025
|
marketingEmails: z$1.ZodBoolean;
|
|
156023
156026
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -156069,7 +156072,7 @@ declare const ForgeParticipant: z$1.ZodObject<{
|
|
|
156069
156072
|
};
|
|
156070
156073
|
createdAt: Date;
|
|
156071
156074
|
isProtected: boolean;
|
|
156072
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
156075
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
156073
156076
|
loggedOutAt?: Date | undefined;
|
|
156074
156077
|
emailSettings?: {
|
|
156075
156078
|
marketingEmails: boolean;
|
|
@@ -156118,7 +156121,7 @@ declare const ForgeParticipant: z$1.ZodObject<{
|
|
|
156118
156121
|
};
|
|
156119
156122
|
createdAt: Date;
|
|
156120
156123
|
isProtected: boolean;
|
|
156121
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
156124
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
156122
156125
|
loggedOutAt?: Date | undefined;
|
|
156123
156126
|
emailSettings?: {
|
|
156124
156127
|
marketingEmails: boolean;
|
|
@@ -156173,7 +156176,7 @@ declare const ForgeParticipant: z$1.ZodObject<{
|
|
|
156173
156176
|
};
|
|
156174
156177
|
createdAt: Date;
|
|
156175
156178
|
isProtected: boolean;
|
|
156176
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
156179
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
156177
156180
|
loggedOutAt?: Date | undefined;
|
|
156178
156181
|
emailSettings?: {
|
|
156179
156182
|
marketingEmails: boolean;
|
|
@@ -156244,7 +156247,7 @@ declare const ForgeParticipant: z$1.ZodObject<{
|
|
|
156244
156247
|
};
|
|
156245
156248
|
createdAt: Date;
|
|
156246
156249
|
isProtected: boolean;
|
|
156247
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
156250
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
156248
156251
|
loggedOutAt?: Date | undefined;
|
|
156249
156252
|
emailSettings?: {
|
|
156250
156253
|
marketingEmails: boolean;
|
|
@@ -158965,7 +158968,7 @@ declare const ForgeProjectIteration: z$1.ZodObject<{
|
|
|
158965
158968
|
}>;
|
|
158966
158969
|
loggedOutAt: z$1.ZodOptional<z$1.ZodDate>;
|
|
158967
158970
|
isProtected: z$1.ZodBoolean;
|
|
158968
|
-
source: z$1.ZodOptional<z$1.ZodEnum<["SignUp", "Invite", "SSO"]>>;
|
|
158971
|
+
source: z$1.ZodOptional<z$1.ZodEnum<["SignUp", "Invite", "SSO", "Google"]>>;
|
|
158969
158972
|
emailSettings: z$1.ZodOptional<z$1.ZodObject<{
|
|
158970
158973
|
marketingEmails: z$1.ZodBoolean;
|
|
158971
158974
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -159017,7 +159020,7 @@ declare const ForgeProjectIteration: z$1.ZodObject<{
|
|
|
159017
159020
|
};
|
|
159018
159021
|
createdAt: Date;
|
|
159019
159022
|
isProtected: boolean;
|
|
159020
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
159023
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
159021
159024
|
loggedOutAt?: Date | undefined;
|
|
159022
159025
|
emailSettings?: {
|
|
159023
159026
|
marketingEmails: boolean;
|
|
@@ -159066,7 +159069,7 @@ declare const ForgeProjectIteration: z$1.ZodObject<{
|
|
|
159066
159069
|
};
|
|
159067
159070
|
createdAt: Date;
|
|
159068
159071
|
isProtected: boolean;
|
|
159069
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
159072
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
159070
159073
|
loggedOutAt?: Date | undefined;
|
|
159071
159074
|
emailSettings?: {
|
|
159072
159075
|
marketingEmails: boolean;
|
|
@@ -159121,7 +159124,7 @@ declare const ForgeProjectIteration: z$1.ZodObject<{
|
|
|
159121
159124
|
};
|
|
159122
159125
|
createdAt: Date;
|
|
159123
159126
|
isProtected: boolean;
|
|
159124
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
159127
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
159125
159128
|
loggedOutAt?: Date | undefined;
|
|
159126
159129
|
emailSettings?: {
|
|
159127
159130
|
marketingEmails: boolean;
|
|
@@ -159192,7 +159195,7 @@ declare const ForgeProjectIteration: z$1.ZodObject<{
|
|
|
159192
159195
|
};
|
|
159193
159196
|
createdAt: Date;
|
|
159194
159197
|
isProtected: boolean;
|
|
159195
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
159198
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
159196
159199
|
loggedOutAt?: Date | undefined;
|
|
159197
159200
|
emailSettings?: {
|
|
159198
159201
|
marketingEmails: boolean;
|
|
@@ -159287,7 +159290,7 @@ declare const ForgeProjectIteration: z$1.ZodObject<{
|
|
|
159287
159290
|
};
|
|
159288
159291
|
createdAt: Date;
|
|
159289
159292
|
isProtected: boolean;
|
|
159290
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
159293
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
159291
159294
|
loggedOutAt?: Date | undefined;
|
|
159292
159295
|
emailSettings?: {
|
|
159293
159296
|
marketingEmails: boolean;
|
|
@@ -159371,7 +159374,7 @@ declare const ForgeProjectIteration: z$1.ZodObject<{
|
|
|
159371
159374
|
};
|
|
159372
159375
|
createdAt: Date;
|
|
159373
159376
|
isProtected: boolean;
|
|
159374
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
159377
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
159375
159378
|
loggedOutAt?: Date | undefined;
|
|
159376
159379
|
emailSettings?: {
|
|
159377
159380
|
marketingEmails: boolean;
|
|
@@ -159600,7 +159603,7 @@ declare const ForgeProjectIteration: z$1.ZodObject<{
|
|
|
159600
159603
|
};
|
|
159601
159604
|
createdAt: Date;
|
|
159602
159605
|
isProtected: boolean;
|
|
159603
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
159606
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
159604
159607
|
loggedOutAt?: Date | undefined;
|
|
159605
159608
|
emailSettings?: {
|
|
159606
159609
|
marketingEmails: boolean;
|
|
@@ -159736,7 +159739,7 @@ declare const ForgeProjectIteration: z$1.ZodObject<{
|
|
|
159736
159739
|
};
|
|
159737
159740
|
createdAt: Date;
|
|
159738
159741
|
isProtected: boolean;
|
|
159739
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
159742
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
159740
159743
|
loggedOutAt?: Date | undefined;
|
|
159741
159744
|
emailSettings?: {
|
|
159742
159745
|
marketingEmails: boolean;
|
|
@@ -191483,7 +191486,7 @@ declare const UserTest: z$1.ZodObject<{
|
|
|
191483
191486
|
}>;
|
|
191484
191487
|
type UserTest = z$1.infer<typeof UserTest>;
|
|
191485
191488
|
|
|
191486
|
-
declare const UserSource: z$1.ZodEnum<["SignUp", "Invite", "SSO"]>;
|
|
191489
|
+
declare const UserSource: z$1.ZodEnum<["SignUp", "Invite", "SSO", "Google"]>;
|
|
191487
191490
|
type UserSource = z$1.infer<typeof UserSource>;
|
|
191488
191491
|
declare const UserEmailSettings: z$1.ZodObject<{
|
|
191489
191492
|
marketingEmails: z$1.ZodBoolean;
|
|
@@ -191707,7 +191710,7 @@ declare const User: z$1.ZodObject<{
|
|
|
191707
191710
|
}>;
|
|
191708
191711
|
loggedOutAt: z$1.ZodOptional<z$1.ZodDate>;
|
|
191709
191712
|
isProtected: z$1.ZodBoolean;
|
|
191710
|
-
source: z$1.ZodOptional<z$1.ZodEnum<["SignUp", "Invite", "SSO"]>>;
|
|
191713
|
+
source: z$1.ZodOptional<z$1.ZodEnum<["SignUp", "Invite", "SSO", "Google"]>>;
|
|
191711
191714
|
emailSettings: z$1.ZodOptional<z$1.ZodObject<{
|
|
191712
191715
|
marketingEmails: z$1.ZodBoolean;
|
|
191713
191716
|
}, "strip", z$1.ZodTypeAny, {
|
|
@@ -191759,7 +191762,7 @@ declare const User: z$1.ZodObject<{
|
|
|
191759
191762
|
};
|
|
191760
191763
|
createdAt: Date;
|
|
191761
191764
|
isProtected: boolean;
|
|
191762
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
191765
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
191763
191766
|
loggedOutAt?: Date | undefined;
|
|
191764
191767
|
emailSettings?: {
|
|
191765
191768
|
marketingEmails: boolean;
|
|
@@ -191808,7 +191811,7 @@ declare const User: z$1.ZodObject<{
|
|
|
191808
191811
|
};
|
|
191809
191812
|
createdAt: Date;
|
|
191810
191813
|
isProtected: boolean;
|
|
191811
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
191814
|
+
source?: "SignUp" | "Invite" | "SSO" | "Google" | undefined;
|
|
191812
191815
|
loggedOutAt?: Date | undefined;
|
|
191813
191816
|
emailSettings?: {
|
|
191814
191817
|
marketingEmails: boolean;
|
package/dist/index.js
CHANGED
|
@@ -30,12 +30,13 @@ var PluginOAuthRequestSchema = _zod.z.object({
|
|
|
30
30
|
// src/auth/request.ts
|
|
31
31
|
|
|
32
32
|
var AuthV2Request = _zod.z.object({
|
|
33
|
-
code: _zod.z.string().optional(),
|
|
34
33
|
state: _zod.z.string(),
|
|
35
34
|
codeChallenge: _zod.z.string(),
|
|
36
35
|
codeChallengeMethod: _zod.z.string(),
|
|
37
36
|
redirectUri: _zod.z.string(),
|
|
38
|
-
sessionId: _zod.z.string()
|
|
37
|
+
sessionId: _zod.z.string(),
|
|
38
|
+
code: _zod.z.string().optional(),
|
|
39
|
+
codeVerifier: _zod.z.string().optional()
|
|
39
40
|
});
|
|
40
41
|
|
|
41
42
|
// src/auth/session.ts
|
|
@@ -5262,7 +5263,7 @@ var UserTest = _zod.z.object({
|
|
|
5262
5263
|
|
|
5263
5264
|
// src/users/user.ts
|
|
5264
5265
|
|
|
5265
|
-
var UserSource = _zod.z.enum(["SignUp", "Invite", "SSO"]);
|
|
5266
|
+
var UserSource = _zod.z.enum(["SignUp", "Invite", "SSO", "Google"]);
|
|
5266
5267
|
var UserEmailSettings = _zod.z.object({
|
|
5267
5268
|
marketingEmails: _zod.z.boolean()
|
|
5268
5269
|
});
|