2
0
Files
bot/packages/schemas/features/events/shared.ts
2023-12-22 09:13:53 +01:00

11 lines
210 B
TypeScript

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(),
}),
})