intervention-pages
Version:
13 lines (12 loc) • 581 B
TypeScript
import { AnyObject } from './models/globals.types';
export declare const setIntervention: (intervention: AnyObject) => {
type: string;
current: AnyObject;
};
export declare const getIntervention: (interventionId: string) => (dispatch: any) => Promise<void>;
export declare const showToast: (message: string, showCloseBtn?: boolean) => {
type: string;
message: string;
showCloseBtn: boolean;
};
export declare const patchIntervention: (interventionChunck: any, interventionId?: string | undefined) => (dispatch: any, getState: any) => Promise<void>;