ezobjects
Advanced tools
Comparing version 2.5.2 to 2.5.3
const docket = require('docket-parser'); | ||
docket.title(`EZ Objects v2.5.2`); | ||
docket.title(`EZ Objects v2.5.3`); | ||
docket.linkClass('text-success'); | ||
docket.parseFiles(['index.js', 'mysql-connection.js']); | ||
docket.generateDocs('docs'); |
{ | ||
"name": "ezobjects", | ||
"version": "2.5.2", | ||
"version": "2.5.3", | ||
"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.2 | ||
# EZ Objects v2.5.3 | ||
@@ -101,3 +101,2 @@ EZ Objects is a Node.js module (that can also be usefully browserify'd) that aims to save you lots of time | ||
extendsConfig: configDatabaseRecord, | ||
stringSearchField: 'username', | ||
properties: [ | ||
@@ -313,8 +312,8 @@ { | ||
* **tableName** - `string` - (optional) Provide if object should be linked with MySQL database table | ||
* **className** - `string` - (required) Name of the class | ||
* **properties** - `Array` - (required) An array of properties that the object (and MySQL table, if applicable) should contain | ||
* **extends** - `mixed` - (optional) The object that the new object should be extended from [required to extend object] | ||
* **extendsConfig** - `object` - (optional) The EZ Object configuration for the object that is being extended from [required to extend object] | ||
* **extendsConfig** - `object` - (optional) The EZ Object configuration for the object that is being extended from [required to extend object for use with MySQL table link] | ||
* **tableName** - `string` - (optional) Provide if object should be linked with MySQL database table | ||
* **stringSearchField** - `string` - (optional) The name of a unique property of type `string` that you want to be able to load with as an alternative to `id` | ||
* **properties** - `Array` - (required) An array of properties that the object (and MySQL table, if applicable) should contain | ||
* **indexes** - `Array` - (optional) An array of indexes that should be created in the MySQL table, if applicable | ||
@@ -321,0 +320,0 @@ |
Sorry, the diff of this file is not supported yet
383817
358