mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-16 19:00:38 +09:00
7 lines
223 B
TypeScript
7 lines
223 B
TypeScript
|
|
import type { DashboardSummary } from "@paperclip/shared";
|
||
|
|
import { api } from "./client";
|
||
|
|
|
||
|
|
export const dashboardApi = {
|
||
|
|
summary: (companyId: string) => api.get<DashboardSummary>(`/companies/${companyId}/dashboard`),
|
||
|
|
};
|