@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/types.js CHANGED
@@ -30,8 +30,6 @@
30
30
  * // getNotificationComponents,
31
31
  * // resendNotification,
32
32
  * // getRoutingSites,
33
- * // getRoutingSnapshots,
34
- * // getSnapshotSites,
35
33
  * // getRoutingProviders,
36
34
  * // isDidDomain,
37
35
  * // getCertificates,
@@ -157,7 +155,6 @@
157
155
  * // updateAutoCheckUpdate,
158
156
  * // updateBlockletSettings,
159
157
  * // updateNodeInfo,
160
- * // updateNodeRouting,
161
158
  * // upgradeNodeVersion,
162
159
  * // restartServer,
163
160
  * // resetNode,
@@ -211,7 +208,6 @@
211
208
  * // addRoutingRule,
212
209
  * // updateRoutingRule,
213
210
  * // deleteRoutingRule,
214
- * // takeRoutingSnapshot,
215
211
  * // updateCertificate,
216
212
  * // addCertificate,
217
213
  * // deleteCertificate,
@@ -1180,6 +1176,7 @@
1180
1176
  * @typedef {object} ABTNodeClient.RequestConfigAuthenticationInput
1181
1177
  * @property {string} did
1182
1178
  * @property {string} authentication
1179
+ * @property {string} oauth
1183
1180
  */
1184
1181
 
1185
1182
  /**
@@ -1813,6 +1810,10 @@
1813
1810
  * @typedef {object} ABTNodeClient.RequestGetBlockletsInput
1814
1811
  * @property {boolean} useCache
1815
1812
  * @property {boolean} includeRuntimeInfo
1813
+ * @property {...ABTNodeClient.PagingInput} paging
1814
+ * @property {string} search
1815
+ * @property {boolean} external
1816
+ * @property {...ABTNodeClient.SortInput} sort
1816
1817
  */
1817
1818
 
1818
1819
  /**
@@ -1947,14 +1948,6 @@
1947
1948
  * @property {string} snapshotHash
1948
1949
  */
1949
1950
 
1950
- /**
1951
- * Structure of ABTNodeClient.RequestGetRoutingSnapshotsInput
1952
- *
1953
- * @memberof ABTNodeClient
1954
- * @typedef {object} ABTNodeClient.RequestGetRoutingSnapshotsInput
1955
- * @property {number} limit
1956
- */
1957
-
1958
1951
  /**
1959
1952
  * Structure of ABTNodeClient.RequestGetSelectedResourcesInput
1960
1953
  *
@@ -1974,14 +1967,6 @@
1974
1967
  * @property {string} id
1975
1968
  */
1976
1969
 
1977
- /**
1978
- * Structure of ABTNodeClient.RequestGetSnapshotSitesInput
1979
- *
1980
- * @memberof ABTNodeClient
1981
- * @typedef {object} ABTNodeClient.RequestGetSnapshotSitesInput
1982
- * @property {string} hash
1983
- */
1984
-
1985
1970
  /**
1986
1971
  * Structure of ABTNodeClient.RequestGetTrafficInsightsInput
1987
1972
  *
@@ -2041,6 +2026,25 @@
2041
2026
  * @property {string} permission
2042
2027
  */
2043
2028
 
2029
+ /**
2030
+ * Structure of ABTNodeClient.RequestInstallBlockletInput
2031
+ *
2032
+ * @memberof ABTNodeClient
2033
+ * @typedef {object} ABTNodeClient.RequestInstallBlockletInput
2034
+ * @property {string} type
2035
+ * @property {string} did
2036
+ * @property {string} storeUrl
2037
+ * @property {string} url
2038
+ * @property {undefined} file
2039
+ * @property {string} diffVersion
2040
+ * @property {Array<...ABTNodeClient.null>} deleteSet
2041
+ * @property {string} title
2042
+ * @property {string} description
2043
+ * @property {boolean} startImmediately
2044
+ * @property {string} appSk
2045
+ * @property {Array<...ABTNodeClient.null>} downloadTokenList
2046
+ */
2047
+
2044
2048
  /**
2045
2049
  * Structure of ABTNodeClient.RequestInstallComponentInput
2046
2050
  *
@@ -2205,16 +2209,6 @@
2205
2209
  * @property {Array<...ABTNodeClient.null>} resourceIds
2206
2210
  */
