màj wiki avec retour MES lot-5 AD

This commit is contained in:
Arthur Ria
2026-05-20 09:41:27 +02:00
commit 23eb3f3c84
4106 changed files with 469381 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import type {CodeKeywordDefinition, ErrorNoParams, AnySchema} from "../../types"
import {validateUnion} from "../code"
export type AnyOfError = ErrorNoParams<"anyOf", AnySchema[]>
const def: CodeKeywordDefinition = {
keyword: "anyOf",
schemaType: "array",
trackErrors: true,
code: validateUnion,
error: {message: "must match a schema in anyOf"},
}
export default def