import { PageActionPartial } from "../actions" ; export const STORE_PAGE = "STORE_PAGE" ; export interface StorePageAction extends PageActionPartial { content : string ; pageId : string ; } export const storePage = ( pageId , content ) : StorePageAction => ( { content , pageId , type : STORE_PAGE , } ) ;