@abtnode/schema 1.5.18 → 1.6.0

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 CHANGED
@@ -45,6 +45,8 @@ Run `make build`
45
45
 
46
46
  After update the schema proto, run `make build` get the latest schema.
47
47
 
48
+ > If you are using mac, you may need replace the `sed` command with `gsed`
49
+
48
50
  ### 2. go to core/gql start a demo endpoint
49
51
 
50
52
  just run:
package/lib/index.js CHANGED
@@ -74,6 +74,7 @@ input MemberInfoInput {
74
74
  passports: [PassportInput!]
75
75
  firstLoginAt: String
76
76
  lastLoginAt: String
77
+ remark: String
77
78
  }
78
79
 
79
80
  input NodeInfoInput {
@@ -525,24 +526,6 @@ type BlockletCapabilities {
525
526
  clusterMode: Boolean
526
527
  }
527
528
 
528
- type BlockletCharging {
529
- price: String
530
- shares: [BlockletChargingShare!]
531
- tokens: [BlockletChargingToken!]
532
- }
533
-
534
- type BlockletChargingShare {
535
- address: String
536
- name: String
537
- price: String
538
- }
539
-
540
- type BlockletChargingToken {
541
- address: String
542
- price: String
543
- symbol: String
544
- }
545
-
546
529
  type BlockletDiff {
547
530
  hasBlocklet: Boolean
548
531
  version: String
@@ -589,7 +572,7 @@ type BlockletMeta {
589
572
  maintainers: [BlockletMetaPerson!]
590
573
  contributors: [BlockletMetaPerson!]
591
574
  repository: BlockletRepository
592
- charging: BlockletCharging
575
+ payment: BlockletPayment
593
576
  nftFactory: String
594
577
  lastPublishedAt: String
595
578
  capabilities: BlockletCapabilities
@@ -617,6 +600,23 @@ type BlockletMetaService {
617
600
  config: Any
618
601
  }
619
602
 
603
+ type BlockletPayment {
604
+ price: [BlockletPaymentPrice!]
605
+ share: [BlockletPaymentShare!]
606
+ }
607
+
608
+ type BlockletPaymentPrice {
609
+ address: String
610
+ value: String
611
+ symbol: String
612
+ }
613
+
614
+ type BlockletPaymentShare {
615
+ address: String
616
+ name: String
617
+ value: String
618
+ }
619
+
620
620
  type BlockletPreUpdateInfo {
621
621
  updateId: String
622
622
  updateList: [BlockletMeta!]
@@ -799,6 +799,7 @@ type MemberInfo {
799
799
  passports: [Passport!]
800
800
  firstLoginAt: String
801
801
  lastLoginAt: String
802
+ remark: String
802
803
  }
803
804
 
804
805
  type NodeEnvInfo {
@@ -1409,4 +1410,4 @@ type Query {
1409
1410
  getUser(input: RequestTeamUserInput): ResponseUser
1410
1411
  getPermissionsByRole(input: RequestTeamRoleInput): ResponsePermissions
1411
1412
  getPassportIssuances(input: RequestGetPassportIssuancesInput): ResponseGetPassportIssuances
1412
- }`;
1413
+ }`;
@@ -74,6 +74,7 @@ input MemberInfoInput {
74
74
  passports: [PassportInput!]
75
75
  firstLoginAt: String
76
76
  lastLoginAt: String
77
+ remark: String
77
78
  }
78
79
 
79
80
  input NodeInfoInput {
@@ -525,24 +526,6 @@ type BlockletCapabilities {
525
526
  clusterMode: Boolean
526
527
  }
527
528
 
528
- type BlockletCharging {
529
- price: String
530
- shares: [BlockletChargingShare!]
531
- tokens: [BlockletChargingToken!]
532
- }
533
-
534
- type BlockletChargingShare {
535
- address: String
536
- name: String
537
- price: String
538
- }
539
-
540
- type BlockletChargingToken {
541
- address: String
542
- price: String
543
- symbol: String
544
- }
545
-
546
529
  type BlockletDiff {
547
530
  hasBlocklet: Boolean
548
531
  version: String
@@ -589,7 +572,7 @@ type BlockletMeta {
589
572
  maintainers: [BlockletMetaPerson!]
590
573
  contributors: [BlockletMetaPerson!]
591
574
  repository: BlockletRepository
592
- charging: BlockletCharging
575
+ payment: BlockletPayment
593
576
  nftFactory: String
594
577
  lastPublishedAt: String
595
578
  capabilities: BlockletCapabilities
@@ -617,6 +600,23 @@ type BlockletMetaService {
617
600
  config: Any
618
601
  }
619
602
 
603
+ type BlockletPayment {
604
+ price: [BlockletPaymentPrice!]
605
+ share: [BlockletPaymentShare!]
606
+ }
607
+
608
+ type BlockletPaymentPrice {
609
+ address: String
610
+ value: String
611
+ symbol: String
612
+ }
613
+
614
+ type BlockletPaymentShare {
615
+ address: String
616
+ name: String
617
+ value: String
618
+ }
619
+
620
620
  type BlockletPreUpdateInfo {
621
621
  updateId: String
622
622
  updateList: [BlockletMeta!]
@@ -799,6 +799,7 @@ type MemberInfo {
799
799
  passports: [Passport!]
800
800
  firstLoginAt: String
801
801
  lastLoginAt: String
802
+ remark: String
802
803
  }
803
804
 
804
805
  type NodeEnvInfo {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.5.18",
6
+ "version": "1.6.0",
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": "0a4f2e300063fdcbc77da81e94cb1be72ab9d4e3"
16
+ "gitHead": "5927d4780b21ce46406857575c44e1a8667eddaa"
17
17
  }