feat: complete Ancestor quote bot with production-ready Docker support
This commit is contained in:
26
node_modules/matrix-js-sdk/lib/http-api/index.d.ts
generated
vendored
26
node_modules/matrix-js-sdk/lib/http-api/index.d.ts
generated
vendored
@@ -1,10 +1,10 @@
|
||||
import { FetchHttpApi } from "./fetch.ts";
|
||||
import { type FileType, type IHttpOpts, type Upload, type UploadOpts, type UploadResponse } from "./interface.ts";
|
||||
export * from "./interface.ts";
|
||||
export * from "./prefix.ts";
|
||||
export * from "./errors.ts";
|
||||
export * from "./method.ts";
|
||||
export * from "./utils.ts";
|
||||
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<O extends IHttpOpts> extends FetchHttpApi<O> {
|
||||
private uploads;
|
||||
/**
|
||||
@@ -16,12 +16,18 @@ export declare class MatrixHttpApi<O extends IHttpOpts> extends FetchHttpApi<O>
|
||||
*
|
||||
* @param opts - options object
|
||||
*
|
||||
* @returns Promise which resolves to response object, or rejects with an error (usually a MatrixError).
|
||||
* @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
|
||||
* @see MatrixSafetyError
|
||||
* @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<UploadResponse>;
|
||||
cancelUpload(promise: Promise<UploadResponse>): 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
|
||||
Reference in New Issue
Block a user