10
packages/schemas/features/events/shared.ts
Normal file
10
packages/schemas/features/events/shared.ts
Normal file
@ -0,0 +1,10 @@
|
||||
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(),
|
||||
}),
|
||||
})
|
Reference in New Issue
Block a user