export interface TemplateListDataTypeInterface
    extends TemplateFormDataInterface {
    key: React.Key
}

export interface TemplateListInterface {
    templateList: TemplateListDataTypeInterface[]
    templateListCount: number
}

export interface TemplateFormDataInterface {
    templateTypeName: string
    templateTypeId: string
    activeStatus: string
}

export interface TemplateFormInterface {
    onSave: (
        data: TemplateFormDataInterface,
        callBack: CallableFunction
    ) => void
    editData: TemplateFormDataInterface
    isLoadingModal: boolean
}

export interface TemplatePayloadInteface {
    data: TemplateFormDataInterface[]
    noOfRecords: number
}
