Add delete for pages, active scope to model

This commit is contained in:
garrettmills
2020-02-08 15:27:53 -06:00
parent 29a873559b
commit f720e334b3
4 changed files with 124 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
const Scope = require('flitter-orm/src/model/Scope')
class ActiveScope extends Scope {
async filter(to_filter) {
return to_filter.equal('Active', true)
}
}
module.exports = exports = ActiveScope