From 5dcc1aff28290fe3b7e2ed5cbe99d3034c0b6f34 Mon Sep 17 00:00:00 2001 From: Ricardo Cino Date: Wed, 22 Jun 2022 22:10:39 +0200 Subject: chore: recipes/request stores js => ts --- src/stores.types.ts | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'src/stores.types.ts') 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 { _reactions: any[]; _status: () => void; actionStatus: () => void; + isInstalled: (id: string) => boolean; active: () => void; all: Recipe[]; recipeIdForServices: () => void; @@ -188,7 +189,16 @@ interface RouterStore { goBack: () => void; goForward: () => void; history: () => void; - location: () => void; + location: { + pathname: string; + search: string; + action: string; + key: string; + state: any; + query: any; + hash?: string; + basename?: string; + }; push(path: string): void; replace: () => void; } @@ -199,6 +209,7 @@ export interface ServicesStore { clearCacheRequest: () => void; createServiceRequest: () => void; deleteServiceRequest: () => void; + allServicesRequest: CachedRequest; filterNeedle: () => void; lastUsedServices: () => void; reorderServicesRequest: () => void; @@ -285,11 +296,11 @@ interface UIStore { actions: Actions; api: Api; isOsDarkThemeActive: () => void; - showServicesUpdatedInfoBar: () => void; stores: Stores; _reactions: []; _status: () => void; actionStatus: () => void; + showServicesUpdatedInfoBar: boolean; isDarkThemeActive: () => void; isSplitModeActive: () => void; splitColumnsNo: () => void; -- cgit v1.2.3-70-g09d2