Spaces:
Sleeping
Sleeping
Download frontend/node_modules/ajv-keywords/keywords/patternRequired.js from sepidnes/pythonic-rag-FastAPIReact: direct link, hf CLI and curl.
- Browser
- Download file 412 Bytes
-
https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/ajv-keywords/keywords/patternRequired.js
- Command line
-
hf download hf://spaces/sepidnes/pythonic-rag-FastAPIReact@94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/ajv-keywords/keywords/patternRequired.js
-
curl -L -o patternRequired.js https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/ajv-keywords/keywords/patternRequired.js
412 Bytes
| ; | |
| module.exports = function defFunc(ajv) { | |
| defFunc.definition = { | |
| type: 'object', | |
| inline: require('./dotjs/patternRequired'), | |
| statements: true, | |
| errors: 'full', | |
| metaSchema: { | |
| type: 'array', | |
| items: { | |
| type: 'string', | |
| format: 'regex' | |
| }, | |
| uniqueItems: true | |
| } | |
| }; | |
| ajv.addKeyword('patternRequired', defFunc.definition); | |
| return ajv; | |
| }; | |