import * as v from "valibot" import { notionParentSchema } from "../parent.js" /** * Message sent by the host whenever the custom block's parent changes. */ export const parentChangedMessageSchema = v.object({ type: v.literal("parentChanged"), parent: notionParentSchema, }) export type ParentChangedMessage = v.InferOutput< typeof parentChangedMessageSchema >