Skip to content

Commit

Permalink
generated ingredients.js
Browse files Browse the repository at this point in the history
  • 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.
17 changes: 17 additions & 0 deletions docs/ingredients.js
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';

0 comments on commit 4d375ef

Please sign in to comment.