Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript protobuf generation #184

Open
2 tasks done
baktun14 opened this issue Feb 19, 2024 · 7 comments
Open
2 tasks done

Typescript protobuf generation #184

baktun14 opened this issue Feb 19, 2024 · 7 comments
Assignees
Labels

Comments

@baktun14
Copy link

Is your feature request related to a problem? Please describe.

The typescript protobuf generation are currently done in akashjs, while the go ones are done in akash-api. We need to centralize the logic of generating the protobuf types for multiple languages in the same repo (akash-api).

Describe the solution you'd like

  • Move from akashjs and write a script/procedure to generate the typescript types
  • Build a npm package from the generated protobuf types
  • Import that npm package in akashjs

Describe alternatives you've considered

This is the best we got!

Search

  • I did search for other open and closed issues before opening this

Code of Conduct

  • I agree to follow this project's Code of Conduct

Additional context

No response

@baktun14
Copy link
Author

For rust: #176

@baktun14
Copy link
Author

baktun14 commented Mar 14, 2024

@ygrishajev
Copy link

atm some discussions are done, overall vision is being formed and some initial code has been pushed. Overall it's just started taking into account that I'm getting familiar with akash-api code.

@baktun14
Copy link
Author

baktun14 commented Apr 2, 2024

Also this commit not sure. cc @Redm4x

@brewsterdrinkwater
Copy link
Contributor

April 30th, 2024:

  • Some issues came up last week. New PR is pending to solve issues.

@ygrishajev
Copy link

Appeared cloudmos indexer is using code generation for connectrpc. Had to adjust akash-api code generation to later use common implementation in the indexer akash-network/akash-api#158

@ygrishajev
Copy link

Another issue: akashjs still needs some deprecated generated code for cloudmos. So I'm going to move it to akash-api too to keep separation of concerns proper.
After all this is a common thing that some archived types might be needed. Akash-api makes it a logical location for those

troian pushed a commit to akash-network/akash-api that referenced this issue May 3, 2024
refs akash-network/support#184

ensure non-conflicting dirs for patch preservation
improve formatting to make sure it works from the root dir
ygrishajev added a commit to akash-network/akashjs that referenced this issue May 6, 2024
ygrishajev added a commit to akash-network/akashjs that referenced this issue May 6, 2024
ygrishajev added a commit to akash-network/cloudmos that referenced this issue May 6, 2024
Also remove relevant local barrel index files.

refs akash-network/support#184
ygrishajev added a commit to akash-network/cloudmos that referenced this issue May 6, 2024
Also remove relevant local barrel index files.

refs akash-network/support#184
ygrishajev added a commit to akash-network/cloudmos that referenced this issue May 6, 2024
Also remove relevant local barrel index files.

refs akash-network/support#184
ygrishajev added a commit to akash-network/cloudmos that referenced this issue May 6, 2024
Also remove relevant local barrel index files.

refs akash-network/support#184
ygrishajev added a commit to akash-network/cloudmos that referenced this issue May 6, 2024
Also remove relevant local barrel index files.

refs akash-network/support#184
ygrishajev added a commit to akash-network/cloudmos that referenced this issue May 6, 2024
Also remove relevant local barrel index files.

refs akash-network/support#184
ygrishajev added a commit to akash-network/cloudmos that referenced this issue May 6, 2024
Also remove relevant local barrel index files.

refs akash-network/support#184
ygrishajev added a commit to akash-network/akashjs that referenced this issue May 7, 2024
github-actions bot pushed a commit to akash-network/akashjs that referenced this issue May 7, 2024
## [0.7.0](v0.6.3...v0.7.0) (2024-05-07)

### Features

* **api:** use deprecated generated code from akash-api ([b95352f](b95352f)), closes [akash-network/support#184](akash-network/support#184)
ygrishajev added a commit to akash-network/cloudmos that referenced this issue May 7, 2024
Also remove relevant local barrel index files.

refs akash-network/support#184
ygrishajev added a commit to akash-network/cloudmos that referenced this issue May 7, 2024
Also remove relevant local barrel index files.

refs akash-network/support#184
ygrishajev added a commit to akash-network/cloudmos that referenced this issue May 7, 2024
ygrishajev added a commit to akash-network/cloudmos that referenced this issue May 7, 2024
ygrishajev added a commit to akash-network/cloudmos that referenced this issue May 8, 2024
Also remove relevant local barrel index files.

refs akash-network/support#184
ygrishajev added a commit to akash-network/cloudmos that referenced this issue May 8, 2024
ygrishajev added a commit to akash-network/cloudmos that referenced this issue May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In Progress (prioritized)
Development

No branches or pull requests

4 participants