mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-31 10:13:32 -04:00 
			
		
		
		
	feat: Recipe Actions (#3448)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com> Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
This commit is contained in:
		
							
								
								
									
										14
									
								
								frontend/lib/api/user/group-recipe-actions.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								frontend/lib/api/user/group-recipe-actions.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| import { BaseCRUDAPI } from "../base/base-clients"; | ||||
| import { CreateGroupRecipeAction, GroupRecipeActionOut } from "~/lib/api/types/group"; | ||||
|  | ||||
| const prefix = "/api"; | ||||
|  | ||||
| const routes = { | ||||
|     groupRecipeActions: `${prefix}/groups/recipe-actions`, | ||||
|     groupRecipeActionsId: (id: string | number) => `${prefix}/groups/recipe-actions/${id}`, | ||||
|   }; | ||||
|  | ||||
|   export class GroupRecipeActionsAPI extends BaseCRUDAPI<CreateGroupRecipeAction, GroupRecipeActionOut> { | ||||
|     baseRoute = routes.groupRecipeActions; | ||||
|     itemRoute = routes.groupRecipeActionsId; | ||||
|   } | ||||
		Reference in New Issue
	
	Block a user