diff --git a/src/App.tsx b/src/App.tsx index 336c96c..92acf37 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -31,9 +31,9 @@ import { Cell, LabelList, } from 'recharts'; -import type { SummaryData, TypeSummary, VehicleListItem, DeptGroup, RegionGroup, CustomerStats, RegionalInventoryStats } from './types'; -import { fetchSummary, fetchByType, fetchVehicleList, fetchWeeklyDetail, fetchDeptStats, fetchRegionStats, fetchCustomerStats, fetchInventoryStats, fetchRegionChart } from './api'; -import type { WeeklyDetailItem } from './api'; +import type { SummaryData, TypeSummary, VehicleListItem, DeptGroup, RegionGroup, CustomerStats, RegionalInventoryStats } from './modules/assets/types'; +import { fetchSummary, fetchByType, fetchVehicleList, fetchWeeklyDetail, fetchDeptStats, fetchRegionStats, fetchCustomerStats, fetchInventoryStats, fetchRegionChart } from './modules/assets/api'; +import type { WeeklyDetailItem } from './modules/assets/api'; // --- SearchSelect Component --- function SearchSelect({ value, onChange, options, placeholder, className }: { diff --git a/src/api.ts b/src/modules/assets/api.ts similarity index 100% rename from src/api.ts rename to src/modules/assets/api.ts diff --git a/src/types.ts b/src/modules/assets/types.ts similarity index 100% rename from src/types.ts rename to src/modules/assets/types.ts