These type definitions are generated based on the MLP Vector Club's public OpenAPI specifications.
npm install @mlp-vectorclub/api-typesshell
Via NPM
$ npm install @mlp-vectorclub/api-types
Via YARN
$ yarn add @mlp-vectorclub/api-types
`
In your TypeScript code, simply import the necessary types from the package:
`ts
import { Appearance } from '@mlp-vectorclub/api-types';
const value: Appearance = { / … / };
`
Building
1. Make a copy of .env.example named .env
2. Add the full path to the API schema definition (either a URL or a file path) as the API_JSON_PATH (wrap it in " if it contains spaces)
3. Run yarn build`