UNPKG

@redocly/cli

Version:

[@Redocly](https://redocly.com) CLI is your all-in-one API documentation utility. It builds, manages, improves, and quality-checks your API descriptions, all of which comes in handy for various phases of the API Lifecycle. Create your own rulesets to make

13 lines 696 B
import { type ScorecardConfig } from '@redocly/config'; import { type Config, type Plugin } from '@redocly/openapi-core'; export declare function resolveConfigForTarget(apiPath: string, targetRules: Record<string, unknown> | undefined, scorecardLevels: ScorecardConfig['levels'], plugins: Array<string | Plugin> | undefined, configPath: string): Promise<Record<string, Config>>; export declare function getTarget<T extends object>(targets: Array<{ where: { metadata: Record<string, string>; }; } & T> | undefined, metadata: Record<string, unknown>): ({ where: { metadata: Record<string, string>; }; } & T) | undefined; //# sourceMappingURL=targets-handler.d.ts.map