@abtnode/types 1.16.30-beta-b7f31b10 → 1.16.30-beta-2876881d

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
@@ -203,7 +203,7 @@ export type TRequestRestoreBlocklet = {
203
203
  appDid: string;
204
204
  delegation: string;
205
205
  password: Uint8Array | string;
206
- wallet?: Record<string, any>;
206
+ wallet?: Record;
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<string, any>;
226
+ meta?: Record;
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<string, any>;
491
+ session?: Record;
492
492
  };
493
493
  export type TRequestStartSession = {
494
494
  data: string;
@@ -764,14 +764,7 @@ export type TResponseGetBlockletSpaceGateways = {
764
764
  };
765
765
  export type TRequestUpdateAutoBackup = {
766
766
  did: string;
767
- autobackup?: type_pb.TAutoBackup;
768
- };
769
- export type TResponseGetAutoBackup = {
770
- code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
771
- autobackup?: type_pb.TAutoBackup;
772
- };
773
- export type TRequestGetAutoBackup = {
774
- did: string;
767
+ autoBackup?: type_pb.TAutoBackup;
775
768
  };
776
769
  export type TRequestGetBlockletBackups = {
777
770
  did: string;
@@ -784,13 +777,6 @@ export type TRequestUpdateAutoCheckUpdate = {
784
777
  did: string;
785
778
  autoCheckUpdate?: type_pb.TAutoCheckUpdate;
786
779
  };
787
- export type TRequestGetAutoCheckUpdate = {
788
- did: string;
789
- };
790
- export type TResponseGetAutoCheckUpdate = {
791
- code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
792
- autoCheckUpdate?: type_pb.TAutoCheckUpdate;
793
- };
794
780
  export type TRequestGetLauncherSession = {
795
781
  launcherSessionId: string;
796
782
  launcherUrl: string;
@@ -798,7 +784,7 @@ export type TRequestGetLauncherSession = {
798
784
  export type TResponseGetLauncherSession = {
799
785
  code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
800
786
  error: string;
801
- launcherSession?: Record<string, any>;
787
+ launcherSession?: Record;
802
788
  };
803
789
  export type TRequestUpdateAppSessionConfig = {
804
790
  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<string, any>[];
143
+ navigation: Record[];
144
144
  resources: string[];
145
145
  resource?: TBlockletResource;
146
- engine?: Record<string, any>;
146
+ engine?: Record;
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<string, any>;
201
+ port?: Record;
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<string, any>;
285
+ bundleSource?: Record;
286
286
  port: number;
287
287
  engine?: TBlockletEngine;
288
288
  mode: string;
289
- ports?: Record<string, any>;
289
+ ports?: Record;
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<string, any>;
333
+ bundleSource?: Record;
334
334
  port: number;
335
335
  engine?: TBlockletEngine;
336
336
  mode: string;
337
- ports?: Record<string, any>;
337
+ ports?: Record;
338
338
  children: TComponentState[];
339
339
  dynamic: boolean;
340
340
  mountPoint: string;
@@ -358,15 +358,17 @@ export type TBlockletSettings = {
358
358
  publicToStore: boolean;
359
359
  storeList: TBlockletStore[];
360
360
  navigations: TConfigNavigation[];
361
- oauth?: Record<string, any>;
361
+ oauth?: Record;
362
362
  trustedFactories: TTrustedFactory[];
363
- notification?: Record<string, any>;
363
+ notification?: Record;
364
364
  session?: TSessionConfig;
365
365
  federated?: TFederatedConfig;
366
+ autoCheckUpdate?: TAutoCheckUpdate;
367
+ autoBackup?: TAutoBackup;
366
368
  };
367
369
  export type TBlockletMetaService = {
368
370
  name: string;
369
- config?: Record<string, any>;
371
+ config?: Record;
370
372
  };
371
373
  export type TBlockletVersion = {
372
374
  version: string;
@@ -418,8 +420,8 @@ export type TEnvironment = {
418
420
  };
419
421
  export type TRequirement = {
420
422
  server: string;
421
- os?: Record<string, any>;
422
- cpu?: Record<string, any>;
423
+ os?: Record;
424
+ cpu?: Record;
423
425
  fuels: TFuel[];
424
426
  };
425
427
  export type TFuel = {
@@ -498,7 +500,7 @@ export type TRoutingRule = {
498
500
  export type TRoutingSite = {
499
501
  id: string;
500
502
  domain: string;
501
- domainAliases: Record<string, any>[];
503
+ domainAliases: Record[];
502
504
  rules: TRoutingRule[];
503
505
  isProtected: boolean;
504
506
  corsAllowedOrigins: string[];
@@ -617,7 +619,7 @@ export type TConnectedAccountInfo = {
617
619
  email: string;
618
620
  emailVerified: boolean;
619
621
  sub: string;
620
- extraData?: Record<string, any>;
622
+ extraData?: Record;
621
623
  };
622
624
  export type TConnectedAccount = {
623
625
  provider: string;
@@ -626,7 +628,7 @@ export type TConnectedAccount = {
626
628
  id: string;
627
629
  lastLoginAt: number;
628
630
  userInfo?: TConnectedAccountInfo;
629
- extra?: Record<string, any>;
631
+ extra?: Record;
630
632
  };
631
633
  export type TUserInfo = {
632
634
  did: string;
@@ -647,9 +649,9 @@ export type TUserInfo = {
647
649
  sourceProvider: string;
648
650
  sourceAppPid: string;
649
651
  connectedAccounts: TConnectedAccount[];
650
- extra?: Record<string, any>;
652
+ extra?: Record;
651
653
  tags: TTag[];
652
- didSpace?: Record<string, any>;
654
+ didSpace?: Record;
653
655
  userSessions: TUserSession[];
654
656
  url: string;
655
657
  phone: string;
@@ -683,7 +685,7 @@ export type TUserSession = {
683
685
  passportId: string;
684
686
  status: string;
685
687
  lastLoginIp: string;
686
- extra?: Record<string, any>;
688
+ extra?: Record;
687
689
  createdAt: number;
688
690
  updatedAt: number;
689
691
  };
@@ -694,7 +696,7 @@ export type TRole = {
694
696
  grants: string[];
695
697
  title: string;
696
698
  isProtected: boolean;
697
- extra?: Record<string, any>;
699
+ extra?: Record;
698
700
  };
699
701
  export type TRoleAcquire = {
700
702
  pay: string;
@@ -822,7 +824,7 @@ export type TDelegationState = {
822
824
  };
823
825
  export type TKeyValue = {
824
826
  key: string;
825
- value?: Record<string, any>;
827
+ value?: Record;
826
828
  };
827
829
  export type TDownloadToken = {
828
830
  did: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/types",
3
- "version": "1.16.30-beta-b7f31b10",
3
+ "version": "1.16.30-beta-2876881d",
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": "2d429b619b7b54b5603fb05761d3acd9ff674c2c"
39
+ "gitHead": "331c97e9bab7380af18616a1053d78b1654b307a"
40
40
  }