@abtnode/types 1.16.14-beta-3127f514 → 1.16.14-beta-5ac0c68b

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/rpc_pb.d.ts CHANGED
@@ -149,6 +149,22 @@ export type TRequestConfigOAuth = {
149
149
  did: string,
150
150
  oauth: string,
151
151
  }
152
+ export type TRequestJoinFederatedLogin = {
153
+ did: string,
154
+ appUrl: string,
155
+ }
156
+ export type TRequestQuitFederatedLogin = {
157
+ did: string,
158
+ }
159
+ export type TRequestAuditFederatedLogin = {
160
+ did: string,
161
+ memberPid: string,
162
+ status: string,
163
+ }
164
+ export type TRequestConfigFederated = {
165
+ did: string,
166
+ autoLogin: boolean,
167
+ }
152
168
  export type TRequestConfigNotification = {
153
169
  did: string,
154
170
  notification: string,
package/lib/type_pb.d.ts CHANGED
@@ -318,6 +318,7 @@ export type TBlockletSettings = {
318
318
  trustedFactories: TTrustedFactory[],
319
319
  notification?: Record<string, any>,
320
320
  session?: TSessionConfig,
321
+ federated?: TFederatedConfig,
321
322
  }
322
323
  export type TBlockletMetaService = {
323
324
  name: string,
@@ -755,6 +756,36 @@ export type TSessionConfig = {
755
756
  cacheTtl: number,
756
757
  ttl: number,
757
758
  }
759
+ export type TFederatedConfigDetail = {
760
+ appId: string,
761
+ appPid: string,
762
+ delegation: string,
763
+ isMaster: boolean,
764
+ autoLogin: boolean,
765
+ }
766
+ export type TFederatedConfigSite = {
767
+ appId: string,
768
+ appPid: string,
769
+ aliasDid: string[],
770
+ appName: string,
771
+ appDescription: string,
772
+ appUrl: string,
773
+ aliasDomain: string[],
774
+ appLogo: string,
775
+ appLogoRect: string,
776
+ did: string,
777
+ pk: string,
778
+ version: string,
779
+ serverId: string,
780
+ serverVersion: string,
781
+ appliedAt: number,
782
+ status: string,
783
+ isMaster: boolean,
784
+ }
785
+ export type TFederatedConfig = {
786
+ config?: TFederatedConfigDetail,
787
+ sites: TFederatedConfigSite[],
788
+ }
758
789
  export type TTrafficInsight = {
759
790
  did: string,
760
791
  date: string,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/types",
3
- "version": "1.16.14-beta-3127f514",
3
+ "version": "1.16.14-beta-5ac0c68b",
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": "cb397b94b752e71dfc0ba2c4ad08628cf03ce396"
39
+ "gitHead": "f38cb0f87e1eac8e5acf0106561972f4cc1207e8"
40
40
  }