feat(unit): add unit and installation service models
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
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,
|
||||
})
|
||||
Reference in New Issue
Block a user