@blocklet/server-js 1.17.7-beta-20251227-001958-ea2ba3f5 → 1.17.7-beta-20251229-085620-84f09930

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/dist/browser.d.ts CHANGED
@@ -93,12 +93,6 @@ declare class ABTNodeClient {
93
93
  getRoutingSites(
94
94
  params: PartialDeep<ABTNodeClient.GetRoutingSitesParams>
95
95
  ): Promise<ABTNodeClient.ResponseGetRoutingSites>;
96
- getRoutingSnapshots(
97
- params: PartialDeep<ABTNodeClient.GetRoutingSnapshotsParams>
98
- ): Promise<ABTNodeClient.ResponseGetRoutingSnapshots>;
99
- getSnapshotSites(
100
- params: PartialDeep<ABTNodeClient.GetSnapshotSitesParams>
101
- ): Promise<ABTNodeClient.ResponseGetSnapshotSites>;
102
96
  getRoutingProviders(): Promise<ABTNodeClient.ResponseGetRoutingProviders>;
103
97
  isDidDomain(params: PartialDeep<ABTNodeClient.IsDidDomainParams>): Promise<ABTNodeClient.ResponseIsDidDomain>;
104
98
  getCertificates(): Promise<ABTNodeClient.ResponseGetCertificates>;
@@ -330,9 +324,6 @@ declare class ABTNodeClient {
330
324
  params: PartialDeep<ABTNodeClient.UpdateBlockletSettingsParams>
331
325
  ): Promise<ABTNodeClient.GeneralResponse>;
332
326
  updateNodeInfo(params: PartialDeep<ABTNodeClient.UpdateNodeInfoParams>): Promise<ABTNodeClient.ResponseGetNodeInfo>;
333
- updateNodeRouting(
334
- params: PartialDeep<ABTNodeClient.UpdateNodeRoutingParams>
335
- ): Promise<ABTNodeClient.ResponseGetNodeInfo>;
336
327
  upgradeNodeVersion(
337
328
  params: PartialDeep<ABTNodeClient.UpgradeNodeVersionParams>
338
329
  ): Promise<ABTNodeClient.ResponseUpgradeNodeVersion>;
@@ -430,9 +421,6 @@ declare class ABTNodeClient {
430
421
  deleteRoutingRule(
431
422
  params: PartialDeep<ABTNodeClient.DeleteRoutingRuleParams>
432
423
  ): Promise<ABTNodeClient.ResponseRoutingSite>;
433
- takeRoutingSnapshot(
434
- params: PartialDeep<ABTNodeClient.TakeRoutingSnapshotParams>
435
- ): Promise<ABTNodeClient.ResponseTakeRoutingSnapshot>;
436
424
  updateCertificate(
437
425
  params: PartialDeep<ABTNodeClient.UpdateCertificateParams>
438
426
  ): Promise<ABTNodeClient.ResponseUpdateNginxHttpsCert>;
@@ -1266,6 +1254,7 @@ declare namespace ABTNodeClient {
1266
1254
  interface RequestConfigAuthenticationInput {
1267
1255
  did: string;
1268
1256
  authentication: string;
1257
+ oauth: string;
1269
1258
  }
1270
1259
 
1271
1260
  interface RequestConfigBlockletInput {
@@ -1655,6 +1644,10 @@ declare namespace ABTNodeClient {
1655
1644
  interface RequestGetBlockletsInput {
1656
1645
  useCache: boolean;
1657
1646
  includeRuntimeInfo: boolean;
1647
+ paging: ABTNodeClient.PagingInput;
1648
+ search: string;
1649
+ external: boolean;
1650
+ sort: ABTNodeClient.SortInput;
1658
1651
  }
1659
1652
 
1660
1653
  interface RequestGetDynamicComponentsInput {
@@ -1737,10 +1730,6 @@ declare namespace ABTNodeClient {
1737
1730
  snapshotHash: string;
1738
1731
  }
1739
1732
 
1740
- interface RequestGetRoutingSnapshotsInput {
1741
- limit: number;
1742
- }
1743
-
1744
1733
  interface RequestGetSelectedResourcesInput {
1745
1734
  did: string;
1746
1735
  projectId: string;
@@ -1752,10 +1741,6 @@ declare namespace ABTNodeClient {
1752
1741
  id: string;
1753
1742
  }
1754
1743
 
1755
- interface RequestGetSnapshotSitesInput {
1756
- hash: string;
1757
- }
1758
-
1759
1744
  interface RequestGetTrafficInsightsInput {
1760
1745
  did: string;
1761
1746
  startDate: string;
@@ -1791,6 +1776,21 @@ declare namespace ABTNodeClient {
1791
1776
  permission: string;
1792
1777
  }
1793
1778
 
1779
+ interface RequestInstallBlockletInput {
1780
+ type: string;
1781
+ did: string;
1782
+ storeUrl: string;
1783
+ url: string;
1784
+ file: undefined;
1785
+ diffVersion: string;
1786
+ deleteSet: string[];
1787
+ title: string;
1788
+ description: string;
1789
+ startImmediately: boolean;
1790
+ appSk: string;
1791
+ downloadTokenList: ABTNodeClient.DownloadTokenInput[];
1792
+ }
1793
+
1794
1794
  interface RequestInstallComponentInput {
1795
1795
  rootDid: string;
1796
1796
  mountPoint: string;
@@ -1903,12 +1903,6 @@ declare namespace ABTNodeClient {
1903
1903
  resourceIds: string[];
1904
1904
  }
1905
1905
 
1906
- interface RequestNodeRoutingInput {
1907
- provider: string;
1908
- snapshotHash: string;
1909
- forceRepopulate: boolean;
1910
- }
1911
-
1912
1906
  interface RequestNodeRuntimeHistoryInput {
1913
1907
  hours: number;
1914
1908
  }
@@ -2095,11 +2089,6 @@ declare namespace ABTNodeClient {
2095
2089
  paging: ABTNodeClient.PagingInput;
2096
2090
  }
2097
2091
 
2098
- interface RequestTakeRoutingSnapshotInput {
2099
- dryRun: boolean;
2100
- message: string;
2101
- }
2102
-
2103
2092
  interface RequestTeamPermissionInput {
2104
2093
  teamDid: string;
2105
2094
  permission: ABTNodeClient.PermissionInput;
@@ -2325,20 +2314,6 @@ declare namespace ABTNodeClient {
2325
2314
  did: string;
2326
2315
  }
2327
2316
 
2328
- interface RequestVersionedBlockletInput {
2329
- type: string;
2330
- did: string;
2331
- storeUrl: string;
2332
- url: string;
2333
- file: undefined;
2334
- diffVersion: string;
2335
- deleteSet: string[];
2336
- title: string;
2337
- description: string;
2338
- startImmediately: boolean;
2339
- downloadTokenList: ABTNodeClient.DownloadTokenInput[];
2340
- }
2341
-
2342
2317
  interface RoleUpdateInput {
2343
2318
  name: string;
2344
2319
  title: string;
@@ -2391,6 +2366,11 @@ declare namespace ABTNodeClient {
2391
2366
  enableBlacklist: boolean;
2392
2367
  }
2393
2368
 
2369
+ interface SortInput {
2370
+ field: string;
2371
+ direction: string;
2372
+ }
2373
+
2394
2374
  interface SpaceGatewayInput {
2395
2375
  name: string;
2396
2376
  url: string;
@@ -3020,6 +3000,7 @@ declare namespace ABTNodeClient {
3020
3000
  aigne: ABTNodeClient.AigneConfig;
3021
3001
  org: ABTNodeClient.OrgSettings;
3022
3002
  didConnect: Record<string, any>;
3003
+ oauth: Record<string, any>;
3023
3004
  }
3024
3005
 
3025
3006
  interface BlockletState {
@@ -3497,7 +3478,6 @@ declare namespace ABTNodeClient {
3497
3478
  updateAutoCheckUpdate: ABTNodeClient.GeneralResponse;
3498
3479
  updateBlockletSettings: ABTNodeClient.GeneralResponse;
3499
3480
  updateNodeInfo: ABTNodeClient.ResponseGetNodeInfo;
3500
- updateNodeRouting: ABTNodeClient.ResponseGetNodeInfo;
3501
3481
  upgradeNodeVersion: ABTNodeClient.ResponseUpgradeNodeVersion;
3502
3482
  restartServer: ABTNodeClient.ResponseRestartServer;
3503
3483
  resetNode: ABTNodeClient.ResponseResetNode;
@@ -3551,7 +3531,6 @@ declare namespace ABTNodeClient {
3551
3531
  addRoutingRule: ABTNodeClient.ResponseRoutingSite;
3552
3532
  updateRoutingRule: ABTNodeClient.ResponseRoutingSite;
3553
3533
  deleteRoutingRule: ABTNodeClient.ResponseRoutingSite;
3554
- takeRoutingSnapshot: ABTNodeClient.ResponseTakeRoutingSnapshot;
3555
3534
  updateCertificate: ABTNodeClient.ResponseUpdateNginxHttpsCert;
3556
3535
  addCertificate: ABTNodeClient.ResponseAddNginxHttpsCert;
3557
3536
  deleteCertificate: ABTNodeClient.ResponseDeleteNginxHttpsCert;
@@ -3968,8 +3947,6 @@ declare namespace ABTNodeClient {
3968
3947
  getNotificationComponents: ABTNodeClient.ResponseNotificationComponents;
3969
3948
  resendNotification: ABTNodeClient.ResponseResendNotification;
3970
3949
  getRoutingSites: ABTNodeClient.ResponseGetRoutingSites;
3971
- getRoutingSnapshots: ABTNodeClient.ResponseGetRoutingSnapshots;
3972
- getSnapshotSites: ABTNodeClient.ResponseGetSnapshotSites;
3973
3950
  getRoutingProviders: ABTNodeClient.ResponseGetRoutingProviders;
3974
3951
  isDidDomain: ABTNodeClient.ResponseIsDidDomain;
3975
3952
  getCertificates: ABTNodeClient.ResponseGetCertificates;
@@ -4331,6 +4308,7 @@ declare namespace ABTNodeClient {
4331
4308
  interface ResponseGetBlocklets {
4332
4309
  code: ABTNodeClient.StatusCode;
4333
4310
  blocklets: ABTNodeClient.BlockletState[];
4311
+ paging: ABTNodeClient.Paging;
4334
4312
  }
4335
4313
 
4336
4314
  interface ResponseGetCertificates {
@@ -4429,11 +4407,6 @@ declare namespace ABTNodeClient {
4429
4407
  sites: ABTNodeClient.RoutingSite[];
4430
4408
  }
4431
4409
 
4432
- interface ResponseGetRoutingSnapshots {
4433
- code: ABTNodeClient.StatusCode;
4434
- snapshots: ABTNodeClient.RoutingSnapshot[];
4435
- }
4436
-
4437
4410
  interface ResponseGetSelectedResources {
4438
4411
  code: ABTNodeClient.StatusCode;
4439
4412
  resources: string[];
@@ -4444,11 +4417,6 @@ declare namespace ABTNodeClient {
4444
4417
  session: Record<string, any>;
4445
4418
  }
4446
4419
 
4447
- interface ResponseGetSnapshotSites {
4448
- code: ABTNodeClient.StatusCode;
4449
- sites: ABTNodeClient.RoutingSite[];
4450
- }
4451
-
4452
4420
  interface ResponseGetTrafficInsights {
4453
4421
  code: ABTNodeClient.StatusCode;
4454
4422
  list: ABTNodeClient.TrafficInsight[];
@@ -4654,11 +4622,6 @@ declare namespace ABTNodeClient {
4654
4622
  paging: ABTNodeClient.Paging;
4655
4623
  }
4656
4624
 
4657
- interface ResponseTakeRoutingSnapshot {
4658
- code: ABTNodeClient.StatusCode;
4659
- hash: string;
4660
- }
4661
-
4662
4625
  interface ResponseUpdateAccessKey {
4663
4626
  code: ABTNodeClient.StatusCode;
4664
4627
  data: ABTNodeClient.AccessKey;
@@ -4778,14 +4741,6 @@ declare namespace ABTNodeClient {
4778
4741
  corsAllowedOrigins: string[];
4779
4742
  }
4780
4743
 
4781
- interface RoutingSnapshot {
4782
- hash: string;
4783
- tree: string;
4784
- message: string;
4785
- author: string;
4786
- createdAt: number;
4787
- }
4788
-
4789
4744
  interface RuntimeInfo {
4790
4745
  pid: string;
4791
4746
  port: string;
@@ -5198,14 +5153,6 @@ declare namespace ABTNodeClient {
5198
5153
  input: ABTNodeClient.RequestGetRoutingSitesInput;
5199
5154
  }
5200
5155
 
5201
- interface GetRoutingSnapshotsParams {
5202
- input: ABTNodeClient.RequestGetRoutingSnapshotsInput;
5203
- }
5204
-
5205
- interface GetSnapshotSitesParams {
5206
- input: ABTNodeClient.RequestGetSnapshotSitesInput;
5207
- }
5208
-
5209
5156
  interface IsDidDomainParams {
5210
5157
  input: ABTNodeClient.RequestIsDidDomainInput;
5211
5158
  }
@@ -5467,7 +5414,7 @@ declare namespace ABTNodeClient {
5467
5414
  }
5468
5415
 
5469
5416
  interface InstallBlockletParams {
5470
- input: ABTNodeClient.RequestVersionedBlockletInput;
5417
+ input: ABTNodeClient.RequestInstallBlockletInput;
5471
5418
  }
5472
5419
 
5473
5420
  interface InstallComponentParams {
@@ -5634,10 +5581,6 @@ declare namespace ABTNodeClient {
5634
5581
  input: ABTNodeClient.NodeInfoInput;
5635
5582
  }
5636
5583
 
5637
- interface UpdateNodeRoutingParams {
5638
- input: ABTNodeClient.RequestNodeRoutingInput;
5639
- }
5640
-
5641
5584
  interface UpgradeNodeVersionParams {
5642
5585
  input: ABTNodeClient.RequestUpgradeNodeVersionInput;
5643
5586
  }
@@ -5846,10 +5789,6 @@ declare namespace ABTNodeClient {
5846
5789
  input: ABTNodeClient.RequestDeleteRoutingRuleInput;
5847
5790
  }
5848
5791
 
5849
- interface TakeRoutingSnapshotParams {
5850
- input: ABTNodeClient.RequestTakeRoutingSnapshotInput;
5851
- }
5852
-
5853
5792
  interface UpdateCertificateParams {
5854
5793
  input: ABTNodeClient.RequestUpdateNginxHttpsCertInput;
5855
5794
  }