From d8e0420876d62f0e9d7b8fcb403e65256f09b990 Mon Sep 17 00:00:00 2001 From: crusader Date: Fri, 25 May 2018 12:09:59 +0900 Subject: [PATCH] ing --- @overflow/sensor/store/detail/detail.state.ts | 9 ++++----- angular.json | 6 +----- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/@overflow/sensor/store/detail/detail.state.ts b/@overflow/sensor/store/detail/detail.state.ts index 3300792..6bd4ad2 100644 --- a/@overflow/sensor/store/detail/detail.state.ts +++ b/@overflow/sensor/store/detail/detail.state.ts @@ -1,15 +1,14 @@ import { RPCClientError } from '@loafer/ng-rpc'; import { Sensor } from '@overflow/commons-typescript/model/sensor'; -import { createEntityAdapter, EntityAdapter, EntityState } from '@ngrx/entity'; -export interface State extends EntityState { +export interface State { error: RPCClientError | null; isPending: boolean; sensor: Sensor | null; } -export const adapter: EntityAdapter = createEntityAdapter(); -export const initialState: State = adapter.getInitialState({ + +export const initialState: State = { error: null, isPending: false, sensor: null, -}); +}; diff --git a/angular.json b/angular.json index 86933c7..5c73853 100644 --- a/angular.json +++ b/angular.json @@ -28,16 +28,12 @@ ], "styles": [ "./node_modules/primeng/resources/primeng.min.css", - "./node_modules/fullcalendar/dist/fullcalendar.min.css", - "./node_modules/quill/dist/quill.snow.css", "src/styles.scss" ], "scripts": [ "./node_modules/jquery/dist/jquery.js", "./node_modules/moment/moment.js", - "./node_modules/chart.js/dist/Chart.js", - "./node_modules/fullcalendar/dist/fullcalendar.js", - "./node_modules/quill/dist/quill.js" + "./node_modules/chart.js/dist/Chart.js" ] }, "configurations": {