2207
2211
 
2208
- /**
2209
- * Structure of ABTNodeClient.RequestNodeRoutingInput
2210
- *
2211
- * @memberof ABTNodeClient
2212
- * @typedef {object} ABTNodeClient.RequestNodeRoutingInput
2213
- * @property {string} provider
2214
- * @property {string} snapshotHash
2215
- * @property {boolean} forceRepopulate
2216
- */
2217
-
2218
2212
  /**
2219
2213
  * Structure of ABTNodeClient.RequestNodeRuntimeHistoryInput
2220
2214
  *
@@ -2517,15 +2511,6 @@
2517
2511
  * @property {...ABTNodeClient.PagingInput} paging
2518
2512
  */
2519
2513
 
2520
- /**
2521
- * Structure of ABTNodeClient.RequestTakeRoutingSnapshotInput
2522
- *
2523
- * @memberof ABTNodeClient
2524
- * @typedef {object} ABTNodeClient.RequestTakeRoutingSnapshotInput
2525
- * @property {boolean} dryRun
2526
- * @property {string} message
2527
- */
2528
-
2529
2514
  /**
2530
2515
  * Structure of ABTNodeClient.RequestTeamPermissionInput
2531
2516
  *
@@ -2895,24 +2880,6 @@
2895
2880
  * @property {string} did
2896
2881
  */
2897
2882
 
2898
- /**
2899
- * Structure of ABTNodeClient.RequestVersionedBlockletInput
2900
- *
2901
- * @memberof ABTNodeClient
2902
- * @typedef {object} ABTNodeClient.RequestVersionedBlockletInput
2903
- * @property {string} type
2904
- * @property {string} did
2905
- * @property {string} storeUrl
2906
- * @property {string} url
2907
- * @property {undefined} file
2908
- * @property {string} diffVersion
2909
- * @property {Array<...ABTNodeClient.null>} deleteSet
2910
- * @property {string} title
2911
- * @property {string} description
2912
- * @property {boolean} startImmediately
2913
- * @property {Array<...ABTNodeClient.null>} downloadTokenList
2914
- */
2915
-
2916
2883
  /**
2917
2884
  * Structure of ABTNodeClient.RoleUpdateInput
2918
2885
  *
@@ -2993,6 +2960,15 @@
2993
2960
  * @property {boolean} enableBlacklist
2994
2961
  */
2995
2962
 
2963
+ /**
2964
+ * Structure of ABTNodeClient.SortInput
2965
+ *
2966
+ * @memberof ABTNodeClient
2967
+ * @typedef {object} ABTNodeClient.SortInput
2968
+ * @property {string} field
2969
+ * @property {string} direction
2970
+ */
2971
+
2996
2972
  /**
2997
2973
  * Structure of ABTNodeClient.SpaceGatewayInput
2998
2974
  *
@@ -3906,6 +3882,7 @@
3906
3882
  * @property {...ABTNodeClient.AigneConfig} aigne
3907
3883
  * @property {...ABTNodeClient.OrgSettings} org
3908
3884
  * @property {any} didConnect
3885
+ * @property {any} oauth
3909
3886
  */
3910
3887
 
