From 77c6610e70ef3286ed8b5df894c834a468a7a479 Mon Sep 17 00:00:00 2001 From: kyy Date: Thu, 19 Mar 2026 13:04:59 +0900 Subject: [PATCH] =?UTF-8?q?=ED=85=8C=EB=84=8C=ED=8A=B8=20=EC=A1=B0?= =?UTF-8?q?=ED=9A=8C=20API=20=EC=97=B0=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- devfront/src/features/auth/authApi.ts | 2 ++ devfront/src/lib/devApi.ts | 11 +++++++++++ 2 files changed, 13 insertions(+) diff --git a/devfront/src/features/auth/authApi.ts b/devfront/src/features/auth/authApi.ts index 2c399cad..9d630dd0 100644 --- a/devfront/src/features/auth/authApi.ts +++ b/devfront/src/features/auth/authApi.ts @@ -3,6 +3,7 @@ import apiClient from "../../lib/apiClient"; export interface Tenant { id: string; name: string; + phone?: string; slug: string; } @@ -10,6 +11,7 @@ export interface UserProfile { id: string; email: string; name: string; + phone?: string; role: string; phone?: string; companyCode?: string; diff --git a/devfront/src/lib/devApi.ts b/devfront/src/lib/devApi.ts index 5dd0d4d1..8ff9133e 100644 --- a/devfront/src/lib/devApi.ts +++ b/devfront/src/lib/devApi.ts @@ -266,3 +266,14 @@ export async function fetchDevAuditLogs( ); return data; } + +export type TenantSummary = { + id: string; + name: string; + slug: string; +}; + +export async function fetchMyTenants() { + const { data } = await apiClient.get("/dev/my-tenants"); + return data; +}