|
|
@@ -2,9 +2,9 @@ import { createRoute, OpenAPIHono } from '@hono/zod-openapi';
|
|
|
import { z } from '@hono/zod-openapi';
|
|
|
import { GoodsSchema } from '../../modules/goods/goods.schema';
|
|
|
import { ErrorSchema } from '../../utils/errorHandler';
|
|
|
-import { AppDataSource } from '@/server/data-source';
|
|
|
+import { AppDataSource } from '../../data-source';
|
|
|
import { Goods } from '../../modules/goods/goods.entity';
|
|
|
-import { AuthContext } from '@/server/types/context';
|
|
|
+import { AuthContext } from '../../types/context';
|
|
|
import { authMiddleware } from '../../middleware/auth.middleware';
|
|
|
import { RandomGoodsQuerySchema, RandomGoodsResponseSchema } from '../../modules/goods/schemas/random.schema';
|
|
|
import { parseWithAwait } from '../../utils/parseWithAwait';
|