From 3054548010e54b0202b4d22281dd810a60ffeab4 Mon Sep 17 00:00:00 2001 From: Rand McKinney Date: Fri, 1 Nov 2013 10:55:18 -0700 Subject: [PATCH] Create types.md Pulled data types out of api.md --- docs/types.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docs/types.md diff --git a/docs/types.md b/docs/types.md new file mode 100644 index 00000000..8383c284 --- /dev/null +++ b/docs/types.md @@ -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.