mirror of
https://github.com/sqlchat/sqlchat.git
synced 2025-07-28 01:32:09 +08:00
15 lines
300 B
TypeScript
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;
|
|
}
|