MCPcopy Index your code

hub / github.com/Cardellini-Labs/mongoose-schema-jsonschema / functions

Functions50 in github.com/Cardellini-Labs/mongoose-schema-jsonschema

↓ 93 callersFunctionisValid
test/suites/ajv-validation.test.js:28
↓ 8 callersFunctionreadConstraint
lib/helpers.js:87
↓ 7 callersFunctioncheckNullable
(typeDef)
lib/types.js:245
↓ 7 callersFunctionisValid
test/suites/validation.test.js:467
↓ 6 callersFunctioncompose
(...fns)
lib/helpers.js:79
↓ 5 callersFunction__processOptions
(t, type)
lib/types.js:134
↓ 5 callersFunctionconfig
lib/config.js:30
↓ 4 callersFunctionextendOptions
(mongooseTypeDef)
lib/types.js:258
↓ 3 callersFunction__describe
(name, type)
lib/types.js:163
↓ 2 callersFunctionfindPath
(obj, path)
lib/helpers.js:3
↓ 1 callersFunction__allPaths
(schema)
lib/model.js:178
↓ 1 callersFunction__build
(name, schema)
lib/schema.js:52
↓ 1 callersFunction__excludedPaths
(schema, selection)
lib/model.js:116
↓ 1 callersFunction__excludedReadonlyPaths
(schema, rules, prefix)
lib/model.js:209
↓ 1 callersFunction__getPath
(schema, path)
lib/model.js:192
↓ 1 callersFunction__removeRequired
* __removeRequired - removes required fields specification * * @param {Object} jsonSchema schema
lib/model.js:97
↓ 1 callersFunctionassign
(dest, src)
lib/options/fieldOptionsMapping.js:17
↓ 1 callersFunctionensurePath
(obj, path)
lib/helpers.js:44
↓ 1 callersFunctionisRequired
(options)
lib/types.js:253
↓ 1 callersFunctionisString
lib/options/validateFieldOptMap.js:1
↓ 1 callersFunctionisTupple
lib/options/validateFieldOptMap.js:3
↓ 1 callersFunctionnormailizePopulationTree
(populate)
lib/model.js:107
↓ 1 callersFunctionnormalizeSelection
lib/helpers.js:89
↓ 1 callersFunctionpackToObj
lib/__test__/helpers.test.js:24
↓ 1 callersFunctionsetOption
lib/config.js:21
↓ 1 callersFunctiontransformMatch
lib/types.js:128
Function__delPath
* __delPath - removes path specified from the json-schema as also as * empty parent paths * * @param {object} jsonSchema description * @param {S
lib/model.js:80
Function__populate
* __populate - enreaches jsonSchema with a sub-document schemas * * @param {Object} jsonSchema jsonSchema object * @param {String|Ar
lib/model.js:45
FunctionargsList
(...args)
lib/__test__/helpers.test.js:22
Functionarray_jsonSchema
* array_jsonSchema - returns jsonSchema for array parameters * * @memberof mongoose.Schema.Types.SchemaArray * @memberof mongoose.Schema.Types.Docu
lib/types.js:88
Functioncompose2
(f, g)
lib/helpers.js:75
Functiondate_jsonSchema
* date_jsonSchema - description * * @param {type} name description * @return {type} description
lib/types.js:70
Functiondouble
lib/__test__/helpers.test.js:15
FunctionensureKeyValue
lib/options/fieldOptionsMapping.js:5
Functionfn
()
lib/__test__/helpers.test.js:9
FunctionidX
lib/helpers.js:77
Functionmap_jsonSchema
(name)
lib/types.js:31
Functionmixed_jsonSchema
* mixed_jsonSchema - returns jsonSchema for Mixed parameter * * @memberof mongoose.Schema.Types.Mixed * * @param {String} name parameter name *
lib/types.js:118
Functionmodel_jsonSchema
* model_jsonSchema - builds json schema for model considering * the selection and population * * if `fields` specified the method removes `required
lib/model.js:17
FunctionnormalizeMap
lib/options/fieldOptionsMapping.js:11
FunctionobjectId_jsonSchema
* objectId_jsonSchema - returns the jsonSchema for ObjectId parameters * * @memberof mongoose.Schema.Types.ObjectId * * @param {String} name the
lib/types.js:55
FunctionpackToArray
lib/__test__/helpers.test.js:23
FunctionprocessFields
lib/options/fieldOptionsMapping.js:19
Functionquery_jsonSchema
* query_jsonSchema - returns json schema considering the query type and options * * @return {Object} json schema
lib/query.js:10
Functionrequired
()
test/suites/required.test.js:11
Functionschema_jsonSchema
* schema_jsonSchema - builds the json schema based on the Mongooose schema. * if schema has been already built the method returns new deep copy * *
lib/schema.js:19
FunctionsimpleType_jsonSchema
* simpleType_jsonSchema - returns jsonSchema for simple-type parameter * * @memberof mongoose.Schema.Types.String * * @return {object} the js
lib/types.js:21
FunctionstringOrTuple
lib/options/validateFieldOptMap.js:9
Functionsum
(a, b)
lib/__test__/helpers.test.js:14
FunctionvalidateMap
lib/options/validateFieldOptMap.js:11