refactor(error): move error types to centralized location

Consolidate XError, XErrors, and FormErrors types into a single file for better maintainability and consistency across the codebase.
This commit is contained in:
Khafid Prayoga
2025-08-29 11:02:31 +07:00
parent d6b288404f
commit ee3bb1cd6e
4 changed files with 30 additions and 19 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
<script setup lang="ts">
import type { FormErrors } from '~/composables/useFormErrors'
import type { FormErrors } from '~/types/error'
import Block from '~/components/pub/custom-ui/form/block.vue'
import Combobox from '~/components/pub/custom-ui/form/combobox.vue'
import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue'