@abtnode/types 1.16.32-beta-4d47ae7f → 1.16.32-beta-0593a408
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/lib/type_pb.d.ts +20 -0
- package/package.json +2 -2
package/lib/type_pb.d.ts
CHANGED
@@ -662,6 +662,8 @@ export type TUserInfo = {
|
|
662
662
|
phone: string;
|
663
663
|
inviter: string;
|
664
664
|
generation: number;
|
665
|
+
emailVerified: boolean;
|
666
|
+
phoneVerified: boolean;
|
665
667
|
};
|
666
668
|
export type TUserProfile = {
|
667
669
|
did: string;
|
@@ -737,6 +739,7 @@ export type TPassport = {
|
|
737
739
|
status: string;
|
738
740
|
role: string;
|
739
741
|
lastLoginAt: number;
|
742
|
+
scope: string;
|
740
743
|
};
|
741
744
|
export type TIssuer = {
|
742
745
|
id: string;
|
@@ -881,9 +884,26 @@ export type TAutoCheckUpdate = {
|
|
881
884
|
export type TInviteSettings = {
|
882
885
|
enabled: boolean;
|
883
886
|
};
|
887
|
+
export type TLoginEmailSettings = {
|
888
|
+
enabled: boolean;
|
889
|
+
requireVerified: boolean;
|
890
|
+
requireUnique: boolean;
|
891
|
+
trustOauthProviders: boolean;
|
892
|
+
domainBlackList: string[];
|
893
|
+
trustedIssuers: TIssuer[];
|
894
|
+
};
|
895
|
+
export type TLoginPhoneSettings = {
|
896
|
+
enabled: boolean;
|
897
|
+
requireVerified: boolean;
|
898
|
+
requireUnique: boolean;
|
899
|
+
regionBlackList: string[];
|
900
|
+
trustedIssuers: TIssuer[];
|
901
|
+
};
|
884
902
|
export type TSessionConfig = {
|
885
903
|
cacheTtl: number;
|
886
904
|
ttl: number;
|
905
|
+
email?: TLoginEmailSettings;
|
906
|
+
phone?: TLoginPhoneSettings;
|
887
907
|
};
|
888
908
|
export type TFederatedConfigDetail = {
|
889
909
|
appId: string;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@abtnode/types",
|
3
|
-
"version": "1.16.32-beta-
|
3
|
+
"version": "1.16.32-beta-0593a408",
|
4
4
|
"description": "Typescript definitions generated from protobuf",
|
5
5
|
"keywords": [
|
6
6
|
"abtnode",
|
@@ -36,5 +36,5 @@
|
|
36
36
|
"bugs": {
|
37
37
|
"url": "https://github.com/ArcBlock/abt-node/issues"
|
38
38
|
},
|
39
|
-
"gitHead": "
|
39
|
+
"gitHead": "5cca981049ad04018d8d361d9cdd33748f47d7d7"
|
40
40
|
}
|