refactor: update route type imports for admin actions and remove unused types

This commit is contained in:
Ardeman
2025-03-12 10:41:21 +08:00
parent 70cbb134d8
commit 56c31d7a20
14 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import { createNewsRequest } from '~/apis/admin/create-news'
import { handleCookie } from '~/libs/cookies'
import { contentSchema, type TContentSchema } from '~/pages/form-contents'
import type { Route } from './+types/actions.register'
import type { Route } from './+types/actions.admin.contents.create'
export const action = async ({ request }: Route.ActionArgs) => {
const { staffToken } = await handleCookie(request)