@abtnode/schema 1.16.16 → 1.16.17-beta-8cacb9b3

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
@@ -280,6 +280,28 @@ input RequestCreatePermissionInput {
280
280
  description: String
281
281
  }
282
282
 
283
+ input RequestCreateProjectInput {
284
+ did: String
285
+ type: PublishType
286
+ blockletDid: String
287
+ blockletTitle: String
288
+ }
289
+
290
+ input RequestCreateReleaseInput {
291
+ did: String
292
+ projectId: String
293
+ releaseId: String
294
+ blockletDid: String
295
+ blockletVersion: String
296
+ blockletTitle: String
297
+ blockletDescription: String
298
+ blockletLogo: String
299
+ blockletIntroduction: String
300
+ blockletScreenshots: [String!]
301
+ note: String
302
+ status: String
303
+ }
304
+
283
305
  input RequestCreateRoleInput {
284
306
  teamDid: String
285
307
  name: String
@@ -414,6 +436,17 @@ input RequestGetPassportIssuancesInput {
414
436
  ownerDid: String
415
437
  }
416
438
 
439
+ input RequestGetProjectsInput {
440
+ did: String
441
+ paging: PagingInput
442
+ }
443
+
444
+ input RequestGetReleasesInput {
445
+ did: String
446
+ projectId: String
447
+ paging: PagingInput
448
+ }
449
+
417
450
  input RequestGetRoutingSitesInput {
418
451
  snapshotHash: String
419
452
  }
@@ -496,6 +529,11 @@ input RequestNodeRuntimeHistoryInput {
496
529
  hours: Uint32
497
530
  }
498
531
 
532
+ input RequestProjectInput {
533
+ did: String
534
+ projectId: String
535
+ }
536
+
499
537
  input RequestQuitFederatedLoginInput {
500
538
  did: String
501
539
  }
@@ -504,6 +542,12 @@ input RequestReadNotificationsInput {
504
542
  id: String
505
543
  }
506
544
 
545
+ input RequestReleaseInput {
546
+ did: String
547
+ projectId: String
548
+ releaseId: String
549
+ }
550
+
507
551
  input RequestResetNodeInput {
508
552
  owner: Boolean
509
553
  blocklets: Boolean
@@ -635,6 +679,14 @@ input RequestUpdatePermissionsForRoleInput {
635
679
  grantNames: [String!]
636
680
  }
637
681
 
682
+ input RequestUpdateProjectInput {
683
+ did: String
684
+ projectId: String
685
+ blockletTitle: String
686
+ blockletDescription: String
687
+ blockletIntroduction: String
688
+ }
689
+
638
690
  input RequestUpdateRoutingRuleInput {
639
691
  id: String
640
692
  rule: RoutingRuleInput
@@ -906,6 +958,7 @@ type BlockletCapabilities {
906
958
  component: Boolean
907
959
  navigation: Boolean
908
960
  didSpace: String
961
+ resourceExportPage: String
909
962
  }
910
963
 
911
964
  type BlockletController {
@@ -1467,6 +1520,37 @@ type Permission {
1467
1520
  isProtected: Boolean
1468
1521
  }
1469
1522
 
1523
+ type Project {
1524
+ id: String
1525
+ type: PublishType
1526
+ blockletDid: String
1527
+ blockletVersion: String
1528
+ blockletTitle: String
1529
+ blockletDescription: String
1530
+ blockletLogo: String
1531
+ blockletIntroduction: String
1532
+ blockletScreenshots: [String!]
1533
+ createdAt: String
1534
+ updatedAt: String
1535
+ }
1536
+
1537
+ type Release {
1538
+ id: String
1539
+ projectId: String
1540
+ blockletDid: String
1541
+ blockletVersion: String
1542
+ blockletTitle: String
1543
+ blockletDescription: String
1544
+ blockletLogo: String
1545
+ blockletIntroduction: String
1546
+ blockletScreenshots: [String!]
1547
+ note: String
1548
+ files: [String!]
1549
+ status: ReleaseStatus
1550
+ createdAt: String
1551
+ updatedAt: String
1552
+ }
1553
+
1470
1554
  type RequestLimit {
1471
1555
  enabled: Boolean
1472
1556
  rate: Uint32
@@ -1663,6 +1747,28 @@ type ResponseGetPassportIssuances {
1663
1747
  list: [PassportIssuanceInfo!]
1664
1748
  }
1665
1749
 
1750
+ type ResponseGetProject {
1751
+ code: StatusCode
1752
+ project: Project
1753
+ }
1754
+
1755
+ type ResponseGetProjects {
1756
+ code: StatusCode
1757
+ projects: [Project!]
1758
+ paging: Paging
1759
+ }
1760
+
1761
+ type ResponseGetRelease {
1762
+ code: StatusCode
1763
+ release: Release
1764
+ }
1765
+
1766
+ type ResponseGetReleases {
1767
+ code: StatusCode
1768
+ releases: [Release!]
1769
+ paging: Paging
1770
+ }
1771
+
1666
1772
  type ResponseGetRoutingProviders {
1667
1773
  code: StatusCode
1668
1774
  providers: [RoutingProvider!]
@@ -1719,11 +1825,21 @@ type ResponsePermissions {
1719
1825
  permissions: [Permission!]
1720
1826
  }
1721
1827
 
1828
+ type ResponseProject {
1829
+ code: StatusCode
1830
+ project: Project
1831
+ }
1832
+
1722
1833
  type ResponseReadNotifications {
1723
1834
  code: StatusCode
1724
1835
  numAffected: Int32
1725
1836
  }
1726
1837
 
1838
+ type ResponseRelease {
1839
+ code: StatusCode
1840
+ release: Release
1841
+ }
1842
+
1727
1843
  type ResponseResetNode {
1728
1844
  code: StatusCode
1729
1845
  }
@@ -2065,6 +2181,16 @@ enum HeaderMatchType {
2065
2181
  regexp
2066
2182
  }
2067
2183
 
2184
+ enum PublishType {
2185
+ resource
2186
+ pack
2187
+ }
2188
+
2189
+ enum ReleaseStatus {
2190
+ draft
2191
+ published
2192
+ }
2193
+
2068
2194
  enum SenderType {
2069
2195
  slack
2070
2196
  api
@@ -2176,6 +2302,11 @@ type Mutation {
2176
2302
  startSession(input: RequestStartSessionInput): ResponseGetSession
2177
2303
  updateSession(input: RequestUpdateSessionInput): ResponseGetSession
2178
2304
  endSession(input: RequestEndSessionInput): ResponseGetSession
2305
+ createProject(input: RequestCreateProjectInput): ResponseProject
2306
+ updateProject(input: RequestUpdateProjectInput): ResponseProject
2307
+ deleteProject(input: RequestProjectInput): GeneralResponse
2308
+ createRelease(input: RequestCreateReleaseInput): ResponseRelease
2309
+ deleteRelease(input: RequestReleaseInput): GeneralResponse
2179
2310
  }
2180
2311
 
2181
2312
  type Query {
@@ -2222,4 +2353,8 @@ type Query {
2222
2353
  getBlockletBackups(input: RequestGetBlockletBackupsInput): ResponseGetBlockletBackups
2223
2354
  getBlockletSpaceGateways(input: RequestBlockletInput): ResponseGetBlockletSpaceGateways
2224
2355
  getTrafficInsights(input: RequestGetTrafficInsightsInput): ResponseGetTrafficInsights
2356
+ getProjects(input: RequestGetProjectsInput): ResponseGetProjects
2357
+ getProject(input: RequestProjectInput): ResponseGetProject
2358
+ getReleases(input: RequestGetReleasesInput): ResponseGetReleases
2359
+ getRelease(input: RequestReleaseInput): ResponseGetRelease
2225
2360
  }`;
@@ -280,6 +280,28 @@ input RequestCreatePermissionInput {
280
280
  description: String
281
281
  }
282
282
 
283
+ input RequestCreateProjectInput {
284
+ did: String
285
+ type: PublishType
286
+ blockletDid: String
287
+ blockletTitle: String
288
+ }
289
+
290
+ input RequestCreateReleaseInput {
291
+ did: String
292
+ projectId: String
293
+ releaseId: String
294
+ blockletDid: String
295
+ blockletVersion: String
296
+ blockletTitle: String
297
+ blockletDescription: String
298
+ blockletLogo: String
299
+ blockletIntroduction: String
300
+ blockletScreenshots: [String!]
301
+ note: String
302
+ status: String
303
+ }
304
+
283
305
  input RequestCreateRoleInput {
284
306
  teamDid: String
285
307
  name: String
@@ -414,6 +436,17 @@ input RequestGetPassportIssuancesInput {
414
436
  ownerDid: String
415
437
  }
416
438
 
439
+ input RequestGetProjectsInput {
440
+ did: String
441
+ paging: PagingInput
442
+ }
443
+
444
+ input RequestGetReleasesInput {
445
+ did: String
446
+ projectId: String
447
+ paging: PagingInput
448
+ }
449
+
417
450
  input RequestGetRoutingSitesInput {
418
451
  snapshotHash: String
419
452
  }
@@ -496,6 +529,11 @@ input RequestNodeRuntimeHistoryInput {
496
529
  hours: Uint32
497
530
  }
498
531
 
532
+ input RequestProjectInput {
533
+ did: String
534
+ projectId: String
535
+ }
536
+
499
537
  input RequestQuitFederatedLoginInput {
500
538
  did: String
501
539
  }
@@ -504,6 +542,12 @@ input RequestReadNotificationsInput {
504
542
  id: String
505
543
  }
506
544
 
545
+ input RequestReleaseInput {
546
+ did: String
547
+ projectId: String
548
+ releaseId: String
549
+ }
550
+
507
551
  input RequestResetNodeInput {
508
552
  owner: Boolean
509
553
  blocklets: Boolean
@@ -635,6 +679,14 @@ input RequestUpdatePermissionsForRoleInput {
635
679
  grantNames: [String!]
636
680
  }
637
681
 
682
+ input RequestUpdateProjectInput {
683
+ did: String
684
+ projectId: String
685
+ blockletTitle: String
686
+ blockletDescription: String
687
+ blockletIntroduction: String
688
+ }
689
+
638
690
  input RequestUpdateRoutingRuleInput {
639
691
  id: String
640
692
  rule: RoutingRuleInput
@@ -906,6 +958,7 @@ type BlockletCapabilities {
906
958
  component: Boolean
907
959
  navigation: Boolean
908
960
  didSpace: String
961
+ resourceExportPage: String
909
962
  }
910
963
 
911
964
  type BlockletController {
@@ -1467,6 +1520,37 @@ type Permission {
1467
1520
  isProtected: Boolean
1468
1521
  }
1469
1522
 
1523
+ type Project {
1524
+ id: String
1525
+ type: PublishType
1526
+ blockletDid: String
1527
+ blockletVersion: String
1528
+ blockletTitle: String
1529
+ blockletDescription: String
1530
+ blockletLogo: String
1531
+ blockletIntroduction: String
1532
+ blockletScreenshots: [String!]
1533
+ createdAt: String
1534
+ updatedAt: String
1535
+ }
1536
+
1537
+ type Release {
1538
+ id: String
1539
+ projectId: String
1540
+ blockletDid: String
1541
+ blockletVersion: String
1542
+ blockletTitle: String
1543
+ blockletDescription: String
1544
+ blockletLogo: String
1545
+ blockletIntroduction: String
1546
+ blockletScreenshots: [String!]
1547
+ note: String
1548
+ files: [String!]
1549
+ status: ReleaseStatus
1550
+ createdAt: String
1551
+ updatedAt: String
1552
+ }
1553
+
1470
1554
  type RequestLimit {
1471
1555
  enabled: Boolean
1472
1556
  rate: Uint32
@@ -1663,6 +1747,28 @@ type ResponseGetPassportIssuances {
1663
1747
  list: [PassportIssuanceInfo!]
1664
1748
  }
1665
1749
 
1750
+ type ResponseGetProject {
1751
+ code: StatusCode
1752
+ project: Project
1753
+ }
1754
+
1755
+ type ResponseGetProjects {
1756
+ code: StatusCode
1757
+ projects: [Project!]
1758
+ paging: Paging
1759
+ }
1760
+
1761
+ type ResponseGetRelease {
1762
+ code: StatusCode
1763
+ release: Release
1764
+ }
1765
+
1766
+ type ResponseGetReleases {
1767
+ code: StatusCode
1768
+ releases: [Release!]
1769
+ paging: Paging
1770
+ }
1771
+
1666
1772
  type ResponseGetRoutingProviders {
1667
1773
  code: StatusCode
1668
1774
  providers: [RoutingProvider!]
@@ -1719,11 +1825,21 @@ type ResponsePermissions {
1719
1825
  permissions: [Permission!]
1720
1826
  }
1721
1827
 
1828
+ type ResponseProject {
1829
+ code: StatusCode
1830
+ project: Project
1831
+ }
1832
+
1722
1833
  type ResponseReadNotifications {
1723
1834
  code: StatusCode
1724
1835
  numAffected: Int32
1725
1836
  }
1726
1837
 
1838
+ type ResponseRelease {
1839
+ code: StatusCode
1840
+ release: Release
1841
+ }
1842
+
1727
1843
  type ResponseResetNode {
1728
1844
  code: StatusCode
1729
1845
  }
@@ -2065,6 +2181,16 @@ enum HeaderMatchType {
2065
2181
  regexp
2066
2182
  }
2067
2183
 
2184
+ enum PublishType {
2185
+ resource
2186
+ pack
2187
+ }
2188
+
2189
+ enum ReleaseStatus {
2190
+ draft
2191
+ published
2192
+ }
2193
+
2068
2194
  enum SenderType {
2069
2195
  slack
2070
2196
  api
@@ -2178,6 +2304,11 @@ type Mutation {
2178
2304
  startSession(input: RequestStartSessionInput): ResponseGetSession
2179
2305
  updateSession(input: RequestUpdateSessionInput): ResponseGetSession
2180
2306
  endSession(input: RequestEndSessionInput): ResponseGetSession
2307
+ createProject(input: RequestCreateProjectInput): ResponseProject
2308
+ updateProject(input: RequestUpdateProjectInput): ResponseProject
2309
+ deleteProject(input: RequestProjectInput): GeneralResponse
2310
+ createRelease(input: RequestCreateReleaseInput): ResponseRelease
2311
+ deleteRelease(input: RequestReleaseInput): GeneralResponse
2181
2312
  }
2182
2313
 
2183
2314
  type Query {
@@ -2224,5 +2355,9 @@ type Query {
2224
2355
  getBlockletBackups(input: RequestGetBlockletBackupsInput): ResponseGetBlockletBackups
2225
2356
  getBlockletSpaceGateways(input: RequestBlockletInput): ResponseGetBlockletSpaceGateways
2226
2357
  getTrafficInsights(input: RequestGetTrafficInsightsInput): ResponseGetTrafficInsights
2358
+ getProjects(input: RequestGetProjectsInput): ResponseGetProjects
2359
+ getProject(input: RequestProjectInput): ResponseGetProject
2360
+ getReleases(input: RequestGetReleasesInput): ResponseGetReleases
2361
+ getRelease(input: RequestReleaseInput): ResponseGetRelease
2227
2362
  }
2228
2363
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.16",
6
+ "version": "1.16.17-beta-8cacb9b3",
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": "Apache-2.0",
16
- "gitHead": "2de4f6dbad086bd861273a4fc9ca8a87ddda4778",
16
+ "gitHead": "0e3266f543b6d419a004ca94ee9efb572e3d9809",
17
17
  "devDependencies": {
18
18
  "@wangshijun/ts-protoc-gen": "^0.16.2"
19
19
  }