api 설정 분리

This commit is contained in:
2025-08-27 13:06:13 +09:00
parent ab84ef0d0e
commit ea3ec7de3b
5 changed files with 19 additions and 12 deletions

13
types/common.ts Normal file
View File

@@ -0,0 +1,13 @@
// types/common.ts
declare global {
interface ApiResponse<T> {
success: boolean
code: number
message: string
description: string
data: T
}
}
export {}

View File

@@ -5,5 +5,5 @@ declare module 'vue3-tui-grid' {
export default TuiGrid;
export type TuiGridElement = any;
export type GridEvent = any;
}
}