22 lines
503 B
TypeScript
22 lines
503 B
TypeScript
import { createCrudHandler } from '~/handlers/_handler'
|
|
import { postInstallation, patchInstallation, removeInstallation } from '~/services/installation.service'
|
|
|
|
export const {
|
|
recId,
|
|
recAction,
|
|
recItem,
|
|
isReadonly,
|
|
isProcessing,
|
|
isFormEntryDialogOpen,
|
|
isRecordConfirmationOpen,
|
|
onResetState,
|
|
handleActionSave,
|
|
handleActionEdit,
|
|
handleActionRemove,
|
|
handleCancelForm,
|
|
} = createCrudHandler({
|
|
post: postInstallation,
|
|
patch: patchInstallation,
|
|
remove: removeInstallation,
|
|
})
|