Initial commit

This commit is contained in:
2026-03-08 01:34:54 +08:00
commit 1f104f73c8
441 changed files with 64911 additions and 0 deletions

9
shared/types/api.ts Normal file
View File

@@ -0,0 +1,9 @@
export type ApiErrorDTO = {
code: string
message: string
details?: unknown
}
export type ApiResponse<T> =
| { success: true; data: T }
| { success: false; error: ApiErrorDTO }