1.0.4 • Published 6 months ago

contentstack-types-generator v1.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

Contentstack Types Generator

Content Type to Typescript

1. Install

npm i --save-dev contentstack-types-generator

2. Usage

types-generator -a <api_key> -t <delivery_token> -e <environment> -o <output_dir>

Above command will generate typescript types file for all the content types in your stack.


Below is CLI options

Usage: types-generator [options]

CLI tool to generate types for contentstack entries.

Options:
  -a, --apiKey <api_key>           Stack API Key
  -t, --token <delivery_token>     Delivery Token
  -e, --environment <environment>  Environment
  -r, --region <region>            Region (na, eu)
  -o, --output <output_dir>        Output Directory
1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago