-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: move `ITEMS_PER_PAGE` to config file * feat: add `ConfigProfile` definition * feat: add `enabled` & `disabled` default profiles * feat: add profile `loader` * refactor: transform `FilterOption` & add `isAuthorized` method * feat: implement `isAuthorized` for filter options * feat: load profile on `QueryBuilder` * fix: set `ENABLED_PROFILE` as default to avoid breaking changes * feat: add `prettier` config file * style: format files * refactor: add new test including profile cases * style: improve typings & remove deprecated `body-parser` * test: add test for profile loader * docs: add docs for `ConfigProfile`
- Loading branch information
1 parent
8a96f2f
commit 43b9e04
Showing
43 changed files
with
1,060 additions
and
1,265 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
trailingComma: "es5" | ||
tabWidth: 2 | ||
semi: false | ||
singleQuote: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export type ExpressQuery = Record<string, any>; | ||
export type ExpressQuery = Record<string, any> |
Oops, something went wrong.