import { type } from "arktype"; export const miscSchema = type.or( { type: "'home'", title: "string", description: "string", }, { type: "'releases-index'", title: "string", description: "string", }, ); export type Misc = typeof miscSchema.infer;