FPSMS-frontend
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

client.ts 377 B

12345678910111213141516
  1. "use client";
  2. import {
  3. fetchTruckScheduleDashboard,
  4. type TruckScheduleDashboardItem
  5. } from "./actions";
  6. export const fetchTruckScheduleDashboardClient = async (date?: string): Promise<TruckScheduleDashboardItem[]> => {
  7. return await fetchTruckScheduleDashboard(date);
  8. };
  9. export type { TruckScheduleDashboardItem };
  10. export default fetchTruckScheduleDashboardClient;