aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/apiDemo/src/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'sdnr/wt/odlux/apps/apiDemo/src/handlers')
-rw-r--r--sdnr/wt/odlux/apps/apiDemo/src/handlers/apiDemoRootHandler.ts7
-rw-r--r--sdnr/wt/odlux/apps/apiDemo/src/handlers/modulesHandler.ts2
2 files changed, 5 insertions, 4 deletions
diff --git a/sdnr/wt/odlux/apps/apiDemo/src/handlers/apiDemoRootHandler.ts b/sdnr/wt/odlux/apps/apiDemo/src/handlers/apiDemoRootHandler.ts
index 36688b3a5..128a03286 100644
--- a/sdnr/wt/odlux/apps/apiDemo/src/handlers/apiDemoRootHandler.ts
+++ b/sdnr/wt/odlux/apps/apiDemo/src/handlers/apiDemoRootHandler.ts
@@ -18,22 +18,23 @@
import { combineActionHandler } from '../../../../framework/src/flux/middleware';
+// eslint-disable-next-line @typescript-eslint/no-unused-vars
import { IApplicationStoreState } from '../../../../framework/src/store/applicationStore';
import { moduleHandler, IModules } from './modulesHandler';
export interface IApiDemoStoreState {
- modules: IModules
+ modules: IModules;
}
declare module '../../../../framework/src/store/applicationStore' {
interface IApplicationStoreState {
- apiDemo: IApiDemoStoreState
+ apiDemo: IApiDemoStoreState;
}
}
const actionHandlers = {
- modules: moduleHandler
+ modules: moduleHandler,
};
export const apiDemoRootHandler = combineActionHandler<IApiDemoStoreState>(actionHandlers);
diff --git a/sdnr/wt/odlux/apps/apiDemo/src/handlers/modulesHandler.ts b/sdnr/wt/odlux/apps/apiDemo/src/handlers/modulesHandler.ts
index 8777355db..1984a2d10 100644
--- a/sdnr/wt/odlux/apps/apiDemo/src/handlers/modulesHandler.ts
+++ b/sdnr/wt/odlux/apps/apiDemo/src/handlers/modulesHandler.ts
@@ -20,7 +20,7 @@ import { IActionHandler } from '../../../../framework/src/flux/action';
import { ModulesRequestSuccess } from '../actions/modulesSuccess';
import { Module } from '../models/module';
-export type IModules = Module[]
+export type IModules = Module[];
const modulesInit: IModules = [];