@abtnode/schema 1.8.51 → 1.8.52

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/index.js CHANGED
@@ -11,6 +11,8 @@ scalar Int64
11
11
 
12
12
  scalar Uint32
13
13
 
14
+ scalar Uint64
15
+
14
16
  input BlockletControllerInput {
15
17
  id: String
16
18
  nftId: String
@@ -156,6 +158,11 @@ input RequestBlockletMetaFromUrlInput {
156
158
  checkPrice: Boolean
157
159
  }
158
160
 
161
+ input RequestBlockletRuntimeHistoryInput {
162
+ did: String
163
+ hours: Uint32
164
+ }
165
+
159
166
  input RequestChangeBlockletStoreInput {
160
167
  teamDid: String
161
168
  url: String
@@ -395,6 +402,10 @@ input RequestNodeRoutingInput {
395
402
  forceRepopulate: Boolean
396
403
  }
397
404
 
405
+ input RequestNodeRuntimeHistoryInput {
406
+ hours: Uint32
407
+ }
408
+
398
409
  input RequestReadNotificationsInput {
399
410
  id: String
400
411
  }
@@ -716,6 +727,12 @@ type BlockletEngine {
716
727
  visible: Boolean
717
728
  }
718
729
 
730
+ type BlockletHistoryItem {
731
+ date: Uint64
732
+ cpu: Uint64
733
+ mem: Uint64
734
+ }
735
+
719
736
  type BlockletMeta {
720
737
  did: String
721
738
  name: String
@@ -824,6 +841,7 @@ type BlockletState {
824
841
  configs: [ConfigEntry!]
825
842
  diskInfo: DiskInfo
826
843
  runtimeInfo: RuntimeInfo
844
+ appRuntimeInfo: RuntimeInfo
827
845
  source: BlockletSource
828
846
  deployedFrom: String
829
847
  bundleSource: Any
@@ -1069,6 +1087,15 @@ type NodeEnvInfo {
1069
1087
  disk: DiskInfo
1070
1088
  }
1071
1089
 
1090
+ type NodeHistoryItem {
1091
+ date: Uint64
1092
+ cpu: Uint64
1093
+ mem: Uint64
1094
+ daemonMem: Uint64
1095
+ serviceMem: Uint64
1096
+ dbMem: Uint64
1097
+ }
1098
+
1072
1099
  type NodeRouting {
1073
1100
  provider: String
1074
1101
  snapshotHash: String
@@ -1221,6 +1248,11 @@ type ResponseBlockletMetaFromUrl {
1221
1248
  registryUrl: String
1222
1249
  }
1223
1250
 
1251
+ type ResponseBlockletRuntimeHistory {
1252
+ code: StatusCode
1253
+ history: [BlockletHistoryItem!]
1254
+ }
1255
+
1224
1256
  type ResponseCheckComponentsForUpdates {
1225
1257
  code: StatusCode
1226
1258
  preUpdateInfo: BlockletPreUpdateInfo
@@ -1369,6 +1401,11 @@ type ResponseLatestBlockletVersion {
1369
1401
  data: LatestBlockletVersion
1370
1402
  }
1371
1403
 
1404
+ type ResponseNodeRuntimeHistory {
1405
+ code: StatusCode
1406
+ history: [NodeHistoryItem!]
1407
+ }
1408
+
1372
1409
  type ResponsePermission {
1373
1410
  code: StatusCode
1374
1411
  permission: Permission
@@ -1725,11 +1762,13 @@ type Query {
1725
1762
  getBlockletDiff(input: RequestBlockletDiffInput): ResponseBlockletDiff
1726
1763
  getBlocklets(input: RequestGetBlockletsInput): ResponseGetBlocklets
1727
1764
  getLatestBlockletVersion(input: RequestLatestBlockletVersionInput): ResponseLatestBlockletVersion
1765
+ getBlockletRuntimeHistory(input: RequestBlockletRuntimeHistoryInput): ResponseBlockletRuntimeHistory
1728
1766
  getNodeInfo: ResponseGetNodeInfo
1729
1767
  resetNodeStatus: ResponseGetNodeInfo
1730
1768
  getNodeEnv: ResponseGetNodeEnv
1731
1769
  checkNodeVersion: ResponseCheckNodeVersion
1732
1770
  getDelegationState: ResponseDelegationState
1771
+ getNodeRuntimeHistory(input: RequestNodeRuntimeHistoryInput): ResponseNodeRuntimeHistory
1733
1772
  getBlockletMeta(input: RequestBlockletInput): ResponseBlockletMeta
1734
1773
  getNotifications(input: RequestGetNotificationsInput): ResponseGetNotifications
1735
1774
  getRoutingSites(input: RequestGetRoutingSitesInput): ResponseGetRoutingSites
@@ -11,6 +11,8 @@ scalar Int64
11
11
 
12
12
  scalar Uint32
13
13
 
14
+ scalar Uint64
15
+
14
16
  input BlockletControllerInput {
15
17
  id: String
16
18
  nftId: String
@@ -156,6 +158,11 @@ input RequestBlockletMetaFromUrlInput {
156
158
  checkPrice: Boolean
157
159
  }
158
160
 
161
+ input RequestBlockletRuntimeHistoryInput {
162
+ did: String
163
+ hours: Uint32
164
+ }
165
+
159
166
  input RequestChangeBlockletStoreInput {
160
167
  teamDid: String
161
168
  url: String
@@ -395,6 +402,10 @@ input RequestNodeRoutingInput {
395
402
  forceRepopulate: Boolean
396
403
  }
397
404
 
405
+ input RequestNodeRuntimeHistoryInput {
406
+ hours: Uint32
407
+ }
408
+
398
409
  input RequestReadNotificationsInput {
399
410
  id: String
400
411
  }
@@ -716,6 +727,12 @@ type BlockletEngine {
716
727
  visible: Boolean
717
728
  }
718
729
 
730
+ type BlockletHistoryItem {
731
+ date: Uint64
732
+ cpu: Uint64
733
+ mem: Uint64
734
+ }
735
+
719
736
  type BlockletMeta {
720
737
  did: String
721
738
  name: String
@@ -824,6 +841,7 @@ type BlockletState {
824
841
  configs: [ConfigEntry!]
825
842
  diskInfo: DiskInfo
826
843
  runtimeInfo: RuntimeInfo
844
+ appRuntimeInfo: RuntimeInfo
827
845
  source: BlockletSource
828
846
  deployedFrom: String
829
847
  bundleSource: Any
@@ -1069,6 +1087,15 @@ type NodeEnvInfo {
1069
1087
  disk: DiskInfo
1070
1088
  }
1071
1089
 
1090
+ type NodeHistoryItem {
1091
+ date: Uint64
1092
+ cpu: Uint64
1093
+ mem: Uint64
1094
+ daemonMem: Uint64
1095
+ serviceMem: Uint64
1096
+ dbMem: Uint64
1097
+ }
1098
+
1072
1099
  type NodeRouting {
1073
1100
  provider: String
1074
1101
  snapshotHash: String
@@ -1221,6 +1248,11 @@ type ResponseBlockletMetaFromUrl {
1221
1248
  registryUrl: String
1222
1249
  }
1223
1250
 
1251
+ type ResponseBlockletRuntimeHistory {
1252
+ code: StatusCode
1253
+ history: [BlockletHistoryItem!]
1254
+ }
1255
+
1224
1256
  type ResponseCheckComponentsForUpdates {
1225
1257
  code: StatusCode
1226
1258
  preUpdateInfo: BlockletPreUpdateInfo
@@ -1369,6 +1401,11 @@ type ResponseLatestBlockletVersion {
1369
1401
  data: LatestBlockletVersion
1370
1402
  }
1371
1403
 
1404
+ type ResponseNodeRuntimeHistory {
1405
+ code: StatusCode
1406
+ history: [NodeHistoryItem!]
1407
+ }
1408
+
1372
1409
  type ResponsePermission {
1373
1410
  code: StatusCode
1374
1411
  permission: Permission
@@ -1727,11 +1764,13 @@ type Query {
1727
1764
  getBlockletDiff(input: RequestBlockletDiffInput): ResponseBlockletDiff
1728
1765
  getBlocklets(input: RequestGetBlockletsInput): ResponseGetBlocklets
1729
1766
  getLatestBlockletVersion(input: RequestLatestBlockletVersionInput): ResponseLatestBlockletVersion
1767
+ getBlockletRuntimeHistory(input: RequestBlockletRuntimeHistoryInput): ResponseBlockletRuntimeHistory
1730
1768
  getNodeInfo: ResponseGetNodeInfo
1731
1769
  resetNodeStatus: ResponseGetNodeInfo
1732
1770
  getNodeEnv: ResponseGetNodeEnv
1733
1771
  checkNodeVersion: ResponseCheckNodeVersion
1734
1772
  getDelegationState: ResponseDelegationState
1773
+ getNodeRuntimeHistory(input: RequestNodeRuntimeHistoryInput): ResponseNodeRuntimeHistory
1735
1774
  getBlockletMeta(input: RequestBlockletInput): ResponseBlockletMeta
1736
1775
  getNotifications(input: RequestGetNotificationsInput): ResponseGetNotifications
1737
1776
  getRoutingSites(input: RequestGetRoutingSitesInput): ResponseGetRoutingSites
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.8.51",
6
+ "version": "1.8.52",
7
7
  "description": "",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -13,7 +13,7 @@
13
13
  "keywords": [],
14
14
  "author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
15
15
  "license": "MIT",
16
- "gitHead": "30e929da51edaa22104c4de4e3d1661d790c578c",
16
+ "gitHead": "80217320b7cbd8c815172f8a985584586c32e858",
17
17
  "devDependencies": {
18
18
  "@wangshijun/ts-protoc-gen": "^0.16.2"
19
19
  }