cnpmcore
Version:
Private NPM Registry for Enterprise
17 lines (16 loc) • 1 kB
TypeScript
import { Context } from 'egg';
import type { RegistryManagerService } from '../../../core/service/RegistryManagerService.ts';
import { AbstractController } from '../AbstractController.ts';
export declare class DownloadPackageVersionTarController extends AbstractController {
private packageManagerService;
registryManagerService: RegistryManagerService;
private proxyCacheService;
private packageSyncerService;
private nfsAdapter;
downloadForOptions(ctx: Context): Promise<void>;
download(ctx: Context, fullname: string, filenameWithVersion: string): Promise<import("stream").Readable | undefined>;
deprecatedDownload(ctx: Context, fullname: string, fullnameWithVersion: string): Promise<import("stream").Readable | undefined>;
private getTgzProxyStream;
downloadVerdaccioPathStyleorOptions(ctx: Context): Promise<void>;
downloadVerdaccioPathStyle(ctx: Context, fullname: string, filenameWithVersion: string): Promise<import("stream").Readable | undefined>;
}