forked from baron/baron-sso
레거시 수정
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user