modeled-mobx
Advanced tools
Comparing version 0.0.1 to 0.0.2-0
export interface JSON { | ||
readonly [text: string]: JSON | JSON[] | string | number; | ||
readonly [text: string]: JSON | JSON[] | string | number | boolean; | ||
} | ||
@@ -4,0 +4,0 @@ export declare type PropertyTypes = 'field' | 'model'; |
{ | ||
"name": "modeled-mobx", | ||
"version": "0.0.1", | ||
"description": "Mobx powered classes with type-coercion and serialization/hdration", | ||
"version": "0.0.2-0", | ||
"description": "MobX powered classes with type-coercion and serialization/hydration", | ||
"author": "nathanstitt", | ||
"license": "MIT", | ||
"repository": "nathanstitt/modeled-mobx", | ||
"exports": { | ||
"import": "./dist/modeled-mobx.modern.js", | ||
"require": "./dist/modeled-mobx.js" | ||
}, | ||
"typings": "dist/index.d.ts", | ||
"main": "dist/modeled-mobx.js", | ||
"module": "dist/modeled-mobx.module.js", | ||
"exports": "./dist/modeled-mobx.modern.js", | ||
"unpkg": "dist/modeled-mobx.umd.js", | ||
@@ -12,0 +16,0 @@ "source": "src/index.ts", |
@@ -1,4 +0,4 @@ | ||
# Decorators for creating model relationships with mobx | ||
# Create model relationships with mobx | ||
modeled-mobx is a lightweight layer on top of mobx 6 to easily serialize and hydrate javascript classes from JSON | ||
modeled-mobx is a lightweight layer on top of MobX 6 to easily serialize and hydrate javascript classes to/from JSON | ||
@@ -8,4 +8,4 @@ | ||
modeled-mobx replaces mobx's `makeObservable` with a `modelize` function. `modelize` adds a "field" and "model" property to | ||
configure the model's properties as observables that get and set their values when `serialize` and `hydrate` respectively are called. | ||
modeled-mobx replaces mobx's `makeObservable` with a `modelize` function. `modelize` adds "field" and "model" properties to | ||
configure the model's fields as observables that get and set their values when `serialize` and `hydrate` respectively are called. | ||
@@ -12,0 +12,0 @@ It also includes a `field` and `model` decorator that can optionally be used instead of specifiying each property on the |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
70578