MCPcopy Create free account

hub / github.com/cloudflare/json-schema-tools / functions

Functions85 in github.com/cloudflare/json-schema-tools

↓ 10 callersMethodpush
(key, invalidationKey, buffer)
scripts/yarn/lib/v8-compile-cache.js:116
↓ 6 callersMethodget
(key, invalidationKey)
scripts/yarn/lib/v8-compile-cache.js:35
↓ 4 callersFunction_apply
(schema, path, preFunc, postFunc, parentPath)
workspaces/json-schema-walker/lib/schemaWalk.js:267
↓ 4 callersFunction_getProcessLinks
(ldoVocabulary)
workspaces/json-schema-walker/lib/schemaWalk.js:232
↓ 4 callersFunctioncollapseSchemas
* Use a vocabulary to collapse subschemas into a parent schema * to whatever extent is possible.
workspaces/json-schema-transform/lib/allOf.js:365
↓ 4 callersMethoddereference
* Returns a promise, to which the dereferenced data structure will * be passed.
workspaces/json-schema-transform/lib/dereferencer.js:101
↓ 3 callersFunction_isSchema
(schema)
workspaces/json-schema-walker/lib/schemaWalk.js:130
↓ 2 callersFunction_findExtension
* Search an ordered list of possible extensions and * return the first one matching an existing file, or * an empty string if none match. * * Curr
workspaces/json-schema-transform/lib/dereferencer.js:12
↓ 2 callersMethodgetDependencies
* Returns a list of objects representing resolved references, * each of which has two properties: * * uri: * The resolved URI, which ma
workspaces/json-schema-transform/lib/dereferencer.js:135
↓ 2 callersFunctiongetSubschema
(schema, path)
workspaces/json-schema-walker/lib/schemaWalk.js:20
↓ 2 callersFunctionsubschemaWalk
( schema, preFunc, postFunc, parentPath, vocabulary )
workspaces/json-schema-walker/lib/schemaWalk.js:79
↓ 1 callersFunction_arrayIntersection
* Sets parent to an array containing only values that appear * in both the parent and the subschema. May result in an * empty list, which will *not
workspaces/json-schema-transform/lib/allOf.js:206
↓ 1 callersFunction_determineType
* Determine the most likely primary type of any instance that * validates against the subschema. * * If we don't have a type and can't infer one fr
workspaces/json-schema-transform/lib/example.js:15
↓ 1 callersMethod_getDump
()
scripts/yarn/lib/v8-compile-cache.js:111
↓ 1 callersMethod_load
()
scripts/yarn/lib/v8-compile-cache.js:98
↓ 1 callersFunction_mkdirpSync
(p, mode)
scripts/yarn/lib/v8-compile-cache.js:262
↓ 1 callersMethod_moduleCompile
(filename, content)
scripts/yarn/lib/v8-compile-cache.js:186
↓ 1 callersFunction_processArrayOfSchemas
( schema, keyword, preFunc, postFunc, parentPath )
workspaces/json-schema-walker/lib/schemaWalk.js:165
↓ 1 callersFunction_processSchemaKeyword
( vocabulary, schema, keyword, preFunc, postFunc, parentPath )
workspaces/json-schema-walker/lib/schemaWalk.js:137
↓ 1 callersFunction_processSingleSchema
( schema, keyword, preFunc, postFunc, parentPath )
workspaces/json-schema-walker/lib/schemaWalk.js:152
↓ 1 callersFunctionconfigureStore
(reducer, initialState)
workspaces/doca/app/src/client/store.js:6
↓ 1 callersFunctioncopyFiles
(theme, input, output, dev, schemas)
workspaces/doca/lib/init.js:33
↓ 1 callersMethoddelete
(key)
scripts/yarn/lib/v8-compile-cache.js:54
↓ 1 callersFunctionextractLdos
* Returns the list of LDOs from the top level of the given * schema that match the supplied search fields. * * Only the "title", "rel", and "method
workspaces/json-hyper-schema/lib/ldo.js:12
↓ 1 callersFunctionfindSchemas
(theme, input, output, dev)
workspaces/doca/lib/init.js:45
↓ 1 callersFunctiongetCacheDir
()
scripts/yarn/lib/v8-compile-cache.js:296
↓ 1 callersFunctiongetParentName
()
scripts/yarn/lib/v8-compile-cache.js:305
↓ 1 callersFunctiongetVocabulary
(schema, defaultVocabulary)
workspaces/json-schema-walker/lib/schemaWalk.js:35
↓ 1 callersMethodhas
(key, invalidationKey)
scripts/yarn/lib/v8-compile-cache.js:26
↓ 1 callersFunctioninit
(theme, input, output, dev)
workspaces/doca/lib/init.js:62
↓ 1 callersMethodinstall
()
scripts/yarn/lib/v8-compile-cache.js:153
↓ 1 callersFunctioninstallTheme
(theme, project, dev)
workspaces/doca/lib/theme.js:32
↓ 1 callersMethodisDirty
()
scripts/yarn/lib/v8-compile-cache.js:69
↓ 1 callersFunctionmkdirpSync
(p_)
scripts/yarn/lib/v8-compile-cache.js:258
↓ 1 callersFunctionnormalizeName
(theme)
workspaces/doca/lib/theme.js:59
↓ 1 callersMethodrender
()
workspaces/doca/app/src/client/introduction.js:11
↓ 1 callersFunctionreplaceSchemasAndTheme
(theme, input, output, dev, schemas)
workspaces/doca/lib/init.js:10
↓ 1 callersFunctionreplaceTheme
(theme, project)
workspaces/doca/lib/theme.js:7
↓ 1 callersMethodsave
()
scripts/yarn/lib/v8-compile-cache.js:73
↓ 1 callersMethodset
(key, invalidationKey, buffer)
scripts/yarn/lib/v8-compile-cache.js:48
↓ 1 callersMethodsetCacheStore
(cacheStore)
scripts/yarn/lib/v8-compile-cache.js:149
↓ 1 callersFunctionsetTheme
(theme, project, dev)
workspaces/doca/lib/theme.js:67
↓ 1 callersFunctionslashEscape
(str)
scripts/yarn/lib/v8-compile-cache.js:280
↓ 1 callersFunctionsupportsCachedData
()
scripts/yarn/lib/v8-compile-cache.js:291
↓ 1 callersMethoduninstall
()
scripts/yarn/lib/v8-compile-cache.js:182
FunctionHead
({ cssBundle, title })
workspaces/doca-default-theme/components/head.js:4
Function_arrayUnion
* Sets parent to an array containing all values that appear * in either the parent or the subschema.
workspaces/json-schema-transform/lib/allOf.js:197
Function_autoExtensionChecker
* Plugin for json-schema-ref-parser that uses _findExtension() * to see if we recognize a format, and then update the ref-parser's * data structure
workspaces/json-schema-transform/lib/dereferencer.js:32
Function_autoExtensionReader
* Reads the file, and if neither YAML nor plain JSON * parses the contents and writes them back out as * JSON so that RefParser will understand it.
workspaces/json-schema-transform/lib/dereferencer.js:49
Function_collapseArrayOrSingleSchemas
* Handles "items" or any future keyword that can take either a * single subschema or an array of subschemas. * * TODO: The interaction between "ite
workspaces/json-schema-transform/lib/allOf.js:246
Function_collapseObjectOfSchemas
* Handles any keyword with an object of subschemas for a value. * TODO: The interactions among "properties", "patternProperties", * and "addit
workspaces/json-schema-transform/lib/allOf.js:297
Function_collision
* Handle keywords that cannot be collapsed. For now, just throw an exception. * TODO: preserve a limited use of "allOf" for those keywords that *
workspaces/json-schema-transform/lib/allOf.js:347
Function_doMerge
(schemaParent, schemaProp, rootSchemaNoLinks)
workspaces/json-schema-transform/lib/mergeCfRecurse.js:15
Function_exclusiveComparison
* Handle minimum and maximum with draft-04's boolean modifiers * exclusivity. The exclusive keywords could not be handled * on their own in draft-0
workspaces/json-schema-transform/lib/allOf.js:165
Function_maxOfMin
* Sets the parent to the maximum of the values, for use * with minimum boundaries.
workspaces/json-schema-transform/lib/allOf.js:147
Function_minOfMax
* Sets the parent to the minimum of the values, for use * with maximum boundaries.
workspaces/json-schema-transform/lib/allOf.js:155
Function_notSupported
* Used for keywords that should cause the entire process to fail if * we're asked to do anything with them at all.
workspaces/json-schema-transform/lib/allOf.js:357
Function_or
* Logically ORs the subschema value into the parent.
workspaces/json-schema-transform/lib/allOf.js:139
Function_parentWins
* Ignores the subschema value. In other words, a no-op that exists * to make handling such keywords explicit rather than it looking * like they wer
workspaces/json-schema-transform/lib/allOf.js:338
Function_processObjectOfMaybeSchemas
( schema, keyword, preFunc, postFunc, parentPath )
workspaces/json-schema-walker/lib/schemaWalk.js:214
Function_processObjectOfSchemas
( schema, keyword, preFunc, postFunc, parentPath )
workspaces/json-schema-walker/lib/schemaWalk.js:197
Function_processSingleOrArrayOfSchemas
( schema, keyword, preFunc, postFunc, parentPath )
workspaces/json-schema-walker/lib/schemaWalk.js:180
Function_singleValueOrArrayIntersection
* Similar to _arrayIntersection, except can handle single values * as if they were one-element arrays.
workspaces/json-schema-transform/lib/allOf.js:218
FunctioncheckRoot
(position, subschema, path, parent, parentPath)
workspaces/json-schema-walker/__tests__/schemaWalk.js:54
FunctioncheckSubschema
(position, subschema, path, parent, parentPath)
workspaces/json-schema-walker/__tests__/schemaWalk.js:78
Functioncmp
(a, b)
workspaces/json-schema-walker/__tests__/schemaWalk.js:153
Methodconstructor
(schemaPath, schemaData)
workspaces/json-schema-transform/lib/dereferencer.js:88
Methodconstructor
(directory, prefix)
scripts/yarn/lib/v8-compile-cache.js:17
Methodconstructor
()
scripts/yarn/lib/v8-compile-cache.js:144
FunctionextractLdo
* Same as extractLdos except that it returns a single * ldo, and throws on multiple matches or no match.
workspaces/json-hyper-schema/lib/ldo.js:48
FunctiongetCollapseAllOfCallback
* Returns a function suitable for use as a *post*-walk callback * for json-schema-walker which flattens "allOf" keywords as * much as possible, usin
workspaces/json-schema-transform/lib/allOf.js:428
FunctiongetCurlExampleCallback
* Get a callback that will build curl request examples under every * link. This needs to be run after the example fields for every * schema have be
workspaces/json-schema-transform/lib/example.js:232
FunctionhandleResolveSuccess
(schema)
workspaces/json-schema-ref-loader/lib/loader.js:21
FunctionmakeCfRecurseWalker
(root)
workspaces/json-schema-transform/lib/mergeCfRecurse.js:186
FunctionmapStateToProps
workspaces/doca/app/src/client/main.js:30
FunctionmergeCfRecurse
(schema, options, vocabulary)
workspaces/json-schema-transform/lib/mergeCfRecurse.js:122
FunctionprocessApiDocSchema
* Process a dereferenced (no "$ref") hyper-schema into a form most suitable * for rendering API documentation. This involves: * - De-referencing t
workspaces/json-schema-transform/lib/apiDoc.js:51
FunctionpruneDefinitions
(schema)
workspaces/json-schema-transform/lib/mergeCfRecurse.js:57
FunctionremoveLinksAndDefs
(subschema, path, parent)
workspaces/json-schema-transform/lib/mergeCfRecurse.js:36
Methodrender
()
workspaces/doca-default-theme/components/app.js:18
Methodrequire
(id)
scripts/yarn/lib/v8-compile-cache.js:158
FunctionresolveUri
* Resolve URI Templates from supplied data. * * The first data set is the instance data, if any, while the * second is the input data, if any. Inp
workspaces/json-hyper-schema/lib/ldo.js:85
FunctionrollUpExamples
* Roll up examples for use from the root schema, or the root of * schemas inside of Link Description Objects. Schema objects * that already have an
workspaces/json-schema-transform/lib/example.js:100
FunctionschemaWalk
(schema, preFunc, postFunc, vocabulary)
workspaces/json-schema-walker/lib/schemaWalk.js:60
Functionschemas
(state = new Immutable.List(), action)
workspaces/doca/app/src/client/reducers/schemas.js:4