aboutsummaryrefslogtreecommitdiffstats
path: root/src/@types/stores.types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/@types/stores.types.ts')
-rw-r--r--src/@types/stores.types.ts9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/@types/stores.types.ts b/src/@types/stores.types.ts
index ff8f127ed..dc5da563f 100644
--- a/src/@types/stores.types.ts
+++ b/src/@types/stores.types.ts
@@ -1,3 +1,4 @@
1/* eslint-disable no-use-before-define */
1import Workspace from '../features/workspaces/models/Workspace'; 2import Workspace from '../features/workspaces/models/Workspace';
2import Recipe from '../models/Recipe'; 3import Recipe from '../models/Recipe';
3import Service from '../models/Service'; 4import Service from '../models/Service';
@@ -201,7 +202,7 @@ interface RouterStore {
201 replace: () => void; 202 replace: () => void;
202} 203}
203 204
204export interface ServicesStore extends TypedStore { 205interface ServicesStore extends TypedStore {
205 clearCacheRequest: () => void; 206 clearCacheRequest: () => void;
206 createServiceRequest: CachedRequest; 207 createServiceRequest: CachedRequest;
207 deleteServiceRequest: () => void; 208 deleteServiceRequest: () => void;
@@ -227,7 +228,7 @@ interface ISettings {
227 [key: string]: any; 228 [key: string]: any;
228} 229}
229 230
230export interface SettingsStore extends TypedStore { 231interface SettingsStore extends TypedStore {
231 update: (value: any) => void; 232 update: (value: any) => void;
232 remove: (value: any) => void; 233 remove: (value: any) => void;
233 fileSystemSettingsTypes: any[]; 234 fileSystemSettingsTypes: any[];
@@ -288,7 +289,7 @@ interface UIStore extends TypedStore {
288 theme: () => void; 289 theme: () => void;
289} 290}
290 291
291export interface UserStore extends TypedStore { 292interface UserStore extends TypedStore {
292 BASE_ROUTE: '/auth'; 293 BASE_ROUTE: '/auth';
293 CHANGE_SERVER_ROUTE: '/auth/server'; 294 CHANGE_SERVER_ROUTE: '/auth/server';
294 IMPORT_ROUTE: '/auth/signup/import'; 295 IMPORT_ROUTE: '/auth/signup/import';
@@ -338,7 +339,7 @@ export interface UserStore extends TypedStore {
338 team: () => void; 339 team: () => void;
339} 340}
340 341
341export interface WorkspacesStore extends TypedStore { 342interface WorkspacesStore extends TypedStore {
342 activeWorkspace: () => void; 343 activeWorkspace: () => void;
343 delete: ({ workspace }) => void; 344 delete: ({ workspace }) => void;
344 update: ({ workspace }) => void; 345 update: ({ workspace }) => void;