mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
jsconfig
This commit is contained in:
parent
efdb9d70ce
commit
f386ee8254
3 changed files with 7 additions and 3 deletions
|
@ -4,5 +4,6 @@
|
|||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"exclude": ["node_modules", "dist"]
|
||||
}
|
||||
|
|
|
@ -12,6 +12,9 @@ import signUps from "./signUps";
|
|||
import groups from "./groups";
|
||||
import siteSettings from "./siteSettings";
|
||||
|
||||
/**
|
||||
* The main object namespace for interacting with the backend database
|
||||
*/
|
||||
export const api = {
|
||||
recipes: recipe,
|
||||
siteSettings: siteSettings,
|
||||
|
|
|
@ -21,8 +21,8 @@ const recipeURLs = {
|
|||
export default {
|
||||
/**
|
||||
* Create a Recipe by URL
|
||||
* @param {String} recipeURL
|
||||
* @returns {String} Recipe Slug
|
||||
* @param {string} recipeURL
|
||||
* @returns {string} Recipe Slug
|
||||
*/
|
||||
async createByURL(recipeURL) {
|
||||
let response = await apiReq.post(recipeURLs.createByURL, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue