https://github.com/cobbzilla/mobiletto-orm-typedef-gen
Generate various files from a mobiletto-orm-typedef type definition
https://github.com/cobbzilla/mobiletto-orm-typedef-gen
Last synced: 4 months ago
JSON representation
Generate various files from a mobiletto-orm-typedef type definition
- Host: GitHub
- URL: https://github.com/cobbzilla/mobiletto-orm-typedef-gen
- Owner: cobbzilla
- Created: 2023-07-14T01:52:58.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-01-06T02:55:54.000Z (over 2 years ago)
- Last Synced: 2025-02-01T21:07:12.713Z (over 1 year ago)
- Language: Handlebars
- Size: 424 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
mobiletto-orm-typedef-gen
=========================
This library provides tools to generate various files based on types declared using
[mobiletto-orm-typedef](https://github.com/cobbzilla/mobiletto-orm-typedef)
This is a separate library because it's almost always a dev dependency and not needed
at runtime.
### Source
* [mobiletto-orm-typedef-gen on GitHub](https://github.com/cobbzilla/mobiletto-orm-typedef-gen)
* [mobiletto-orm-typedef-gen on npm](https://www.npmjs.com/package/mobiletto-orm-typedef-gen)
## Support and Funding
I would be sincerely grateful for any [contribution via Patreon](https://www.patreon.com/cobbzilla)
## 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](https://github.com/cobbzilla/mobiletto-orm#Type-Definitions)
You can also check out the [test suite](./test) 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