Comments (6)
If you use the v10 client, you have to provide the --v10
flag.
from cf-content-types-generator.
Thank you so much! That seemed to fix it!
from cf-content-types-generator.
I know this is closed, but maybe this should be written bigger somewher in the docs ?
from cf-content-types-generator.
Hey @KyleMo,
What flags you use to generate your types, and what version of contentful are you using?
from cf-content-types-generator.
@marcolink This is the script I use to generate types cf-content-types-generator src/contentful/export.json --out src/types/contentful
Contentful version: ^10.6.14
cf-export-types: ^2.13.0
from cf-content-types-generator.
@Twister42 the next major version will likely only support v10. But please feel free to create a PR to nake the flag more prominent.
from cf-content-types-generator.
Related Issues (20)
- "Type does not satisfy the constraint 'EntrySkeletonType'." HOT 7
- Type error after Contentful `10.0.0-beta-v10.32` HOT 4
- oclif dependencies are deprecated HOT 2
- How to actually use fields? HOT 13
- Use with Contentful GraphQL endpoint? HOT 1
- 2.12.3 introduces bug HOT 2
- Property does not exist on type {} | {} HOT 2
- Include description and help text in JSDoc comments? HOT 5
- Support a config file
- Support custom prefixes of generics and interfaces HOT 2
- Command hangs after generating the export
- Generated TypeScript Models Lack File Extensions in Import Statements When Using Node 16 Module Resolution HOT 1
- Fields not typed correctly HOT 2
- Generated field interface does not satisfy the constraint 'EntrySkeletonType' HOT 5
- Generated types don't seem to match those expected by Contentful v10 HOT 2
- Support EU Data Center HOT 2
- Release a new version with updated contentful and allow minor version differences if possible HOT 1
- Why can `EntryFieldTypes.Array<EntryFieldTypes.EntryLink<EntrySkeletonType>>` array include `undefined`? HOT 2
- ResponseTypeRenderer is not exported HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cf-content-types-generator.