Skip to content

issues Search Results · repo:contentstack/contentstack-cli-tsgen language:JavaScript

Filter by

17 results
 (116 ms)

17 results

incontentstack/contentstack-cli-tsgen (press backspace or delete to remove)

GraphQL dependency missing when using rest as API type After the release of 2.3.0 it broke our codegen as grapql is missing even though we re not using GraphQL. (node:25983) [MODULE_NOT_FOUND] ModuleLoadError ...
  • simoneldevig
  • 2
  • Opened 
    on Feb 6, 2024
  • #93

I have a content model with two non-mandatory fields of type Date and Select. The tsgen plugin exports this content model as follows: export interface TestModel { title: string; date?: string; select?: ...
  • sgoess
  • 1
  • Opened 
    on Nov 10, 2023
  • #66

In the last version of contentstack-cli-tsgen The file __generated__.types.ts includes the field version on the global fields interfaces why you added version to global fields? is this intended? I ve ...
  • neildan
  • 3
  • Opened 
    on Nov 7, 2023
  • #65

CS always sends references as an array of entries. It means that all references must be like arrays, and empty arrays in case if reference is not specified. Even if this field is not mandatory, it will ...
  • max-cross
  • 2
  • Opened 
    on Nov 3, 2023
  • #64

If you fetch entries via SDK or API it sends entries with additional data like UID, created_at, publish_details fields, and so on. But the TSGen plugin doesn t add this information when you generate types. ...
  • max-cross
  • 4
  • Opened 
    on Nov 3, 2023
  • #63

Hi, I just tried to use the package, but it failed with the following output: % csdx tsgen -a test -o test.d.ts SyntaxError: Declaration or statement expected. (3111:1) 3109 | } 3110 ...
  • sgoess
  • 1
  • Opened 
    on Oct 23, 2023
  • #57

A referenced field that is not set as multiple has the type generated as an array. Example from the demo data (from the starters): a header object has a reference to a page - page_reference. It looks ...
  • Cry0nicS
  • 3
  • Opened 
    on Sep 22, 2023
  • #43

Hi! I m trying to generate types for the Stack, but when I run the tsgen it returns the following Syntax error: SyntaxError: = expected. reference: ()[]; | ^ Let me know if you need more information! ...
  • itsTyd
  • 2
  • Opened 
    on May 11, 2023
  • #30

Expected: models?: ProductModel[]; Actual: models?: ProductModel; img width= 364 alt= csgen1 src= https://user-images.githubusercontent.com/64633846/225609232-5ea809e1-302d-4330-b69a-ef44b617ac86.png ...
  • justtry2
  • Opened 
    on Mar 16, 2023
  • #24

Per @NunoMCP s comment on #20, we need to add support for branches with this plugin.
  • ChristopherJennings
  • 2
  • Opened 
    on Mar 15, 2023
  • #23
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub