UNPKG

@verdaccio/config

Version:

Verdaccio Configuration

20 lines (19 loc) 569 B
import type { PackageAccess } from '@verdaccio/types'; export interface LegacyPackageList { [key: string]: PackageAccess; } export declare const ROLES: { $ALL: string; ALL: string; $AUTH: string; $ANONYMOUS: string; DEPRECATED_ALL: string; DEPRECATED_AUTH: string; DEPRECATED_ANONYMOUS: string; }; export declare const PACKAGE_ACCESS: { SCOPE: string; ALL: string; }; export declare function normalizeUserList(groupsList: any): any; export declare function normalisePackageAccess(packages: LegacyPackageList): LegacyPackageList;