Updated the files.
This commit is contained in:
parent
1553e6b971
commit
753967d4f5
23418 changed files with 3784666 additions and 0 deletions
23
my-app/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts
generated
vendored
Executable file
23
my-app/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts
generated
vendored
Executable file
|
@ -0,0 +1,23 @@
|
|||
import type {CodeKeywordDefinition, ErrorObject} from "../../types"
|
||||
import {
|
||||
validatePropertyDeps,
|
||||
error,
|
||||
DependenciesErrorParams,
|
||||
PropertyDependencies,
|
||||
} from "../applicator/dependencies"
|
||||
|
||||
export type DependentRequiredError = ErrorObject<
|
||||
"dependentRequired",
|
||||
DependenciesErrorParams,
|
||||
PropertyDependencies
|
||||
>
|
||||
|
||||
const def: CodeKeywordDefinition = {
|
||||
keyword: "dependentRequired",
|
||||
type: "object",
|
||||
schemaType: "object",
|
||||
error,
|
||||
code: (cxt) => validatePropertyDeps(cxt),
|
||||
}
|
||||
|
||||
export default def
|
Loading…
Add table
Add a link
Reference in a new issue