@abtnode/schema 1.16.0-beta-8ee536d7 → 1.16.0-beta-62b42401
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 +38 -5
- package/lib/schema.graphqls +37 -4
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -144,8 +144,9 @@ input RequestAddRoutingSiteInput {
|
|
|
144
144
|
rules: [RoutingRuleInput!]
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
input
|
|
147
|
+
input RequestBackupBlockletInput {
|
|
148
148
|
appDid: String
|
|
149
|
+
to: BackupTo
|
|
149
150
|
}
|
|
150
151
|
|
|
151
152
|
input RequestBlockletInput {
|
|
@@ -202,6 +203,11 @@ input RequestConfigNavigationsInput {
|
|
|
202
203
|
navigations: [ConfigNavigationInput!]
|
|
203
204
|
}
|
|
204
205
|
|
|
206
|
+
input RequestConfigOAuthInput {
|
|
207
|
+
did: String
|
|
208
|
+
oauth: String
|
|
209
|
+
}
|
|
210
|
+
|
|
205
211
|
input RequestConfigPassportIssuanceInput {
|
|
206
212
|
teamDid: String
|
|
207
213
|
enable: Boolean
|
|
@@ -433,12 +439,13 @@ input RequestResetNodeInput {
|
|
|
433
439
|
invitations: Boolean
|
|
434
440
|
}
|
|
435
441
|
|
|
436
|
-
input
|
|
442
|
+
input RequestRestoreBlockletInput {
|
|
437
443
|
endpoint: String
|
|
438
444
|
appDid: String
|
|
439
445
|
delegation: String
|
|
440
446
|
password: Bytes
|
|
441
447
|
wallet: Any
|
|
448
|
+
from: BackupTo
|
|
442
449
|
}
|
|
443
450
|
|
|
444
451
|
input RequestRevokePermissionFromRoleInput {
|
|
@@ -647,6 +654,9 @@ input UserInfoInput {
|
|
|
647
654
|
lastLoginAt: String
|
|
648
655
|
remark: String
|
|
649
656
|
lastLoginIp: String
|
|
657
|
+
source: String
|
|
658
|
+
derivedAccount: Any
|
|
659
|
+
connectedAccounts: Any
|
|
650
660
|
}
|
|
651
661
|
|
|
652
662
|
input UserQueryInput {
|
|
@@ -708,6 +718,13 @@ type AuditLogEnvItem {
|
|
|
708
718
|
version: String
|
|
709
719
|
}
|
|
710
720
|
|
|
721
|
+
type BlockletBackupState {
|
|
722
|
+
appDid: String
|
|
723
|
+
appPid: String
|
|
724
|
+
name: String
|
|
725
|
+
createdAt: Uint64
|
|
726
|
+
}
|
|
727
|
+
|
|
711
728
|
type BlockletCapabilities {
|
|
712
729
|
clusterMode: Boolean
|
|
713
730
|
component: Boolean
|
|
@@ -851,6 +868,7 @@ type BlockletSettings {
|
|
|
851
868
|
publicToStore: Boolean
|
|
852
869
|
storeList: [BlockletStore!]
|
|
853
870
|
navigations: [ConfigNavigation!]
|
|
871
|
+
oauth: Any
|
|
854
872
|
}
|
|
855
873
|
|
|
856
874
|
type BlockletState {
|
|
@@ -1282,6 +1300,11 @@ type ResponseBlockletRuntimeHistory {
|
|
|
1282
1300
|
history: [BlockletHistoryItem!]
|
|
1283
1301
|
}
|
|
1284
1302
|
|
|
1303
|
+
type ResponseBlockletsFromBackup {
|
|
1304
|
+
code: StatusCode
|
|
1305
|
+
backups: [BlockletBackupState!]
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1285
1308
|
type ResponseCheckComponentsForUpdates {
|
|
1286
1309
|
code: StatusCode
|
|
1287
1310
|
preUpdateInfo: BlockletPreUpdateInfo
|
|
@@ -1618,6 +1641,9 @@ type UserInfo {
|
|
|
1618
1641
|
lastLoginAt: String
|
|
1619
1642
|
remark: String
|
|
1620
1643
|
lastLoginIp: String
|
|
1644
|
+
source: String
|
|
1645
|
+
derivedAccount: Any
|
|
1646
|
+
connectedAccounts: Any
|
|
1621
1647
|
}
|
|
1622
1648
|
|
|
1623
1649
|
type WalletInfo {
|
|
@@ -1657,6 +1683,11 @@ enum BackendServiceType {
|
|
|
1657
1683
|
direct_response
|
|
1658
1684
|
}
|
|
1659
1685
|
|
|
1686
|
+
enum BackupTo {
|
|
1687
|
+
spaces
|
|
1688
|
+
disk
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1660
1691
|
enum BlockletSource {
|
|
1661
1692
|
registry
|
|
1662
1693
|
local
|
|
@@ -1721,11 +1752,12 @@ type Mutation {
|
|
|
1721
1752
|
configBlocklet(input: RequestConfigBlockletInput): ResponseBlocklet
|
|
1722
1753
|
configPublicToStore(input: RequestConfigPublicToStoreInput): ResponseBlocklet
|
|
1723
1754
|
configNavigations(input: RequestConfigNavigationsInput): ResponseBlocklet
|
|
1755
|
+
configOAuth(input: RequestConfigOAuthInput): ResponseBlocklet
|
|
1724
1756
|
updateWhoCanAccess(input: RequestUpdateWhoCanAccessInput): ResponseBlocklet
|
|
1725
1757
|
updateComponentTitle(input: RequestUpdateComponentTitleInput): ResponseBlocklet
|
|
1726
1758
|
updateComponentMountPoint(input: RequestUpdateComponentMountPointInput): ResponseBlocklet
|
|
1727
|
-
|
|
1728
|
-
|
|
1759
|
+
backupBlocklet(input: RequestBackupBlockletInput): GeneralResponse
|
|
1760
|
+
restoreBlocklet(input: RequestRestoreBlockletInput): GeneralResponse
|
|
1729
1761
|
migrateApplicationToStructV2(input: RequsetMigrateApplicationToStructV2Input): GeneralResponse
|
|
1730
1762
|
updateNodeInfo(input: NodeInfoInput): ResponseGetNodeInfo
|
|
1731
1763
|
updateNodeRouting(input: RequestNodeRoutingInput): ResponseGetNodeInfo
|
|
@@ -1790,6 +1822,7 @@ type Query {
|
|
|
1790
1822
|
getBlockletDiff(input: RequestBlockletDiffInput): ResponseBlockletDiff
|
|
1791
1823
|
getBlocklets(input: RequestGetBlockletsInput): ResponseGetBlocklets
|
|
1792
1824
|
getBlockletRuntimeHistory(input: RequestBlockletRuntimeHistoryInput): ResponseBlockletRuntimeHistory
|
|
1825
|
+
getBlockletsFromBackup: ResponseBlockletsFromBackup
|
|
1793
1826
|
getNodeInfo: ResponseGetNodeInfo
|
|
1794
1827
|
resetNodeStatus: ResponseGetNodeInfo
|
|
1795
1828
|
getNodeEnv: ResponseGetNodeEnv
|
|
@@ -1820,4 +1853,4 @@ type Query {
|
|
|
1820
1853
|
getPermissionsByRole(input: RequestTeamRoleInput): ResponsePermissions
|
|
1821
1854
|
getPassportIssuances(input: RequestGetPassportIssuancesInput): ResponseGetPassportIssuances
|
|
1822
1855
|
getAuditLogs(input: RequestGetAuditLogsInput): ResponseGetAuditLogs
|
|
1823
|
-
}`;
|
|
1856
|
+
}`;
|
package/lib/schema.graphqls
CHANGED
|
@@ -144,8 +144,9 @@ input RequestAddRoutingSiteInput {
|
|
|
144
144
|
rules: [RoutingRuleInput!]
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
input
|
|
147
|
+
input RequestBackupBlockletInput {
|
|
148
148
|
appDid: String
|
|
149
|
+
to: BackupTo
|
|
149
150
|
}
|
|
150
151
|
|
|
151
152
|
input RequestBlockletInput {
|
|
@@ -202,6 +203,11 @@ input RequestConfigNavigationsInput {
|
|
|
202
203
|
navigations: [ConfigNavigationInput!]
|
|
203
204
|
}
|
|
204
205
|
|
|
206
|
+
input RequestConfigOAuthInput {
|
|
207
|
+
did: String
|
|
208
|
+
oauth: String
|
|
209
|
+
}
|
|
210
|
+
|
|
205
211
|
input RequestConfigPassportIssuanceInput {
|
|
206
212
|
teamDid: String
|
|
207
213
|
enable: Boolean
|
|
@@ -433,12 +439,13 @@ input RequestResetNodeInput {
|
|
|
433
439
|
invitations: Boolean
|
|
434
440
|
}
|
|
435
441
|
|
|
436
|
-
input
|
|
442
|
+
input RequestRestoreBlockletInput {
|
|
437
443
|
endpoint: String
|
|
438
444
|
appDid: String
|
|
439
445
|
delegation: String
|
|
440
446
|
password: Bytes
|
|
441
447
|
wallet: Any
|
|
448
|
+
from: BackupTo
|
|
442
449
|
}
|
|
443
450
|
|
|
444
451
|
input RequestRevokePermissionFromRoleInput {
|
|
@@ -647,6 +654,9 @@ input UserInfoInput {
|
|
|
647
654
|
lastLoginAt: String
|
|
648
655
|
remark: String
|
|
649
656
|
lastLoginIp: String
|
|
657
|
+
source: String
|
|
658
|
+
derivedAccount: Any
|
|
659
|
+
connectedAccounts: Any
|
|
650
660
|
}
|
|
651
661
|
|
|
652
662
|
input UserQueryInput {
|
|
@@ -708,6 +718,13 @@ type AuditLogEnvItem {
|
|
|
708
718
|
version: String
|
|
709
719
|
}
|
|
710
720
|
|
|
721
|
+
type BlockletBackupState {
|
|
722
|
+
appDid: String
|
|
723
|
+
appPid: String
|
|
724
|
+
name: String
|
|
725
|
+
createdAt: Uint64
|
|
726
|
+
}
|
|
727
|
+
|
|
711
728
|
type BlockletCapabilities {
|
|
712
729
|
clusterMode: Boolean
|
|
713
730
|
component: Boolean
|
|
@@ -851,6 +868,7 @@ type BlockletSettings {
|
|
|
851
868
|
publicToStore: Boolean
|
|
852
869
|
storeList: [BlockletStore!]
|
|
853
870
|
navigations: [ConfigNavigation!]
|
|
871
|
+
oauth: Any
|
|
854
872
|
}
|
|
855
873
|
|
|
856
874
|
type BlockletState {
|
|
@@ -1282,6 +1300,11 @@ type ResponseBlockletRuntimeHistory {
|
|
|
1282
1300
|
history: [BlockletHistoryItem!]
|
|
1283
1301
|
}
|
|
1284
1302
|
|
|
1303
|
+
type ResponseBlockletsFromBackup {
|
|
1304
|
+
code: StatusCode
|
|
1305
|
+
backups: [BlockletBackupState!]
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1285
1308
|
type ResponseCheckComponentsForUpdates {
|
|
1286
1309
|
code: StatusCode
|
|
1287
1310
|
preUpdateInfo: BlockletPreUpdateInfo
|
|
@@ -1618,6 +1641,9 @@ type UserInfo {
|
|
|
1618
1641
|
lastLoginAt: String
|
|
1619
1642
|
remark: String
|
|
1620
1643
|
lastLoginIp: String
|
|
1644
|
+
source: String
|
|
1645
|
+
derivedAccount: Any
|
|
1646
|
+
connectedAccounts: Any
|
|
1621
1647
|
}
|
|
1622
1648
|
|
|
1623
1649
|
type WalletInfo {
|
|
@@ -1657,6 +1683,11 @@ enum BackendServiceType {
|
|
|
1657
1683
|
direct_response
|
|
1658
1684
|
}
|
|
1659
1685
|
|
|
1686
|
+
enum BackupTo {
|
|
1687
|
+
spaces
|
|
1688
|
+
disk
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1660
1691
|
enum BlockletSource {
|
|
1661
1692
|
registry
|
|
1662
1693
|
local
|
|
@@ -1723,11 +1754,12 @@ type Mutation {
|
|
|
1723
1754
|
configBlocklet(input: RequestConfigBlockletInput): ResponseBlocklet
|
|
1724
1755
|
configPublicToStore(input: RequestConfigPublicToStoreInput): ResponseBlocklet
|
|
1725
1756
|
configNavigations(input: RequestConfigNavigationsInput): ResponseBlocklet
|
|
1757
|
+
configOAuth(input: RequestConfigOAuthInput): ResponseBlocklet
|
|
1726
1758
|
updateWhoCanAccess(input: RequestUpdateWhoCanAccessInput): ResponseBlocklet
|
|
1727
1759
|
updateComponentTitle(input: RequestUpdateComponentTitleInput): ResponseBlocklet
|
|
1728
1760
|
updateComponentMountPoint(input: RequestUpdateComponentMountPointInput): ResponseBlocklet
|
|
1729
|
-
|
|
1730
|
-
|
|
1761
|
+
backupBlocklet(input: RequestBackupBlockletInput): GeneralResponse
|
|
1762
|
+
restoreBlocklet(input: RequestRestoreBlockletInput): GeneralResponse
|
|
1731
1763
|
migrateApplicationToStructV2(input: RequsetMigrateApplicationToStructV2Input): GeneralResponse
|
|
1732
1764
|
updateNodeInfo(input: NodeInfoInput): ResponseGetNodeInfo
|
|
1733
1765
|
updateNodeRouting(input: RequestNodeRoutingInput): ResponseGetNodeInfo
|
|
@@ -1792,6 +1824,7 @@ type Query {
|
|
|
1792
1824
|
getBlockletDiff(input: RequestBlockletDiffInput): ResponseBlockletDiff
|
|
1793
1825
|
getBlocklets(input: RequestGetBlockletsInput): ResponseGetBlocklets
|
|
1794
1826
|
getBlockletRuntimeHistory(input: RequestBlockletRuntimeHistoryInput): ResponseBlockletRuntimeHistory
|
|
1827
|
+
getBlockletsFromBackup: ResponseBlockletsFromBackup
|
|
1795
1828
|
getNodeInfo: ResponseGetNodeInfo
|
|
1796
1829
|
resetNodeStatus: ResponseGetNodeInfo
|
|
1797
1830
|
getNodeEnv: ResponseGetNodeEnv
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.0-beta-
|
|
6
|
+
"version": "1.16.0-beta-62b42401",
|
|
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": "
|
|
16
|
+
"gitHead": "6ef1c3601d0cfdcf5da0b55b4c54ef1fa9fce7d2",
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@wangshijun/ts-protoc-gen": "^0.16.2"
|
|
19
19
|
}
|