From ee59196663b58659f9597b2d48d15eff04501b1b Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Sun, 23 Jun 2024 01:29:07 +0900 Subject: [PATCH] =?UTF-8?q?class=E3=81=AE=E5=AE=9A=E7=BE=A9=E3=82=92?= =?UTF-8?q?=E4=B8=80=E6=9C=AC=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/misskey-js/etc/misskey-js.api.md | 6 + .../misskey-js/generator/src/generator.ts | 11 +- packages/misskey-js/src/api.ts | 10 +- .../misskey-js/src/autogen/apiClientJSDoc.ts | 764 +++++++++--------- 4 files changed, 388 insertions(+), 403 deletions(-) diff --git a/packages/misskey-js/etc/misskey-js.api.md b/packages/misskey-js/etc/misskey-js.api.md index cfb9a48412..fe62be145b 100644 --- a/packages/misskey-js/etc/misskey-js.api.md +++ b/packages/misskey-js/etc/misskey-js.api.md @@ -728,6 +728,7 @@ type ApGetResponse = operations['ap___get']['responses']['200']['content']['appl declare namespace api { export { isAPIError, + ErrPromise, SwitchCaseResponseType, APIError, FetchLike, @@ -2707,6 +2708,11 @@ export { entities } // @public (undocumented) type Error_2 = components['schemas']['Error']; +// @public (undocumented) +class ErrPromise extends Promise { + constructor(executor: (resolve: (value: TSuccess | PromiseLike) => void, reject: (reason: TError) => void) => void); +} + // @public (undocumented) type ExportCustomEmojisErrors = EndpointsErrors['export-custom-emojis'][keyof EndpointsErrors['export-custom-emojis']]; diff --git a/packages/misskey-js/generator/src/generator.ts b/packages/misskey-js/generator/src/generator.ts index 03d17a6c45..4f2b5b771e 100644 --- a/packages/misskey-js/generator/src/generator.ts +++ b/packages/misskey-js/generator/src/generator.ts @@ -284,15 +284,6 @@ async function generateApiClientJSDoc( endpointOutputLine.push(`import type { Endpoints } from '${toImportPath(endpointsFileName)}';`); endpointOutputLine.push(''); - endpointOutputLine.push( - 'interface IErrPromise {', - ' then(onfulfilled?: ((value: TSuccess) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: TError) => TResult2 | PromiseLike) | undefined | null): Promise;', - '', - ' catch(onrejected?: ((reason: TError) => TResult | PromiseLike) | undefined | null): Promise;', - '}', - ); - endpointOutputLine.push(''); - endpointOutputLine.push(`declare module '${toImportPath(apiClientFileName)}' {`); endpointOutputLine.push(' export interface APIClient {'); for (let i = 0; i < endpoints.length; i++) { @@ -306,7 +297,7 @@ async function generateApiClientJSDoc( ' endpoint: E,', ' params: P,', ' credential?: string | null,', - ' ): IErrPromise, RE>;', + ' ): ErrPromise, RE>;', ); if (i < endpoints.length - 1) { diff --git a/packages/misskey-js/src/api.ts b/packages/misskey-js/src/api.ts index cd43d7ab37..193a5d05cb 100644 --- a/packages/misskey-js/src/api.ts +++ b/packages/misskey-js/src/api.ts @@ -3,13 +3,7 @@ import './autogen/apiClientJSDoc.js'; import { SwitchCaseResponseType } from './api.types.js'; import type { Endpoints } from './api.types.js'; -interface IErrPromise { - then(onfulfilled?: ((value: TSuccess) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: TError) => TResult2 | PromiseLike) | undefined | null): Promise; - - catch(onrejected?: ((reason: TError) => TResult | PromiseLike) | undefined | null): Promise; -} - -class ErrPromise extends Promise implements IErrPromise { +export class ErrPromise extends Promise { constructor(executor: (resolve: (value: TSuccess | PromiseLike) => void, reject: (reason: TError) => void) => void) { super(executor); } @@ -65,7 +59,7 @@ export class APIClient { endpoint: E, params: P = {} as P, credential?: string | null, - ): IErrPromise, RE> { + ): ErrPromise, RE> { return new ErrPromise((resolve, reject) => { this.fetch(`${this.origin}/api/${endpoint}`, { method: 'POST', diff --git a/packages/misskey-js/src/autogen/apiClientJSDoc.ts b/packages/misskey-js/src/autogen/apiClientJSDoc.ts index a6bc2383d3..b0a5c7b190 100644 --- a/packages/misskey-js/src/autogen/apiClientJSDoc.ts +++ b/packages/misskey-js/src/autogen/apiClientJSDoc.ts @@ -1,12 +1,6 @@ import type { SwitchCaseResponseType } from '../api.js'; import type { Endpoints } from './endpoint.js'; -interface IErrPromise { - then(onfulfilled?: ((value: TSuccess) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: TError) => TResult2 | PromiseLike) | undefined | null): Promise; - - catch(onrejected?: ((reason: TError) => TResult | PromiseLike) | undefined | null): Promise; -} - declare module '../api.js' { export interface APIClient { /** @@ -18,7 +12,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -29,7 +23,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -41,7 +35,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -53,7 +47,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -65,7 +59,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -77,7 +71,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -89,7 +83,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -100,7 +94,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -111,7 +105,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -122,7 +116,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -133,7 +127,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -144,7 +138,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -155,7 +149,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -166,7 +160,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -177,7 +171,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -188,7 +182,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -199,7 +193,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -210,7 +204,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -221,7 +215,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -232,7 +226,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -243,7 +237,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -254,7 +248,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -265,7 +259,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -276,7 +270,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -287,7 +281,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -298,7 +292,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -309,7 +303,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -320,7 +314,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -331,7 +325,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -342,7 +336,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -353,7 +347,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -364,7 +358,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -375,7 +369,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -386,7 +380,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -398,7 +392,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -409,7 +403,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -420,7 +414,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -431,7 +425,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -442,7 +436,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -453,7 +447,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -464,7 +458,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -475,7 +469,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -486,7 +480,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -497,7 +491,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -508,7 +502,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -519,7 +513,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -530,7 +524,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -541,7 +535,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -552,7 +546,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -563,7 +557,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -574,7 +568,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -585,7 +579,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -596,7 +590,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -607,7 +601,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -618,7 +612,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -629,7 +623,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -640,7 +634,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -651,7 +645,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -662,7 +656,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -673,7 +667,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -684,7 +678,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -695,7 +689,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -706,7 +700,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -717,7 +711,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -728,7 +722,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -739,7 +733,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -750,7 +744,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -761,7 +755,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -772,7 +766,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -783,7 +777,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -794,7 +788,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -805,7 +799,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -816,7 +810,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -827,7 +821,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -838,7 +832,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -849,7 +843,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -860,7 +854,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -871,7 +865,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -882,7 +876,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -893,7 +887,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -904,7 +898,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -916,7 +910,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -928,7 +922,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -940,7 +934,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -952,7 +946,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -964,7 +958,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -975,7 +969,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -986,7 +980,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -997,7 +991,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1008,7 +1002,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1019,7 +1013,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1030,7 +1024,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1041,7 +1035,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1052,7 +1046,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1063,7 +1057,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1074,7 +1068,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1085,7 +1079,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1096,7 +1090,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1108,7 +1102,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1119,7 +1113,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1130,7 +1124,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1141,7 +1135,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1152,7 +1146,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1163,7 +1157,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1174,7 +1168,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1185,7 +1179,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1196,7 +1190,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1207,7 +1201,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1218,7 +1212,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1229,7 +1223,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1240,7 +1234,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1251,7 +1245,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1262,7 +1256,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1273,7 +1267,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1284,7 +1278,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1295,7 +1289,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1306,7 +1300,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1317,7 +1311,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1328,7 +1322,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1339,7 +1333,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1350,7 +1344,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1361,7 +1355,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1372,7 +1366,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1383,7 +1377,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1394,7 +1388,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1405,7 +1399,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1416,7 +1410,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1427,7 +1421,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1438,7 +1432,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1449,7 +1443,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1460,7 +1454,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1471,7 +1465,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1482,7 +1476,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1493,7 +1487,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1504,7 +1498,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1515,7 +1509,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1526,7 +1520,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1537,7 +1531,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1548,7 +1542,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1559,7 +1553,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1570,7 +1564,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1581,7 +1575,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1592,7 +1586,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Find the notes to which the given file is attached. @@ -1603,7 +1597,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Check if a given file exists. @@ -1614,7 +1608,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Upload a new drive file. @@ -1625,7 +1619,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Delete an existing drive file. @@ -1636,7 +1630,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Search for a drive file by a hash of the contents. @@ -1647,7 +1641,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Search for a drive file by the given parameters. @@ -1658,7 +1652,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Show the properties of a drive file. @@ -1669,7 +1663,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Update the properties of a drive file. @@ -1680,7 +1674,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Request the server to download a new drive file from the specified URL. @@ -1691,7 +1685,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1702,7 +1696,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1713,7 +1707,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1724,7 +1718,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1735,7 +1729,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1746,7 +1740,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1757,7 +1751,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1768,7 +1762,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1779,7 +1773,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1790,7 +1784,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1801,7 +1795,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1813,7 +1807,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1824,7 +1818,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1835,7 +1829,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1846,7 +1840,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1857,7 +1851,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1868,7 +1862,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1879,7 +1873,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1890,7 +1884,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1901,7 +1895,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1912,7 +1906,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1923,7 +1917,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1934,7 +1928,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1945,7 +1939,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1956,7 +1950,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1967,7 +1961,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1978,7 +1972,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -1989,7 +1983,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2000,7 +1994,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2011,7 +2005,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2022,7 +2016,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2033,7 +2027,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2044,7 +2038,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2055,7 +2049,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2066,7 +2060,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2077,7 +2071,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2088,7 +2082,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2099,7 +2093,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2110,7 +2104,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2121,7 +2115,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2132,7 +2126,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2143,7 +2137,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2154,7 +2148,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2165,7 +2159,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2176,7 +2170,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2188,7 +2182,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2200,7 +2194,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2212,7 +2206,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2224,7 +2218,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2236,7 +2230,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2248,7 +2242,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2260,7 +2254,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2272,7 +2266,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2284,7 +2278,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2296,7 +2290,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2307,7 +2301,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2319,7 +2313,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2331,7 +2325,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2343,7 +2337,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2355,7 +2349,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2367,7 +2361,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2379,7 +2373,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2391,7 +2385,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2403,7 +2397,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2415,7 +2409,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2427,7 +2421,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2438,7 +2432,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2449,7 +2443,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2460,7 +2454,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2472,7 +2466,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2484,7 +2478,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2496,7 +2490,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2508,7 +2502,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2520,7 +2514,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2531,7 +2525,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2542,7 +2536,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2553,7 +2547,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2564,7 +2558,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2575,7 +2569,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2586,7 +2580,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2597,7 +2591,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2609,7 +2603,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2620,7 +2614,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2631,7 +2625,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2642,7 +2636,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2653,7 +2647,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2664,7 +2658,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2675,7 +2669,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2687,7 +2681,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2698,7 +2692,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2710,7 +2704,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2722,7 +2716,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2733,7 +2727,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2745,7 +2739,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2756,7 +2750,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2768,7 +2762,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2779,7 +2773,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2790,7 +2784,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2801,7 +2795,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2812,7 +2806,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2823,7 +2817,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2834,7 +2828,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2845,7 +2839,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2856,7 +2850,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2867,7 +2861,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2878,7 +2872,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2889,7 +2883,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2900,7 +2894,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2912,7 +2906,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2923,7 +2917,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2934,7 +2928,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2945,7 +2939,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2956,7 +2950,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2967,7 +2961,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2978,7 +2972,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -2989,7 +2983,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3000,7 +2994,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3011,7 +3005,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3022,7 +3016,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3033,7 +3027,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3044,7 +3038,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3055,7 +3049,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3066,7 +3060,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3077,7 +3071,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3088,7 +3082,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3099,7 +3093,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3110,7 +3104,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3121,7 +3115,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3132,7 +3126,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3143,7 +3137,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3154,7 +3148,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3165,7 +3159,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3176,7 +3170,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3187,7 +3181,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3198,7 +3192,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3209,7 +3203,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3220,7 +3214,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3231,7 +3225,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3242,7 +3236,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3253,7 +3247,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3264,7 +3258,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3275,7 +3269,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3286,7 +3280,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3297,7 +3291,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3308,7 +3302,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3319,7 +3313,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3330,7 +3324,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3341,7 +3335,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3352,7 +3346,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3363,7 +3357,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3375,7 +3369,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3386,7 +3380,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3397,7 +3391,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3408,7 +3402,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3419,7 +3413,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3430,7 +3424,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3441,7 +3435,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3452,7 +3446,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3463,7 +3457,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3474,7 +3468,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3485,7 +3479,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3496,7 +3490,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3507,7 +3501,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3518,7 +3512,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3529,7 +3523,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3540,7 +3534,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3551,7 +3545,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3562,7 +3556,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3573,7 +3567,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3584,7 +3578,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3595,7 +3589,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3606,7 +3600,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3617,7 +3611,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3628,7 +3622,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Request a users password to be reset. @@ -3639,7 +3633,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Only available when running with NODE_ENV=testing. Reset the database and flush Redis. @@ -3650,7 +3644,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Complete the password reset that was previously requested. @@ -3661,7 +3655,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3672,7 +3666,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3683,7 +3677,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Check push notification registration exists. @@ -3695,7 +3689,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Update push notification registration. @@ -3707,7 +3701,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Register to receive push notifications. @@ -3719,7 +3713,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Unregister from receiving push notifications. @@ -3730,7 +3724,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Endpoint for testing input validation. @@ -3741,7 +3735,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3752,7 +3746,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3763,7 +3757,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Show all clips this user owns. @@ -3774,7 +3768,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Show everyone that follows this user. @@ -3785,7 +3779,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Show everyone that this user is following. @@ -3796,7 +3790,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Show all gallery posts by the given user. @@ -3807,7 +3801,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Get a list of other users that the specified user frequently replies to. @@ -3818,7 +3812,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3829,7 +3823,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Create a new list of users. @@ -3840,7 +3834,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Delete an existing list of users. @@ -3851,7 +3845,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Show all lists that the authenticated user has created. @@ -3862,7 +3856,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Remove a user from a list. @@ -3873,7 +3867,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Add a user to an existing list. @@ -3884,7 +3878,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Show the properties of a list. @@ -3895,7 +3889,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3906,7 +3900,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3917,7 +3911,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Update the properties of a list. @@ -3928,7 +3922,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3939,7 +3933,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3950,7 +3944,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3961,7 +3955,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -3972,7 +3966,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Show all pages this user created. @@ -3983,7 +3977,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Show all flashs this user created. @@ -3994,7 +3988,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Show all reactions this user made. @@ -4005,7 +3999,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Show users that the authenticated user might be interested to follow. @@ -4016,7 +4010,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Show the different kinds of relations between the authenticated user and the specified user(s). @@ -4027,7 +4021,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * File a report. @@ -4038,7 +4032,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Search for a user by username and/or host. @@ -4049,7 +4043,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Search for users. @@ -4060,7 +4054,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * Show the properties of a user. @@ -4071,7 +4065,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -4082,7 +4076,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -4093,7 +4087,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -4104,7 +4098,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -4116,7 +4110,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -4127,7 +4121,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -4138,7 +4132,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -4149,7 +4143,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -4160,7 +4154,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -4171,7 +4165,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -4182,7 +4176,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -4193,7 +4187,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -4204,7 +4198,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -4215,7 +4209,7 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; /** * No description provided. @@ -4226,6 +4220,6 @@ declare module '../api.js' { endpoint: E, params: P, credential?: string | null, - ): IErrPromise, RE>; + ): ErrPromise, RE>; } }