UNPKG

typescript-scaffolder

Version:

![npm version](https://img.shields.io/npm/v/typescript-scaffolder) ![coverage](https://img.shields.io/badge/coverage-97.48%25-green)

16 lines 767 B
/** * Generates an authentication helper file for the specified API client. * Supports 'apikey', 'basic', and 'none' authentication types. * * @param outputDir - The directory where the auth helper file will be created. * @param fileBaseName - The base name of the API client file. * @param authType - The type of authentication ('apikey' | 'basic' | 'none'). * @param credentials - Optional credentials needed for 'apikey' or 'basic' auth. */ export declare function generateAuthHelperForApiFile(outputDir: string, fileBaseName: string, authType: "apikey" | "basic" | "none", credentials?: { username?: string; password?: string; apiKeyName?: string; apiKeyValue?: string; }): Promise<void>; //# sourceMappingURL=generate-auth-helper.d.ts.map