Comparing version 0.0.31 to 0.0.32
@@ -43,3 +43,3 @@ var util = require('util'), | ||
const VALID_ACTIONS = ['create','read','update','delete']; | ||
const VALID_ACTIONS = ['create','read','update','delete','deleteAll']; | ||
@@ -46,0 +46,0 @@ function validateActions(actions) { |
{ | ||
"name": "api-orm", | ||
"version": "0.0.31", | ||
"version": "0.0.32", | ||
"description": "API Builder ORM", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1525,3 +1525,3 @@ var should = require('should'), | ||
User.actions.should.eql(['create','read','update','delete']); | ||
User.actions.should.eql(['create','read','update','delete','deleteAll']); | ||
}); | ||
@@ -1571,3 +1571,3 @@ | ||
}); | ||
}).should.throw('actions must be an array with one or more of the following: create, read, update, delete'); | ||
}).should.throw('actions must be an array with one or more of the following: create, read, update, delete, deleteAll'); | ||
}); | ||
@@ -1595,3 +1595,3 @@ | ||
}); | ||
}).should.throw('invalid action `foo` must be an array with one or more of the following: create, read, update, delete'); | ||
}).should.throw('invalid action `foo` must be an array with one or more of the following: create, read, update, delete, deleteAll'); | ||
}); | ||
@@ -1598,0 +1598,0 @@ |
98393