Files
mealie/frontend/src/api/index.js
Hayden 5580d177c3 feature/finish-recipe-assets (#384)
* add features to readme

* Copy markdown reference

* prop as whole recipe

* parameter as url instead of query

* add card styling to editor

* move images to /recipes/{slug}/images

* add image to breaking changes

* fix delete and import errors

* fix debug/about response

* logger updates

* dashboard ui

* add server side events

* unorganized routes

* default slot

* add backup viewer to dashboard

* format

* add dialog to backup imports

* initial event support

* delete assets when removed

Co-authored-by: hay-kot <hay-kot@pm.me>
2021-05-03 19:32:37 -08:00

36 lines
997 B
JavaScript

import { backupAPI } from "./backup";
import { recipeAPI } from "./recipe";
import { mealplanAPI } from "./mealplan";
import { settingsAPI } from "./settings";
import { themeAPI } from "./themes";
import { migrationAPI } from "./migration";
import { utilsAPI } from "./upload";
import { categoryAPI, tagAPI } from "./category";
import { metaAPI } from "./meta";
import { userAPI } from "./users";
import { signupAPI } from "./signUps";
import { groupAPI } from "./groups";
import { siteSettingsAPI } from "./siteSettings";
import { aboutAPI } from "./about";
/**
* The main object namespace for interacting with the backend database
*/
export const api = {
recipes: recipeAPI,
siteSettings: siteSettingsAPI,
backups: backupAPI,
mealPlans: mealplanAPI,
settings: settingsAPI,
themes: themeAPI,
migrations: migrationAPI,
utils: utilsAPI,
categories: categoryAPI,
tags: tagAPI,
meta: metaAPI,
users: userAPI,
signUps: signupAPI,
groups: groupAPI,
about: aboutAPI,
};