UNPKG

@stackend/api

Version:

JS bindings to api.stackend.com

24 lines 868 B
import * as forumApi from './index'; export declare const RECEIVE_FORUMS = "RECEIVE_FORUMS"; export declare const REQUEST_FORUMS = "REQUEST_FORUMS"; export declare const INVALIDATE_FORUMS = "INVALIDATE_FORUMS"; export declare type RequestForumsAction = { type: typeof REQUEST_FORUMS; }; export declare type ReceiveForumsAction = { type: typeof RECEIVE_FORUMS; entries: Array<forumApi.Forum>; }; export declare type InvalidateForumsAction = { type: typeof INVALIDATE_FORUMS; }; export declare type ForumActions = RequestForumsAction | ReceiveForumsAction | InvalidateForumsAction; export interface ForumState { isFetching: boolean; didInvalidate: boolean; lastUpdated: number; entries: Array<forumApi.Forum>; } export declare const forums: (S: any, A: any) => ForumState; export default forums; //# sourceMappingURL=forumReducer.d.ts.map