persona-community-5/.pnpm-store/v3/files/b9/d762e33b367d7034079cdec5c31ce45050c4b22e3e90557acb0c1607e007db85c4d9673f15339583b330d1ed0514242136bc5b3785e5e40890fc5bb8529c71
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

15 lines
380 B
Plaintext

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