export interface GatewayStatistics { totalServices: number; globalRoutes: number; tenantRoutes: number; totalInstances: number; healthyInstances: number; recentServices: GatewayService[]; } export interface GatewayService { id: number; servicePrefix: string; serviceName: string; version: string; clusterId: string; pathPattern: string; serviceAddress: string; destinationId: string; weight: number; instanceCount: number; isGlobal: boolean; tenantCode?: string; status: number; createdAt: string; } export interface GatewayRoute { id: number; serviceName: string; clusterId: string; pathPattern: string; priority: number; isGlobal: boolean; tenantCode?: string; status: number; instanceCount: number; } export interface GatewayInstance { id: number; clusterId: string; destinationId: string; address: string; weight: number; health: number; status: number; createdAt: string; } export interface RegisterServiceForm { servicePrefix: string; serviceName: string; version: string; serviceAddress: string; destinationId?: string; weight: number; isGlobal: boolean; tenantCode?: string; } export interface AddInstanceForm { clusterId: string; destinationId: string; address: string; weight: number; }