diff --git a/frontend/src/hooks/api/pam/types/index.ts b/frontend/src/hooks/api/pam/types/index.ts index d8ada6cb7..28d569966 100644 --- a/frontend/src/hooks/api/pam/types/index.ts +++ b/frontend/src/hooks/api/pam/types/index.ts @@ -80,10 +80,6 @@ export type TDeletePamResourceDTO = { }; // Account DTOs -export type PamAccountFilter = { - resourceIds: string[]; -}; - export type TListPamAccountsDTO = { projectId: string; accountPath?: string | null; diff --git a/frontend/src/pages/pam/PamAccountsPage/components/PamAccountsTable.tsx b/frontend/src/pages/pam/PamAccountsPage/components/PamAccountsTable.tsx index 5f9b412eb..63a347961 100644 --- a/frontend/src/pages/pam/PamAccountsPage/components/PamAccountsTable.tsx +++ b/frontend/src/pages/pam/PamAccountsPage/components/PamAccountsTable.tsx @@ -50,7 +50,6 @@ import { usePagination, usePopUp } from "@app/hooks"; import { OrderByDirection } from "@app/hooks/api/generic/types"; import { PAM_RESOURCE_TYPE_MAP, - PamAccountFilter, PamAccountOrderBy, PamAccountView, TPamFolder @@ -69,6 +68,10 @@ import { PamFolderRow } from "./PamFolderRow"; import { PamUpdateAccountModal } from "./PamUpdateAccountModal"; import { PamUpdateFolderModal } from "./PamUpdateFolderModal"; +type PamAccountFilter = { + resourceIds: string[]; +}; + type Props = { projectId: string; };