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

feat(scripts): typegen improvements #5878

Merged
merged 3 commits into from
Mar 6, 2024

Conversation

psychedelicious
Copy link
Collaborator

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Community Node Submission

Description

  • Add python script that generates the openapi schema without needing to start up the application
  • Update typegen.js to support piping in a schema from stdout or an arg with a URL or path to openapi.json
  • Add frontend-typegen to Makefile

QA Instructions, Screenshots, Recordings

You should be able to run make frontend-typegen from repo root, without the app running, and generate the frontend types.

Merge Plan

This PR can be merged when approved

@psychedelicious psychedelicious enabled auto-merge (rebase) March 6, 2024 23:14
@psychedelicious psychedelicious force-pushed the psyche/feat/typegen-improvements branch from 8427f76 to 087d08b Compare March 6, 2024 23:14
@psychedelicious psychedelicious merged commit 4f096ac into main Mar 6, 2024
14 checks passed
@psychedelicious psychedelicious deleted the psyche/feat/typegen-improvements branch March 6, 2024 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend PRs that change frontend files Root
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants