mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-30 17:53:31 -04:00 
			
		
		
		
	Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com> Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
		
			
				
	
	
		
			15 lines
		
	
	
		
			536 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			536 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| 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;
 | |
|   }
 |