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

[WIP] feat(cli): add type generation & content type generation #45

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Stun3R
Copy link
Owner

@Stun3R Stun3R commented Jun 24, 2021

Types of changes

  • Bug fix (a non-breaking change which fixes an issue)
  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

As talked with Nuxt team, it would be great if it was possible to generate Typescript's types thanks the SDK based on your Strapi API.
I just finished to dev the prompt & it's fully operational BUT I'm testing a lot again this feature and I'm thinking the content type generation is not really useful... 🤔

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes (if not applicable, please state why)

@Stun3R Stun3R added the enhancement New feature or request label Jun 24, 2021
@netlify
Copy link

netlify bot commented Jun 24, 2021

✔️ Deploy Preview for strapi-sdk-js canceled.

🔨 Explore the source changes: 23d04ac

🔍 Inspect the deploy log: https://app.netlify.com/sites/strapi-sdk-js/deploys/60f455d864aef90007310ae3

@codecov
Copy link

codecov bot commented Jun 24, 2021

Codecov Report

Merging #45 (23d04ac) into main (21e95c3) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##              main       #45   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines          130       130           
  Branches        19        19           
=========================================
  Hits           130       130           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 21e95c3...23d04ac. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant