@abtnode/schema 1.7.24 → 1.7.27
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 +72 -40
- package/lib/schema.graphqls +72 -40
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -59,23 +59,6 @@ input IssuerInput {
|
|
|
59
59
|
pk: String
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
input MemberInfoInput {
|
|
63
|
-
did: String
|
|
64
|
-
pk: String
|
|
65
|
-
role: String
|
|
66
|
-
avatar: String
|
|
67
|
-
fullName: String
|
|
68
|
-
email: String
|
|
69
|
-
approved: Boolean
|
|
70
|
-
createdAt: String
|
|
71
|
-
updatedAt: String
|
|
72
|
-
locale: String
|
|
73
|
-
passports: [PassportInput!]
|
|
74
|
-
firstLoginAt: String
|
|
75
|
-
lastLoginAt: String
|
|
76
|
-
remark: String
|
|
77
|
-
}
|
|
78
|
-
|
|
79
62
|
input NodeInfoInput {
|
|
80
63
|
name: String
|
|
81
64
|
description: String
|
|
@@ -336,6 +319,8 @@ input RequestInstallComponentInput {
|
|
|
336
319
|
deleteSet: [String!]
|
|
337
320
|
name: String
|
|
338
321
|
title: String
|
|
322
|
+
configs: [ConfigEntryInput!]
|
|
323
|
+
downloadToken: String
|
|
339
324
|
}
|
|
340
325
|
|
|
341
326
|
input RequestInstallFromVcInput {
|
|
@@ -418,7 +403,7 @@ input RequestTeamRoleInput {
|
|
|
418
403
|
|
|
419
404
|
input RequestTeamUserInput {
|
|
420
405
|
teamDid: String
|
|
421
|
-
user:
|
|
406
|
+
user: UserInfoInput
|
|
422
407
|
}
|
|
423
408
|
|
|
424
409
|
input RequestUpdateAccessKeyInput {
|
|
@@ -463,6 +448,13 @@ input RequestUpgradeBlockletInput {
|
|
|
463
448
|
registryUrl: String
|
|
464
449
|
}
|
|
465
450
|
|
|
451
|
+
input RequestUsersInput {
|
|
452
|
+
teamDid: String
|
|
453
|
+
query: UserQueryInput
|
|
454
|
+
sort: UserSortInput
|
|
455
|
+
paging: PagingInput
|
|
456
|
+
}
|
|
457
|
+
|
|
466
458
|
input RequestVersionedBlockletInput {
|
|
467
459
|
did: String
|
|
468
460
|
url: String
|
|
@@ -551,6 +543,35 @@ input TrustedPassportMappingToInput {
|
|
|
551
543
|
role: String
|
|
552
544
|
}
|
|
553
545
|
|
|
546
|
+
input UserInfoInput {
|
|
547
|
+
did: String
|
|
548
|
+
pk: String
|
|
549
|
+
role: String
|
|
550
|
+
avatar: String
|
|
551
|
+
fullName: String
|
|
552
|
+
email: String
|
|
553
|
+
approved: Boolean
|
|
554
|
+
createdAt: String
|
|
555
|
+
updatedAt: String
|
|
556
|
+
locale: String
|
|
557
|
+
passports: [PassportInput!]
|
|
558
|
+
firstLoginAt: String
|
|
559
|
+
lastLoginAt: String
|
|
560
|
+
remark: String
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
input UserQueryInput {
|
|
564
|
+
role: String
|
|
565
|
+
approved: Boolean
|
|
566
|
+
search: String
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
input UserSortInput {
|
|
570
|
+
updatedAt: Int32
|
|
571
|
+
createdAt: Int32
|
|
572
|
+
lastLoginAt: Int32
|
|
573
|
+
}
|
|
574
|
+
|
|
554
575
|
input WebHookParamInput {
|
|
555
576
|
name: String
|
|
556
577
|
description: String
|
|
@@ -906,7 +927,7 @@ type InviteInfo {
|
|
|
906
927
|
role: String
|
|
907
928
|
remark: String
|
|
908
929
|
expireDate: String
|
|
909
|
-
inviter:
|
|
930
|
+
inviter: UserInfo
|
|
910
931
|
teamDid: String
|
|
911
932
|
interfaceName: String
|
|
912
933
|
}
|
|
@@ -917,6 +938,11 @@ type Issuer {
|
|
|
917
938
|
pk: String
|
|
918
939
|
}
|
|
919
940
|
|
|
941
|
+
type KeyValue {
|
|
942
|
+
key: String
|
|
943
|
+
value: Any
|
|
944
|
+
}
|
|
945
|
+
|
|
920
946
|
type LatestBlockletVersion {
|
|
921
947
|
did: String
|
|
922
948
|
version: String
|
|
@@ -937,23 +963,6 @@ type MatchedSites {
|
|
|
937
963
|
domain: String
|
|
938
964
|
}
|
|
939
965
|
|
|
940
|
-
type MemberInfo {
|
|
941
|
-
did: String
|
|
942
|
-
pk: String
|
|
943
|
-
role: String
|
|
944
|
-
avatar: String
|
|
945
|
-
fullName: String
|
|
946
|
-
email: String
|
|
947
|
-
approved: Boolean
|
|
948
|
-
createdAt: String
|
|
949
|
-
updatedAt: String
|
|
950
|
-
locale: String
|
|
951
|
-
passports: [Passport!]
|
|
952
|
-
firstLoginAt: String
|
|
953
|
-
lastLoginAt: String
|
|
954
|
-
remark: String
|
|
955
|
-
}
|
|
956
|
-
|
|
957
966
|
type NodeEnvInfo {
|
|
958
967
|
ip: IPInfo
|
|
959
968
|
os: String
|
|
@@ -986,7 +995,6 @@ type NodeState {
|
|
|
986
995
|
initializedAt: String
|
|
987
996
|
mode: String
|
|
988
997
|
routing: NodeRouting
|
|
989
|
-
members: [MemberInfo!]
|
|
990
998
|
environments: [ConfigEntry!]
|
|
991
999
|
uptime: Float32
|
|
992
1000
|
autoUpgrade: Boolean
|
|
@@ -1252,6 +1260,11 @@ type ResponseGetSnapshotSites {
|
|
|
1252
1260
|
sites: [RoutingSite!]
|
|
1253
1261
|
}
|
|
1254
1262
|
|
|
1263
|
+
type ResponseGetUsersCountPerRole {
|
|
1264
|
+
code: StatusCode
|
|
1265
|
+
counts: [KeyValue!]
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1255
1268
|
type ResponseInstallFromVc {
|
|
1256
1269
|
code: StatusCode
|
|
1257
1270
|
blocklet: BlockletState
|
|
@@ -1331,12 +1344,13 @@ type ResponseUpgradeNodeVersion {
|
|
|
1331
1344
|
|
|
1332
1345
|
type ResponseUser {
|
|
1333
1346
|
code: StatusCode
|
|
1334
|
-
user:
|
|
1347
|
+
user: UserInfo
|
|
1335
1348
|
}
|
|
1336
1349
|
|
|
1337
1350
|
type ResponseUsers {
|
|
1338
1351
|
code: StatusCode
|
|
1339
|
-
users: [
|
|
1352
|
+
users: [UserInfo!]
|
|
1353
|
+
paging: Paging
|
|
1340
1354
|
}
|
|
1341
1355
|
|
|
1342
1356
|
type ResponseWebHooks {
|
|
@@ -1439,6 +1453,23 @@ type UpdateList {
|
|
|
1439
1453
|
meta: BlockletMeta
|
|
1440
1454
|
}
|
|
1441
1455
|
|
|
1456
|
+
type UserInfo {
|
|
1457
|
+
did: String
|
|
1458
|
+
pk: String
|
|
1459
|
+
role: String
|
|
1460
|
+
avatar: String
|
|
1461
|
+
fullName: String
|
|
1462
|
+
email: String
|
|
1463
|
+
approved: Boolean
|
|
1464
|
+
createdAt: String
|
|
1465
|
+
updatedAt: String
|
|
1466
|
+
locale: String
|
|
1467
|
+
passports: [Passport!]
|
|
1468
|
+
firstLoginAt: String
|
|
1469
|
+
lastLoginAt: String
|
|
1470
|
+
remark: String
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1442
1473
|
type WalletInfo {
|
|
1443
1474
|
did: String
|
|
1444
1475
|
pk: String
|
|
@@ -1624,8 +1655,9 @@ type Query {
|
|
|
1624
1655
|
getRoles(input: TeamInput): ResponseRoles
|
|
1625
1656
|
getPermissions(input: TeamInput): ResponsePermissions
|
|
1626
1657
|
getInvitations(input: TeamInput): ResponseGetInvitations
|
|
1627
|
-
getUsers(input:
|
|
1658
|
+
getUsers(input: RequestUsersInput): ResponseUsers
|
|
1628
1659
|
getUser(input: RequestTeamUserInput): ResponseUser
|
|
1660
|
+
getUsersCountPerRole(input: TeamInput): ResponseGetUsersCountPerRole
|
|
1629
1661
|
getOwner(input: TeamInput): ResponseUser
|
|
1630
1662
|
getPermissionsByRole(input: RequestTeamRoleInput): ResponsePermissions
|
|
1631
1663
|
getPassportIssuances(input: RequestGetPassportIssuancesInput): ResponseGetPassportIssuances
|
package/lib/schema.graphqls
CHANGED
|
@@ -59,23 +59,6 @@ input IssuerInput {
|
|
|
59
59
|
pk: String
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
input MemberInfoInput {
|
|
63
|
-
did: String
|
|
64
|
-
pk: String
|
|
65
|
-
role: String
|
|
66
|
-
avatar: String
|
|
67
|
-
fullName: String
|
|
68
|
-
email: String
|
|
69
|
-
approved: Boolean
|
|
70
|
-
createdAt: String
|
|
71
|
-
updatedAt: String
|
|
72
|
-
locale: String
|
|
73
|
-
passports: [PassportInput!]
|
|
74
|
-
firstLoginAt: String
|
|
75
|
-
lastLoginAt: String
|
|
76
|
-
remark: String
|
|
77
|
-
}
|
|
78
|
-
|
|
79
62
|
input NodeInfoInput {
|
|
80
63
|
name: String
|
|
81
64
|
description: String
|
|
@@ -336,6 +319,8 @@ input RequestInstallComponentInput {
|
|
|
336
319
|
deleteSet: [String!]
|
|
337
320
|
name: String
|
|
338
321
|
title: String
|
|
322
|
+
configs: [ConfigEntryInput!]
|
|
323
|
+
downloadToken: String
|
|
339
324
|
}
|
|
340
325
|
|
|
341
326
|
input RequestInstallFromVcInput {
|
|
@@ -418,7 +403,7 @@ input RequestTeamRoleInput {
|
|
|
418
403
|
|
|
419
404
|
input RequestTeamUserInput {
|
|
420
405
|
teamDid: String
|
|
421
|
-
user:
|
|
406
|
+
user: UserInfoInput
|
|
422
407
|
}
|
|
423
408
|
|
|
424
409
|
input RequestUpdateAccessKeyInput {
|
|
@@ -463,6 +448,13 @@ input RequestUpgradeBlockletInput {
|
|
|
463
448
|
registryUrl: String
|
|
464
449
|
}
|
|
465
450
|
|
|
451
|
+
input RequestUsersInput {
|
|
452
|
+
teamDid: String
|
|
453
|
+
query: UserQueryInput
|
|
454
|
+
sort: UserSortInput
|
|
455
|
+
paging: PagingInput
|
|
456
|
+
}
|
|
457
|
+
|
|
466
458
|
input RequestVersionedBlockletInput {
|
|
467
459
|
did: String
|
|
468
460
|
url: String
|
|
@@ -551,6 +543,35 @@ input TrustedPassportMappingToInput {
|
|
|
551
543
|
role: String
|
|
552
544
|
}
|
|
553
545
|
|
|
546
|
+
input UserInfoInput {
|
|
547
|
+
did: String
|
|
548
|
+
pk: String
|
|
549
|
+
role: String
|
|
550
|
+
avatar: String
|
|
551
|
+
fullName: String
|
|
552
|
+
email: String
|
|
553
|
+
approved: Boolean
|
|
554
|
+
createdAt: String
|
|
555
|
+
updatedAt: String
|
|
556
|
+
locale: String
|
|
557
|
+
passports: [PassportInput!]
|
|
558
|
+
firstLoginAt: String
|
|
559
|
+
lastLoginAt: String
|
|
560
|
+
remark: String
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
input UserQueryInput {
|
|
564
|
+
role: String
|
|
565
|
+
approved: Boolean
|
|
566
|
+
search: String
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
input UserSortInput {
|
|
570
|
+
updatedAt: Int32
|
|
571
|
+
createdAt: Int32
|
|
572
|
+
lastLoginAt: Int32
|
|
573
|
+
}
|
|
574
|
+
|
|
554
575
|
input WebHookParamInput {
|
|
555
576
|
name: String
|
|
556
577
|
description: String
|
|
@@ -906,7 +927,7 @@ type InviteInfo {
|
|
|
906
927
|
role: String
|
|
907
928
|
remark: String
|
|
908
929
|
expireDate: String
|
|
909
|
-
inviter:
|
|
930
|
+
inviter: UserInfo
|
|
910
931
|
teamDid: String
|
|
911
932
|
interfaceName: String
|
|
912
933
|
}
|
|
@@ -917,6 +938,11 @@ type Issuer {
|
|
|
917
938
|
pk: String
|
|
918
939
|
}
|
|
919
940
|
|
|
941
|
+
type KeyValue {
|
|
942
|
+
key: String
|
|
943
|
+
value: Any
|
|
944
|
+
}
|
|
945
|
+
|
|
920
946
|
type LatestBlockletVersion {
|
|
921
947
|
did: String
|
|
922
948
|
version: String
|
|
@@ -937,23 +963,6 @@ type MatchedSites {
|
|
|
937
963
|
domain: String
|
|
938
964
|
}
|
|
939
965
|
|
|
940
|
-
type MemberInfo {
|
|
941
|
-
did: String
|
|
942
|
-
pk: String
|
|
943
|
-
role: String
|
|
944
|
-
avatar: String
|
|
945
|
-
fullName: String
|
|
946
|
-
email: String
|
|
947
|
-
approved: Boolean
|
|
948
|
-
createdAt: String
|
|
949
|
-
updatedAt: String
|
|
950
|
-
locale: String
|
|
951
|
-
passports: [Passport!]
|
|
952
|
-
firstLoginAt: String
|
|
953
|
-
lastLoginAt: String
|
|
954
|
-
remark: String
|
|
955
|
-
}
|
|
956
|
-
|
|
957
966
|
type NodeEnvInfo {
|
|
958
967
|
ip: IPInfo
|
|
959
968
|
os: String
|
|
@@ -986,7 +995,6 @@ type NodeState {
|
|
|
986
995
|
initializedAt: String
|
|
987
996
|
mode: String
|
|
988
997
|
routing: NodeRouting
|
|
989
|
-
members: [MemberInfo!]
|
|
990
998
|
environments: [ConfigEntry!]
|
|
991
999
|
uptime: Float32
|
|
992
1000
|
autoUpgrade: Boolean
|
|
@@ -1252,6 +1260,11 @@ type ResponseGetSnapshotSites {
|
|
|
1252
1260
|
sites: [RoutingSite!]
|
|
1253
1261
|
}
|
|
1254
1262
|
|
|
1263
|
+
type ResponseGetUsersCountPerRole {
|
|
1264
|
+
code: StatusCode
|
|
1265
|
+
counts: [KeyValue!]
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1255
1268
|
type ResponseInstallFromVc {
|
|
1256
1269
|
code: StatusCode
|
|
1257
1270
|
blocklet: BlockletState
|
|
@@ -1331,12 +1344,13 @@ type ResponseUpgradeNodeVersion {
|
|
|
1331
1344
|
|
|
1332
1345
|
type ResponseUser {
|
|
1333
1346
|
code: StatusCode
|
|
1334
|
-
user:
|
|
1347
|
+
user: UserInfo
|
|
1335
1348
|
}
|
|
1336
1349
|
|
|
1337
1350
|
type ResponseUsers {
|
|
1338
1351
|
code: StatusCode
|
|
1339
|
-
users: [
|
|
1352
|
+
users: [UserInfo!]
|
|
1353
|
+
paging: Paging
|
|
1340
1354
|
}
|
|
1341
1355
|
|
|
1342
1356
|
type ResponseWebHooks {
|
|
@@ -1439,6 +1453,23 @@ type UpdateList {
|
|
|
1439
1453
|
meta: BlockletMeta
|
|
1440
1454
|
}
|
|
1441
1455
|
|
|
1456
|
+
type UserInfo {
|
|
1457
|
+
did: String
|
|
1458
|
+
pk: String
|
|
1459
|
+
role: String
|
|
1460
|
+
avatar: String
|
|
1461
|
+
fullName: String
|
|
1462
|
+
email: String
|
|
1463
|
+
approved: Boolean
|
|
1464
|
+
createdAt: String
|
|
1465
|
+
updatedAt: String
|
|
1466
|
+
locale: String
|
|
1467
|
+
passports: [Passport!]
|
|
1468
|
+
firstLoginAt: String
|
|
1469
|
+
lastLoginAt: String
|
|
1470
|
+
remark: String
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1442
1473
|
type WalletInfo {
|
|
1443
1474
|
did: String
|
|
1444
1475
|
pk: String
|
|
@@ -1626,8 +1657,9 @@ type Query {
|
|
|
1626
1657
|
getRoles(input: TeamInput): ResponseRoles
|
|
1627
1658
|
getPermissions(input: TeamInput): ResponsePermissions
|
|
1628
1659
|
getInvitations(input: TeamInput): ResponseGetInvitations
|
|
1629
|
-
getUsers(input:
|
|
1660
|
+
getUsers(input: RequestUsersInput): ResponseUsers
|
|
1630
1661
|
getUser(input: RequestTeamUserInput): ResponseUser
|
|
1662
|
+
getUsersCountPerRole(input: TeamInput): ResponseGetUsersCountPerRole
|
|
1631
1663
|
getOwner(input: TeamInput): ResponseUser
|
|
1632
1664
|
getPermissionsByRole(input: RequestTeamRoleInput): ResponsePermissions
|
|
1633
1665
|
getPassportIssuances(input: RequestGetPassportIssuancesInput): ResponseGetPassportIssuances
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.7.
|
|
6
|
+
"version": "1.7.27",
|
|
7
7
|
"description": "",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
"keywords": [],
|
|
14
14
|
"author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
|
|
15
15
|
"license": "MIT",
|
|
16
|
-
"gitHead": "
|
|
16
|
+
"gitHead": "81a5492df66389b0aede13f033d1e493450833bc"
|
|
17
17
|
}
|