UNPKG

jarb-redux-form

Version:
13 lines (12 loc) 505 B
import { Constraints } from './models'; export interface Action { type: 'JARB_REDUX_FORM.SET_CONSTRAINTS'; constraints: Constraints; } export declare const SET_CONSTRAINTS = "SET_CONSTRAINTS"; export interface ConstraintsStore { constraints?: Constraints; } export declare const initialState: ConstraintsStore; export declare function constraints(state: ConstraintsStore | undefined, action: Action): ConstraintsStore; export declare function setConstraints(constraints: Constraints): Action;