feat: updated ui based on feedback

This commit is contained in:
=
2025-04-21 20:02:23 +05:30
parent 2ee423174a
commit 40781949a6
8 changed files with 47 additions and 60 deletions
@@ -1,7 +1,9 @@
import { useMutation } from "@tanstack/react-query";
import { TProjectAssumePrivilegesDTO } from "./types";
import { apiRequest } from "@app/config/request";
import { TProjectAssumePrivilegesDTO } from "./types";
export const useAssumeProjectPrivileges = () =>
useMutation({
mutationFn: async ({ projectId, actorId, actorType }: TProjectAssumePrivilegesDTO) => {
+1 -1
View File
@@ -1,7 +1,7 @@
export * from "./accessApproval";
export * from "./assumePrivileges";
export * from "./admin";
export * from "./apiKeys";
export * from "./assumePrivileges";
export * from "./auditLogs";
export * from "./auditLogStreams";
export * from "./auth";
+1 -1
View File
@@ -10,6 +10,7 @@ import { ProjectPermissionSet } from "@app/context/ProjectPermissionContext/type
import { groupBy } from "@app/lib/fn/array";
import { omit } from "@app/lib/fn/object";
import { ActorType } from "../auditLogs/enums";
import { OrgUser, TProjectMembership } from "../users/types";
import {
TGetUserOrgPermissionsDTO,
@@ -18,7 +19,6 @@ import {
TPermission,
TProjectRole
} from "./types";
import { ActorType } from "../auditLogs/enums";
const $glob: FieldInstruction<string> = {
type: "field",