lml-main
Version:
This is now a mono repository published into many standalone packages.
53 lines (52 loc) • 996 B
TypeScript
import { JobModel } from '@lml/cosmo-ts-data';
import { JobFormType } from './forms';
export interface PostJobFormModalProps {
refId: string;
job: JobModel;
formType: JobFormType;
title: string;
}
/**
*
* @param refId
*/
export declare const showCreateJobModal: (refId: string) => {
type: string;
modalType: string;
modalProps: any;
};
/**
* @param job
*/
export declare const showCloneJobModal: (refId: string) => {
type: string;
modalType: string;
modalProps: any;
};
/**
*
* @param refId
*/
export declare const showEditJobModal: (refId: string) => {
type: string;
modalType: string;
modalProps: any;
};
/**
*
* @param refId
*/
export declare const showCancelJobModal: (refId: string) => {
type: string;
modalType: string;
modalProps: any;
};
/**
* @param refId
* @param courierRefId
*/
export declare const showJobDetailsModal: (refId: string) => {
type: string;
modalType: string;
modalProps: any;
};