import { z } from 'zod'; import { statusSchema } from './status'; /** @see {@link https://docs.joinmastodon.org/entities/Context/} */ const contextSchema = z.object({ ancestors: z.array(statusSchema), descendants: z.array(statusSchema), }); type Context = z.infer; export { contextSchema, type Context };