2025-05-10 13:59:34 +00:00
|
|
|
/**
|
|
|
|
* SmartProxy Route Utilities
|
|
|
|
*
|
|
|
|
* This file exports all route-related utilities for the SmartProxy module,
|
|
|
|
* including helpers, validators, utilities, and patterns for working with routes.
|
|
|
|
*/
|
|
|
|
|
2025-05-15 08:56:27 +00:00
|
|
|
// Route helpers have been consolidated in route-patterns.js
|
2025-05-10 13:59:34 +00:00
|
|
|
|
|
|
|
// Export route validators for validating route configurations
|
|
|
|
export * from './route-validators.js';
|
|
|
|
|
|
|
|
// Export route utilities for route operations
|
|
|
|
export * from './route-utils.js';
|
|
|
|
|
|
|
|
// Export route patterns with renamed exports to avoid conflicts
|
|
|
|
import {
|
|
|
|
createWebSocketRoute as createWebSocketPatternRoute,
|
|
|
|
createLoadBalancerRoute as createLoadBalancerPatternRoute,
|
|
|
|
createApiGatewayRoute,
|
|
|
|
createStaticFileServerRoute,
|
|
|
|
addRateLimiting,
|
|
|
|
addBasicAuth,
|
|
|
|
addJwtAuth
|
|
|
|
} from './route-patterns.js';
|
|
|
|
|
|
|
|
export {
|
|
|
|
createWebSocketPatternRoute,
|
|
|
|
createLoadBalancerPatternRoute,
|
|
|
|
createApiGatewayRoute,
|
|
|
|
createStaticFileServerRoute,
|
|
|
|
addRateLimiting,
|
|
|
|
addBasicAuth,
|
|
|
|
addJwtAuth
|
|
|
|
};
|
|
|
|
|
2025-05-15 08:56:27 +00:00
|
|
|
// Migration utilities have been removed as they are no longer needed
|