diff --git a/frontend/jsconfig.json b/frontend/jsconfig.json index abe04df57..0486e3bb3 100644 --- a/frontend/jsconfig.json +++ b/frontend/jsconfig.json @@ -4,5 +4,6 @@ "paths": { "@/*": ["./src/*"] } - } + }, + "exclude": ["node_modules", "dist"] } diff --git a/frontend/src/api/index.js b/frontend/src/api/index.js index 31a9bac8e..fc224be9b 100644 --- a/frontend/src/api/index.js +++ b/frontend/src/api/index.js @@ -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, diff --git a/frontend/src/api/recipe.js b/frontend/src/api/recipe.js index ea81e8910..cdaed9f23 100644 --- a/frontend/src/api/recipe.js +++ b/frontend/src/api/recipe.js @@ -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, {