import { z } from 'zod'
import { NodeIdStringSchema } from '../domains/systems'
import { OrganizationGraphEdgeKindSchema } from './schema'

export const LinkSchema = z.object({
  nodeId: NodeIdStringSchema,
  kind: OrganizationGraphEdgeKindSchema
})

export type Link = z.infer<typeof LinkSchema>
