diff options
author | 2021-10-02 09:24:32 +0200 | |
---|---|---|
committer | 2021-10-02 09:24:32 +0200 | |
commit | bfe8847d72cd0893230f2e654242658214943e61 (patch) | |
tree | 3384b02ebad7a74cbb106ddd95546e0e24ff0bb8 /src/api/RecipePreviewsApi.js | |
parent | fix: Fix navigation shortcut accelerator for non-macos (fixes #1172) (#2012) (diff) | |
download | ferdium-app-bfe8847d72cd0893230f2e654242658214943e61.tar.gz ferdium-app-bfe8847d72cd0893230f2e654242658214943e61.tar.zst ferdium-app-bfe8847d72cd0893230f2e654242658214943e61.zip |
chore: convert various files from JS to TS (#2010)
Diffstat (limited to 'src/api/RecipePreviewsApi.js')
-rw-r--r-- | src/api/RecipePreviewsApi.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/api/RecipePreviewsApi.js b/src/api/RecipePreviewsApi.js deleted file mode 100644 index a56fa587f..000000000 --- a/src/api/RecipePreviewsApi.js +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | export default class RecipePreviewsApi { | ||
2 | constructor(server) { | ||
3 | this.server = server; | ||
4 | } | ||
5 | |||
6 | all() { | ||
7 | return this.server.getRecipePreviews(); | ||
8 | } | ||
9 | |||
10 | featured() { | ||
11 | return this.server.getFeaturedRecipePreviews(); | ||
12 | } | ||
13 | |||
14 | search(needle) { | ||
15 | return this.server.searchRecipePreviews(needle); | ||
16 | } | ||
17 | } | ||