(null, {
anyOf: [{
type: "string"
}, {
type: "null"
}]
} as const satisfies __cfHelpers.JSONSchema).for("selected", true);
return {
[UI]: (
{state.key("items").mapWithPattern(__cfPattern_1, {
selected: selected
})}
),
};
}, {
type: "object",
properties: {
items: {
type: "array",
items: {
type: "object",
properties: {
name: {
type: "string"
}
},
required: ["name"]
}
}
},
required: ["items"]
} as const satisfies __cfHelpers.JSONSchema, {
type: "object",
properties: {
$UI: {
$ref: "#/$defs/JSXElement"
}
},
required: ["$UI"],
$defs: {
JSXElement: {
anyOf: [{
$ref: "https://commonfabric.org/schemas/vnode.json"
}, {
$ref: "#/$defs/UIRenderable"
}, {
type: "object",
properties: {}
}]
},
UIRenderable: {
type: "object",
properties: {
$UI: {
$ref: "https://commonfabric.org/schemas/vnode.json"
}
},
required: ["$UI"]
}
}
} as const satisfies __cfHelpers.JSONSchema);
// @ts-ignore: Internals
function h(...args: any[]) { return __cfHelpers.h.apply(null, args); }
__cfHardenFn(h);
__cfReg({
__cfPattern_1
});