2
0
Files
bot/packages/schemas/features/events/shared.ts

11 lines
204 B
TypeScript
Raw Normal View History

import { z } from 'zod'
export const eventBaseSchema = z.object({
id: z.string(),
outgoingEdgeId: z.string().optional(),
graphCoordinates: z.object({
x: z.number(),
y: z.number(),
}),
})