diff options
| author | Sean Fridman <fridman@mail.sfsu.edu> | 2015-04-10 22:37:33 -0400 |
|---|---|---|
| committer | Sean Fridman <fridman@mail.sfsu.edu> | 2015-04-11 01:38:43 -0400 |
| commit | 1eff07c9c2ca5b61a28a1037a586d25c3791d67b (patch) | |
| tree | 605a17b53152560a5dc4e9e68bdda1c9f439279e /app/node_modules | |
| parent | fd0d777ee81219577ef9416fab7f985920c3ae29 (diff) | |
Add autoincrementing index to resources
Diffstat (limited to 'app/node_modules')
| -rw-r--r-- | app/node_modules/okschema/index.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/node_modules/okschema/index.js b/app/node_modules/okschema/index.js index 4633e7a..d53ed7b 100644 --- a/app/node_modules/okschema/index.js +++ b/app/node_modules/okschema/index.js @@ -56,6 +56,11 @@ var types = { }]; } } + }, + // Special type for resource meta information + 'meta': { + parent: 'string', + assertValid: function(spec, value) {} } } |
