persona-community-5/.pnpm-store/v3/files/32/83920a5a9e3e1add694c0bc63af46ea55822595e766922b4d87079f4c546bfa89a1671ac94c882c9af16d34f70a7129a9dc879d674a2a0ad65855062db506e
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

16 lines
394 B
Plaintext

import type {CodeKeywordDefinition} from "../../types"
import type {KeywordCxt} from "../../compile/validate"
import {validateProperties, error} from "./properties"
const def: CodeKeywordDefinition = {
keyword: "optionalProperties",
schemaType: "object",
error,
code(cxt: KeywordCxt) {
if (cxt.parentSchema.properties) return
validateProperties(cxt)
},
}
export default def