import { Node, Edge } from '@xyflow/react'; export type AppNode = Node; export type AppEdge = Edge; export type NodeData = { // basic label: string; subnet: string; privateKey: string; publicKey: string; // options PostUp?: string; PostDown?: string; persistentKeepalive?: string; dnsServers?: string; disallowSubnet?: string; allowIPs?: string; MTU?: number } export type EdgeData = { isTwoWayEdge: boolean } export type Settings = { v4SubNetPrefix: string; v6SubNetPrefix: string; listenPort: string; // global options MTU?: number; }