3911
3888
  /**
@@ -4563,7 +4540,6 @@
4563
4540
  * @property {...ABTNodeClient.GeneralResponse} updateAutoCheckUpdate
4564
4541
  * @property {...ABTNodeClient.GeneralResponse} updateBlockletSettings
4565
4542
  * @property {...ABTNodeClient.ResponseGetNodeInfo} updateNodeInfo
4566
- * @property {...ABTNodeClient.ResponseGetNodeInfo} updateNodeRouting
4567
4543
  * @property {...ABTNodeClient.ResponseUpgradeNodeVersion} upgradeNodeVersion
4568
4544
  * @property {...ABTNodeClient.ResponseRestartServer} restartServer
4569
4545
  * @property {...ABTNodeClient.ResponseResetNode} resetNode
@@ -4617,7 +4593,6 @@
4617
4593
  * @property {...ABTNodeClient.ResponseRoutingSite} addRoutingRule
4618
4594
  * @property {...ABTNodeClient.ResponseRoutingSite} updateRoutingRule
4619
4595
  * @property {...ABTNodeClient.ResponseRoutingSite} deleteRoutingRule
4620
- * @property {...ABTNodeClient.ResponseTakeRoutingSnapshot} takeRoutingSnapshot
4621
4596
  * @property {...ABTNodeClient.ResponseUpdateNginxHttpsCert} updateCertificate
4622
4597
  * @property {...ABTNodeClient.ResponseAddNginxHttpsCert} addCertificate
4623
4598
  * @property {...ABTNodeClient.ResponseDeleteNginxHttpsCert} deleteCertificate
@@ -5150,8 +5125,6 @@
5150
5125
  * @property {...ABTNodeClient.ResponseNotificationComponents} getNotificationComponents
5151
5126
  * @property {...ABTNodeClient.ResponseResendNotification} resendNotification
5152
5127
  * @property {...ABTNodeClient.ResponseGetRoutingSites} getRoutingSites
5153
- * @property {...ABTNodeClient.ResponseGetRoutingSnapshots} getRoutingSnapshots
5154
- * @property {...ABTNodeClient.ResponseGetSnapshotSites} getSnapshotSites
5155
5128
  * @property {...ABTNodeClient.ResponseGetRoutingProviders} getRoutingProviders
5156
5129
  * @property {...ABTNodeClient.ResponseIsDidDomain} isDidDomain
5157
5130
  * @property {...ABTNodeClient.ResponseGetCertificates} getCertificates
@@ -5988,6 +5961,7 @@
5988
5961
  * @typedef {object} ABTNodeClient.ResponseGetBlocklets
5989
5962
  * @property {...ABTNodeClient.StatusCode} code
5990
5963
  * @property {Array<...ABTNodeClient.null>} blocklets
5964
+ * @property {...ABTNodeClient.Paging} paging
5991
5965
  */
5992
5966
 
5993
5967
  /**
@@ -6166,15 +6140,6 @@
6166
6140
  * @property {Array<...ABTNodeClient.null>} sites
6167
6141
  */
6168
6142
 
6169
- /**
6170
- * Structure of ABTNodeClient.ResponseGetRoutingSnapshots
6171
- *
6172
- * @memberof ABTNodeClient
6173
- * @typedef {object} ABTNodeClient.ResponseGetRoutingSnapshots
6174
- * @property {...ABTNodeClient.StatusCode} code
6175
- * @property {Array<...ABTNodeClient.null>} snapshots
6176
- */
6177
-
6178
6143
  /**
6179
6144
  * Structure of ABTNodeClient.ResponseGetSelectedResources
6180
6145
  *
@@ -6200,15 +6165,6 @@
6200
6165
  * @property {any} session
6201
6166
  */
6202
6167
 
6203
- /**
6204
- * Structure of ABTNodeClient.ResponseGetSnapshotSites
6205
- *
6206
- * @memberof ABTNodeClient
6207
- * @typedef {object} ABTNodeClient.ResponseGetSnapshotSites
6208
- * @property {...ABTNodeClient.StatusCode} code
6209
- * @property {Array<...ABTNodeClient.null>} sites
6210
- */
6211
-
6212
6168
  /**
6213
6169
  * Structure of ABTNodeClient.ResponseGetTrafficInsights
6214
6170
  *
@@ -6710,23 +6666,6 @@
6710
6666
  * @property {...ABTNodeClient.Paging} paging
6711
6667
  */
6712
6668
 
