type definition system for mobiletto object-relational-mapper (ORM)
npm install mobiletto-orm-typedefmobiletto-orm-typedef
=====================
This library provides mobiletto-independent code for mobiletto-orm, likeMobilettoOrmTypeDef and various error types.
Front-end code need not depend on the underlying mobiletto and mobiletto-orm libraries, but
can still make use of the type definitions that its server is using to validate and persist objects.
For example, to ensure that frontend form validation is synchronized with backend storage validation.
mobiletto-orm-typedef via npm or yarn or pnpm # install with npm
npm i mobiletto-orm-typedef
# install with yarn
yarn add mobiletto-orm-typedef
# install with pnpm
pnpm add mobiletto-orm-typedef
# Clone source and install dependencies
git clone https://github.com/cobbzilla/mobiletto-orm-typedef.git
cd mobiletto-orm-typedef
pnpm install
You can also check out the test suite for examples.