diff options
author | 2022-06-22 22:10:39 +0200 | |
---|---|---|
committer | 2022-06-23 06:55:42 +0530 | |
commit | 5dcc1aff28290fe3b7e2ed5cbe99d3034c0b6f34 (patch) | |
tree | 81f643c38eecdfa49476e0b9dac3aed9107ecf99 /src/stores.types.ts | |
parent | Upgrade 'electron' to '19.0.6' (diff) | |
download | ferdium-app-5dcc1aff28290fe3b7e2ed5cbe99d3034c0b6f34.tar.gz ferdium-app-5dcc1aff28290fe3b7e2ed5cbe99d3034c0b6f34.tar.zst ferdium-app-5dcc1aff28290fe3b7e2ed5cbe99d3034c0b6f34.zip |
chore: recipes/request stores js => ts
Diffstat (limited to 'src/stores.types.ts')
-rw-r--r-- | src/stores.types.ts | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/stores.types.ts b/src/stores.types.ts index 14ae32133..b0912c463 100644 --- a/src/stores.types.ts +++ b/src/stores.types.ts | |||
@@ -161,6 +161,7 @@ interface RecipeStore { | |||
161 | _reactions: any[]; | 161 | _reactions: any[]; |
162 | _status: () => void; | 162 | _status: () => void; |
163 | actionStatus: () => void; | 163 | actionStatus: () => void; |
164 | isInstalled: (id: string) => boolean; | ||
164 | active: () => void; | 165 | active: () => void; |
165 | all: Recipe[]; | 166 | all: Recipe[]; |
166 | recipeIdForServices: () => void; | 167 | recipeIdForServices: () => void; |
@@ -188,7 +189,16 @@ interface RouterStore { | |||
188 | goBack: () => void; | 189 | goBack: () => void; |
189 | goForward: () => void; | 190 | goForward: () => void; |
190 | history: () => void; | 191 | history: () => void; |
191 | location: () => void; | 192 | location: { |
193 | pathname: string; | ||
194 | search: string; | ||
195 | action: string; | ||
196 | key: string; | ||
197 | state: any; | ||
198 | query: any; | ||
199 | hash?: string; | ||
200 | basename?: string; | ||
201 | }; | ||
192 | push(path: string): void; | 202 | push(path: string): void; |
193 | replace: () => void; | 203 | replace: () => void; |
194 | } | 204 | } |
@@ -199,6 +209,7 @@ export interface ServicesStore { | |||
199 | clearCacheRequest: () => void; | 209 | clearCacheRequest: () => void; |
200 | createServiceRequest: () => void; | 210 | createServiceRequest: () => void; |
201 | deleteServiceRequest: () => void; | 211 | deleteServiceRequest: () => void; |
212 | allServicesRequest: CachedRequest; | ||
202 | filterNeedle: () => void; | 213 | filterNeedle: () => void; |
203 | lastUsedServices: () => void; | 214 | lastUsedServices: () => void; |
204 | reorderServicesRequest: () => void; | 215 | reorderServicesRequest: () => void; |
@@ -285,11 +296,11 @@ interface UIStore { | |||
285 | actions: Actions; | 296 | actions: Actions; |
286 | api: Api; | 297 | api: Api; |
287 | isOsDarkThemeActive: () => void; | 298 | isOsDarkThemeActive: () => void; |
288 | showServicesUpdatedInfoBar: () => void; | ||
289 | stores: Stores; | 299 | stores: Stores; |
290 | _reactions: []; | 300 | _reactions: []; |
291 | _status: () => void; | 301 | _status: () => void; |
292 | actionStatus: () => void; | 302 | actionStatus: () => void; |
303 | showServicesUpdatedInfoBar: boolean; | ||
293 | isDarkThemeActive: () => void; | 304 | isDarkThemeActive: () => void; |
294 | isSplitModeActive: () => void; | 305 | isSplitModeActive: () => void; |
295 | splitColumnsNo: () => void; | 306 | splitColumnsNo: () => void; |