Add model options
This commit is contained in:
parent
7b9d7b28a9
commit
9e867f63b3
|
@ -55,6 +55,15 @@ Model.dependencies = {
|
|||
'data-source': 'data-source'
|
||||
};
|
||||
|
||||
/**
|
||||
* Options.
|
||||
*/
|
||||
|
||||
Model.options = {
|
||||
'name': {type: 'string'},
|
||||
'properties': {type: 'array'}
|
||||
}
|
||||
|
||||
/**
|
||||
* Build a jugglingdb compatibile schema definition from property array.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue