mirror of
https://github.com/sqlchat/sqlchat.git
synced 2025-09-27 01:56:16 +08:00
chore: update request error message
This commit is contained in:
5
types/api.ts
Normal file
5
types/api.ts
Normal file
@ -0,0 +1,5 @@
|
||||
export type ResponseObject<T> = {
|
||||
data: T;
|
||||
message?: string;
|
||||
code?: string;
|
||||
};
|
@ -4,3 +4,4 @@ export * from "./connection";
|
||||
export * from "./database";
|
||||
export * from "./chat";
|
||||
export * from "./message";
|
||||
export * from "./api";
|
||||
|
Reference in New Issue
Block a user