6713
- /**
6714
- * Structure of ABTNodeClient.ResponseTakeRoutingSnapshot
6715
- *
6716
- * Checkout the following snippet for the format of ResponseTakeRoutingSnapshot:
6717
- * ```json
6718
- {
6719
- "code": "ok",
6720
- "hash": "abc"
6721
- }
6722
- * ```
6723
- *
6724
- * @memberof ABTNodeClient
6725
- * @typedef {object} ABTNodeClient.ResponseTakeRoutingSnapshot
6726
- * @property {...ABTNodeClient.StatusCode} code
6727
- * @property {string} hash
6728
- */
6729
-
6730
6669
  /**
6731
6670
  * Structure of ABTNodeClient.ResponseUpdateAccessKey
6732
6671
  *
@@ -6971,18 +6910,6 @@
6971
6910
  * @property {Array<...ABTNodeClient.null>} corsAllowedOrigins
6972
6911
  */
6973
6912
 
6974
- /**
6975
- * Structure of ABTNodeClient.RoutingSnapshot
6976
- *
6977
- * @memberof ABTNodeClient
6978
- * @typedef {object} ABTNodeClient.RoutingSnapshot
6979
- * @property {string} hash
6980
- * @property {string} tree
6981
- * @property {string} message
6982
- * @property {string} author
6983
- * @property {number} createdAt
6984
- */
6985
-
6986
6913
  /**
6987
6914
  * Structure of ABTNodeClient.RuntimeInfo
6988
6915
  *
@@ -7674,32 +7601,6 @@
7674
7601
  * @property {...ABTNodeClient.RequestGetRoutingSitesInput} input
7675
7602
  */
7676
7603
 
7677
- /**
7678
- * Structure of ABTNodeClient.GetRoutingSnapshotsParams
7679
- *
7680
- * Checkout the following snippet for the format of GetRoutingSnapshotsParams:
7681
- * ```json
7682
- {}
7683
- * ```
7684
- *
7685
- * @memberof ABTNodeClient
7686
- * @typedef {object} ABTNodeClient.GetRoutingSnapshotsParams
7687
- * @property {...ABTNodeClient.RequestGetRoutingSnapshotsInput} input
7688
- */
7689
-
7690
- /**
7691
- * Structure of ABTNodeClient.GetSnapshotSitesParams
7692
- *
7693
- * Checkout the following snippet for the format of GetSnapshotSitesParams:
7694
- * ```json
7695
- {}
7696
- * ```
7697
- *
7698
- * @memberof ABTNodeClient
7699
- * @typedef {object} ABTNodeClient.GetSnapshotSitesParams
7700
- * @property {...ABTNodeClient.RequestGetSnapshotSitesInput} input
7701
- */
7702
-
7703
7604
  /**
7704
7605
  * Structure of ABTNodeClient.IsDidDomainParams
7705
7606
  *
@@ -8555,7 +8456,7 @@
8555
8456
  *
8556
8457
  * @memberof ABTNodeClient
8557
8458
  * @typedef {object} ABTNodeClient.InstallBlockletParams
8558
- * @property {...ABTNodeClient.RequestVersionedBlockletInput} input
8459
+ * @property {...ABTNodeClient.RequestInstallBlockletInput} input
8559
8460
  */
8560
8461
 
8561
8462
  /**
@@ -9091,19 +8992,6 @@
9091
8992
  * @property {...ABTNodeClient.NodeInfoInput} input
9092
8993
  */
9093
8994
 
9094
- /**
9095
- * Structure of ABTNodeClient.UpdateNodeRoutingParams
9096
- *
9097
- * Checkout the following snippet for the format of UpdateNodeRoutingParams:
9098
- * ```json
9099
- {}
9100
- * ```
9101
- *
9102
- * @memberof ABTNodeClient
9103
- * @typedef {object} ABTNodeClient.UpdateNodeRoutingParams
9104
- * @property {...ABTNodeClient.RequestNodeRoutingInput} input
9105
- */
9106
-
9107
8995
  /**
9108
8996
  * Structure of ABTNodeClient.UpgradeNodeVersionParams
9109
8997
  *
@@ -9780,19 +9668,6 @@
9780
9668
  * @property {...ABTNodeClient.RequestDeleteRoutingRuleInput} input
9781
9669
  */
