mfdoc
Version:
Auto generate JS SDK and HTTP API documentation
14 lines (13 loc) • 948 B
TypeScript
import { MfdocHttpEndpointDefinitionTypePrimitive } from './mfdoc.js';
export declare function filterEndpointsByTags(endpoints: MfdocHttpEndpointDefinitionTypePrimitive[], tags: string[]): MfdocHttpEndpointDefinitionTypePrimitive<import("softkave-js-utils").AnyObject, import("softkave-js-utils").AnyObject, import("softkave-js-utils").AnyObject, import("softkave-js-utils").AnyObject, import("softkave-js-utils").AnyObject, import("softkave-js-utils").AnyObject, import("softkave-js-utils").AnyObject>[];
export declare function hasPackageJson(params: {
outputPath: string;
}): Promise<boolean>;
export declare const kInstallScripts: {
readonly npm: (pkgName: string) => string;
readonly yarn: (pkgName: string) => string;
readonly pnpm: (pkgName: string) => string;
readonly bun: (pkgName: string) => string;
readonly deno: (pkgName: string) => string;
};
export type InstallScriptProvider = keyof typeof kInstallScripts;