260707_4_대시보드 완료

This commit is contained in:
2026-07-08 20:51:20 +09:00
parent 76d91efcb8
commit bbda38a013
12 changed files with 935 additions and 361 deletions
+5
View File
@@ -16,6 +16,7 @@ export interface DashboardUser {
export interface ProjectItem {
id: string;
company_id?: number | null;
name: string;
region?: string | null;
road_type?: string | null;
@@ -204,6 +205,10 @@ export function createCompany(payload: CreateCompanyRequest): Promise<unknown> {
return request("/dashboard/user/company/create", { method: "POST", body: body(payload) });
}
export function createSystemCompany(payload: CreateCompanyRequest): Promise<unknown> {
return request("/dashboard/admin/companies", { method: "POST", body: body(payload) });
}
export function joinCompany(companyId: number): Promise<unknown> {
return request("/dashboard/user/company/join", {
method: "POST",