blob: 2f00b0d20aa4d63497dcf39976e094c4f28d710e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import { IActionHandler } from '../../../../framework/src/flux/action';
import { IAuthor } from '../models/author';
export interface IEditAuthor {
author: IAuthor | null;
isDirty: boolean;
}
const editAuthorInit: IEditAuthor = {
author: null,
isDirty: false
};
export const editAuthorHandler: IActionHandler<IEditAuthor> = (state = editAuthorInit, action) => {
return state;
};
|