aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores.types.ts
diff options
context:
space:
mode:
authorLibravatar Markus Hatvan <markus_hatvan@aon.at>2021-10-14 18:20:26 +0200
committerLibravatar GitHub <noreply@github.com>2021-10-14 18:20:26 +0200
commitc27972c12b2d0dba2aee9e3dcffadcf7806a9afd (patch)
tree46fcfe261ae55e6faab604e9c75f94f6ffe326ee /src/stores.types.ts
parentchore: upgrade 'electron-builder' to '22.14.5' to fix upstream issues. (#2068) (diff)
downloadferdium-app-c27972c12b2d0dba2aee9e3dcffadcf7806a9afd.tar.gz
ferdium-app-c27972c12b2d0dba2aee9e3dcffadcf7806a9afd.tar.zst
ferdium-app-c27972c12b2d0dba2aee9e3dcffadcf7806a9afd.zip
chore: remove all code related to news (#2069)
Diffstat (limited to 'src/stores.types.ts')
-rw-r--r--src/stores.types.ts16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/stores.types.ts b/src/stores.types.ts
index 66c8e9b85..dd879179d 100644
--- a/src/stores.types.ts
+++ b/src/stores.types.ts
@@ -3,7 +3,6 @@ export interface FerdiStores {
3 communityRecipes: CommunityRecipesStore; 3 communityRecipes: CommunityRecipesStore;
4 features: FeaturesStore; 4 features: FeaturesStore;
5 globalError: GlobalErrorStore; 5 globalError: GlobalErrorStore;
6 news: NewsStore;
7 recipePreviews: RecipePreviewsStore; 6 recipePreviews: RecipePreviewsStore;
8 recipes: RecipeStore; 7 recipes: RecipeStore;
9 requests: RequestsStore; 8 requests: RequestsStore;
@@ -21,7 +20,6 @@ interface Stores {
21 communityRecipes: CommunityRecipesStore; 20 communityRecipes: CommunityRecipesStore;
22 features: FeaturesStore; 21 features: FeaturesStore;
23 globalError: GlobalErrorStore; 22 globalError: GlobalErrorStore;
24 news: NewsStore;
25 recipePreviews: RecipePreviewsStore; 23 recipePreviews: RecipePreviewsStore;
26 recipes: RecipeStore; 24 recipes: RecipeStore;
27 requests: RequestsStore; 25 requests: RequestsStore;
@@ -36,7 +34,6 @@ interface Stores {
36 34
37interface Actions { 35interface Actions {
38 app: AppStore; 36 app: AppStore;
39 news: NewsStore;
40 recipePreviews: RecipePreviewsStore; 37 recipePreviews: RecipePreviewsStore;
41 recipes: RecipeStore; 38 recipes: RecipeStore;
42 requests: RequestsStore; 39 requests: RequestsStore;
@@ -52,7 +49,6 @@ interface Api {
52 app: AppStore; 49 app: AppStore;
53 features: FeaturesStore; 50 features: FeaturesStore;
54 local: {}; 51 local: {};
55 news: NewsStore;
56 recipePreviews: RecipePreviewsStore; 52 recipePreviews: RecipePreviewsStore;
57 recipes: RecipeStore; 53 recipes: RecipeStore;
58 services: ServicesStore; 54 services: ServicesStore;
@@ -130,18 +126,6 @@ interface GlobalErrorStore {
130 actionStatus: () => void; 126 actionStatus: () => void;
131} 127}
132 128
133interface NewsStore {
134 actions: Actions;
135 api: Api;
136 hideNewsRequest: () => void;
137 latestNewsRequest: () => void;
138 stores: Stores;
139 _reactions: [];
140 _status: () => void;
141 actionStatus: () => void;
142 latest: () => void;
143}
144
145interface RecipePreviewsStore { 129interface RecipePreviewsStore {
146 actions: Actions; 130 actions: Actions;
147 allRecipePreviewsRequest: () => void; 131 allRecipePreviewsRequest: () => void;