@abtnode/types 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/enum_pb.d.ts CHANGED
@@ -59,3 +59,11 @@ export interface BackupToMap {
59
59
  SPACES: 0;
60
60
  DISK: 1;
61
61
  }
62
+ export interface PublishTypeMap {
63
+ RESOURCE: 0;
64
+ PACK: 1;
65
+ }
66
+ export interface ReleaseStatusMap {
67
+ DRAFT: 0;
68
+ PUBLISHED: 1;
69
+ }
package/lib/rpc_pb.d.ts CHANGED
@@ -765,3 +765,74 @@ export type TResponseTags = {
765
765
  tags: type_pb.TTag[],
766
766
  paging?: type_pb.TPaging,
767
767
  }
768
+ export type TRequestProject = {
769
+ did: string,
770
+ projectid: string,
771
+ }
772
+ export type TRequestGetProjects = {
773
+ did: string,
774
+ paging?: type_pb.TPaging,
775
+ }
776
+ export type TResponseGetProjects = {
777
+ code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
778
+ projects: type_pb.TProject[],
779
+ paging?: type_pb.TPaging,
780
+ }
781
+ export type TResponseGetProject = {
782
+ code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
783
+ project?: type_pb.TProject,
784
+ }
785
+ export type TRequestCreateProject = {
786
+ did: string,
787
+ type: enum_pb.PublishTypeMap[keyof enum_pb.PublishTypeMap],
788
+ blockletDid: string,
789
+ blockletTitle: string,
790
+ }
791
+ export type TResponseProject = {
792
+ code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
793
+ project?: type_pb.TProject,
794
+ }
795
+ export type TRequestUpdateProject = {
796
+ did: string,
797
+ projectid: string,
798
+ blockletTitle: string,
799
+ blockletDescription: string,
800
+ blockletIntroduction: string,
801
+ }
802
+ export type TRequestRelease = {
803
+ did: string,
804
+ projectId: string,
805
+ releaseId: string,
806
+ }
807
+ export type TResponseGetRelease = {
808
+ code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
809
+ release?: type_pb.TRelease,
810
+ }
811
+ export type TRequestGetReleases = {
812
+ did: string,
813
+ projectid: string,
814
+ paging?: type_pb.TPaging,
815
+ }
816
+ export type TResponseGetReleases = {
817
+ code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
818
+ releases: type_pb.TRelease[],
819
+ paging?: type_pb.TPaging,
820
+ }
821
+ export type TRequestCreateRelease = {
822
+ did: string,
823
+ projectId: string,
824
+ releaseId: string,
825
+ blockletDid: string,
826
+ blockletVersion: string,
827
+ blockletTitle: string,
828
+ blockletDescription: string,
829
+ blockletLogo: string,
830
+ blockletIntroduction: string,
831
+ blockletScreenshots: string[],
832
+ note: string,
833
+ status: string,
834
+ }
835
+ export type TResponseRelease = {
836
+ code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
837
+ release?: type_pb.TRelease,
838
+ }
package/lib/type_pb.d.ts CHANGED
@@ -144,6 +144,7 @@ export type TBlockletCapabilities = {
144
144
  component: boolean,
145
145
  navigation: boolean,
146
146
  didSpace: string,
147
+ resourceExportPage: string,
147
148
  }
148
149
  export type TBlockletPayment = {
149
150
  price: TBlockletPaymentPrice[],
@@ -826,3 +827,32 @@ export type TNodeRuntimeConfig = {
826
827
  daemonMaxMemoryLimit: number,
827
828
  proxyMaxMemoryLimit: number,
828
829
  }
830
+ export type TProject = {
831
+ id: string,
832
+ type: enum_pb.PublishTypeMap[keyof enum_pb.PublishTypeMap],
833
+ blockletDid: string,
834
+ blockletVersion: string,
835
+ blockletTitle: string,
836
+ blockletDescription: string,
837
+ blockletLogo: string,
838
+ blockletIntroduction: string,
839
+ blockletScreenshots: string[],
840
+ createdAt: string,
841
+ updatedAt: string,
842
+ }
843
+ export type TRelease = {
844
+ id: string,
845
+ projectId: string,
846
+ blockletDid: string,
847
+ blockletVersion: string,
848
+ blockletTitle: string,
849
+ blockletDescription: string,
850
+ blockletLogo: string,
851
+ blockletIntroduction: string,
852
+ blockletScreenshots: string[],
853
+ note: string,
854
+ files: string[],
855
+ status: enum_pb.ReleaseStatusMap[keyof enum_pb.ReleaseStatusMap],
856
+ createdAt: string,
857
+ updatedAt: string,
858
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/types",
3
- "version": "1.16.16",
3
+ "version": "1.16.17-beta-8cacb9b3",
4
4
  "description": "Typescript definitions generated from protobuf",
5
5
  "keywords": [
6
6
  "abtnode",
@@ -36,5 +36,5 @@
36
36
  "bugs": {
37
37
  "url": "https://github.com/ArcBlock/abt-node/issues"
38
38
  },
39
- "gitHead": "2de4f6dbad086bd861273a4fc9ca8a87ddda4778"
39
+ "gitHead": "0e3266f543b6d419a004ca94ee9efb572e3d9809"
40
40
  }