0.0.2 • Published 7 years ago

moot-model v0.0.2

Weekly downloads
9
License
VOL
Repository
github
Last release
7 years ago

moot-model

Model objects for the moot demo project.

There are currently three types of model objects:

  • value: A static value which can be referenced anywhere within your application. Use it to share lists of values across modules and services, such as static lists of words or numbers.
  • schema: An object with defined properties, and validation functions for those properties.
  • fragment: Sub-resources on schemas.

using it

Within your moot-app, or within the moot-client, you might reference one of these things like this:

import game from 'moot-model/schema/game'

console.log(game.type) // => 'GAME'

license

The moot project, this repo, and everything within this repo, is published and released under the Very Open License.