mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 16:43:16 +00:00
add overload function to gettotalpage, and new type
This commit is contained in:
@@ -14,6 +14,12 @@ export type Doc = {
|
||||
syncFrequency?: string;
|
||||
};
|
||||
|
||||
export type GetDocsResponse = {
|
||||
docs: Doc[];
|
||||
totalDocuments: number;
|
||||
totalPages: number;
|
||||
};
|
||||
|
||||
export type PromptProps = {
|
||||
prompts: { name: string; id: string; type: string }[];
|
||||
selectedPrompt: { name: string; id: string; type: string };
|
||||
|
||||
Reference in New Issue
Block a user