ezobjects
Advanced tools
Comparing version 2.5.6 to 2.5.7
const docket = require('docket-parser'); | ||
docket.title(`EZ Objects v2.5.6`); | ||
docket.title(`EZ Objects v2.5.7`); | ||
docket.linkClass('text-success'); | ||
docket.parseFiles(['index.js', 'mysql-connection.js']); | ||
docket.generateDocs('docs'); |
{ | ||
"name": "ezobjects", | ||
"version": "2.5.6", | ||
"version": "2.5.7", | ||
"description": "Easy dynamic object generation with optional MySQL table linking", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,2 +0,2 @@ | ||
# EZ Objects v2.5.6 | ||
# EZ Objects v2.5.7 | ||
@@ -360,2 +360,3 @@ EZ Objects is a Node.js module (that can also be usefully browserify'd) that aims to save you lots of time | ||
* **type** - `string` - (required) JavaScript data type for the property | ||
* **default** - `mixed` - (optional) Sets the default value for the property in the class object | ||
* **getTransform** - `function` - (optional) Function that transforms and returns the property value prior to getting | ||
@@ -372,3 +373,2 @@ * **setTransform** - `function` - (optional) Function that transforms and returns the property value prior to setting | ||
* **null** - `boolean` - (optional) Indicates the property can be NULL [default is properties must be NOT NULL] | ||
* **default** - `mixed` - (optional) Sets the default value for the property in the class object | ||
* **mysqlDefault** - `mixed` - (optional) Sets the default value for the property in the MySQL table, assuming its of the correct type | ||
@@ -384,3 +384,3 @@ * **unsigned** - `boolean` - (optional) Indicates the property should be unsigned in the MySQL table | ||
### An MySQL index configuration can have the following (for MySQL table association only): | ||
### A MySQL index configuration can have the following (for MySQL table association only): | ||
@@ -387,0 +387,0 @@ * **name** - `string` - (required) Name of the index, can be arbitrary, but must be unique and not PRIMARY |
Sorry, the diff of this file is not supported yet
384948