hexo/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts

12 lines
280 B
TypeScript
Raw Normal View History

2023-09-25 15:58:56 +08:00
import type {CodeKeywordDefinition} from "../../types"
import {validateSchemaDeps} from "./dependencies"
const def: CodeKeywordDefinition = {
keyword: "dependentSchemas",
type: "object",
schemaType: "object",
code: (cxt) => validateSchemaDeps(cxt),
}
export default def