@pluto-khronos/types
v3.4.3
Published
Shared TypeScript types & Zod schemas for the Khronos ↔ Pluto contract. Published from the Khronos monorepo.
Readme
@pluto-khronos/types
Shared TypeScript types & Zod schemas for the Khronos ↔ Pluto contract. Event payload shapes (channel creation, betslip settlement, etc.) that flow through Redis/BullMQ between the Khronos backend and the Pluto Discord bot.
This package ships alongside @pluto-khronos/api-client from the Khronos monorepo. Both packages are always at the same version — the Khronos root version.
Install
pnpm add @pluto-khronos/typesUse
import { channelCreationEventSchema, type ChannelCreationEvent } from '@pluto-khronos/types'
const parsed = channelCreationEventSchema.parse(payload)Local development
If you're iterating on this package alongside changes in a consuming repo (e.g. Pluto), use yalc — see the root CLAUDE.md for the loop.
License
MIT
