teodor-new-chat-ui 3.0.47 → 3.0.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/common/FileViewerModal.d.ts +9 -0
- package/dist/index.esm.js +7281 -7088
- package/dist/index.umd.js +58 -58
- package/dist/lib/file-api.d.ts +1 -0
- package/dist/types/api.d.ts +1 -1
- package/package.json +1 -1
package/dist/lib/file-api.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare function viewFileById(fileId: number | string, onProgress?: (p: number) => void): Promise<void>;
|
|
2
|
+
export declare function getFileContent(fileId: number | string, onProgress?: (p: number) => void): Promise<string>;
|
|
2
3
|
export declare function downloadFileById(fileId: number | string, onProgress?: (p: number) => void): Promise<void>;
|
|
3
4
|
export declare function getFileInfo(fileId: number | string): Promise<any>;
|
|
4
5
|
export declare function listFiles(threadId?: string | null, limit?: number, offset?: number): Promise<any[]>;
|
package/dist/types/api.d.ts
CHANGED
package/package.json
CHANGED