MVP Build
This commit is contained in:
18
backend/src/features/vehicles/index.ts
Normal file
18
backend/src/features/vehicles/index.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* @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 Express app
|
||||
export { registerVehiclesRoutes } from './api/vehicles.routes';
|
||||
Reference in New Issue
Block a user