260707_4_대시보드 완료
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user