From 953ddd82e48dd206cef5ac94456549aed13b3ad5 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Fri, 17 Nov 2023 23:25:29 +0100 Subject: Updated 30 files and deleted 2976 files (automated) --- .../matrix-js-sdk/lib/http-api/index.d.ts | 33 ---------------------- 1 file changed, 33 deletions(-) delete mode 100644 includes/external/matrix/node_modules/matrix-js-sdk/lib/http-api/index.d.ts (limited to 'includes/external/matrix/node_modules/matrix-js-sdk/lib/http-api/index.d.ts') diff --git a/includes/external/matrix/node_modules/matrix-js-sdk/lib/http-api/index.d.ts b/includes/external/matrix/node_modules/matrix-js-sdk/lib/http-api/index.d.ts deleted file mode 100644 index 0825c4e..0000000 --- a/includes/external/matrix/node_modules/matrix-js-sdk/lib/http-api/index.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { FetchHttpApi } from "./fetch"; -import { FileType, IContentUri, IHttpOpts, Upload, UploadOpts, UploadResponse } from "./interface"; -export * from "./interface"; -export * from "./prefix"; -export * from "./errors"; -export * from "./method"; -export * from "./utils"; -export declare class MatrixHttpApi extends FetchHttpApi { - private uploads; - /** - * Upload content to the homeserver - * - * @param file - The object to upload. On a browser, something that - * can be sent to XMLHttpRequest.send (typically a File). Under node.js, - * a Buffer, String or ReadStream. - * - * @param opts - options object - * - * @returns Promise which resolves to response object, as - * determined by this.opts.onlyData, opts.rawResponse, and - * opts.onlyContentUri. Rejects with an error (usually a MatrixError). - */ - uploadContent(file: FileType, opts?: UploadOpts): Promise; - cancelUpload(promise: Promise): boolean; - getCurrentUploads(): Upload[]; - /** - * Get the content repository url with query parameters. - * @returns An object with a 'base', 'path' and 'params' for base URL, - * path and query parameters respectively. - */ - getContentUri(): IContentUri; -} -//# sourceMappingURL=index.d.ts.map \ No newline at end of file -- cgit