@abtnode/types 1.16.30 → 1.16.31-beta-4246ab25
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 +8 -4
- package/lib/type_pb.d.ts +29 -20
- package/package.json +2 -2
package/lib/rpc_pb.d.ts
CHANGED
@@ -203,7 +203,7 @@ export type TRequestRestoreBlocklet = {
|
|
203
203
|
appDid: string;
|
204
204
|
delegation: string;
|
205
205
|
password: Uint8Array | string;
|
206
|
-
wallet?: Record
|
206
|
+
wallet?: Record<string, any>;
|
207
207
|
from: enum_pb.BackupToMap[keyof enum_pb.BackupToMap];
|
208
208
|
appPid: string;
|
209
209
|
};
|
@@ -223,7 +223,7 @@ export type TRequestBlockletMeta = {
|
|
223
223
|
};
|
224
224
|
export type TResponseBlockletMeta = {
|
225
225
|
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
|
226
|
-
meta?: Record
|
226
|
+
meta?: Record<string, any>;
|
227
227
|
};
|
228
228
|
export type TRequestGetNotifications = {
|
229
229
|
receiver: string;
|
@@ -488,7 +488,7 @@ export type TRequestGetSession = {
|
|
488
488
|
};
|
489
489
|
export type TResponseGetSession = {
|
490
490
|
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
|
491
|
-
session?: Record
|
491
|
+
session?: Record<string, any>;
|
492
492
|
};
|
493
493
|
export type TRequestStartSession = {
|
494
494
|
data: string;
|
@@ -777,6 +777,10 @@ export type TRequestUpdateAutoCheckUpdate = {
|
|
777
777
|
did: string;
|
778
778
|
autoCheckUpdate?: type_pb.TAutoCheckUpdate;
|
779
779
|
};
|
780
|
+
export type TRequestUpdateInviteSettings = {
|
781
|
+
did: string;
|
782
|
+
invite?: type_pb.TInviteSettings;
|
783
|
+
};
|
780
784
|
export type TRequestGetLauncherSession = {
|
781
785
|
launcherSessionId: string;
|
782
786
|
launcherUrl: string;
|
@@ -784,7 +788,7 @@ export type TRequestGetLauncherSession = {
|
|
784
788
|
export type TResponseGetLauncherSession = {
|
785
789
|
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
|
786
790
|
error: string;
|
787
|
-
launcherSession?: Record
|
791
|
+
launcherSession?: Record<string, any>;
|
788
792
|
};
|
789
793
|
export type TRequestUpdateAppSessionConfig = {
|
790
794
|
did: string;
|
package/lib/type_pb.d.ts
CHANGED
@@ -140,10 +140,10 @@ export type TBlockletMeta = {
|
|
140
140
|
requirements?: TRequirement;
|
141
141
|
bundleDid: string;
|
142
142
|
bundleName: string;
|
143
|
-
navigation: Record[];
|
143
|
+
navigation: Record<string, any>[];
|
144
144
|
resources: string[];
|
145
145
|
resource?: TBlockletResource;
|
146
|
-
engine?: Record
|
146
|
+
engine?: Record<string, any>;
|
147
147
|
owner?: TBlockletMetaOwner;
|
148
148
|
};
|
149
149
|
export type TSimpleBlockletMeta = {
|
@@ -198,7 +198,7 @@ export type TBlockletMetaInterface = {
|
|
198
198
|
path: string;
|
199
199
|
prefix: string;
|
200
200
|
protocol: string;
|
201
|
-
port?: Record
|
201
|
+
port?: Record<string, any>;
|
202
202
|
services: TBlockletMetaService[];
|
203
203
|
cacheable: string[];
|
204
204
|
pageGroups: string[];
|
@@ -282,11 +282,11 @@ export type TBlockletState = {
|
|
282
282
|
appRuntimeInfo?: TRuntimeInfo;
|
283
283
|
source: enum_pb.BlockletSourceMap[keyof enum_pb.BlockletSourceMap];
|
284
284
|
deployedFrom: string;
|
285
|
-
bundleSource?: Record
|
285
|
+
bundleSource?: Record<string, any>;
|
286
286
|
port: number;
|
287
287
|
engine?: TBlockletEngine;
|
288
288
|
mode: string;
|
289
|
-
ports?: Record
|
289
|
+
ports?: Record<string, any>;
|
290
290
|
children: TComponentState[];
|
291
291
|
optionalComponents: TOptionalComponentState[];
|
292
292
|
trustedPassports: TTrustedPassport[];
|
@@ -330,11 +330,11 @@ export type TComponentState = {
|
|
330
330
|
runtimeInfo?: TRuntimeInfo;
|
331
331
|
source: enum_pb.BlockletSourceMap[keyof enum_pb.BlockletSourceMap];
|
332
332
|
deployedFrom: string;
|
333
|
-
bundleSource?: Record
|
333
|
+
bundleSource?: Record<string, any>;
|
334
334
|
port: number;
|
335
335
|
engine?: TBlockletEngine;
|
336
336
|
mode: string;
|
337
|
-
ports?: Record
|
337
|
+
ports?: Record<string, any>;
|
338
338
|
children: TComponentState[];
|
339
339
|
dynamic: boolean;
|
340
340
|
mountPoint: string;
|
@@ -358,17 +358,18 @@ export type TBlockletSettings = {
|
|
358
358
|
publicToStore: boolean;
|
359
359
|
storeList: TBlockletStore[];
|
360
360
|
navigations: TConfigNavigation[];
|
361
|
-
oauth?: Record
|
361
|
+
oauth?: Record<string, any>;
|
362
362
|
trustedFactories: TTrustedFactory[];
|
363
|
-
notification?: Record
|
363
|
+
notification?: Record<string, any>;
|
364
364
|
session?: TSessionConfig;
|
365
365
|
federated?: TFederatedConfig;
|
366
366
|
autoCheckUpdate?: TAutoCheckUpdate;
|
367
367
|
autoBackup?: TAutoBackup;
|
368
|
+
invite?: TInviteSettings;
|
368
369
|
};
|
369
370
|
export type TBlockletMetaService = {
|
370
371
|
name: string;
|
371
|
-
config?: Record
|
372
|
+
config?: Record<string, any>;
|
372
373
|
};
|
373
374
|
export type TBlockletVersion = {
|
374
375
|
version: string;
|
@@ -420,8 +421,8 @@ export type TEnvironment = {
|
|
420
421
|
};
|
421
422
|
export type TRequirement = {
|
422
423
|
server: string;
|
423
|
-
os?: Record
|
424
|
-
cpu?: Record
|
424
|
+
os?: Record<string, any>;
|
425
|
+
cpu?: Record<string, any>;
|
425
426
|
fuels: TFuel[];
|
426
427
|
};
|
427
428
|
export type TFuel = {
|
@@ -500,7 +501,7 @@ export type TRoutingRule = {
|
|
500
501
|
export type TRoutingSite = {
|
501
502
|
id: string;
|
502
503
|
domain: string;
|
503
|
-
domainAliases: Record[];
|
504
|
+
domainAliases: Record<string, any>[];
|
504
505
|
rules: TRoutingRule[];
|
505
506
|
isProtected: boolean;
|
506
507
|
corsAllowedOrigins: string[];
|
@@ -619,7 +620,7 @@ export type TConnectedAccountInfo = {
|
|
619
620
|
email: string;
|
620
621
|
emailVerified: boolean;
|
621
622
|
sub: string;
|
622
|
-
extraData?: Record
|
623
|
+
extraData?: Record<string, any>;
|
623
624
|
};
|
624
625
|
export type TConnectedAccount = {
|
625
626
|
provider: string;
|
@@ -628,7 +629,7 @@ export type TConnectedAccount = {
|
|
628
629
|
id: string;
|
629
630
|
lastLoginAt: number;
|
630
631
|
userInfo?: TConnectedAccountInfo;
|
631
|
-
extra?: Record
|
632
|
+
extra?: Record<string, any>;
|
632
633
|
};
|
633
634
|
export type TUserInfo = {
|
634
635
|
did: string;
|
@@ -649,12 +650,14 @@ export type TUserInfo = {
|
|
649
650
|
sourceProvider: string;
|
650
651
|
sourceAppPid: string;
|
651
652
|
connectedAccounts: TConnectedAccount[];
|
652
|
-
extra?: Record
|
653
|
+
extra?: Record<string, any>;
|
653
654
|
tags: TTag[];
|
654
|
-
didSpace?: Record
|
655
|
+
didSpace?: Record<string, any>;
|
655
656
|
userSessions: TUserSession[];
|
656
657
|
url: string;
|
657
658
|
phone: string;
|
659
|
+
inviter: string;
|
660
|
+
generation: number;
|
658
661
|
};
|
659
662
|
export type TUserProfile = {
|
660
663
|
did: string;
|
@@ -670,6 +673,9 @@ export type TUserQuery = {
|
|
670
673
|
tags: number[];
|
671
674
|
includeTags: boolean;
|
672
675
|
includeUserSessions: boolean;
|
676
|
+
inviter: string;
|
677
|
+
invitee: string;
|
678
|
+
generation: number;
|
673
679
|
};
|
674
680
|
export type TUserSort = {
|
675
681
|
updatedAt: number;
|
@@ -685,7 +691,7 @@ export type TUserSession = {
|
|
685
691
|
passportId: string;
|
686
692
|
status: string;
|
687
693
|
lastLoginIp: string;
|
688
|
-
extra?: Record
|
694
|
+
extra?: Record<string, any>;
|
689
695
|
createdAt: number;
|
690
696
|
updatedAt: number;
|
691
697
|
};
|
@@ -696,7 +702,7 @@ export type TRole = {
|
|
696
702
|
grants: string[];
|
697
703
|
title: string;
|
698
704
|
isProtected: boolean;
|
699
|
-
extra?: Record
|
705
|
+
extra?: Record<string, any>;
|
700
706
|
};
|
701
707
|
export type TRoleAcquire = {
|
702
708
|
pay: string;
|
@@ -824,7 +830,7 @@ export type TDelegationState = {
|
|
824
830
|
};
|
825
831
|
export type TKeyValue = {
|
826
832
|
key: string;
|
827
|
-
value?: Record
|
833
|
+
value?: Record<string, any>;
|
828
834
|
};
|
829
835
|
export type TDownloadToken = {
|
830
836
|
did: string;
|
@@ -868,6 +874,9 @@ export type TAutoBackup = {
|
|
868
874
|
export type TAutoCheckUpdate = {
|
869
875
|
enabled: boolean;
|
870
876
|
};
|
877
|
+
export type TInviteSettings = {
|
878
|
+
enabled: boolean;
|
879
|
+
};
|
871
880
|
export type TSessionConfig = {
|
872
881
|
cacheTtl: number;
|
873
882
|
ttl: number;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@abtnode/types",
|
3
|
-
"version": "1.16.
|
3
|
+
"version": "1.16.31-beta-4246ab25",
|
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": "ef93705b89033e4cd5fed458b64521d0a994a1d0"
|
40
40
|
}
|