Skip to content

Commit 8f68b19

Browse files
author
Marvin Zhang
committed
refactor: remove unused search schema imports from index and route files
1 parent 5818dcc commit 8f68b19

File tree

3 files changed

+1
-62
lines changed

3 files changed

+1
-62
lines changed

packages/web/app/api/projects/[id]/devlogs/search/route.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,7 @@ import {
55
PaginationMeta,
66
ProjectService,
77
} from '@codervisor/devlog-core';
8-
import {
9-
ApiValidator,
10-
ProjectIdParamSchema,
11-
DevlogSearchQuerySchema,
12-
DevlogSearchQuery,
13-
DevlogListQuerySchema,
14-
} from '@/schemas';
8+
import { ApiValidator, DevlogSearchQuerySchema, ProjectIdParamSchema } from '@/schemas';
159
import { ApiErrors, createSuccessResponse } from '@/lib';
1610

1711
// Mark this route as dynamic to prevent static generation

packages/web/app/schemas/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// Re-export all schemas and utilities
99
export * from './project';
1010
export * from './devlog';
11-
export * from './search';
1211
export * from './validation';
1312
export * from './bridge';
1413
export * from './responses';

packages/web/app/schemas/search.ts

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)