@abtnode/schema 1.8.36 → 1.8.38

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
@@ -22,33 +22,17 @@ input BlockletQueryInput {
22
22
  controller: BlockletControllerInput
23
23
  }
24
24
 
25
- input BlockletRegistryInput {
25
+ input BlockletStoreInput {
26
26
  name: String
27
27
  description: String
28
28
  url: String
29
29
  logoUrl: String
30
30
  maintainer: String
31
31
  cdnUrl: String
32
- selected: Boolean
33
32
  protected: Boolean
34
33
  id: String
35
34
  }
36
35
 
37
- input BlockletServiceInput {
38
- name: String
39
- description: String
40
- version: String
41
- config: String
42
- schema: String
43
- }
44
-
45
- input BlockletStateInterfaceInput {
46
- ruleId: String
47
- type: String
48
- name: String
49
- url: String
50
- }
51
-
52
36
  input ConfigEntryInput {
53
37
  key: String
54
38
  value: String
@@ -78,7 +62,7 @@ input NodeInfoInput {
78
62
  enableWelcomePage: Boolean
79
63
  registerUrl: String
80
64
  webWalletUrl: String
81
- blockletRegistryList: [BlockletRegistryInput!]
65
+ blockletRegistryList: [BlockletStoreInput!]
82
66
  diskAlertThreshold: Uint32
83
67
  }
84
68
 
@@ -138,13 +122,14 @@ input RequestAddRoutingSiteInput {
138
122
 
139
123
  input RequestBlockletInput {
140
124
  did: String
141
- registryUrl: String
125
+ storeUrl: String
142
126
  attachRuntimeInfo: Boolean
143
127
  }
144
128
 
145
129
  input RequestBlockletBundleInput {
146
130
  did: String
147
131
  name: String
132
+ serverlessNftId: String
148
133
  }
149
134
 
150
135
  input RequestBlockletDiffInput {
@@ -159,6 +144,7 @@ input RequestBlockletMetaFromUrlInput {
159
144
  }
160
145
 
161
146
  input RequestChangeBlockletStoreInput {
147
+ teamDid: String
162
148
  url: String
163
149
  }
164
150
 
@@ -501,13 +487,13 @@ input RequestUpdateSessionInput {
501
487
  }
502
488
 
503
489
  input RequestUpdateWhoCanAccessInput {
504
- did: String
490
+ did: [String!]
505
491
  whoCanAccess: String
506
492
  }
507
493
 
508
494
  input RequestUpgradeBlockletInput {
509
495
  did: String
510
- registryUrl: String
496
+ storeUrl: String
511
497
  }
512
498
 
513
499
  input RequestUsersInput {
@@ -520,6 +506,7 @@ input RequestUsersInput {
520
506
 
521
507
  input RequestVersionedBlockletInput {
522
508
  did: String
509
+ storeUrl: String
523
510
  url: String
524
511
  file: Upload
525
512
  diffVersion: String
@@ -548,8 +535,6 @@ input RoutingRuleInput {
548
535
  from: RoutingRuleFromInput
549
536
  to: RoutingRuleToInput
550
537
  isProtected: Boolean
551
- interfaces: [BlockletStateInterfaceInput!]
552
- services: [BlockletServiceInput!]
553
538
  }
554
539
 
555
540
  input RoutingRuleFromInput {
@@ -789,31 +774,11 @@ type BlockletPreUpdateInfo {
789
774
  updateList: [UpdateList!]
790
775
  }
791
776
 
792
- type BlockletRegistry {
793
- name: String
794
- description: String
795
- url: String
796
- logoUrl: String
797
- maintainer: String
798
- cdnUrl: String
799
- selected: Boolean
800
- protected: Boolean
801
- id: String
802
- }
803
-
804
777
  type BlockletRepository {
805
778
  type: String
806
779
  url: String
807
780
  }
808
781
 
809
- type BlockletService {
810
- name: String
811
- description: String
812
- version: String
813
- config: String
814
- schema: String
815
- }
816
-
817
782
  type BlockletSettings {
818
783
  initialized: Boolean
819
784
  enablePassportIssuance: Boolean
@@ -822,6 +787,7 @@ type BlockletSettings {
822
787
  owner: WalletInfo
823
788
  children: [DeletedBlockletState!]
824
789
  publicToStore: Boolean
790
+ storeList: [BlockletStore!]
825
791
  }
826
792
 
827
793
  type BlockletState {
@@ -840,11 +806,10 @@ type BlockletState {
840
806
  deployedFrom: String
841
807
  bundleSource: Any
842
808
  port: Float32
843
- interfaces: [BlockletStateInterface!]
844
809
  engine: BlockletEngine
845
810
  mode: String
846
811
  ports: Any
847
- children: [BlockletState!]
812
+ children: [ComponentState!]
848
813
  trustedPassports: [TrustedPassport!]
849
814
  enablePassportIssuance: Boolean
850
815
  dynamic: Boolean
@@ -855,19 +820,23 @@ type BlockletState {
855
820
  controller: BlockletController
856
821
  }
857
822
 
858
- type BlockletStateInterface {
859
- ruleId: String
860
- type: String
861
- name: String
862
- url: String
863
- }
864
-
865
823
  type BlockletStats {
866
824
  downloads: Float32
867
825
  star: Float32
868
826
  purchases: Float32
869
827
  }
870
828
 
829
+ type BlockletStore {
830
+ name: String
831
+ description: String
832
+ url: String
833
+ logoUrl: String
834
+ maintainer: String
835
+ cdnUrl: String
836
+ protected: Boolean
837
+ id: String
838
+ }
839
+
871
840
  type BooleanResponse {
872
841
  code: StatusCode
873
842
  result: Boolean
@@ -907,6 +876,30 @@ type ChildConfig {
907
876
  mountPoint: String
908
877
  }
909
878
 
879
+ type ComponentState {
880
+ meta: BlockletMeta
881
+ status: BlockletStatus
882
+ createdAt: String
883
+ installedAt: String
884
+ startedAt: String
885
+ pausedAt: String
886
+ stoppedAt: String
887
+ environments: [ConfigEntry!]
888
+ configs: [ConfigEntry!]
889
+ diskInfo: DiskInfo
890
+ runtimeInfo: RuntimeInfo
891
+ source: BlockletSource
892
+ deployedFrom: String
893
+ bundleSource: Any
894
+ port: Float32
895
+ engine: BlockletEngine
896
+ mode: String
897
+ ports: Any
898
+ children: [ComponentState!]
899
+ dynamic: Boolean
900
+ mountPoint: String
901
+ }
902
+
910
903
  type ConfigEntry {
911
904
  key: String
912
905
  value: String
@@ -1070,7 +1063,7 @@ type NodeState {
1070
1063
  registerUrl: String
1071
1064
  enableWelcomePage: Boolean
1072
1065
  webWalletUrl: String
1073
- blockletRegistryList: [BlockletRegistry!]
1066
+ blockletRegistryList: [BlockletStore!]
1074
1067
  ownerNft: OwnerNft
1075
1068
  diskAlertThreshold: Uint32
1076
1069
  trustedPassports: [TrustedPassport!]
@@ -1315,11 +1308,6 @@ type ResponseGetRoutingSnapshots {
1315
1308
  snapshots: [RoutingSnapshot!]
1316
1309
  }
1317
1310
 
1318
- type ResponseGetServices {
1319
- code: StatusCode
1320
- services: [BlockletService!]
1321
- }
1322
-
1323
1311
  type ResponseGetSession {
1324
1312
  code: StatusCode
1325
1313
  session: Any
@@ -1444,8 +1432,6 @@ type RoutingRule {
1444
1432
  from: RoutingRuleFrom
1445
1433
  to: RoutingRuleTo
1446
1434
  isProtected: Boolean
1447
- interfaces: [BlockletStateInterface!]
1448
- services: [BlockletService!]
1449
1435
  }
1450
1436
 
1451
1437
  type RoutingRuleFrom {
@@ -1643,9 +1629,6 @@ type Mutation {
1643
1629
  updateNodeInfo(input: NodeInfoInput): ResponseGetNodeInfo
1644
1630
  updateNodeRouting(input: RequestNodeRoutingInput): ResponseGetNodeInfo
1645
1631
  upgradeNodeVersion: ResponseUpgradeNodeVersion
1646
- addBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
1647
- deleteBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
1648
- selectBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
1649
1632
  resetNode(input: RequestResetNodeInput): ResponseResetNode
1650
1633
  updateGateway(input: RequestGatewayInput): ResponseGateway
1651
1634
  createMemberInvitation(input: RequestCreateInvitationInput): ResponseCreateInvitation
@@ -1671,6 +1654,8 @@ type Mutation {
1671
1654
  revokePermissionFromRole(input: RequestRevokePermissionFromRoleInput): GeneralResponse
1672
1655
  updatePermissionsForRole(input: RequestUpdatePermissionsForRoleInput): ResponseRole
1673
1656
  hasPermission(input: RequestHasPermissionInput): BooleanResponse
1657
+ addBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
1658
+ deleteBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
1674
1659
  readNotifications(input: RequestReadNotificationsInput): ResponseReadNotifications
1675
1660
  unreadNotifications(input: RequestReadNotificationsInput): ResponseReadNotifications
1676
1661
  addRoutingSite(input: RequestAddRoutingSiteInput): ResponseRoutingSite
@@ -1713,7 +1698,6 @@ type Query {
1713
1698
  getRoutingSnapshots(input: RequestGetRoutingSnapshotsInput): ResponseGetRoutingSnapshots
1714
1699
  getSnapshotSites(input: RequestGetSnapshotSitesInput): ResponseGetSnapshotSites
1715
1700
  getRoutingProviders: ResponseGetRoutingProviders
1716
- getServices: ResponseGetServices
1717
1701
  getCertificates: ResponseGetCertificates
1718
1702
  checkDomains(input: RequestCheckDomainsInput): ResponseCheckDomains
1719
1703
  findCertificateByDomain(input: RequestFindCertificateByDomainInput): ResponseFindCertificateByDomain
@@ -22,33 +22,17 @@ input BlockletQueryInput {
22
22
  controller: BlockletControllerInput
23
23
  }
24
24
 
25
- input BlockletRegistryInput {
25
+ input BlockletStoreInput {
26
26
  name: String
27
27
  description: String
28
28
  url: String
29
29
  logoUrl: String
30
30
  maintainer: String
31
31
  cdnUrl: String
32
- selected: Boolean
33
32
  protected: Boolean
34
33
  id: String
35
34
  }
36
35
 
37
- input BlockletServiceInput {
38
- name: String
39
- description: String
40
- version: String
41
- config: String
42
- schema: String
43
- }
44
-
45
- input BlockletStateInterfaceInput {
46
- ruleId: String
47
- type: String
48
- name: String
49
- url: String
50
- }
51
-
52
36
  input ConfigEntryInput {
53
37
  key: String
54
38
  value: String
@@ -78,7 +62,7 @@ input NodeInfoInput {
78
62
  enableWelcomePage: Boolean
79
63
  registerUrl: String
80
64
  webWalletUrl: String
81
- blockletRegistryList: [BlockletRegistryInput!]
65
+ blockletRegistryList: [BlockletStoreInput!]
82
66
  diskAlertThreshold: Uint32
83
67
  }
84
68
 
@@ -138,13 +122,14 @@ input RequestAddRoutingSiteInput {
138
122
 
139
123
  input RequestBlockletInput {
140
124
  did: String
141
- registryUrl: String
125
+ storeUrl: String
142
126
  attachRuntimeInfo: Boolean
143
127
  }
144
128
 
145
129
  input RequestBlockletBundleInput {
146
130
  did: String
147
131
  name: String
132
+ serverlessNftId: String
148
133
  }
149
134
 
150
135
  input RequestBlockletDiffInput {
@@ -159,6 +144,7 @@ input RequestBlockletMetaFromUrlInput {
159
144
  }
160
145
 
161
146
  input RequestChangeBlockletStoreInput {
147
+ teamDid: String
162
148
  url: String
163
149
  }
164
150
 
@@ -501,13 +487,13 @@ input RequestUpdateSessionInput {
501
487
  }
502
488
 
503
489
  input RequestUpdateWhoCanAccessInput {
504
- did: String
490
+ did: [String!]
505
491
  whoCanAccess: String
506
492
  }
507
493
 
508
494
  input RequestUpgradeBlockletInput {
509
495
  did: String
510
- registryUrl: String
496
+ storeUrl: String
511
497
  }
512
498
 
513
499
  input RequestUsersInput {
@@ -520,6 +506,7 @@ input RequestUsersInput {
520
506
 
521
507
  input RequestVersionedBlockletInput {
522
508
  did: String
509
+ storeUrl: String
523
510
  url: String
524
511
  file: Upload
525
512
  diffVersion: String
@@ -548,8 +535,6 @@ input RoutingRuleInput {
548
535
  from: RoutingRuleFromInput
549
536
  to: RoutingRuleToInput
550
537
  isProtected: Boolean
551
- interfaces: [BlockletStateInterfaceInput!]
552
- services: [BlockletServiceInput!]
553
538
  }
554
539
 
555
540
  input RoutingRuleFromInput {
@@ -789,31 +774,11 @@ type BlockletPreUpdateInfo {
789
774
  updateList: [UpdateList!]
790
775
  }
791
776
 
792
- type BlockletRegistry {
793
- name: String
794
- description: String
795
- url: String
796
- logoUrl: String
797
- maintainer: String
798
- cdnUrl: String
799
- selected: Boolean
800
- protected: Boolean
801
- id: String
802
- }
803
-
804
777
  type BlockletRepository {
805
778
  type: String
806
779
  url: String
807
780
  }
808
781
 
809
- type BlockletService {
810
- name: String
811
- description: String
812
- version: String
813
- config: String
814
- schema: String
815
- }
816
-
817
782
  type BlockletSettings {
818
783
  initialized: Boolean
819
784
  enablePassportIssuance: Boolean
@@ -822,6 +787,7 @@ type BlockletSettings {
822
787
  owner: WalletInfo
823
788
  children: [DeletedBlockletState!]
824
789
  publicToStore: Boolean
790
+ storeList: [BlockletStore!]
825
791
  }
826
792
 
827
793
  type BlockletState {
@@ -840,11 +806,10 @@ type BlockletState {
840
806
  deployedFrom: String
841
807
  bundleSource: Any
842
808
  port: Float32
843
- interfaces: [BlockletStateInterface!]
844
809
  engine: BlockletEngine
845
810
  mode: String
846
811
  ports: Any
847
- children: [BlockletState!]
812
+ children: [ComponentState!]
848
813
  trustedPassports: [TrustedPassport!]
849
814
  enablePassportIssuance: Boolean
850
815
  dynamic: Boolean
@@ -855,19 +820,23 @@ type BlockletState {
855
820
  controller: BlockletController
856
821
  }
857
822
 
858
- type BlockletStateInterface {
859
- ruleId: String
860
- type: String
861
- name: String
862
- url: String
863
- }
864
-
865
823
  type BlockletStats {
866
824
  downloads: Float32
867
825
  star: Float32
868
826
  purchases: Float32
869
827
  }
870
828
 
829
+ type BlockletStore {
830
+ name: String
831
+ description: String
832
+ url: String
833
+ logoUrl: String
834
+ maintainer: String
835
+ cdnUrl: String
836
+ protected: Boolean
837
+ id: String
838
+ }
839
+
871
840
  type BooleanResponse {
872
841
  code: StatusCode
873
842
  result: Boolean
@@ -907,6 +876,30 @@ type ChildConfig {
907
876
  mountPoint: String
908
877
  }
909
878
 
879
+ type ComponentState {
880
+ meta: BlockletMeta
881
+ status: BlockletStatus
882
+ createdAt: String
883
+ installedAt: String
884
+ startedAt: String
885
+ pausedAt: String
886
+ stoppedAt: String
887
+ environments: [ConfigEntry!]
888
+ configs: [ConfigEntry!]
889
+ diskInfo: DiskInfo
890
+ runtimeInfo: RuntimeInfo
891
+ source: BlockletSource
892
+ deployedFrom: String
893
+ bundleSource: Any
894
+ port: Float32
895
+ engine: BlockletEngine
896
+ mode: String
897
+ ports: Any
898
+ children: [ComponentState!]
899
+ dynamic: Boolean
900
+ mountPoint: String
901
+ }
902
+
910
903
  type ConfigEntry {
911
904
  key: String
912
905
  value: String
@@ -1070,7 +1063,7 @@ type NodeState {
1070
1063
  registerUrl: String
1071
1064
  enableWelcomePage: Boolean
1072
1065
  webWalletUrl: String
1073
- blockletRegistryList: [BlockletRegistry!]
1066
+ blockletRegistryList: [BlockletStore!]
1074
1067
  ownerNft: OwnerNft
1075
1068
  diskAlertThreshold: Uint32
1076
1069
  trustedPassports: [TrustedPassport!]
@@ -1315,11 +1308,6 @@ type ResponseGetRoutingSnapshots {
1315
1308
  snapshots: [RoutingSnapshot!]
1316
1309
  }
1317
1310
 
1318
- type ResponseGetServices {
1319
- code: StatusCode
1320
- services: [BlockletService!]
1321
- }
1322
-
1323
1311
  type ResponseGetSession {
1324
1312
  code: StatusCode
1325
1313
  session: Any
@@ -1444,8 +1432,6 @@ type RoutingRule {
1444
1432
  from: RoutingRuleFrom
1445
1433
  to: RoutingRuleTo
1446
1434
  isProtected: Boolean
1447
- interfaces: [BlockletStateInterface!]
1448
- services: [BlockletService!]
1449
1435
  }
1450
1436
 
1451
1437
  type RoutingRuleFrom {
@@ -1645,9 +1631,6 @@ type Mutation {
1645
1631
  updateNodeInfo(input: NodeInfoInput): ResponseGetNodeInfo
1646
1632
  updateNodeRouting(input: RequestNodeRoutingInput): ResponseGetNodeInfo
1647
1633
  upgradeNodeVersion: ResponseUpgradeNodeVersion
1648
- addBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
1649
- deleteBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
1650
- selectBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
1651
1634
  resetNode(input: RequestResetNodeInput): ResponseResetNode
1652
1635
  updateGateway(input: RequestGatewayInput): ResponseGateway
1653
1636
  createMemberInvitation(input: RequestCreateInvitationInput): ResponseCreateInvitation
@@ -1673,6 +1656,8 @@ type Mutation {
1673
1656
  revokePermissionFromRole(input: RequestRevokePermissionFromRoleInput): GeneralResponse
1674
1657
  updatePermissionsForRole(input: RequestUpdatePermissionsForRoleInput): ResponseRole
1675
1658
  hasPermission(input: RequestHasPermissionInput): BooleanResponse
1659
+ addBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
1660
+ deleteBlockletStore(input: RequestChangeBlockletStoreInput): GeneralResponse
1676
1661
  readNotifications(input: RequestReadNotificationsInput): ResponseReadNotifications
1677
1662
  unreadNotifications(input: RequestReadNotificationsInput): ResponseReadNotifications
1678
1663
  addRoutingSite(input: RequestAddRoutingSiteInput): ResponseRoutingSite
@@ -1715,7 +1700,6 @@ type Query {
1715
1700
  getRoutingSnapshots(input: RequestGetRoutingSnapshotsInput): ResponseGetRoutingSnapshots
1716
1701
  getSnapshotSites(input: RequestGetSnapshotSitesInput): ResponseGetSnapshotSites
1717
1702
  getRoutingProviders: ResponseGetRoutingProviders
1718
- getServices: ResponseGetServices
1719
1703
  getCertificates: ResponseGetCertificates
1720
1704
  checkDomains(input: RequestCheckDomainsInput): ResponseCheckDomains
1721
1705
  findCertificateByDomain(input: RequestFindCertificateByDomainInput): ResponseFindCertificateByDomain
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.8.36",
6
+ "version": "1.8.38",
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": "507e974ce88bad1aa002c593130b32982207f803",
16
+ "gitHead": "cbb88f107eb6b403c8cd47a765920575860c7bc7",
17
17
  "devDependencies": {
18
18
  "@wangshijun/ts-protoc-gen": "^0.16.2"
19
19
  }