Skip to content

Add support for Strapi version 4 #49

@dmitrybelyakov

Description

@dmitrybelyakov

Creating a new issue since there's no way to reopen #47.

@chris-schra kindly provided a fix via #48 , however even with the fix strapi-to-typescript fails to generate types for Strapi 4.

Anything that used to go under api directory now lives under src/api and has a different folder structure, as such all strapi content types get ignored entirely and you get an empty index.ts file as a result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions