Projektstart
This commit is contained in:
12
backend/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts
generated
vendored
Normal file
12
backend/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import type {CodeKeywordDefinition} from "../../types"
|
||||
import {validateTuple} from "./items"
|
||||
|
||||
const def: CodeKeywordDefinition = {
|
||||
keyword: "prefixItems",
|
||||
type: "array",
|
||||
schemaType: ["array"],
|
||||
before: "uniqueItems",
|
||||
code: (cxt) => validateTuple(cxt, "items"),
|
||||
}
|
||||
|
||||
export default def
|
||||
Reference in New Issue
Block a user