Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
remove type errors on frontend
x03220575f81f29654e
diff --git a/frontend/src/hooks/api/pam/types/index.ts b/frontend/src/hooks/api/pam/types/index.tsindex 3a9e140bf2..16427270c6 100644--- a/frontend/src/hooks/api/pam/types/index.ts+++ b/frontend/src/hooks/api/pam/types/index.ts@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- contains old PAM DTOs pending cleanup alongside new typesimport { OrderByDirection } from "../../generic/types";import {PamAccountOrderBy,diff --git a/frontend/src/pages/pam/PamAccountByIDPage/PamAccountByIDPage.tsx b/frontend/src/pages/pam/PamAccountByIDPage/PamAccountByIDPage.tsxindex 383b2721ed..87b9d55fed 100644--- a/frontend/src/pages/pam/PamAccountByIDPage/PamAccountByIDPage.tsx+++ b/frontend/src/pages/pam/PamAccountByIDPage/PamAccountByIDPage.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { useState } from "react";import { Helmet } from "react-helmet";import { faChevronLeft } from "@fortawesome/free-solid-svg-icons";diff --git a/frontend/src/pages/pam/PamAccountByIDPage/components/PamAccountCredentialsSection.tsx b/frontend/src/pages/pam/PamAccountByIDPage/components/PamAccountCredentialsSection.tsxindex 54e5ced807..2173e8b7da 100644--- a/frontend/src/pages/pam/PamAccountByIDPage/components/PamAccountCredentialsSection.tsx+++ b/frontend/src/pages/pam/PamAccountByIDPage/components/PamAccountCredentialsSection.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { useReducer } from "react";import { CheckIcon, CopyIcon, EyeIcon, EyeOffIcon, PencilIcon } from "lucide-react";diff --git a/frontend/src/pages/pam/PamAccountByIDPage/components/PamAccountDependenciesSection.tsx b/frontend/src/pages/pam/PamAccountByIDPage/components/PamAccountDependenciesSection.tsxindex c57920d30b..82f83badcb 100644--- a/frontend/src/pages/pam/PamAccountByIDPage/components/PamAccountDependenciesSection.tsx+++ b/frontend/src/pages/pam/PamAccountByIDPage/components/PamAccountDependenciesSection.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport type { TPamAccount } from "@app/hooks/api/pam";import { useGetPamAccountDependencies } from "@app/hooks/api/pam";diff --git a/frontend/src/pages/pam/PamAccountByIDPage/components/PamAccountDetailsSection.tsx b/frontend/src/pages/pam/PamAccountByIDPage/components/PamAccountDetailsSection.tsxindex 9bddda2627..ed199b8126 100644--- a/frontend/src/pages/pam/PamAccountByIDPage/components/PamAccountDetailsSection.tsx+++ b/frontend/src/pages/pam/PamAccountByIDPage/components/PamAccountDetailsSection.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { format } from "date-fns";import { PencilIcon } from "lucide-react";diff --git a/frontend/src/pages/pam/PamAccountByIDPage/components/PamAccountMetadataSection.tsx b/frontend/src/pages/pam/PamAccountByIDPage/components/PamAccountMetadataSection.tsxindex 41cc0a54c2..7290208336 100644--- a/frontend/src/pages/pam/PamAccountByIDPage/components/PamAccountMetadataSection.tsx+++ b/frontend/src/pages/pam/PamAccountByIDPage/components/PamAccountMetadataSection.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { useCallback, useEffect, useState } from "react";import { useForm } from "react-hook-form";import { zodResolver } from "@hookform/resolvers/zod";diff --git a/frontend/src/pages/pam/PamAccountByIDPage/components/PamAccountPropertiesSection.tsx b/frontend/src/pages/pam/PamAccountByIDPage/components/PamAccountPropertiesSection.tsxindex e09960aa3d..181908398f 100644--- a/frontend/src/pages/pam/PamAccountByIDPage/components/PamAccountPropertiesSection.tsx+++ b/frontend/src/pages/pam/PamAccountByIDPage/components/PamAccountPropertiesSection.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { format } from "date-fns";import { CopyIcon } from "lucide-react";diff --git a/frontend/src/pages/pam/PamAccountByIDPage/components/PamAccountResourcesSection.tsx b/frontend/src/pages/pam/PamAccountByIDPage/components/PamAccountResourcesSection.tsxindex e382c80f25..ea40af0d78 100644--- a/frontend/src/pages/pam/PamAccountByIDPage/components/PamAccountResourcesSection.tsx+++ b/frontend/src/pages/pam/PamAccountByIDPage/components/PamAccountResourcesSection.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { MonitorIcon } from "lucide-react";import { twMerge } from "tailwind-merge";diff --git a/frontend/src/pages/pam/PamAccountPoliciesPage/components/PamAccountPoliciesSection.tsx b/frontend/src/pages/pam/PamAccountPoliciesPage/components/PamAccountPoliciesSection.tsxindex 0c2b6bdd9a..30ddc3af30 100644--- a/frontend/src/pages/pam/PamAccountPoliciesPage/components/PamAccountPoliciesSection.tsx+++ b/frontend/src/pages/pam/PamAccountPoliciesPage/components/PamAccountPoliciesSection.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { faMagnifyingGlass } from "@fortawesome/free-solid-svg-icons";import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";import { format } from "date-fns";diff --git a/frontend/src/pages/pam/PamAccountPoliciesPage/components/PolicySheet.tsx b/frontend/src/pages/pam/PamAccountPoliciesPage/components/PolicySheet.tsxindex 6d39b8ae2f..2598423e15 100644--- a/frontend/src/pages/pam/PamAccountPoliciesPage/components/PolicySheet.tsx+++ b/frontend/src/pages/pam/PamAccountPoliciesPage/components/PolicySheet.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { useEffect, useState } from "react";import { Control, Controller, FieldErrors, useFieldArray, useForm } from "react-hook-form";import { zodResolver } from "@hookform/resolvers/zod";diff --git a/frontend/src/pages/pam/PamAccountsPage/components/PamAccessAccountModal.tsx b/frontend/src/pages/pam/PamAccountsPage/components/PamAccessAccountModal.tsxindex 404116ff85..5728dff13d 100644--- a/frontend/src/pages/pam/PamAccountsPage/components/PamAccessAccountModal.tsx+++ b/frontend/src/pages/pam/PamAccountsPage/components/PamAccessAccountModal.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { useMemo, useState } from "react";import { faCopy } from "@fortawesome/free-regular-svg-icons";import { faTerminal, faUpRightFromSquare } from "@fortawesome/free-solid-svg-icons";diff --git a/frontend/src/pages/pam/PamAccountsPage/components/PamAccountForm/PamAccountForm.tsx b/frontend/src/pages/pam/PamAccountsPage/components/PamAccountForm/PamAccountForm.tsxindex 19db0e490d..88c5f22cee 100644--- a/frontend/src/pages/pam/PamAccountsPage/components/PamAccountForm/PamAccountForm.tsx+++ b/frontend/src/pages/pam/PamAccountsPage/components/PamAccountForm/PamAccountForm.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { createNotification } from "@app/components/notifications";import {PamResourceType,diff --git a/frontend/src/pages/pam/PamAccountsPage/components/PamAddAccountModal.tsx b/frontend/src/pages/pam/PamAccountsPage/components/PamAddAccountModal.tsxindex ace0db66d4..9e9a7c21df 100644--- a/frontend/src/pages/pam/PamAccountsPage/components/PamAddAccountModal.tsx+++ b/frontend/src/pages/pam/PamAccountsPage/components/PamAddAccountModal.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle } from "@app/components/v3";import { PamResourceType, TPamAccount } from "@app/hooks/api/pam";diff --git a/frontend/src/pages/pam/PamAccountsPage/components/PamAwsIamAccessReasonModal.tsx b/frontend/src/pages/pam/PamAccountsPage/components/PamAwsIamAccessReasonModal.tsxindex 2202e242b3..9e0a962634 100644--- a/frontend/src/pages/pam/PamAccountsPage/components/PamAwsIamAccessReasonModal.tsx+++ b/frontend/src/pages/pam/PamAccountsPage/components/PamAwsIamAccessReasonModal.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { useEffect, useState } from "react";import { Button, Modal, ModalContent, TextArea } from "@app/components/v2";diff --git a/frontend/src/pages/pam/PamAccountsPage/components/PamAwsIamAccessSection.tsx b/frontend/src/pages/pam/PamAccountsPage/components/PamAwsIamAccessSection.tsxindex b4ce51e9ac..3db69e7e7d 100644--- a/frontend/src/pages/pam/PamAccountsPage/components/PamAwsIamAccessSection.tsx+++ b/frontend/src/pages/pam/PamAccountsPage/components/PamAwsIamAccessSection.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { useEffect, useRef, useState } from "react";import { CopyIcon, ExternalLinkIcon } from "lucide-react";diff --git a/frontend/src/pages/pam/PamAccountsPage/components/PamDeleteAccountModal.tsx b/frontend/src/pages/pam/PamAccountsPage/components/PamDeleteAccountModal.tsxindex c89751b73a..662127fa61 100644--- a/frontend/src/pages/pam/PamAccountsPage/components/PamDeleteAccountModal.tsx+++ b/frontend/src/pages/pam/PamAccountsPage/components/PamDeleteAccountModal.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { createNotification } from "@app/components/notifications";import { DeleteActionModal } from "@app/components/v2";import { TPamAccount, useDeletePamAccount } from "@app/hooks/api/pam";diff --git a/frontend/src/pages/pam/PamAccountsPage/components/PamUpdateAccountModal.tsx b/frontend/src/pages/pam/PamAccountsPage/components/PamUpdateAccountModal.tsxindex 3b15ab0388..8b7c182243 100644--- a/frontend/src/pages/pam/PamAccountsPage/components/PamUpdateAccountModal.tsx+++ b/frontend/src/pages/pam/PamAccountsPage/components/PamUpdateAccountModal.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle } from "@app/components/v3";import { TPamAccount } from "@app/hooks/api/pam";diff --git a/frontend/src/pages/pam/PamDomainByIDPage/components/PamDomainAccountsSection.tsx b/frontend/src/pages/pam/PamDomainByIDPage/components/PamDomainAccountsSection.tsxindex e1027141ed..60c19e98f7 100644--- a/frontend/src/pages/pam/PamDomainByIDPage/components/PamDomainAccountsSection.tsx+++ b/frontend/src/pages/pam/PamDomainByIDPage/components/PamDomainAccountsSection.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { useCallback, useState } from "react";import { faMagnifyingGlass } from "@fortawesome/free-solid-svg-icons";import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";diff --git a/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceAccountsSection.tsx b/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceAccountsSection.tsxindex 97b67422a6..e8fdefcbc0 100644--- a/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceAccountsSection.tsx+++ b/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceAccountsSection.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { useCallback, useEffect, useMemo, useState } from "react";import { faFilter, faMagnifyingGlass } from "@fortawesome/free-solid-svg-icons";import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";diff --git a/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceConnectionSection.tsx b/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceConnectionSection.tsxindex cf758931e5..a866e375d1 100644--- a/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceConnectionSection.tsx+++ b/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceConnectionSection.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { useQuery } from "@tanstack/react-query";import { CheckIcon, LockIcon, PencilIcon, UnlockIcon } from "lucide-react";diff --git a/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceDependenciesSection.tsx b/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceDependenciesSection.tsxindex 68946a92e7..4a4a1bc9bd 100644--- a/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceDependenciesSection.tsx+++ b/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceDependenciesSection.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport type { TPamResource } from "@app/hooks/api/pam";import { useGetPamResourceDependencies } from "@app/hooks/api/pam";diff --git a/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceDetailsSection.tsx b/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceDetailsSection.tsxindex e762360606..81f2efa636 100644--- a/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceDetailsSection.tsx+++ b/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceDetailsSection.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { Link, useParams } from "@tanstack/react-router";import { format } from "date-fns";import { PencilIcon } from "lucide-react";diff --git a/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceMetadataSection.tsx b/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceMetadataSection.tsxindex af4eec5232..0d81e352a7 100644--- a/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceMetadataSection.tsx+++ b/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceMetadataSection.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { useCallback, useEffect, useState } from "react";import { useForm } from "react-hook-form";import { zodResolver } from "@hookform/resolvers/zod";diff --git a/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceRotationPolicySection.tsx b/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceRotationPolicySection.tsxindex 07e245e3f5..81159c5dfa 100644--- a/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceRotationPolicySection.tsx+++ b/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceRotationPolicySection.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { PencilIcon } from "lucide-react";import { ProjectPermissionCan } from "@app/components/permissions";diff --git a/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceRotationRulesSection.tsx b/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceRotationRulesSection.tsxindex c778e7f454..5bb26256d6 100644--- a/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceRotationRulesSection.tsx+++ b/frontend/src/pages/pam/PamResourceByIDPage/components/PamResourceRotationRulesSection.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { useState } from "react";import { Controller, useForm } from "react-hook-form";import { zodResolver } from "@hookform/resolvers/zod";diff --git a/frontend/src/pages/pam/PamResourceByIDPage/components/PamRotationPolicyModal.tsx b/frontend/src/pages/pam/PamResourceByIDPage/components/PamRotationPolicyModal.tsxindex b1fb4d137e..817c6c652e 100644--- a/frontend/src/pages/pam/PamResourceByIDPage/components/PamRotationPolicyModal.tsx+++ b/frontend/src/pages/pam/PamResourceByIDPage/components/PamRotationPolicyModal.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { useCallback, useEffect, useState } from "react";import { Controller, useForm } from "react-hook-form";import { zodResolver } from "@hookform/resolvers/zod";diff --git a/frontend/src/pages/pam/PamResourcesPage/components/PamAddResourceModal.tsx b/frontend/src/pages/pam/PamResourcesPage/components/PamAddResourceModal.tsxindex d48e2123dd..0ed6267a34 100644--- a/frontend/src/pages/pam/PamResourcesPage/components/PamAddResourceModal.tsx+++ b/frontend/src/pages/pam/PamResourcesPage/components/PamAddResourceModal.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { Dispatch, SetStateAction, useState } from "react";import { Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle } from "@app/components/v3";diff --git a/frontend/src/pages/pam/PamResourcesPage/components/PamDeleteResourceModal.tsx b/frontend/src/pages/pam/PamResourcesPage/components/PamDeleteResourceModal.tsxindex 7f0d2bd192..390497a6cc 100644--- a/frontend/src/pages/pam/PamResourcesPage/components/PamDeleteResourceModal.tsx+++ b/frontend/src/pages/pam/PamResourcesPage/components/PamDeleteResourceModal.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { createNotification } from "@app/components/notifications";import { DeleteActionModal } from "@app/components/v2";import { PAM_RESOURCE_TYPE_MAP, TPamResource, useDeletePamResource } from "@app/hooks/api/pam";diff --git a/frontend/src/pages/pam/PamResourcesPage/components/PamResourceCard.tsx b/frontend/src/pages/pam/PamResourcesPage/components/PamResourceCard.tsxindex 647fdc4ee5..34dead58c5 100644--- a/frontend/src/pages/pam/PamResourcesPage/components/PamResourceCard.tsx+++ b/frontend/src/pages/pam/PamResourcesPage/components/PamResourceCard.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { faCheck, faCopy, faEdit, faTrash } from "@fortawesome/free-solid-svg-icons";import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";import { useNavigate } from "@tanstack/react-router";diff --git a/frontend/src/pages/pam/PamResourcesPage/components/PamResourceForm/PamResourceForm.tsx b/frontend/src/pages/pam/PamResourcesPage/components/PamResourceForm/PamResourceForm.tsxindex 70695fbaad..ce5c42b60f 100644--- a/frontend/src/pages/pam/PamResourcesPage/components/PamResourceForm/PamResourceForm.tsx+++ b/frontend/src/pages/pam/PamResourcesPage/components/PamResourceForm/PamResourceForm.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { createNotification } from "@app/components/notifications";import {PAM_RESOURCE_TYPE_MAP,diff --git a/frontend/src/pages/pam/PamResourcesPage/components/PamUpdateResourceModal.tsx b/frontend/src/pages/pam/PamResourcesPage/components/PamUpdateResourceModal.tsxindex c40df5a1de..54fe7f4b06 100644--- a/frontend/src/pages/pam/PamResourcesPage/components/PamUpdateResourceModal.tsx+++ b/frontend/src/pages/pam/PamResourcesPage/components/PamUpdateResourceModal.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle } from "@app/components/v3";import { PAM_RESOURCE_TYPE_MAP, TPamResource } from "@app/hooks/api/pam";diff --git a/frontend/src/pages/pam/PamSessionsByIDPage/components/PamSessionAiInsightsSection.tsx b/frontend/src/pages/pam/PamSessionsByIDPage/components/PamSessionAiInsightsSection.tsxindex 033998f679..89c15e1dad 100644--- a/frontend/src/pages/pam/PamSessionsByIDPage/components/PamSessionAiInsightsSection.tsx+++ b/frontend/src/pages/pam/PamSessionsByIDPage/components/PamSessionAiInsightsSection.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport {AlertTriangleIcon,ClockIcon,diff --git a/frontend/src/pages/pam/PamSessionsByIDPage/components/PamSessionDetailsSection.tsx b/frontend/src/pages/pam/PamSessionsByIDPage/components/PamSessionDetailsSection.tsxindex 45f3f40d34..d81efcf35f 100644--- a/frontend/src/pages/pam/PamSessionsByIDPage/components/PamSessionDetailsSection.tsx+++ b/frontend/src/pages/pam/PamSessionsByIDPage/components/PamSessionDetailsSection.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { faCheck, faCopy, faUser } from "@fortawesome/free-solid-svg-icons";import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";import { PackageOpenIcon } from "lucide-react";diff --git a/frontend/src/pages/pam/PamSessionsByIDPage/components/PamSessionLogsSection.tsx b/frontend/src/pages/pam/PamSessionsByIDPage/components/PamSessionLogsSection.tsxindex 16a3ffde3e..73358ec4bd 100644--- a/frontend/src/pages/pam/PamSessionsByIDPage/components/PamSessionLogsSection.tsx+++ b/frontend/src/pages/pam/PamSessionsByIDPage/components/PamSessionLogsSection.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { lazy, Suspense, useEffect } from "react";import { ExternalLinkIcon, Loader2Icon } from "lucide-react";diff --git a/frontend/src/pages/pam/PamSessionsPage/components/PamSessionRow.tsx b/frontend/src/pages/pam/PamSessionsPage/components/PamSessionRow.tsxindex ca07661bc6..4166af7da0 100644--- a/frontend/src/pages/pam/PamSessionsPage/components/PamSessionRow.tsx+++ b/frontend/src/pages/pam/PamSessionsPage/components/PamSessionRow.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { useState } from "react";import { faBoxOpen, faEdit, faEllipsisV } from "@fortawesome/free-solid-svg-icons";import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";diff --git a/frontend/src/pages/pam/PamSessionsPage/components/PamSessionsTable.tsx b/frontend/src/pages/pam/PamSessionsPage/components/PamSessionsTable.tsxindex e38a622a63..59bb471322 100644--- a/frontend/src/pages/pam/PamSessionsPage/components/PamSessionsTable.tsx+++ b/frontend/src/pages/pam/PamSessionsPage/components/PamSessionsTable.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { useEffect, useMemo, useState } from "react";import { faCircleXmark } from "@fortawesome/free-regular-svg-icons";import { faArrowDown, faArrowUp, faSearch } from "@fortawesome/free-solid-svg-icons";diff --git a/frontend/src/pages/pam/components/PamDependenciesTable.tsx b/frontend/src/pages/pam/components/PamDependenciesTable.tsxindex bfc2fdb418..e235e9c733 100644--- a/frontend/src/pages/pam/components/PamDependenciesTable.tsx+++ b/frontend/src/pages/pam/components/PamDependenciesTable.tsx@@ -1,3 +1,5 @@+// eslint-disable-next-line @typescript-eslint/ban-ts-comment+// @ts-nocheck -- old PAM page, pending deletion in frontend cleanupimport { useState } from "react";import { format, formatDistance } from "date-fns";import {