feat: refactor import paths for content and category schemas to improve clarity and organization

This commit is contained in:
Ardeman
2025-03-08 00:47:33 +08:00
parent 3a15c0d945
commit 2c64d430bd
11 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import { z } from 'zod'
import { HttpServer } from '~/libs/http-server'
import type { TCategorySchema } from '~/pages/dashboard-category-create'
import type { TCategorySchema } from '~/pages/form-category'
const categoryResponseSchema = z.object({
data: z.object({
+1 -1
View File
@@ -1,7 +1,7 @@
import { z } from 'zod'
import { HttpServer } from '~/libs/http-server'
import type { TContentSchema } from '~/pages/contents-form'
import type { TContentSchema } from '~/pages/form-contents'
const newsResponseSchema = z.object({
data: z.object({
+1 -1
View File
@@ -1,7 +1,7 @@
import { z } from 'zod'
import { HttpServer } from '~/libs/http-server'
import type { TContentSchema } from '~/pages/contents-form'
import type { TContentSchema } from '~/pages/form-contents'
const newsResponseSchema = z.object({
data: z.object({