11 lines
204 B
TypeScript
11 lines
204 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(),
|
|
}),
|
|
})
|