@verdaccio/config
Version:
logger
20 lines (19 loc) • 564 B
TypeScript
import { 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;