1
0
forked from baron/baron-sso

레거시 수정

This commit is contained in:
2026-03-24 16:37:47 +09:00
parent a669d57e4a
commit ddef0f7f05
2 changed files with 7 additions and 1 deletions

View File

@@ -380,6 +380,7 @@ export type UserCreateRequest = {
department?: string;
position?: string;
jobTitle?: string;
metadata?: Record<string, unknown>;
};
export type UserCreateResponse = UserSummary & {
@@ -396,6 +397,7 @@ export type UserUpdateRequest = {
department?: string;
position?: string;
jobTitle?: string;
metadata?: Record<string, unknown>;
};
export type BulkUserItem = {
@@ -471,6 +473,8 @@ export async function bulkUpdateUsers(payload: {
userIds: string[];
status?: string;
role?: string;
tenantSlug?: string;
department?: string;
}) {
const { data } = await apiClient.put("/v1/admin/users/bulk", payload);
return data;

View File

@@ -12,7 +12,9 @@ describe("i18n utility", () => {
});
it("returns key if fallback not provided and key not found", () => {
expect(t("this.key.truly.does.not.exist")).toBe("this.key.truly.does.not.exist");
expect(t("this.key.truly.does.not.exist")).toBe(
"this.key.truly.does.not.exist",
);
});
it("replaces variables in template", () => {