-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
elnur004
authored and
elnur004
committed
Jul 1, 2019
1 parent
5027c1f
commit 4d375ef
Showing
1 changed file
with
17 additions
and
0 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,17 @@ | ||
//http://localhost:3000/api/ingredient | ||
export const GET_FULL_INGREDIENT = 'GET_FULL_INGREDIENT'; | ||
|
||
//http://localhost:3000/api/ingredient?filter[where][id]=5abc4edf66c784507b0d8cbd | ||
export const INGREDIENT_FILTER_ID = 'INGREDIENT_FILTER_ID'; | ||
|
||
//http://localhost:3000/api/ingredient?filter[where][name]=potatoes | ||
export const INGREDIENT_FILTER_NAME = 'INGREDIENT_FILTER_NAME'; | ||
|
||
//http://localhost:3000/api/ingredient?filter[where][and][][name][like]=oil&filter[where][and][][departmentId]=5abc4edc66c784507b0d8c5b | ||
export const INGREDIENT_FILTER_AND_NAME_OIL_FILTER_AND_DEPARTMENTID = 'INGREDIENT_FILTER_AND_NAME_OIL_FILTER_AND_DEPARTMENTID'; | ||
|
||
//http://localhost:3000/api/ingredient?filter[where][and][][name][inq]=chicken&filter[where][and][][name][inq]=pasta | ||
export const INGREDIENT_FILTER_AND_NAME_CHICKEN_FILTER_AND_NAME = 'INGREDIENT_FILTER_AND_NAME_CHICKEN_FILTER_AND_NAME'; | ||
|
||
//http://localhost:3000/api/ingredient?filter[where][name][like]=oil | ||
export const INGREDIENT_FILTER_NAME_LIKE_OIL = 'INGREDIENT_FILTER_NAME_LIKE_OIL'; |