From 2f297c9f391b02566a87760057a18e83d2c2e573 Mon Sep 17 00:00:00 2001 From: Nicolas Humbert Date: Tue, 1 Oct 2024 19:16:40 +0200 Subject: [PATCH] VLTCLT-51 fix yarn gen-types --- lib/IAMClient.d.ts | 2 +- lib/IAMClient.d.ts.map | 2 +- lib/constants.d.ts | 24 ++++++++++++------------ 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/lib/IAMClient.d.ts b/lib/IAMClient.d.ts index c281316..cc4bc30 100644 --- a/lib/IAMClient.d.ts +++ b/lib/IAMClient.d.ts @@ -36,7 +36,7 @@ declare class VaultClient { setCustomEndpointForSignature(host: any, path: any): void; _host: any; __path: any; - enableIAMOnAdminRoutes(): VaultClient; + enableIAMOnAdminRoutes(): this; /** * Set the configuration for the werelogs logger * @param {object} config - A configuration object for werelogs diff --git a/lib/IAMClient.d.ts.map b/lib/IAMClient.d.ts.map index ff1e60c..94b3126 100644 --- a/lib/IAMClient.d.ts.map +++ b/lib/IAMClient.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"IAMClient.d.ts","sourceRoot":"","sources":["IAMClient.js"],"names":[],"mappings":";AAkBA;IACI;;;;;;;;;;;;;;;;OAgBG;IACH,kBAfW,MAAM,SACN,MAAM,aACN,OAAO,QACP,MAAM,SACN,MAAM,OACN,MAAM,aACN,OAAO,cACP,MAAM,mBACN,MAAM,WACN,SAAS,GAAG,SAEZ,MAAM,iBACN,MAAM,wBACN,OAAO,EA4CjB;IA5BG,mBAAsB;IACtB,mBAA8B;IAC9B,aAAe;IACf,cAAiB;IACjB,YAAa;IACb,kBAAmC;IAE/B,2CAME;IAON,kBAA0B;IAC1B,uBAAoC;IACpC,qBAAgC;IAChC,uCAAgC;IAChC,SAAgD;IAChD,cAAiB;IACjB,qCAAwC;IACxC,6BAA2F;IAG/F,0DAGC;IAFG,WAAiB;IACjB,YAAkB;IAGtB,sCAGC;IAED;;;;OAIG;IACH,wBAHW,MAAM,GACJ,SAAS,CAIrB;IAED,wBAEC;I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AM;4BAIJ,IAAI,CAsBhB;IAED,8CAEC;IAED,yCAUC;IAGD,qFAgCC;IAGD;;;;;;;;;;;;;OAaG;IACH,gBAbW,MAAM,QACN,MAAM,mBACN,OAAO,uBAGP,MAAM,WAIN,MAAM,gBACN,MAAM,GACJ,SAAS,CA0ErB;IAED;;;;;OAKG;IACH,cAHW,MAAM,GACL,MAAM,GAAC,KAAK,CAWvB;IAED;;;;;;OAMG;IACH,YAJW,MAAM,iBAEL,SAAS,CAkBpB;IAED;;;;;;;OAOG;IACH,oBAPW,MAAM,OACN,MAAM,OAEN,MAAM,YAEJ,SAAS,CAwCrB;CACJ"} \ No newline at end of file +{"version":3,"file":"IAMClient.d.ts","sourceRoot":"","sources":["IAMClient.js"],"names":[],"mappings":";AAkBA;IACI;;;;;;;;;;;;;;;;OAgBG;IACH,kBAfW,MAAM,SACN,MAAM,aACN,OAAO,QACP,MAAM,SACN,MAAM,OACN,MAAM,aACN,OAAO,cACP,MAAM,mBACN,MAAM,WACN,QAAQ,CAAC,GAAG,SAEZ,MAAM,iBACN,MAAM,wBACN,OAAO,EA4CjB;IA5BG,mBAAsB;IACtB,mBAA8B;IAC9B,aAAe;IACf,cAAiB;IACjB,YAAa;IACb,kBAAmC;IAE/B,2CAME;IAON,kBAA0B;IAC1B,uBAAoC;IACpC,qBAAgC;IAChC,uCAAgC;IAChC,SAAgD;IAChD,cAAiB;IACjB,qCAAwC;IACxC,6BAA2F;IAG/F,0DAGC;IAFG,WAAiB;IACjB,YAAkB;IAGtB,+BAGC;IAED;;;;OAIG;IACH,wBAHW,MAAM,GACJ,SAAS,CAIrB;IAED,wBAEC;IAED,wBAEC;IAED;;;;;;;OAOG;IAEH;;;;;;;;;OASG;IACH,2BAPW,MAAM,WAEd;QAAwB,KAAK,EAArB,MAAM;QACW,KAAK,GAAtB,MAAM;KACd,kBACU,SAAS,CA4DrB;IAED;;;;;;;OAOG;IACH,qCALW,MAAM,YACN,MAAM,kBAEJ,SAAS,CAmBrB;IA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I,CAsBhB;IAED,8CAEC;IAED,yCAUC;IAGD,qFAgCC;IAGD;;;;;;;;;;;;;OAaG;IACH,gBAbW,MAAM,QACN,MAAM,mBACN,OAAO,uBAGP,MAAM,WAIN,MAAM,gBACN,MAAM,GACJ,SAAS,CA0ErB;IAED;;;;;OAKG;IACH,cAHW,MAAM,GACL,MAAM,GAAC,KAAK,CAWvB;IAED;;;;;;OAMG;IACH,YAJW,MAAM,iBAEL,SAAS,CAkBpB;IAED;;;;;;;OAOG;IACH,oBAPW,MAAM,OACN,MAAM,OAEN,MAAM,YAEJ,SAAS,CAwCrB;CACJ"} \ No newline at end of file diff --git a/lib/constants.d.ts b/lib/constants.d.ts index 16c7e5c..70e2fc4 100644 --- a/lib/constants.d.ts +++ b/lib/constants.d.ts @@ -1,28 +1,28 @@ export const httpClientFreeSocketTimeout: 55000; export namespace InternalError { - const code: number; - const description: string; - const InternalError: boolean; + let code: number; + let description: string; + let InternalError: boolean; } export namespace InvalidParameterValue { - const code_1: number; + let code_1: number; export { code_1 as code }; - const description_1: string; + let description_1: string; export { description_1 as description }; - export const InvalidParameterValue: boolean; + export let InvalidParameterValue: boolean; } export namespace Forbidden { - const code_2: number; + let code_2: number; export { code_2 as code }; - const description_2: string; + let description_2: string; export { description_2 as description }; - export const Forbidden: boolean; + export let Forbidden: boolean; } export namespace WrongFormat { - const code_3: number; + let code_3: number; export { code_3 as code }; - const description_3: string; + let description_3: string; export { description_3 as description }; - export const WrongFormat: boolean; + export let WrongFormat: boolean; } //# sourceMappingURL=constants.d.ts.map \ No newline at end of file