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": {
|
"paths": {
|
||||||
"@/*": ["./src/*"]
|
"@/*": ["./src/*"]
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"exclude": ["node_modules", "dist"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,9 @@ import signUps from "./signUps";
|
||||||
import groups from "./groups";
|
import groups from "./groups";
|
||||||
import siteSettings from "./siteSettings";
|
import siteSettings from "./siteSettings";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The main object namespace for interacting with the backend database
|
||||||
|
*/
|
||||||
export const api = {
|
export const api = {
|
||||||
recipes: recipe,
|
recipes: recipe,
|
||||||
siteSettings: siteSettings,
|
siteSettings: siteSettings,
|
||||||
|
|
|
@ -21,8 +21,8 @@ const recipeURLs = {
|
||||||
export default {
|
export default {
|
||||||
/**
|
/**
|
||||||
* Create a Recipe by URL
|
* Create a Recipe by URL
|
||||||
* @param {String} recipeURL
|
* @param {string} recipeURL
|
||||||
* @returns {String} Recipe Slug
|
* @returns {string} Recipe Slug
|
||||||
*/
|
*/
|
||||||
async createByURL(recipeURL) {
|
async createByURL(recipeURL) {
|
||||||
let response = await apiReq.post(recipeURLs.createByURL, {
|
let response = await apiReq.post(recipeURLs.createByURL, {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue