An open API service indexing awesome lists of open source software.

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

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