@abtnode/schema 1.6.30 → 1.7.1
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/README.md +1 -1
- package/lib/index.js +49 -0
- package/lib/schema.graphqls +49 -0
- package/package.json +2 -2
package/README.md
CHANGED
package/lib/index.js
CHANGED
|
@@ -268,6 +268,10 @@ input RequestEndSessionInput {
|
|
|
268
268
|
id: String
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
+
input RequestFindCertificateByDomainInput {
|
|
272
|
+
domain: String
|
|
273
|
+
}
|
|
274
|
+
|
|
271
275
|
input RequestGetBlockletsInput {
|
|
272
276
|
useCache: Boolean
|
|
273
277
|
}
|
|
@@ -540,6 +544,8 @@ type AccessKey {
|
|
|
540
544
|
passport: String
|
|
541
545
|
createdAt: String
|
|
542
546
|
lastUsedAt: String
|
|
547
|
+
createdBy: String
|
|
548
|
+
updatedBy: String
|
|
543
549
|
}
|
|
544
550
|
|
|
545
551
|
type BlockletCapabilities {
|
|
@@ -598,6 +604,8 @@ type BlockletMeta {
|
|
|
598
604
|
lastPublishedAt: String
|
|
599
605
|
capabilities: BlockletCapabilities
|
|
600
606
|
children: [ChildConfig!]
|
|
607
|
+
environments: [Environment!]
|
|
608
|
+
requirements: Requirement
|
|
601
609
|
}
|
|
602
610
|
|
|
603
611
|
type BlockletMetaInterface {
|
|
@@ -668,6 +676,13 @@ type BlockletService {
|
|
|
668
676
|
schema: String
|
|
669
677
|
}
|
|
670
678
|
|
|
679
|
+
type BlockletSettings {
|
|
680
|
+
initialized: Boolean
|
|
681
|
+
enablePassportIssuance: Boolean
|
|
682
|
+
trustedPassports: [TrustedPassport!]
|
|
683
|
+
whoCanAccess: String
|
|
684
|
+
}
|
|
685
|
+
|
|
671
686
|
type BlockletState {
|
|
672
687
|
meta: BlockletMeta
|
|
673
688
|
status: BlockletStatus
|
|
@@ -693,6 +708,9 @@ type BlockletState {
|
|
|
693
708
|
enablePassportIssuance: Boolean
|
|
694
709
|
dynamic: Boolean
|
|
695
710
|
mountPoint: String
|
|
711
|
+
settings: BlockletSettings
|
|
712
|
+
appDid: String
|
|
713
|
+
site: RoutingSite
|
|
696
714
|
}
|
|
697
715
|
|
|
698
716
|
type BlockletStateInterface {
|
|
@@ -775,6 +793,23 @@ type DiskInfo {
|
|
|
775
793
|
blocklets: Float32
|
|
776
794
|
}
|
|
777
795
|
|
|
796
|
+
type Environment {
|
|
797
|
+
name: String
|
|
798
|
+
description: String
|
|
799
|
+
default: String
|
|
800
|
+
required: Boolean
|
|
801
|
+
secure: Boolean
|
|
802
|
+
validation: String
|
|
803
|
+
shared: Boolean
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
type GasFee {
|
|
807
|
+
endpoint: String
|
|
808
|
+
symbol: String
|
|
809
|
+
value: String
|
|
810
|
+
reason: String
|
|
811
|
+
}
|
|
812
|
+
|
|
778
813
|
type GeneralResponse {
|
|
779
814
|
code: StatusCode
|
|
780
815
|
}
|
|
@@ -943,6 +978,13 @@ type Permission {
|
|
|
943
978
|
isProtected: Boolean
|
|
944
979
|
}
|
|
945
980
|
|
|
981
|
+
type Requirement {
|
|
982
|
+
server: String
|
|
983
|
+
os: Any
|
|
984
|
+
cpu: Any
|
|
985
|
+
gasFee: GasFee
|
|
986
|
+
}
|
|
987
|
+
|
|
946
988
|
type ResponseAccessKeys {
|
|
947
989
|
code: StatusCode
|
|
948
990
|
list: [AccessKey!]
|
|
@@ -976,6 +1018,7 @@ type ResponseBlockletMetaFromUrl {
|
|
|
976
1018
|
meta: BlockletMeta
|
|
977
1019
|
isFree: Boolean
|
|
978
1020
|
isInstalled: Boolean
|
|
1021
|
+
isRunning: Boolean
|
|
979
1022
|
}
|
|
980
1023
|
|
|
981
1024
|
type ResponseCheckChildBlockletsForUpdates {
|
|
@@ -1029,6 +1072,11 @@ type ResponseDeleteWebHook {
|
|
|
1029
1072
|
code: StatusCode
|
|
1030
1073
|
}
|
|
1031
1074
|
|
|
1075
|
+
type ResponseFindCertificateByDomain {
|
|
1076
|
+
code: StatusCode
|
|
1077
|
+
cert: Certificate
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1032
1080
|
type ResponseGetBlocklets {
|
|
1033
1081
|
code: StatusCode
|
|
1034
1082
|
blocklets: [BlockletState!]
|
|
@@ -1449,6 +1497,7 @@ type Query {
|
|
|
1449
1497
|
getServices: ResponseGetServices
|
|
1450
1498
|
getCertificates: ResponseGetCertificates
|
|
1451
1499
|
checkDomains(input: RequestCheckDomainsInput): ResponseCheckDomains
|
|
1500
|
+
findCertificateByDomain(input: RequestFindCertificateByDomainInput): ResponseFindCertificateByDomain
|
|
1452
1501
|
getAccessKeys: ResponseAccessKeys
|
|
1453
1502
|
getWebHooks: ResponseWebHooks
|
|
1454
1503
|
getWebhookSenders: ResponseSenderList
|
package/lib/schema.graphqls
CHANGED
|
@@ -268,6 +268,10 @@ input RequestEndSessionInput {
|
|
|
268
268
|
id: String
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
+
input RequestFindCertificateByDomainInput {
|
|
272
|
+
domain: String
|
|
273
|
+
}
|
|
274
|
+
|
|
271
275
|
input RequestGetBlockletsInput {
|
|
272
276
|
useCache: Boolean
|
|
273
277
|
}
|
|
@@ -540,6 +544,8 @@ type AccessKey {
|
|
|
540
544
|
passport: String
|
|
541
545
|
createdAt: String
|
|
542
546
|
lastUsedAt: String
|
|
547
|
+
createdBy: String
|
|
548
|
+
updatedBy: String
|
|
543
549
|
}
|
|
544
550
|
|
|
545
551
|
type BlockletCapabilities {
|
|
@@ -598,6 +604,8 @@ type BlockletMeta {
|
|
|
598
604
|
lastPublishedAt: String
|
|
599
605
|
capabilities: BlockletCapabilities
|
|
600
606
|
children: [ChildConfig!]
|
|
607
|
+
environments: [Environment!]
|
|
608
|
+
requirements: Requirement
|
|
601
609
|
}
|
|
602
610
|
|
|
603
611
|
type BlockletMetaInterface {
|
|
@@ -668,6 +676,13 @@ type BlockletService {
|
|
|
668
676
|
schema: String
|
|
669
677
|
}
|
|
670
678
|
|
|
679
|
+
type BlockletSettings {
|
|
680
|
+
initialized: Boolean
|
|
681
|
+
enablePassportIssuance: Boolean
|
|
682
|
+
trustedPassports: [TrustedPassport!]
|
|
683
|
+
whoCanAccess: String
|
|
684
|
+
}
|
|
685
|
+
|
|
671
686
|
type BlockletState {
|
|
672
687
|
meta: BlockletMeta
|
|
673
688
|
status: BlockletStatus
|
|
@@ -693,6 +708,9 @@ type BlockletState {
|
|
|
693
708
|
enablePassportIssuance: Boolean
|
|
694
709
|
dynamic: Boolean
|
|
695
710
|
mountPoint: String
|
|
711
|
+
settings: BlockletSettings
|
|
712
|
+
appDid: String
|
|
713
|
+
site: RoutingSite
|
|
696
714
|
}
|
|
697
715
|
|
|
698
716
|
type BlockletStateInterface {
|
|
@@ -775,6 +793,23 @@ type DiskInfo {
|
|
|
775
793
|
blocklets: Float32
|
|
776
794
|
}
|
|
777
795
|
|
|
796
|
+
type Environment {
|
|
797
|
+
name: String
|
|
798
|
+
description: String
|
|
799
|
+
default: String
|
|
800
|
+
required: Boolean
|
|
801
|
+
secure: Boolean
|
|
802
|
+
validation: String
|
|
803
|
+
shared: Boolean
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
type GasFee {
|
|
807
|
+
endpoint: String
|
|
808
|
+
symbol: String
|
|
809
|
+
value: String
|
|
810
|
+
reason: String
|
|
811
|
+
}
|
|
812
|
+
|
|
778
813
|
type GeneralResponse {
|
|
779
814
|
code: StatusCode
|
|
780
815
|
}
|
|
@@ -943,6 +978,13 @@ type Permission {
|
|
|
943
978
|
isProtected: Boolean
|
|
944
979
|
}
|
|
945
980
|
|
|
981
|
+
type Requirement {
|
|
982
|
+
server: String
|
|
983
|
+
os: Any
|
|
984
|
+
cpu: Any
|
|
985
|
+
gasFee: GasFee
|
|
986
|
+
}
|
|
987
|
+
|
|
946
988
|
type ResponseAccessKeys {
|
|
947
989
|
code: StatusCode
|
|
948
990
|
list: [AccessKey!]
|
|
@@ -976,6 +1018,7 @@ type ResponseBlockletMetaFromUrl {
|
|
|
976
1018
|
meta: BlockletMeta
|
|
977
1019
|
isFree: Boolean
|
|
978
1020
|
isInstalled: Boolean
|
|
1021
|
+
isRunning: Boolean
|
|
979
1022
|
}
|
|
980
1023
|
|
|
981
1024
|
type ResponseCheckChildBlockletsForUpdates {
|
|
@@ -1029,6 +1072,11 @@ type ResponseDeleteWebHook {
|
|
|
1029
1072
|
code: StatusCode
|
|
1030
1073
|
}
|
|
1031
1074
|
|
|
1075
|
+
type ResponseFindCertificateByDomain {
|
|
1076
|
+
code: StatusCode
|
|
1077
|
+
cert: Certificate
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1032
1080
|
type ResponseGetBlocklets {
|
|
1033
1081
|
code: StatusCode
|
|
1034
1082
|
blocklets: [BlockletState!]
|
|
@@ -1451,6 +1499,7 @@ type Query {
|
|
|
1451
1499
|
getServices: ResponseGetServices
|
|
1452
1500
|
getCertificates: ResponseGetCertificates
|
|
1453
1501
|
checkDomains(input: RequestCheckDomainsInput): ResponseCheckDomains
|
|
1502
|
+
findCertificateByDomain(input: RequestFindCertificateByDomainInput): ResponseFindCertificateByDomain
|
|
1454
1503
|
getAccessKeys: ResponseAccessKeys
|
|
1455
1504
|
getWebHooks: ResponseWebHooks
|
|
1456
1505
|
getWebhookSenders: ResponseSenderList
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.7.1",
|
|
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": "5d7efb21dd09f90206251fb74601ca37b0ef84bf"
|
|
17
17
|
}
|