Create types.md

Pulled data types out of api.md
This commit is contained in:
Rand McKinney 2013-11-01 10:55:18 -07:00
parent d45a9d3df8
commit 3054548010
1 changed files with 13 additions and 0 deletions

13
docs/types.md Normal file
View File

@ -0,0 +1,13 @@
## Loopback Types
LoopBack APIs accept type descriptions [remote methods](#remote-methods), [loopback.createModel()](#model)). The following is a list of supported types.
- `null` - JSON null
- `Boolean` - JSON boolean
- `Number` - JSON number
- `String` - JSON string
- `Object` - JSON object
- `Array` - JSON array
- `Date` - a JavaScript date object
- `Buffer` - a node.js Buffer object
- [GeoPoint](#geopoint) - A Loopback GeoPoint object.