Download node_modules/@apideck/better-ajv-errors/src/constants.ts from metarm/QMetaRam: direct link, hf CLI and curl.
- Browser
- Download file 260 Bytes
-
https://huggingface.co/metarm/QMetaRam/resolve/main/node_modules/%40apideck/better-ajv-errors/src/constants.ts
- Command line
-
hf download hf://metarm/QMetaRam/node_modules/@apideck/better-ajv-errors/src/constants.ts
-
curl -L -o constants.ts https://huggingface.co/metarm/QMetaRam/resolve/main/node_modules/%40apideck/better-ajv-errors/src/constants.ts
260 Bytes
| import { DefinedError } from 'ajv'; | |
| export const AJV_ERROR_KEYWORD_WEIGHT_MAP: Partial<Record<DefinedError['keyword'], number>> = { | |
| enum: 1, | |
| type: 0, | |
| }; | |
| export const QUOTES_REGEX = /"/g; | |
| export const NOT_REGEX = /NOT/g; | |
| export const SLASH_REGEX = /\//g; | |