@abtnode/schema 1.8.69-beta-54faead3 → 1.8.69-beta-76f8a46f

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
@@ -62,6 +62,11 @@ input ConfigNavigationInput {
62
62
  from: String
63
63
  }
64
64
 
65
+ input DownloadTokenInput {
66
+ did: String
67
+ token: String
68
+ }
69
+
65
70
  input HashFileInput {
66
71
  file: String
67
72
  hash: String
@@ -145,14 +150,11 @@ input RequestBackupToSpacesInput {
145
150
 
146
151
  input RequestBlockletInput {
147
152
  did: String
148
- storeUrl: String
149
- attachRuntimeInfo: Boolean
150
153
  }
151
154
 
152
- input RequestBlockletBundleInput {
155
+ input RequestBlockletDetailInput {
153
156
  did: String
154
- name: String
155
- serverlessNftId: String
157
+ attachRuntimeInfo: Boolean
156
158
  }
157
159
 
158
160
  input RequestBlockletDiffInput {
@@ -161,6 +163,15 @@ input RequestBlockletDiffInput {
161
163
  rootDid: String
162
164
  }
163
165
 
166
+ input RequestBlockletForLauncherInput {
167
+ did: String
168
+ }
169
+
170
+ input RequestBlockletMetaInput {
171
+ did: String
172
+ storeUrl: String
173
+ }
174
+
164
175
  input RequestBlockletMetaFromUrlInput {
165
176
  url: String
166
177
  checkPrice: Boolean
@@ -390,11 +401,6 @@ input RequestIssuePassportToUserInput {
390
401
  role: String
391
402
  }
392
403
 
393
- input RequestLatestBlockletVersionInput {
394
- did: String
395
- version: String
396
- }
397
-
398
404
  input RequestLimitInput {
399
405
  enabled: Boolean
400
406
  rate: Uint32
@@ -534,11 +540,6 @@ input RequestUpdateWhoCanAccessInput {
534
540
  whoCanAccess: String
535
541
  }
536
542
 
537
- input RequestUpgradeBlockletInput {
538
- did: String
539
- storeUrl: String
540
- }
541
-
542
543
  input RequestUsersInput {
543
544
  teamDid: String
544
545
  query: UserQueryInput
@@ -566,6 +567,11 @@ input RequsetDeleteInvitationInput {
566
567
  inviteId: String
567
568
  }
568
569
 
570
+ input RequsetMigrateApplicationToStructV2Input {
571
+ did: String
572
+ appSk: String
573
+ }
574
+
569
575
  input RoleInput {
570
576
  name: String
571
577
  description: String
@@ -664,11 +670,6 @@ input WebHookParamInput {
664
670
  type: String
665
671
  }
666
672
 
667
- input DownloadTokenInput {
668
- did: String
669
- token: String
670
- }
671
-
672
673
  type AccessKey {
673
674
  accessKeyId: String
674
675
  remark: String
@@ -883,6 +884,7 @@ type BlockletState {
883
884
  migratedFrom: [BlockletMigrateRecord!]
884
885
  appPid: String
885
886
  externalSk: Boolean
887
+ structVersion: String
886
888
  }
887
889
 
888
890
  type BlockletStats {
@@ -963,6 +965,7 @@ type ComponentState {
963
965
  children: [ComponentState!]
964
966
  dynamic: Boolean
965
967
  mountPoint: String
968
+ dependents: [Dependent!]
966
969
  }
967
970
 
968
971
  type ConfigEntry {
@@ -1020,6 +1023,11 @@ type DeletedBlockletState {
1020
1023
  deletedAt: String
1021
1024
  }
1022
1025
 
1026
+ type Dependent {
1027
+ id: String
1028
+ required: Boolean
1029
+ }
1030
+
1023
1031
  type DiskInfo {
1024
1032
  app: Float32
1025
1033
  data: Float32
@@ -1082,12 +1090,6 @@ type KeyValue {
1082
1090
  value: Any
1083
1091
  }
1084
1092
 
1085
- type LatestBlockletVersion {
1086
- did: String
1087
- version: String
1088
- registryUrl: String
1089
- }
1090
-
1091
1093
  type LauncherInfo {
1092
1094
  did: String
1093
1095
  type: String
@@ -1254,10 +1256,9 @@ type ResponseBlockletDiff {
1254
1256
  blockletDiff: BlockletDiff
1255
1257
  }
1256
1258
 
1257
- type ResponseBlockletInfo {
1259
+ type ResponseBlockletForLauncher {
1258
1260
  code: StatusCode
1259
- blockletDid: String
1260
- isExternal: Boolean
1261
+ did: String
1261
1262
  isInstalled: Boolean
1262
1263
  isRunning: Boolean
1263
1264
  }
@@ -1419,11 +1420,6 @@ type ResponseGetUsersCountPerRole {
1419
1420
  counts: [KeyValue!]
1420
1421
  }
1421
1422
 
1422
- type ResponseLatestBlockletVersion {
1423
- code: StatusCode
1424
- data: LatestBlockletVersion
1425
- }
1426
-
1427
1423
  type ResponseNodeRuntimeHistory {
1428
1424
  code: StatusCode
1429
1425
  history: [NodeHistoryItem!]
@@ -1719,7 +1715,6 @@ type Mutation {
1719
1715
  deleteBlocklet(input: RequestDeleteBlockletInput): ResponseBlocklet
1720
1716
  deleteComponent(input: RequestDeleteComponentInput): ResponseBlocklet
1721
1717
  cancelDownloadBlocklet(input: RequestBlockletInput): ResponseBlocklet
1722
- upgradeBlocklet(input: RequestUpgradeBlockletInput): ResponseBlocklet
1723
1718
  checkComponentsForUpdates(input: RequestBlockletInput): ResponseCheckComponentsForUpdates
1724
1719
  upgradeComponents(input: RequestUpdateComponentsInput): ResponseBlocklet
1725
1720
  configBlocklet(input: RequestConfigBlockletInput): ResponseBlocklet
@@ -1730,6 +1725,7 @@ type Mutation {
1730
1725
  updateComponentMountPoint(input: RequestUpdateComponentMountPointInput): ResponseBlocklet
1731
1726
  backupToSpaces(input: RequestBackupToSpacesInput): GeneralResponse
1732
1727
  restoreFromSpaces(input: RequestRestoreFromSpacesInput): GeneralResponse
1728
+ migrateApplicationToStructV2(input: RequsetMigrateApplicationToStructV2Input): GeneralResponse
1733
1729
  updateNodeInfo(input: NodeInfoInput): ResponseGetNodeInfo
1734
1730
  updateNodeRouting(input: RequestNodeRoutingInput): ResponseGetNodeInfo
1735
1731
  upgradeNodeVersion: ResponseUpgradeNodeVersion
@@ -1787,12 +1783,11 @@ type Mutation {
1787
1783
  }
1788
1784
 
1789
1785
  type Query {
1790
- getBlocklet(input: RequestBlockletInput): ResponseBlocklet
1786
+ getBlocklet(input: RequestBlockletDetailInput): ResponseBlocklet
1791
1787
  getBlockletMetaFromUrl(input: RequestBlockletMetaFromUrlInput): ResponseBlockletMetaFromUrl
1792
- getBlockletByBundle(input: RequestBlockletBundleInput): ResponseBlockletInfo
1788
+ getBlockletForLauncher(input: RequestBlockletForLauncherInput): ResponseBlockletForLauncher
1793
1789
  getBlockletDiff(input: RequestBlockletDiffInput): ResponseBlockletDiff
1794
1790
  getBlocklets(input: RequestGetBlockletsInput): ResponseGetBlocklets
1795
- getLatestBlockletVersion(input: RequestLatestBlockletVersionInput): ResponseLatestBlockletVersion
1796
1791
  getBlockletRuntimeHistory(input: RequestBlockletRuntimeHistoryInput): ResponseBlockletRuntimeHistory
1797
1792
  getNodeInfo: ResponseGetNodeInfo
1798
1793
  resetNodeStatus: ResponseGetNodeInfo
@@ -1800,7 +1795,7 @@ type Query {
1800
1795
  checkNodeVersion: ResponseCheckNodeVersion
1801
1796
  getDelegationState: ResponseDelegationState
1802
1797
  getNodeRuntimeHistory(input: RequestNodeRuntimeHistoryInput): ResponseNodeRuntimeHistory
1803
- getBlockletMeta(input: RequestBlockletInput): ResponseBlockletMeta
1798
+ getBlockletMeta(input: RequestBlockletMetaInput): ResponseBlockletMeta
1804
1799
  getNotifications(input: RequestGetNotificationsInput): ResponseGetNotifications
1805
1800
  getRoutingSites(input: RequestGetRoutingSitesInput): ResponseGetRoutingSites
1806
1801
  getRoutingSnapshots(input: RequestGetRoutingSnapshotsInput): ResponseGetRoutingSnapshots
@@ -62,6 +62,11 @@ input ConfigNavigationInput {
62
62
  from: String
63
63
  }
64
64
 
65
+ input DownloadTokenInput {
66
+ did: String
67
+ token: String
68
+ }
69
+
65
70
  input HashFileInput {
66
71
  file: String
67
72
  hash: String
@@ -145,14 +150,11 @@ input RequestBackupToSpacesInput {
145
150
 
146
151
  input RequestBlockletInput {
147
152
  did: String
148
- storeUrl: String
149
- attachRuntimeInfo: Boolean
150
153
  }
151
154
 
152
- input RequestBlockletBundleInput {
155
+ input RequestBlockletDetailInput {
153
156
  did: String
154
- name: String
155
- serverlessNftId: String
157
+ attachRuntimeInfo: Boolean
156
158
  }
157
159
 
158
160
  input RequestBlockletDiffInput {
@@ -161,6 +163,15 @@ input RequestBlockletDiffInput {
161
163
  rootDid: String
162
164
  }
163
165
 
166
+ input RequestBlockletForLauncherInput {
167
+ did: String
168
+ }
169
+
170
+ input RequestBlockletMetaInput {
171
+ did: String
172
+ storeUrl: String
173
+ }
174
+
164
175
  input RequestBlockletMetaFromUrlInput {
165
176
  url: String
166
177
  checkPrice: Boolean
@@ -390,11 +401,6 @@ input RequestIssuePassportToUserInput {
390
401
  role: String
391
402
  }
392
403
 
393
- input RequestLatestBlockletVersionInput {
394
- did: String
395
- version: String
396
- }
397
-
398
404
  input RequestLimitInput {
399
405
  enabled: Boolean
400
406
  rate: Uint32
@@ -534,11 +540,6 @@ input RequestUpdateWhoCanAccessInput {
534
540
  whoCanAccess: String
535
541
  }
536
542
 
537
- input RequestUpgradeBlockletInput {
538
- did: String
539
- storeUrl: String
540
- }
541
-
542
543
  input RequestUsersInput {
543
544
  teamDid: String
544
545
  query: UserQueryInput
@@ -566,6 +567,11 @@ input RequsetDeleteInvitationInput {
566
567
  inviteId: String
567
568
  }
568
569
 
570
+ input RequsetMigrateApplicationToStructV2Input {
571
+ did: String
572
+ appSk: String
573
+ }
574
+
569
575
  input RoleInput {
570
576
  name: String
571
577
  description: String
@@ -664,11 +670,6 @@ input WebHookParamInput {
664
670
  type: String
665
671
  }
666
672
 
667
- input DownloadTokenInput {
668
- did: String
669
- token: String
670
- }
671
-
672
673
  type AccessKey {
673
674
  accessKeyId: String
674
675
  remark: String
@@ -883,6 +884,7 @@ type BlockletState {
883
884
  migratedFrom: [BlockletMigrateRecord!]
884
885
  appPid: String
885
886
  externalSk: Boolean
887
+ structVersion: String
886
888
  }
887
889
 
888
890
  type BlockletStats {
@@ -963,6 +965,7 @@ type ComponentState {
963
965
  children: [ComponentState!]
964
966
  dynamic: Boolean
965
967
  mountPoint: String
968
+ dependents: [Dependent!]
966
969
  }
967
970
 
968
971
  type ConfigEntry {
@@ -1020,6 +1023,11 @@ type DeletedBlockletState {
1020
1023
  deletedAt: String
1021
1024
  }
1022
1025
 
1026
+ type Dependent {
1027
+ id: String
1028
+ required: Boolean
1029
+ }
1030
+
1023
1031
  type DiskInfo {
1024
1032
  app: Float32
1025
1033
  data: Float32
@@ -1082,12 +1090,6 @@ type KeyValue {
1082
1090
  value: Any
1083
1091
  }
1084
1092
 
1085
- type LatestBlockletVersion {
1086
- did: String
1087
- version: String
1088
- registryUrl: String
1089
- }
1090
-
1091
1093
  type LauncherInfo {
1092
1094
  did: String
1093
1095
  type: String
@@ -1254,10 +1256,9 @@ type ResponseBlockletDiff {
1254
1256
  blockletDiff: BlockletDiff
1255
1257
  }
1256
1258
 
1257
- type ResponseBlockletInfo {
1259
+ type ResponseBlockletForLauncher {
1258
1260
  code: StatusCode
1259
- blockletDid: String
1260
- isExternal: Boolean
1261
+ did: String
1261
1262
  isInstalled: Boolean
1262
1263
  isRunning: Boolean
1263
1264
  }
@@ -1419,11 +1420,6 @@ type ResponseGetUsersCountPerRole {
1419
1420
  counts: [KeyValue!]
1420
1421
  }
1421
1422
 
1422
- type ResponseLatestBlockletVersion {
1423
- code: StatusCode
1424
- data: LatestBlockletVersion
1425
- }
1426
-
1427
1423
  type ResponseNodeRuntimeHistory {
1428
1424
  code: StatusCode
1429
1425
  history: [NodeHistoryItem!]
@@ -1721,7 +1717,6 @@ type Mutation {
1721
1717
  deleteBlocklet(input: RequestDeleteBlockletInput): ResponseBlocklet
1722
1718
  deleteComponent(input: RequestDeleteComponentInput): ResponseBlocklet
1723
1719
  cancelDownloadBlocklet(input: RequestBlockletInput): ResponseBlocklet
1724
- upgradeBlocklet(input: RequestUpgradeBlockletInput): ResponseBlocklet
1725
1720
  checkComponentsForUpdates(input: RequestBlockletInput): ResponseCheckComponentsForUpdates
1726
1721
  upgradeComponents(input: RequestUpdateComponentsInput): ResponseBlocklet
1727
1722
  configBlocklet(input: RequestConfigBlockletInput): ResponseBlocklet
@@ -1732,6 +1727,7 @@ type Mutation {
1732
1727
  updateComponentMountPoint(input: RequestUpdateComponentMountPointInput): ResponseBlocklet
1733
1728
  backupToSpaces(input: RequestBackupToSpacesInput): GeneralResponse
1734
1729
  restoreFromSpaces(input: RequestRestoreFromSpacesInput): GeneralResponse
1730
+ migrateApplicationToStructV2(input: RequsetMigrateApplicationToStructV2Input): GeneralResponse
1735
1731
  updateNodeInfo(input: NodeInfoInput): ResponseGetNodeInfo
1736
1732
  updateNodeRouting(input: RequestNodeRoutingInput): ResponseGetNodeInfo
1737
1733
  upgradeNodeVersion: ResponseUpgradeNodeVersion
@@ -1789,12 +1785,11 @@ type Mutation {
1789
1785
  }
1790
1786
 
1791
1787
  type Query {
1792
- getBlocklet(input: RequestBlockletInput): ResponseBlocklet
1788
+ getBlocklet(input: RequestBlockletDetailInput): ResponseBlocklet
1793
1789
  getBlockletMetaFromUrl(input: RequestBlockletMetaFromUrlInput): ResponseBlockletMetaFromUrl
1794
- getBlockletByBundle(input: RequestBlockletBundleInput): ResponseBlockletInfo
1790
+ getBlockletForLauncher(input: RequestBlockletForLauncherInput): ResponseBlockletForLauncher
1795
1791
  getBlockletDiff(input: RequestBlockletDiffInput): ResponseBlockletDiff
1796
1792
  getBlocklets(input: RequestGetBlockletsInput): ResponseGetBlocklets
1797
- getLatestBlockletVersion(input: RequestLatestBlockletVersionInput): ResponseLatestBlockletVersion
1798
1793
  getBlockletRuntimeHistory(input: RequestBlockletRuntimeHistoryInput): ResponseBlockletRuntimeHistory
1799
1794
  getNodeInfo: ResponseGetNodeInfo
1800
1795
  resetNodeStatus: ResponseGetNodeInfo
@@ -1802,7 +1797,7 @@ type Query {
1802
1797
  checkNodeVersion: ResponseCheckNodeVersion
1803
1798
  getDelegationState: ResponseDelegationState
1804
1799
  getNodeRuntimeHistory(input: RequestNodeRuntimeHistoryInput): ResponseNodeRuntimeHistory
1805
- getBlockletMeta(input: RequestBlockletInput): ResponseBlockletMeta
1800
+ getBlockletMeta(input: RequestBlockletMetaInput): ResponseBlockletMeta
1806
1801
  getNotifications(input: RequestGetNotificationsInput): ResponseGetNotifications
1807
1802
  getRoutingSites(input: RequestGetRoutingSitesInput): ResponseGetRoutingSites
1808
1803
  getRoutingSnapshots(input: RequestGetRoutingSnapshotsInput): ResponseGetRoutingSnapshots
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.8.69-beta-54faead3",
6
+ "version": "1.8.69-beta-76f8a46f",
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": "3dec0c85a77de5ba2d37c19ac769b126bfaafc86",
16
+ "gitHead": "07415e674443b85648ea80b734f7a3690abfc15e",
17
17
  "devDependencies": {
18
18
  "@wangshijun/ts-protoc-gen": "^0.16.2"
19
19
  }