SAP-BTP-Spielwiese/app1/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts
Markus Rettig 775ac7b58c completed step 3 from the tutorial
you must login with an BTP account in order to see the app
2024-02-08 16:13:36 +01:00

12 lines
292 B
TypeScript

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