@e-mc/types 0.12.2 → 0.12.3
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/constant.d.ts +1 -1
- package/lib/asset.d.ts +1 -0
- package/lib/index.d.ts +4 -3
- package/package.json +1 -1
package/constant.d.ts
CHANGED
package/lib/asset.d.ts
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -160,7 +160,7 @@ declare namespace functions {
|
|
|
160
160
|
executeBatchQuery(batch: V[], sessionKey: string, outResult?: BatchQueryResult): Promise<BatchQueryResult>;
|
|
161
161
|
executeBatchQuery(batch: V[], options?: ExecuteBatchQueryOptions | string, outResult?: BatchQueryResult): Promise<BatchQueryResult>;
|
|
162
162
|
processRows(batch: V[], tasks: Promise<QueryResult | null>[], parallel: boolean): Promise<BatchQueryResult>;
|
|
163
|
-
processRows(batch: V[], tasks: Promise<QueryResult | null>[], options?: ProcessRowsOptions, outResult?: BatchQueryResult): Promise<BatchQueryResult>;
|
|
163
|
+
processRows(batch: V[], tasks: Promise<QueryResult | null>[], options?: ProcessRowsOptions | boolean, outResult?: BatchQueryResult): Promise<BatchQueryResult>;
|
|
164
164
|
handleFail(err: unknown, item: V, options?: HandleFailOptions): boolean;
|
|
165
165
|
readTLSCert(value: unknown, cache?: boolean): string;
|
|
166
166
|
readTLSConfig(options: SecureContextOptions, cache?: boolean): void;
|
|
@@ -349,8 +349,8 @@ declare namespace functions {
|
|
|
349
349
|
headersOf(uri: string): OutgoingHttpHeaders | undefined;
|
|
350
350
|
aria2c(uri: string | URL, pathname: string): Promise<string[]>;
|
|
351
351
|
aria2c(uri: string | URL, options?: Aria2Options): Promise<string[]>;
|
|
352
|
-
rclone(uri: string, pathname: string): Promise<string[]>;
|
|
353
|
-
rclone(uri: string, options?: RcloneOptions): Promise<string[]>;
|
|
352
|
+
rclone(uri: string | URL, pathname: string): Promise<string[]>;
|
|
353
|
+
rclone(uri: string | URL, options?: RcloneOptions): Promise<string[]>;
|
|
354
354
|
json(uri: string | URL, options?: OpenOptions): Promise<object | null>;
|
|
355
355
|
pipe(uri: string | URL, to: Writable, options?: OpenOptions): Promise<null>;
|
|
356
356
|
opts<V extends OpenOptions>(url: string | URL, options?: V): HostConfig & V;
|
|
@@ -388,6 +388,7 @@ declare namespace functions {
|
|
|
388
388
|
fromStatusCode(value: number | string): string;
|
|
389
389
|
defineHttpAgent(options: HttpAgentSettings): void;
|
|
390
390
|
defineDnsLookup(options: DnsLookupSettings, clear?: boolean): void;
|
|
391
|
+
isRclone(value: string | URL): boolean;
|
|
391
392
|
getAria2Path(): string;
|
|
392
393
|
getRclonePath(): string;
|
|
393
394
|
readonly prototype: IRequest<T, U>;
|