Skip to main content
Version: Next

@verdaccio/core

Namespaces

Enumerations

Type Aliases

VerdaccioError

Ƭ VerdaccioError: HttpError & { code: number }

Defined in

error-utils.ts:58

Variables

API_ERROR

Const API_ERROR: Object

Type declaration

NameType
BAD_AUTH_HEADERstring
BAD_DATAstring
BAD_FORMAT_USER_GROUPstring
BAD_PACKAGE_DATAstring
BAD_STATUS_CODEstring
BAD_USERNAME_PASSWORDstring
CONFIG_BAD_FORMATstring
CONTENT_MISMATCHstring
DEPRECATED_BASIC_HEADERstring
FILE_NOT_FOUNDstring
INTERNAL_SERVER_ERRORstring
MAX_USERS_REACHEDstring
MUST_BE_LOGGEDstring
NOT_ALLOWEDstring
NOT_ALLOWED_PUBLISHstring
NOT_FILE_UPLINKstring
NOT_MODIFIED_NO_DATAstring
NOT_PACKAGE_UPLINKstring
NO_PACKAGEstring
NO_SUCH_FILEstring
PACKAGE_CANNOT_BE_ADDEDstring
PACKAGE_EXISTstring
PASSWORD_SHORTstring
PLUGIN_ERRORstring
REGISTRATION_DISABLEDstring
RESOURCE_UNAVAILABLEstring
SERVER_TIME_OUTstring
UNAUTHORIZED_ACCESSstring
UNKNOWN_ERRORstring
UNSUPORTED_REGISTRY_CALLstring
UPLINK_OFFLINEstring
UPLINK_OFFLINE_PUBLISHstring
USERNAME_ALREADY_REGISTEREDstring
USERNAME_MISMATCHstring
USERNAME_PASSWORD_REQUIREDstring
VERSION_NOT_EXISTstring
WEB_DISABLEDstring

Defined in

error-utils.ts:5


API_MESSAGE

Const API_MESSAGE: Object

Type declaration

NameType
LOGGED_OUTstring
OKstring
PKG_CHANGEDstring
PKG_CREATEDstring
PKG_PUBLISHEDstring
PKG_REMOVEDstring
TAG_ADDEDstring
TAG_REMOVEDstring
TAG_UPDATEDstring
TARBALL_REMOVEDstring
TARBALL_UPLOADEDstring

Defined in

constants.ts:87


APP_ERROR

Const APP_ERROR: Object

Type declaration

NameType
CONFIG_NOT_VALIDstring
PASSWORD_VALIDATIONstring
PROFILE_ERRORstring

Defined in

error-utils.ts:52


CHARACTER_ENCODING

Const CHARACTER_ENCODING: Object

Type declaration

NameType
UTF8string

Defined in

constants.ts:20


DEFAULT_PASSWORD_VALIDATION

Const DEFAULT_PASSWORD_VALIDATION: RegExp

Defined in

constants.ts:3


DEFAULT_USER

Const DEFAULT_USER: "Anonymous"

Defined in

constants.ts:10


DIST_TAGS

Const DIST_TAGS: "dist-tags"

Defined in

constants.ts:6


HEADERS

Const HEADERS: Object

Type declaration

NameType
ACCEPTstring
ACCEPT_ENCODINGstring
AUTHORIZATIONstring
CACHE_CONTROLstring
CLIENTstring
CONTENT_LENGTHstring
CONTENT_TYPEstring
CSPstring
CTOstring
ETAGstring
FORWARDED_FORstring
FORWARDED_PROTOstring
FRAMES_OPTIONSstring
GZIPstring
HOSTstring
JSONstring
JSON_CHARSETstring
JSON_INSTALL_CHARSETstring
NONE_MATCHstring
OCTET_STREAMstring
POWERED_BYstring
RATELIMIT_LIMITstring
RATELIMIT_REMAININGstring
TEXT_CHARSETstring
TEXT_HTMLstring
TEXT_HTML_UTF8string
TEXT_PLAINstring
TEXT_PLAIN_UTF8string
USER_AGENTstring
WWW_AUTHstring
XSSstring

Defined in

constants.ts:28


HEADER_TYPE

Const HEADER_TYPE: Object

Type declaration

NameType
ACCEPT_ENCODINGstring
AUTHORIZATIONstring
CONTENT_ENCODINGstring
CONTENT_LENGTHstring
CONTENT_TYPEstring

Defined in

constants.ts:12


HTTP_STATUS

Const HTTP_STATUS: Object

Type declaration

NameType
BAD_DATAnumber
BAD_REQUESTnumber
CANNOT_HANDLEnumber
CONFLICTnumber
CREATEDnumber
FORBIDDENnumber
INTERNAL_ERRORnumber
LOOP_DETECTEDnumber
MULTIPLE_CHOICESnumber
NOT_FOUNDnumber
NOT_IMPLEMENTEDnumber
NOT_MODIFIEDnumber
OKnumber
SERVICE_UNAVAILABLEnumber
UNAUTHORIZEDnumber
UNSUPPORTED_MEDIAnumber

Defined in

constants.ts:64


LATEST

Const LATEST: "latest"

Defined in

constants.ts:7


MAINTAINERS

Const MAINTAINERS: "maintainers"

Defined in

constants.ts:9


PLUGIN_CATEGORY

Const PLUGIN_CATEGORY: Object

Type declaration

NameType
AUTHENTICATIONstring
FILTERstring
MIDDLEWAREstring
STORAGEstring
THEMEstring

Defined in

constants.ts:128


SUPPORT_ERRORS

Const SUPPORT_ERRORS: Object

Type declaration

NameType
PARAMETERS_NOT_VALIDstring
PLUGIN_MISSING_INTERFACEstring
STORAGE_NOT_IMPLEMENTstring
TFA_DISABLEDstring

Defined in

error-utils.ts:45


TOKEN_BASIC

Const TOKEN_BASIC: "Basic"

Defined in

constants.ts:25


TOKEN_BEARER

Const TOKEN_BEARER: "Bearer"

Defined in

constants.ts:26


USERS

Const USERS: "users"

Defined in

constants.ts:8


validationUtils

Const validationUtils: validatioUtils = validatioUtils

Defined in

index.ts:30