wabe 0.5.22 → 0.6.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/README.md +1 -2
- package/dist/index.d.ts +93 -21
- package/dist/index.js +3350 -564
- package/generated/schema.graphql +133 -45
- package/generated/wabe.ts +124 -34
- package/package.json +2 -1
package/generated/wabe.ts
CHANGED
|
@@ -19,18 +19,28 @@ export enum RoleEnum {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
export enum AuthenticationProvider {
|
|
22
|
+
github = "github",
|
|
22
23
|
google = "google",
|
|
23
24
|
emailPassword = "emailPassword",
|
|
25
|
+
phonePassword = "phonePassword",
|
|
24
26
|
}
|
|
25
27
|
|
|
26
28
|
export enum SecondaryFactor {
|
|
27
29
|
EmailOTP = "EmailOTP",
|
|
28
30
|
}
|
|
29
31
|
|
|
32
|
+
export type FileInfo = {
|
|
33
|
+
name?: Scalars['String']['output'];
|
|
34
|
+
url?: Scalars['String']['output'];
|
|
35
|
+
urlGeneratedAt?: Scalars['Date']['output'];
|
|
36
|
+
isPresignedUrl?: Scalars['Boolean']['output'];
|
|
37
|
+
};
|
|
38
|
+
|
|
30
39
|
export type User = {
|
|
31
40
|
id: Scalars['ID']['output'];
|
|
32
41
|
name?: Scalars['String']['output'];
|
|
33
42
|
age?: Scalars['Int']['output'];
|
|
43
|
+
email?: Scalars['Email']['output'];
|
|
34
44
|
acl?: UserACLObject;
|
|
35
45
|
createdAt?: Scalars['Date']['output'];
|
|
36
46
|
updatedAt?: Scalars['Date']['output'];
|
|
@@ -38,7 +48,6 @@ export type User = {
|
|
|
38
48
|
authentication?: UserAuthentication;
|
|
39
49
|
provider?: AuthenticationProvider;
|
|
40
50
|
isOauth?: Scalars['Boolean']['output'];
|
|
41
|
-
email?: Scalars['Email']['output'];
|
|
42
51
|
verifiedEmail?: Scalars['Boolean']['output'];
|
|
43
52
|
role?: Role;
|
|
44
53
|
sessions?: _SessionConnection;
|
|
@@ -62,8 +71,15 @@ export type UserACLObjectRolesACL = {
|
|
|
62
71
|
};
|
|
63
72
|
|
|
64
73
|
export type UserAuthentication = {
|
|
74
|
+
phonePassword?: UserAuthenticationPhonePassword;
|
|
65
75
|
emailPassword?: UserAuthenticationEmailPassword;
|
|
66
76
|
google?: UserAuthenticationGoogle;
|
|
77
|
+
github?: UserAuthenticationGithub;
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
export type UserAuthenticationPhonePassword = {
|
|
81
|
+
phone: Scalars['Phone']['output'];
|
|
82
|
+
password: Scalars['String']['output'];
|
|
67
83
|
};
|
|
68
84
|
|
|
69
85
|
export type UserAuthenticationEmailPassword = {
|
|
@@ -74,7 +90,12 @@ export type UserAuthenticationEmailPassword = {
|
|
|
74
90
|
export type UserAuthenticationGoogle = {
|
|
75
91
|
email: Scalars['Email']['output'];
|
|
76
92
|
verifiedEmail: Scalars['Boolean']['output'];
|
|
77
|
-
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
export type UserAuthenticationGithub = {
|
|
96
|
+
email: Scalars['Email']['output'];
|
|
97
|
+
avatarUrl: Scalars['String']['output'];
|
|
98
|
+
username: Scalars['String']['output'];
|
|
78
99
|
};
|
|
79
100
|
|
|
80
101
|
export type _SessionConnection = {
|
|
@@ -89,6 +110,7 @@ export type _SessionEdge = {
|
|
|
89
110
|
export type UserInput = {
|
|
90
111
|
name?: Scalars['String']['input'];
|
|
91
112
|
age?: Scalars['Int']['input'];
|
|
113
|
+
email?: Scalars['Email']['input'];
|
|
92
114
|
acl?: UserACLObjectInput;
|
|
93
115
|
createdAt?: Scalars['Date']['input'];
|
|
94
116
|
updatedAt?: Scalars['Date']['input'];
|
|
@@ -96,7 +118,6 @@ export type UserInput = {
|
|
|
96
118
|
authentication?: UserAuthenticationInput;
|
|
97
119
|
provider?: AuthenticationProvider;
|
|
98
120
|
isOauth?: Scalars['Boolean']['input'];
|
|
99
|
-
email?: Scalars['Email']['input'];
|
|
100
121
|
verifiedEmail?: Scalars['Boolean']['input'];
|
|
101
122
|
role?: RolePointerInput;
|
|
102
123
|
sessions?: _SessionRelationInput;
|
|
@@ -120,8 +141,15 @@ export type UserACLObjectRolesACLInput = {
|
|
|
120
141
|
};
|
|
121
142
|
|
|
122
143
|
export type UserAuthenticationInput = {
|
|
144
|
+
phonePassword?: UserAuthenticationPhonePasswordInput;
|
|
123
145
|
emailPassword?: UserAuthenticationEmailPasswordInput;
|
|
124
146
|
google?: UserAuthenticationGoogleInput;
|
|
147
|
+
github?: UserAuthenticationGithubInput;
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
export type UserAuthenticationPhonePasswordInput = {
|
|
151
|
+
phone: Scalars['Phone']['input'];
|
|
152
|
+
password: Scalars['String']['input'];
|
|
125
153
|
};
|
|
126
154
|
|
|
127
155
|
export type UserAuthenticationEmailPasswordInput = {
|
|
@@ -132,7 +160,12 @@ export type UserAuthenticationEmailPasswordInput = {
|
|
|
132
160
|
export type UserAuthenticationGoogleInput = {
|
|
133
161
|
email: Scalars['Email']['input'];
|
|
134
162
|
verifiedEmail: Scalars['Boolean']['input'];
|
|
135
|
-
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
export type UserAuthenticationGithubInput = {
|
|
166
|
+
email: Scalars['Email']['input'];
|
|
167
|
+
avatarUrl: Scalars['String']['input'];
|
|
168
|
+
username: Scalars['String']['input'];
|
|
136
169
|
};
|
|
137
170
|
|
|
138
171
|
export type UserPointerInput = {
|
|
@@ -144,6 +177,7 @@ export type UserPointerInput = {
|
|
|
144
177
|
export type UserCreateFieldsInput = {
|
|
145
178
|
name?: Scalars['String']['input'];
|
|
146
179
|
age?: Scalars['Int']['input'];
|
|
180
|
+
email?: Scalars['Email']['input'];
|
|
147
181
|
acl?: UserACLObjectCreateFieldsInput;
|
|
148
182
|
createdAt?: Scalars['Date']['input'];
|
|
149
183
|
updatedAt?: Scalars['Date']['input'];
|
|
@@ -151,7 +185,6 @@ export type UserCreateFieldsInput = {
|
|
|
151
185
|
authentication?: UserAuthenticationCreateFieldsInput;
|
|
152
186
|
provider?: AuthenticationProvider;
|
|
153
187
|
isOauth?: Scalars['Boolean']['input'];
|
|
154
|
-
email?: Scalars['Email']['input'];
|
|
155
188
|
verifiedEmail?: Scalars['Boolean']['input'];
|
|
156
189
|
role?: RolePointerInput;
|
|
157
190
|
sessions?: _SessionRelationInput;
|
|
@@ -175,8 +208,15 @@ export type UserACLObjectRolesACLCreateFieldsInput = {
|
|
|
175
208
|
};
|
|
176
209
|
|
|
177
210
|
export type UserAuthenticationCreateFieldsInput = {
|
|
211
|
+
phonePassword?: UserAuthenticationPhonePasswordCreateFieldsInput;
|
|
178
212
|
emailPassword?: UserAuthenticationEmailPasswordCreateFieldsInput;
|
|
179
213
|
google?: UserAuthenticationGoogleCreateFieldsInput;
|
|
214
|
+
github?: UserAuthenticationGithubCreateFieldsInput;
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
export type UserAuthenticationPhonePasswordCreateFieldsInput = {
|
|
218
|
+
phone?: Scalars['Phone']['input'];
|
|
219
|
+
password?: Scalars['String']['input'];
|
|
180
220
|
};
|
|
181
221
|
|
|
182
222
|
export type UserAuthenticationEmailPasswordCreateFieldsInput = {
|
|
@@ -187,7 +227,12 @@ export type UserAuthenticationEmailPasswordCreateFieldsInput = {
|
|
|
187
227
|
export type UserAuthenticationGoogleCreateFieldsInput = {
|
|
188
228
|
email?: Scalars['Email']['input'];
|
|
189
229
|
verifiedEmail?: Scalars['Boolean']['input'];
|
|
190
|
-
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
export type UserAuthenticationGithubCreateFieldsInput = {
|
|
233
|
+
email?: Scalars['Email']['input'];
|
|
234
|
+
avatarUrl?: Scalars['String']['input'];
|
|
235
|
+
username?: Scalars['String']['input'];
|
|
191
236
|
};
|
|
192
237
|
|
|
193
238
|
export type UserRelationInput = {
|
|
@@ -199,7 +244,6 @@ export type UserRelationInput = {
|
|
|
199
244
|
export type Post = {
|
|
200
245
|
id: Scalars['ID']['output'];
|
|
201
246
|
name: Scalars['String']['output'];
|
|
202
|
-
test?: Scalars['File']['output'];
|
|
203
247
|
test2?: RoleEnum;
|
|
204
248
|
acl?: PostACLObject;
|
|
205
249
|
createdAt?: Scalars['Date']['output'];
|
|
@@ -226,7 +270,6 @@ export type PostACLObjectRolesACL = {
|
|
|
226
270
|
|
|
227
271
|
export type PostInput = {
|
|
228
272
|
name: Scalars['String']['input'];
|
|
229
|
-
test?: Scalars['File']['input'];
|
|
230
273
|
test2?: RoleEnum;
|
|
231
274
|
acl?: PostACLObjectInput;
|
|
232
275
|
createdAt?: Scalars['Date']['input'];
|
|
@@ -259,7 +302,6 @@ export type PostPointerInput = {
|
|
|
259
302
|
|
|
260
303
|
export type PostCreateFieldsInput = {
|
|
261
304
|
name?: Scalars['String']['input'];
|
|
262
|
-
test?: Scalars['File']['input'];
|
|
263
305
|
test2?: RoleEnum;
|
|
264
306
|
acl?: PostACLObjectCreateFieldsInput;
|
|
265
307
|
createdAt?: Scalars['Date']['input'];
|
|
@@ -662,6 +704,7 @@ export type UserWhereInput = {
|
|
|
662
704
|
id?: IdWhereInput;
|
|
663
705
|
name?: StringWhereInput;
|
|
664
706
|
age?: IntWhereInput;
|
|
707
|
+
email?: EmailWhereInput;
|
|
665
708
|
acl?: UserACLObjectWhereInput;
|
|
666
709
|
createdAt?: DateWhereInput;
|
|
667
710
|
updatedAt?: DateWhereInput;
|
|
@@ -669,7 +712,6 @@ export type UserWhereInput = {
|
|
|
669
712
|
authentication?: UserAuthenticationWhereInput;
|
|
670
713
|
provider?: AnyWhereInput;
|
|
671
714
|
isOauth?: BooleanWhereInput;
|
|
672
|
-
email?: EmailWhereInput;
|
|
673
715
|
verifiedEmail?: BooleanWhereInput;
|
|
674
716
|
role?: RoleWhereInput;
|
|
675
717
|
sessions?: _SessionWhereInput;
|
|
@@ -702,6 +744,13 @@ export type IntWhereInput = {
|
|
|
702
744
|
notIn?: Scalars['Int']['input'][];
|
|
703
745
|
};
|
|
704
746
|
|
|
747
|
+
export type EmailWhereInput = {
|
|
748
|
+
equalTo?: Scalars['Email']['input'];
|
|
749
|
+
notEqualTo?: Scalars['Email']['input'];
|
|
750
|
+
in?: Scalars['Email']['input'][];
|
|
751
|
+
notIn?: Scalars['Email']['input'][];
|
|
752
|
+
};
|
|
753
|
+
|
|
705
754
|
export type UserACLObjectWhereInput = {
|
|
706
755
|
users?: UserACLObjectUsersACLWhereInput[];
|
|
707
756
|
roles?: UserACLObjectRolesACLWhereInput[];
|
|
@@ -748,12 +797,28 @@ export type SearchWhereInput = {
|
|
|
748
797
|
};
|
|
749
798
|
|
|
750
799
|
export type UserAuthenticationWhereInput = {
|
|
800
|
+
phonePassword?: UserAuthenticationPhonePasswordWhereInput;
|
|
751
801
|
emailPassword?: UserAuthenticationEmailPasswordWhereInput;
|
|
752
802
|
google?: UserAuthenticationGoogleWhereInput;
|
|
803
|
+
github?: UserAuthenticationGithubWhereInput;
|
|
753
804
|
OR?: UserAuthenticationWhereInput[];
|
|
754
805
|
AND?: UserAuthenticationWhereInput[];
|
|
755
806
|
};
|
|
756
807
|
|
|
808
|
+
export type UserAuthenticationPhonePasswordWhereInput = {
|
|
809
|
+
phone?: PhoneWhereInput;
|
|
810
|
+
password?: StringWhereInput;
|
|
811
|
+
OR?: UserAuthenticationPhonePasswordWhereInput[];
|
|
812
|
+
AND?: UserAuthenticationPhonePasswordWhereInput[];
|
|
813
|
+
};
|
|
814
|
+
|
|
815
|
+
export type PhoneWhereInput = {
|
|
816
|
+
equalTo?: Scalars['Phone']['input'];
|
|
817
|
+
notEqualTo?: Scalars['Phone']['input'];
|
|
818
|
+
in?: Scalars['Phone']['input'][];
|
|
819
|
+
notIn?: Scalars['Phone']['input'][];
|
|
820
|
+
};
|
|
821
|
+
|
|
757
822
|
export type UserAuthenticationEmailPasswordWhereInput = {
|
|
758
823
|
email?: EmailWhereInput;
|
|
759
824
|
password?: StringWhereInput;
|
|
@@ -761,21 +826,21 @@ export type UserAuthenticationEmailPasswordWhereInput = {
|
|
|
761
826
|
AND?: UserAuthenticationEmailPasswordWhereInput[];
|
|
762
827
|
};
|
|
763
828
|
|
|
764
|
-
export type EmailWhereInput = {
|
|
765
|
-
equalTo?: Scalars['Email']['input'];
|
|
766
|
-
notEqualTo?: Scalars['Email']['input'];
|
|
767
|
-
in?: Scalars['Email']['input'][];
|
|
768
|
-
notIn?: Scalars['Email']['input'][];
|
|
769
|
-
};
|
|
770
|
-
|
|
771
829
|
export type UserAuthenticationGoogleWhereInput = {
|
|
772
830
|
email?: EmailWhereInput;
|
|
773
831
|
verifiedEmail?: BooleanWhereInput;
|
|
774
|
-
idToken?: StringWhereInput;
|
|
775
832
|
OR?: UserAuthenticationGoogleWhereInput[];
|
|
776
833
|
AND?: UserAuthenticationGoogleWhereInput[];
|
|
777
834
|
};
|
|
778
835
|
|
|
836
|
+
export type UserAuthenticationGithubWhereInput = {
|
|
837
|
+
email?: EmailWhereInput;
|
|
838
|
+
avatarUrl?: StringWhereInput;
|
|
839
|
+
username?: StringWhereInput;
|
|
840
|
+
OR?: UserAuthenticationGithubWhereInput[];
|
|
841
|
+
AND?: UserAuthenticationGithubWhereInput[];
|
|
842
|
+
};
|
|
843
|
+
|
|
779
844
|
export type AnyWhereInput = {
|
|
780
845
|
equalTo?: Scalars['Any']['input'];
|
|
781
846
|
notEqualTo?: Scalars['Any']['input'];
|
|
@@ -859,6 +924,8 @@ export enum UserOrder {
|
|
|
859
924
|
name_DESC = "name_DESC",
|
|
860
925
|
age_ASC = "age_ASC",
|
|
861
926
|
age_DESC = "age_DESC",
|
|
927
|
+
email_ASC = "email_ASC",
|
|
928
|
+
email_DESC = "email_DESC",
|
|
862
929
|
acl_ASC = "acl_ASC",
|
|
863
930
|
acl_DESC = "acl_DESC",
|
|
864
931
|
createdAt_ASC = "createdAt_ASC",
|
|
@@ -873,8 +940,6 @@ export enum UserOrder {
|
|
|
873
940
|
provider_DESC = "provider_DESC",
|
|
874
941
|
isOauth_ASC = "isOauth_ASC",
|
|
875
942
|
isOauth_DESC = "isOauth_DESC",
|
|
876
|
-
email_ASC = "email_ASC",
|
|
877
|
-
email_DESC = "email_DESC",
|
|
878
943
|
verifiedEmail_ASC = "verifiedEmail_ASC",
|
|
879
944
|
verifiedEmail_DESC = "verifiedEmail_DESC",
|
|
880
945
|
role_ASC = "role_ASC",
|
|
@@ -895,7 +960,6 @@ export type PostEdge = {
|
|
|
895
960
|
export type PostWhereInput = {
|
|
896
961
|
id?: IdWhereInput;
|
|
897
962
|
name?: StringWhereInput;
|
|
898
|
-
test?: FileWhereInput;
|
|
899
963
|
test2?: AnyWhereInput;
|
|
900
964
|
acl?: PostACLObjectWhereInput;
|
|
901
965
|
createdAt?: DateWhereInput;
|
|
@@ -905,13 +969,6 @@ export type PostWhereInput = {
|
|
|
905
969
|
AND?: PostWhereInput[];
|
|
906
970
|
};
|
|
907
971
|
|
|
908
|
-
export type FileWhereInput = {
|
|
909
|
-
equalTo?: Scalars['File']['input'];
|
|
910
|
-
notEqualTo?: Scalars['File']['input'];
|
|
911
|
-
in?: Scalars['File']['input'][];
|
|
912
|
-
notInt?: Scalars['File']['input'][];
|
|
913
|
-
};
|
|
914
|
-
|
|
915
972
|
export type PostACLObjectWhereInput = {
|
|
916
973
|
users?: PostACLObjectUsersACLWhereInput[];
|
|
917
974
|
roles?: PostACLObjectRolesACLWhereInput[];
|
|
@@ -938,8 +995,6 @@ export type PostACLObjectRolesACLWhereInput = {
|
|
|
938
995
|
export enum PostOrder {
|
|
939
996
|
name_ASC = "name_ASC",
|
|
940
997
|
name_DESC = "name_DESC",
|
|
941
|
-
test_ASC = "test_ASC",
|
|
942
|
-
test_DESC = "test_DESC",
|
|
943
998
|
test2_ASC = "test2_ASC",
|
|
944
999
|
test2_DESC = "test2_DESC",
|
|
945
1000
|
acl_ASC = "acl_ASC",
|
|
@@ -1296,6 +1351,7 @@ export type UpdateUserInput = {
|
|
|
1296
1351
|
export type UserUpdateFieldsInput = {
|
|
1297
1352
|
name?: Scalars['String']['input'];
|
|
1298
1353
|
age?: Scalars['Int']['input'];
|
|
1354
|
+
email?: Scalars['Email']['input'];
|
|
1299
1355
|
acl?: UserACLObjectUpdateFieldsInput;
|
|
1300
1356
|
createdAt?: Scalars['Date']['input'];
|
|
1301
1357
|
updatedAt?: Scalars['Date']['input'];
|
|
@@ -1303,7 +1359,6 @@ export type UserUpdateFieldsInput = {
|
|
|
1303
1359
|
authentication?: UserAuthenticationUpdateFieldsInput;
|
|
1304
1360
|
provider?: AuthenticationProvider;
|
|
1305
1361
|
isOauth?: Scalars['Boolean']['input'];
|
|
1306
|
-
email?: Scalars['Email']['input'];
|
|
1307
1362
|
verifiedEmail?: Scalars['Boolean']['input'];
|
|
1308
1363
|
role?: RolePointerInput;
|
|
1309
1364
|
sessions?: _SessionRelationInput;
|
|
@@ -1327,8 +1382,15 @@ export type UserACLObjectRolesACLUpdateFieldsInput = {
|
|
|
1327
1382
|
};
|
|
1328
1383
|
|
|
1329
1384
|
export type UserAuthenticationUpdateFieldsInput = {
|
|
1385
|
+
phonePassword?: UserAuthenticationPhonePasswordUpdateFieldsInput;
|
|
1330
1386
|
emailPassword?: UserAuthenticationEmailPasswordUpdateFieldsInput;
|
|
1331
1387
|
google?: UserAuthenticationGoogleUpdateFieldsInput;
|
|
1388
|
+
github?: UserAuthenticationGithubUpdateFieldsInput;
|
|
1389
|
+
};
|
|
1390
|
+
|
|
1391
|
+
export type UserAuthenticationPhonePasswordUpdateFieldsInput = {
|
|
1392
|
+
phone?: Scalars['Phone']['input'];
|
|
1393
|
+
password?: Scalars['String']['input'];
|
|
1332
1394
|
};
|
|
1333
1395
|
|
|
1334
1396
|
export type UserAuthenticationEmailPasswordUpdateFieldsInput = {
|
|
@@ -1339,7 +1401,12 @@ export type UserAuthenticationEmailPasswordUpdateFieldsInput = {
|
|
|
1339
1401
|
export type UserAuthenticationGoogleUpdateFieldsInput = {
|
|
1340
1402
|
email?: Scalars['Email']['input'];
|
|
1341
1403
|
verifiedEmail?: Scalars['Boolean']['input'];
|
|
1342
|
-
|
|
1404
|
+
};
|
|
1405
|
+
|
|
1406
|
+
export type UserAuthenticationGithubUpdateFieldsInput = {
|
|
1407
|
+
email?: Scalars['Email']['input'];
|
|
1408
|
+
avatarUrl?: Scalars['String']['input'];
|
|
1409
|
+
username?: Scalars['String']['input'];
|
|
1343
1410
|
};
|
|
1344
1411
|
|
|
1345
1412
|
export type UpdateUsersInput = {
|
|
@@ -1392,7 +1459,6 @@ export type UpdatePostInput = {
|
|
|
1392
1459
|
|
|
1393
1460
|
export type PostUpdateFieldsInput = {
|
|
1394
1461
|
name?: Scalars['String']['input'];
|
|
1395
|
-
test?: Scalars['File']['input'];
|
|
1396
1462
|
test2?: RoleEnum;
|
|
1397
1463
|
acl?: PostACLObjectUpdateFieldsInput;
|
|
1398
1464
|
createdAt?: Scalars['Date']['input'];
|
|
@@ -1713,12 +1779,19 @@ export type SignInWithInput = {
|
|
|
1713
1779
|
};
|
|
1714
1780
|
|
|
1715
1781
|
export type SignInWithAuthenticationInput = {
|
|
1782
|
+
phonePassword?: SignInWithAuthenticationPhonePasswordInput;
|
|
1716
1783
|
emailPassword?: SignInWithAuthenticationEmailPasswordInput;
|
|
1717
1784
|
google?: SignInWithAuthenticationGoogleInput;
|
|
1785
|
+
github?: SignInWithAuthenticationGithubInput;
|
|
1718
1786
|
otp?: SignInWithAuthenticationOtpInput;
|
|
1719
1787
|
secondaryFactor?: SecondaryFactor;
|
|
1720
1788
|
};
|
|
1721
1789
|
|
|
1790
|
+
export type SignInWithAuthenticationPhonePasswordInput = {
|
|
1791
|
+
phone: Scalars['Phone']['input'];
|
|
1792
|
+
password: Scalars['String']['input'];
|
|
1793
|
+
};
|
|
1794
|
+
|
|
1722
1795
|
export type SignInWithAuthenticationEmailPasswordInput = {
|
|
1723
1796
|
email: Scalars['Email']['input'];
|
|
1724
1797
|
password: Scalars['String']['input'];
|
|
@@ -1729,6 +1802,11 @@ export type SignInWithAuthenticationGoogleInput = {
|
|
|
1729
1802
|
codeVerifier: Scalars['String']['input'];
|
|
1730
1803
|
};
|
|
1731
1804
|
|
|
1805
|
+
export type SignInWithAuthenticationGithubInput = {
|
|
1806
|
+
authorizationCode: Scalars['String']['input'];
|
|
1807
|
+
codeVerifier: Scalars['String']['input'];
|
|
1808
|
+
};
|
|
1809
|
+
|
|
1732
1810
|
export type SignInWithAuthenticationOtpInput = {
|
|
1733
1811
|
code?: Scalars['String']['input'];
|
|
1734
1812
|
};
|
|
@@ -1744,12 +1822,19 @@ export type SignUpWithInput = {
|
|
|
1744
1822
|
};
|
|
1745
1823
|
|
|
1746
1824
|
export type SignUpWithAuthenticationInput = {
|
|
1825
|
+
phonePassword?: SignUpWithAuthenticationPhonePasswordInput;
|
|
1747
1826
|
emailPassword?: SignUpWithAuthenticationEmailPasswordInput;
|
|
1748
1827
|
google?: SignUpWithAuthenticationGoogleInput;
|
|
1828
|
+
github?: SignUpWithAuthenticationGithubInput;
|
|
1749
1829
|
otp?: SignUpWithAuthenticationOtpInput;
|
|
1750
1830
|
secondaryFactor?: SecondaryFactor;
|
|
1751
1831
|
};
|
|
1752
1832
|
|
|
1833
|
+
export type SignUpWithAuthenticationPhonePasswordInput = {
|
|
1834
|
+
phone: Scalars['Phone']['input'];
|
|
1835
|
+
password: Scalars['String']['input'];
|
|
1836
|
+
};
|
|
1837
|
+
|
|
1753
1838
|
export type SignUpWithAuthenticationEmailPasswordInput = {
|
|
1754
1839
|
email: Scalars['Email']['input'];
|
|
1755
1840
|
password: Scalars['String']['input'];
|
|
@@ -1760,6 +1845,11 @@ export type SignUpWithAuthenticationGoogleInput = {
|
|
|
1760
1845
|
codeVerifier: Scalars['String']['input'];
|
|
1761
1846
|
};
|
|
1762
1847
|
|
|
1848
|
+
export type SignUpWithAuthenticationGithubInput = {
|
|
1849
|
+
authorizationCode: Scalars['String']['input'];
|
|
1850
|
+
codeVerifier: Scalars['String']['input'];
|
|
1851
|
+
};
|
|
1852
|
+
|
|
1763
1853
|
export type SignUpWithAuthenticationOtpInput = {
|
|
1764
1854
|
code?: Scalars['String']['input'];
|
|
1765
1855
|
};
|
|
@@ -1787,7 +1877,7 @@ export type VerifyChallengeFactorOtpInput = {
|
|
|
1787
1877
|
};
|
|
1788
1878
|
|
|
1789
1879
|
|
|
1790
|
-
export type WabeSchemaScalars = "
|
|
1880
|
+
export type WabeSchemaScalars = ""
|
|
1791
1881
|
|
|
1792
1882
|
export type WabeSchemaEnums = {
|
|
1793
1883
|
RoleEnum: RoleEnum,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wabe",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Your backend in minutes not days",
|
|
5
5
|
"homepage": "https://wabe.dev",
|
|
6
6
|
"author": {
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"@graphql-yoga/plugin-disable-introspection": "2.10.9",
|
|
34
34
|
"@node-rs/argon2": "2.0.0",
|
|
35
35
|
"jsonwebtoken": "9.0.2",
|
|
36
|
+
"libphonenumber-js": "1.11.18",
|
|
36
37
|
"mongodb": "6.8.0",
|
|
37
38
|
"otplib": "12.0.1",
|
|
38
39
|
"p-retry": "6.2.1",
|