mobiletto-orm-typedef-gen
This library provides tools to generate various files based on types declared using
mobiletto-orm-typedef
This is a separate library because it's almost always a dev dependency and not needed
at runtime.
Source
Support and Funding
I would be sincerely grateful for any contribution via Patreon
Installation and usage
You can install mobiletto-orm-typedef-gen
via npm or yarn or pnpm
npm package
# install with npm
npm i mobiletto-orm-typedef-gen
# install with yarn
yarn add mobiletto-orm-typedef-gen
# install with pnpm
pnpm add mobiletto-orm-typedef-gen
From source
To access the mobiletto-orm-typedef-gen source:
# Clone source and install dependencies
git clone https://github.com/cobbzilla/mobiletto-orm-typedef-gen.git
cd mobiletto-orm-typedef-gen
pnpm install
Using Mobiletto ORM Type Definitions
See the mobiletto-orm documentation on Type Definitions
You can also check out the test suite for examples.
Generate TypeScript type
Generate yup validator
Generate Nuxt 3 server API
Generate API client service
Generate Pinia store
Generate Vue 3 admin component