UNPKG

@stackend/api

Version:

JS bindings to api.stackend.com

21 lines 773 B
import { Category, Context, Reference } from './index'; import { AnyAction } from 'redux'; import { Thunk } from '../api'; interface ContextObject { context: string; } export declare function fetchCategories({ context }: ContextObject): Thunk<any>; export declare function invalidateCategories({ context }: ContextObject): AnyAction; declare type ToggleSelected = { context: Context; reference: Reference; category: Category; }; export declare function toggleSelected({ context, reference, category }: ToggleSelected): any; export declare type RemoveSelection = { context: string; reference: Reference; }; export declare function removeSelection({ context, reference }: RemoveSelection): any; export {}; //# sourceMappingURL=categoryActions.d.ts.map