Joey Baker
b4ea8c5b8e
Docs: add more details for include
and where
2016-09-06 07:28:43 -07:00
Joey Baker
85cd2823da
Docs: #cleanup and style fixes
2016-09-06 07:28:43 -07:00
Mahdi Dibaiee
bd18c57529
chore: put CircleCI badge in the same line as heading
2016-09-06 09:30:21 +04:30
Mahdi Dibaiee
81b704a395
chore: add CircleCI badge
2016-09-06 09:28:56 +04:30
Joey Baker
79b9fc1242
Change: permissions must always be an array
...
This allows us to set different configs per model. I should have thought
of this usecase when I first did permissions.
2016-07-22 11:50:08 -07:00
Joey Baker
f95f411a65
Add: permissions
...
It's now possible to limit the models rest routes are created for. This
is done via a `models` option that can be simple to complex. The readme
has been updated to reflect this.
2016-07-22 10:14:17 -07:00
Mahdi Dibaiee
d142e6c553
fix(options): take a name
parameter, same as the name
parameter used in hapi-sequelize
, fixes #8
2016-07-13 10:03:00 +04:30
Mahdi Dibaiee
ca6298d6f4
chore(README, defaultConfig): add defaultConfig to README
2016-06-05 21:37:58 +04:30
Mahdi Dibaiee
11291f0e08
refactor: minimize repeated code by re-using parseInclude
, parseWhere
and getMethod
...
feat(include): ability to specify multiple includes, as an array
2016-03-10 10:48:30 +03:30
Mahdi Dibaiee
5e0eeccbac
feat(associate): routes to associate objects with each other
2016-01-20 12:47:47 +03:30
Mahdi Dibaiee
cb2078b6cd
chore(README): add scopes to "What do I get" section
2016-01-19 10:39:28 +03:30
Mahdi Dibaiee
6713ed0b0b
chore(README): explain prefix with an example
2016-01-19 10:14:56 +03:30
Mahdi Dibaiee
52ad030d0d
feat(associations): many-to-many associations
...
fix(associations): fix association queries, must use `include` instead of ForeignKey
fix(error): error decorator was missing await, which prevented it from catching errors
fix(error): console.error the error
refactor(crud): don't use `request.models[name]`, use the model directly
chore: README added
2016-01-19 10:03:29 +03:30