initial commit
This commit is contained in:
12
node_modules/ajv/lib/vocabularies/jtd/union.ts
generated
vendored
Normal file
12
node_modules/ajv/lib/vocabularies/jtd/union.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import type {CodeKeywordDefinition} from "../../types"
|
||||
import {validateUnion} from "../code"
|
||||
|
||||
const def: CodeKeywordDefinition = {
|
||||
keyword: "union",
|
||||
schemaType: "array",
|
||||
trackErrors: true,
|
||||
code: validateUnion,
|
||||
error: {message: "must match a schema in union"},
|
||||
}
|
||||
|
||||
export default def
|
||||
Reference in New Issue
Block a user