Add connected but unstyled workload list

This commit is contained in:
James Greenaway
2019-01-30 17:11:38 +00:00
parent 94423c408a
commit 9e0cd0304e
15 changed files with 161 additions and 17 deletions

View File

@@ -1,3 +1,4 @@
export * from './types';
export * from './actions';
export * from './reducers';
export * from './epics';

View File

@@ -3,6 +3,7 @@ import { Status } from './types';
interface Entry<Id extends number> {
id: Id;
complexity: number;
completeDate: Date;
status: Status;
}
@@ -20,6 +21,7 @@ export const reducer = (state: State = initialState, action: Action): State => {
return {
[action.payload.id]: {
id: action.payload.id,
complexity: action.payload.complexity,
completeDate: action.payload.completeDate,
status: 'WORKING',
},