9782
9670
 
9783
- /**
9784
- * Structure of ABTNodeClient.TakeRoutingSnapshotParams
9785
- *
9786
- * Checkout the following snippet for the format of TakeRoutingSnapshotParams:
9787
- * ```json
9788
- {}
9789
- * ```
9790
- *
9791
- * @memberof ABTNodeClient
9792
- * @typedef {object} ABTNodeClient.TakeRoutingSnapshotParams
9793
- * @property {...ABTNodeClient.RequestTakeRoutingSnapshotInput} input
9794
- */
9795
-
9796
9671
  /**
9797
9672
  * Structure of ABTNodeClient.UpdateCertificateParams
9798
9673
  *
@@ -10647,26 +10522,6 @@
10647
10522
  * @returns {Promise<ABTNodeClient.ResponseGetRoutingSites>} Checkout {@link ABTNodeClient.ResponseGetRoutingSites} for resolved data format
10648
10523
  */
10649
10524
 
10650
- /**
10651
- * getRoutingSnapshots
10652
- *
10653
- * @name ABTNodeClient#getRoutingSnapshots
10654
- * @param {ABTNodeClient.GetRoutingSnapshotsParams} params
10655
- * @function
10656
- * @memberof ABTNodeClient
10657
- * @returns {Promise<ABTNodeClient.ResponseGetRoutingSnapshots>} Checkout {@link ABTNodeClient.ResponseGetRoutingSnapshots} for resolved data format
10658
- */
10659
-
10660
- /**
10661
- * getSnapshotSites
10662
- *
10663
- * @name ABTNodeClient#getSnapshotSites
10664
- * @param {ABTNodeClient.GetSnapshotSitesParams} params
10665
- * @function
10666
- * @memberof ABTNodeClient
10667
- * @returns {Promise<ABTNodeClient.ResponseGetSnapshotSites>} Checkout {@link ABTNodeClient.ResponseGetSnapshotSites} for resolved data format
10668
- */
10669
-
10670
10525
  /**
10671
10526
  * getRoutingProviders
10672
10527
  *
@@ -11773,16 +11628,6 @@
11773
11628
  * @returns {Promise<ABTNodeClient.ResponseGetNodeInfo>} Checkout {@link ABTNodeClient.ResponseGetNodeInfo} for resolved data format
11774
11629
  */
11775
11630
 
11776
- /**
11777
- * updateNodeRouting
11778
- *
11779
- * @name ABTNodeClient#updateNodeRouting
11780
- * @param {ABTNodeClient.UpdateNodeRoutingParams} params
11781
- * @function
11782
- * @memberof ABTNodeClient
11783
- * @returns {Promise<ABTNodeClient.ResponseGetNodeInfo>} Checkout {@link ABTNodeClient.ResponseGetNodeInfo} for resolved data format
11784
- */
11785
-
11786
11631
  /**
11787
11632
  * upgradeNodeVersion
11788
11633
  *
@@ -12312,16 +12157,6 @@
12312
12157
  * @returns {Promise<ABTNodeClient.ResponseRoutingSite>} Checkout {@link ABTNodeClient.ResponseRoutingSite} for resolved data format
12313
12158
  */
12314
12159
 
12315
- /**
12316
- * takeRoutingSnapshot
12317
- *
12318
- * @name ABTNodeClient#takeRoutingSnapshot
12319
- * @param {ABTNodeClient.TakeRoutingSnapshotParams} params
12320
- * @function
12321
- * @memberof ABTNodeClient
12322
- * @returns {Promise<ABTNodeClient.ResponseTakeRoutingSnapshot>} Checkout {@link ABTNodeClient.ResponseTakeRoutingSnapshot} for resolved data format
12323
- */
12324
-
12325
12160
  /**
12326
12161
  * updateCertificate
12327
12162
  *