Files
motovaultpro/backend/src/features/vehicles/index.ts

19 lines
531 B
TypeScript

/**
* @ai-summary Public API for vehicles feature capsule
* @ai-note This is the ONLY file other features should import from
*/
// Export service for use by other features
export { VehiclesService } from './domain/vehicles.service';
// Export types needed by other features
export type {
Vehicle,
CreateVehicleRequest,
UpdateVehicleRequest,
VehicleResponse
} from './domain/vehicles.types';
// Internal: Register routes with Fastify app
export { vehiclesRoutes, registerVehiclesRoutes } from './api/vehicles.routes';