Files
sqlchat/types/database.ts
2023-03-23 16:12:16 +08:00

15 lines
300 B
TypeScript

import { Id } from "./";
export interface Database {
connectionId: Id;
name: string;
tableList: Table[];
}
export interface Table {
name: string;
// structure is a string of the table structure.
// It's mainly used for providing a chat context for the assistant.
structure: string;
}