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 top level page
Thiago Araujo da Silvafa1b1ff35ce8
diff --git a/frontend/src/hooks/api/alertChannels/index.ts b/frontend/src/hooks/api/alertChannels/index.tsindex 177955438b..2c1906d369 100644--- a/frontend/src/hooks/api/alertChannels/index.ts+++ b/frontend/src/hooks/api/alertChannels/index.ts@@ -1,3 +1,2 @@-export * from "./mutations";export * from "./queries";export * from "./types";diff --git a/frontend/src/hooks/api/alertChannels/mutations.ts b/frontend/src/hooks/api/alertChannels/mutations.tsdeleted file mode 100644index 2ff014d92f..0000000000--- a/frontend/src/hooks/api/alertChannels/mutations.ts+++ /dev/null@@ -1,68 +0,0 @@-import { useMutation, useQueryClient } from "@tanstack/react-query";--import { apiRequest } from "@app/config/request";--import { alertKeys } from "../alerts/queries";-import { alertChannelKeys } from "./queries";-import {- TAlertChannel,- TCreateAlertChannelDTO,- TDeleteAlertChannelDTO,- TUpdateAlertChannelDTO-} from "./types";--export const useCreateAlertChannel = () => {- const queryClient = useQueryClient();-- return useMutation<TAlertChannel, unknown, TCreateAlertChannelDTO>({- mutationFn: async (dto) => {- const { data } = await apiRequest.post<{ channel: TAlertChannel }>(- "/api/v1/alert-channels",- dto- );- return data.channel;- },- onSuccess: () => {- queryClient.invalidateQueries({ queryKey: alertChannelKeys.all });- }- });-};--export const useUpdateAlertChannel = () => {- const queryClient = useQueryClient();-- return useMutation<TAlertChannel, unknown, TUpdateAlertChannelDTO>({- mutationFn: async ({ channelId, projectId, ...body }) => {- const { data } = await apiRequest.patch<{ channel: TAlertChannel }>(- `/api/v1/alert-channels/${channelId}`,- body- );- return data.channel;- },- onSuccess: (_, { channelId }) => {- queryClient.invalidateQueries({ queryKey: alertChannelKeys.all });- queryClient.invalidateQueries({ queryKey: alertChannelKeys.byId(channelId) });- // A channel's directed/enabled state shows up in alert summaries.- queryClient.invalidateQueries({ queryKey: alertKeys.all });- }- });-};--export const useDeleteAlertChannel = () => {- const queryClient = useQueryClient();-- return useMutation<{ id: string }, unknown, TDeleteAlertChannelDTO>({- mutationFn: async ({ channelId }) => {- const { data } = await apiRequest.delete<{ channel: { id: string } }>(- `/api/v1/alert-channels/${channelId}`- );- return data.channel;- },- onSuccess: (_, { channelId }) => {- queryClient.invalidateQueries({ queryKey: alertChannelKeys.all });- queryClient.removeQueries({ queryKey: alertChannelKeys.byId(channelId) });- // Deleting a channel detaches it from alerts.- queryClient.invalidateQueries({ queryKey: alertKeys.all });- }- });-};diff --git a/frontend/src/hooks/api/alertChannels/queries.ts b/frontend/src/hooks/api/alertChannels/queries.tsindex 5a50be7e22..b1bfc3a89a 100644--- a/frontend/src/hooks/api/alertChannels/queries.ts+++ b/frontend/src/hooks/api/alertChannels/queries.ts@@ -34,29 +34,3 @@ export const useListAlertChannels = (queryFn: () => fetchAlertChannels(filters),...options});--const fetchAlertChannelById = async (channelId: string) => {- const { data } = await apiRequest.get<{ channel: TAlertChannel }>(- `/api/v1/alert-channels/${channelId}`- );- return data.channel;-};--export const useGetAlertChannelById = (- channelId: string,- options?: Omit<- UseQueryOptions<- TAlertChannel,- unknown,- TAlertChannel,- ReturnType<typeof alertChannelKeys.byId>- >,- "queryKey" | "queryFn"- >-) =>- useQuery({- queryKey: alertChannelKeys.byId(channelId),- queryFn: () => fetchAlertChannelById(channelId),- enabled: Boolean(channelId),- ...options- });diff --git a/frontend/src/hooks/api/alertChannels/types.ts b/frontend/src/hooks/api/alertChannels/types.tsindex f3a297aeee..872a776784 100644--- a/frontend/src/hooks/api/alertChannels/types.ts+++ b/frontend/src/hooks/api/alertChannels/types.ts@@ -1,5 +1,3 @@-import { z } from "zod";-import { AlertChannelType, AlertPrincipalType } from "../alerts/types";export type TAlertChannelRecipient = {@@ -25,119 +23,3 @@ export type TAlertChannel = {export type TListAlertChannelsDTO = {projectId?: string;};--export type TCreateAlertChannelDTO = {- name: string;- channelType: AlertChannelType;- config: Record<string, unknown>;- enabled?: boolean;- recipients?: TAlertChannelRecipient[];- projectId?: string | null;-};--export type TUpdateAlertChannelDTO = {- channelId: string;- // Carried only for cache invalidation; not sent to the API.- projectId?: string | null;- name?: string;- config?: Record<string, unknown>;- enabled?: boolean;- recipients?: TAlertChannelRecipient[];-};--export type TDeleteAlertChannelDTO = {- channelId: string;- projectId?: string | null;-};--// A recipient chosen in the channel form. `label` is display-only (not sent to the API).-export const alertChannelRecipientFormSchema = z.object({- principalType: z.nativeEnum(AlertPrincipalType),- principalId: z.string().min(1),- label: z.string().optional()-});--export type TAlertChannelRecipientForm = z.infer<typeof alertChannelRecipientFormSchema>;--// The channel form flattens per-type config into named fields; a superRefine enforces the-// per-type required fields. On edit, required secrets may be left blank to keep the existing value.-export const buildChannelFormSchema = (isEditing: boolean) =>- z- .object({- name: z.string().min(1, "Name is required").max(255),- channelType: z.nativeEnum(AlertChannelType),- enabled: z.boolean().default(true),- // slack- webhookUrl: z.string().optional(),- // webhook- url: z.string().optional(),- signingSecret: z.string().optional(),- // pagerduty- integrationKey: z.string().optional(),- recipients: z.array(alertChannelRecipientFormSchema).optional()- })- .superRefine((data, ctx) => {- if (data.channelType === AlertChannelType.Slack && !isEditing && !data.webhookUrl) {- ctx.addIssue({- code: z.ZodIssueCode.custom,- path: ["webhookUrl"],- message: "Slack webhook URL is required"- });- }- if (data.channelType === AlertChannelType.Slack && data.webhookUrl) {- try {- const parsed = new URL(data.webhookUrl);- if (parsed.protocol !== "https:" || parsed.hostname !== "hooks.slack.com") {- ctx.addIssue({- code: z.ZodIssueCode.custom,- path: ["webhookUrl"],- message: "Must be a valid https://hooks.slack.com/... URL"- });- }- } catch {- ctx.addIssue({- code: z.ZodIssueCode.custom,- path: ["webhookUrl"],- message: "Must be a valid URL"- });- }- }- if (data.channelType === AlertChannelType.Webhook) {- if (!data.url || !data.url.startsWith("https://")) {- ctx.addIssue({- code: z.ZodIssueCode.custom,- path: ["url"],- message: "Webhook URL must be a valid HTTPS URL"- });- }- }- if (data.channelType === AlertChannelType.PagerDuty) {- if (!isEditing && !data.integrationKey) {- ctx.addIssue({- code: z.ZodIssueCode.custom,- path: ["integrationKey"],- message: "Integration key is required"- });- }- if (data.integrationKey && !/^[a-f0-9]{32}$/i.test(data.integrationKey)) {- ctx.addIssue({- code: z.ZodIssueCode.custom,- path: ["integrationKey"],- message: "Integration key must be a 32-character hex string"- });- }- }- if (- data.channelType === AlertChannelType.Email &&- (!data.recipients || data.recipients.length === 0)- ) {- ctx.addIssue({- code: z.ZodIssueCode.custom,- path: ["recipients"],- message: "At least one recipient is required"- });- }- });--export type TAlertChannelForm = z.infer<ReturnType<typeof buildChannelFormSchema>>;diff --git a/frontend/src/hooks/api/alerts/mutations.ts b/frontend/src/hooks/api/alerts/mutations.tsindex 7ae3d2aade..8d6406f96b 100644--- a/frontend/src/hooks/api/alerts/mutations.ts+++ b/frontend/src/hooks/api/alerts/mutations.ts@@ -3,7 +3,7 @@ import { useMutation, useQueryClient } from "@tanstack/react-query";import { apiRequest } from "@app/config/request";import { alertKeys } from "./queries";-import { TAlert, TCreateAlertDTO, TDeleteAlertDTO, TUpdateAlertDTO } from "./types";+import { TAlert, TCreateAlertDTO, TUpdateAlertDTO } from "./types";export const useCreateAlert = () => {const queryClient = useQueryClient();@@ -33,20 +33,3 @@ export const useUpdateAlert = () => {}});};--export const useDeleteAlert = () => {- const queryClient = useQueryClient();-- return useMutation<{ id: string }, unknown, TDeleteAlertDTO>({- mutationFn: async ({ alertId }) => {- const { data } = await apiRequest.delete<{ alert: { id: string } }>(- `/api/v1/alerts/${alertId}`- );- return data.alert;- },- onSuccess: (_, { alertId }) => {- queryClient.invalidateQueries({ queryKey: alertKeys.all });- queryClient.removeQueries({ queryKey: alertKeys.byId(alertId) });- }- });-};diff --git a/frontend/src/hooks/api/alerts/queries.ts b/frontend/src/hooks/api/alerts/queries.tsindex ba54a97ccb..2363fa6226 100644--- a/frontend/src/hooks/api/alerts/queries.ts+++ b/frontend/src/hooks/api/alerts/queries.ts@@ -29,22 +29,3 @@ export const useListAlerts = (queryFn: () => fetchAlerts(filters),...options});--const fetchAlertById = async (alertId: string) => {- const { data } = await apiRequest.get<{ alert: TAlert }>(`/api/v1/alerts/${alertId}`);- return data.alert;-};--export const useGetAlertById = (- alertId: string,- options?: Omit<- UseQueryOptions<TAlert, unknown, TAlert, ReturnType<typeof alertKeys.byId>>,- "queryKey" | "queryFn"- >-) =>- useQuery({- queryKey: alertKeys.byId(alertId),- queryFn: () => fetchAlertById(alertId),- enabled: Boolean(alertId),- ...options- });diff --git a/frontend/src/hooks/api/alerts/types.ts b/frontend/src/hooks/api/alerts/types.tsindex b9092e02e1..00c93d12b9 100644--- a/frontend/src/hooks/api/alerts/types.ts+++ b/frontend/src/hooks/api/alerts/types.ts@@ -36,11 +36,6 @@ export const ALERT_TIME_UNIT_LABELS: Record<AlertTimeUnit, string> = {[AlertTimeUnit.Years]: "years"};-export const ALERT_PRINCIPAL_TYPE_LABELS: Record<AlertPrincipalType, string> = {- [AlertPrincipalType.User]: "User",- [AlertPrincipalType.Group]: "Group"-};-export const ALERT_RESOURCE_TYPE_LABELS: Record<AlertResourceType, string> = {[AlertResourceType.IdentityCredential]: "Identity Credential"};@@ -114,11 +109,6 @@ export type TUpdateAlertDTO = {channelIds?: string[];};-export type TDeleteAlertDTO = {- alertId: string;- projectId?: string | null;-};-export const alertFormSchema = z.object({name: z.string().min(1, "Name is required").max(255),description: z.string().max(1000).optional(),diff --git a/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/AINav.tsx b/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/AINav.tsxindex b960ebed31..b9bb9edf9d 100644--- a/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/AINav.tsx+++ b/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/AINav.tsx@@ -1,4 +1,4 @@-import { BellRing, FileText, Settings, Shield, Terminal } from "lucide-react";+import { FileText, Settings, Shield, Terminal } from "lucide-react";import { ProjectNavList } from "./ProjectNavLink";import { MCP_SUBMENU, PROJECT_ACCESS_CONTROL_SUBMENU } from "./submenus";@@ -14,7 +14,6 @@ export const AINav = ({ onSubmenuOpen }: { onSubmenuOpen: (submenu: Submenu) =>activeMatch: /\/groups\/|\/identities\/|\/members\/|\/roles\//,submenu: PROJECT_ACCESS_CONTROL_SUBMENU},- { label: "Alerts", icon: BellRing, pathSuffix: "alerts" },{ label: "Audit Logs", icon: FileText, pathSuffix: "audit-logs" },{ label: "Settings", icon: Settings, pathSuffix: "settings" }];diff --git a/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/CertManagerNav.tsx b/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/CertManagerNav.tsxindex 0c41c2225e..860774c833 100644--- a/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/CertManagerNav.tsx+++ b/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/CertManagerNav.tsx@@ -2,7 +2,6 @@ import { useQuery } from "@tanstack/react-query";import { useLocation } from "@tanstack/react-router";import {Bell,- BellRing,FileBadge,FileKey,FileText,@@ -194,7 +193,6 @@ export const CertManagerNav = ({pathSuffix: "access-management",activeMatch: /\/access-management|\/groups\/|\/identities\/|\/members\/|\/roles\//},- { label: "Alerts", icon: BellRing, pathSuffix: "alerts" },{ label: "Audit Logs", icon: FileText, pathSuffix: "audit-logs" },{ label: "Settings", icon: Settings, pathSuffix: "settings" }];diff --git a/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/KmsNav.tsx b/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/KmsNav.tsxindex bcd7c8459e..2f376aead7 100644--- a/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/KmsNav.tsx+++ b/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/KmsNav.tsx@@ -1,4 +1,4 @@-import { BellRing, FileText, Key, LayoutDashboard, Settings, Shield } from "lucide-react";+import { FileText, Key, LayoutDashboard, Settings, Shield } from "lucide-react";import { ProjectNavList } from "./ProjectNavLink";import { PROJECT_ACCESS_CONTROL_SUBMENU } from "./submenus";@@ -15,7 +15,6 @@ export const KmsNav = ({ onSubmenuOpen }: { onSubmenuOpen: (submenu: Submenu) =>activeMatch: /\/groups\/|\/identities\/|\/members\/|\/roles\//,submenu: PROJECT_ACCESS_CONTROL_SUBMENU},- { label: "Alerts", icon: BellRing, pathSuffix: "alerts" },{ label: "Audit Logs", icon: FileText, pathSuffix: "audit-logs" },{ label: "Settings", icon: Settings, pathSuffix: "settings" }];diff --git a/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/OrgNav.tsx b/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/OrgNav.tsxindex 2e8ad14960..4c548634b9 100644--- a/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/OrgNav.tsx+++ b/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/OrgNav.tsx@@ -1,7 +1,7 @@import { useEffect, useState } from "react";import { useLocation, useNavigate } from "@tanstack/react-router";import { AnimatePresence, motion } from "framer-motion";-import { BellRing, Blocks, CreditCard, FileText, Settings, Shield } from "lucide-react";+import { Blocks, CreditCard, FileText, Settings, Shield } from "lucide-react";import { OrgIcon, SidebarCollapsibleGroup, SubOrgIcon } from "@app/components/v3";import { useOrganization } from "@app/context";@@ -73,7 +73,6 @@ export const OrgNav = () => {pathSuffix: "billing",hidden: !isRootOrganization},- { label: "Alerts", icon: BellRing, pathSuffix: "alerts" },{ label: "Audit Logs", icon: FileText, pathSuffix: "audit-logs" },{ label: "Settings", icon: Settings, pathSuffix: "settings", opensSubmenu: true }]diff --git a/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/PamNav.tsx b/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/PamNav.tsxindex 4df493ea7c..6e93364caf 100644--- a/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/PamNav.tsx+++ b/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/PamNav.tsx@@ -1,5 +1,4 @@import {- BellRing,ClipboardList,FileText,FolderOpen,@@ -64,8 +63,7 @@ export const PamNav = ({ onSubmenuOpen }: { onSubmenuOpen: (submenu: Submenu) =>icon: Shield,pathSuffix: "access-management",activeMatch: /\/access-management|\/groups\/|\/identities\/|\/members\/|\/roles\//- },- { label: "Alerts", icon: BellRing, pathSuffix: "alerts" }+ }]: [])];diff --git a/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/SecretManagerNav.tsx b/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/SecretManagerNav.tsxindex ec5c987046..ab8599dea8 100644--- a/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/SecretManagerNav.tsx+++ b/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/SecretManagerNav.tsx@@ -1,12 +1,4 @@-import {- ActivityIcon,- BellRing,- Blocks,- BookCheck,- FileText,- Settings,- Shield-} from "lucide-react";+import { ActivityIcon, Blocks, BookCheck, FileText, Settings, Shield } from "lucide-react";import { ProjectIcon, SidebarCollapsibleGroup } from "@app/components/v3";@@ -56,7 +48,6 @@ export const SecretManagerNav = ({pathSuffix: "access-management",activeMatch: /\/groups\/|\/identities\/|\/members\/|\/roles\//},- { label: "Alerts", icon: BellRing, pathSuffix: "alerts" },{ label: "Audit Logs", icon: FileText, pathSuffix: "audit-logs" },{ label: "Settings", icon: Settings, pathSuffix: "settings", submenu: SM_SETTINGS_SUBMENU }];diff --git a/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/SecretScanningNav.tsx b/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/SecretScanningNav.tsxindex ba8ab08623..e8e22e2424 100644--- a/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/SecretScanningNav.tsx+++ b/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/SecretScanningNav.tsx@@ -1,4 +1,4 @@-import { BellRing, Cable, Database, FileText, Search, Settings, Shield } from "lucide-react";+import { Cable, Database, FileText, Search, Settings, Shield } from "lucide-react";import {ProjectPermissionSub,@@ -51,7 +51,6 @@ export const SecretScanningNav = ({activeMatch: /\/groups\/|\/identities\/|\/members\/|\/roles\//,submenu: PROJECT_ACCESS_CONTROL_SUBMENU},- { label: "Alerts", icon: BellRing, pathSuffix: "alerts" },{ label: "Audit Logs", icon: FileText, pathSuffix: "audit-logs" },{label: "Settings",diff --git a/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/SshNav.tsx b/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/SshNav.tsxindex 1bf4b6d49a..2d632f111b 100644--- a/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/SshNav.tsx+++ b/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/SshNav.tsx@@ -1,4 +1,4 @@-import { BellRing, FileText, Server, Settings, Shield, ShieldCheck } from "lucide-react";+import { FileText, Server, Settings, Shield, ShieldCheck } from "lucide-react";import { ProjectPermissionCan } from "@app/components/permissions";import { SidebarMenu } from "@app/components/v3";@@ -25,7 +25,6 @@ export const SshNav = ({ onSubmenuOpen }: { onSubmenuOpen: (submenu: Submenu) =>activeMatch: /\/groups\/|\/identities\/|\/members\/|\/roles\//,submenu: PROJECT_ACCESS_CONTROL_SUBMENU},- { label: "Alerts", icon: BellRing, pathSuffix: "alerts" },{ label: "Audit Logs", icon: FileText, pathSuffix: "audit-logs" },{ label: "Settings", icon: Settings, pathSuffix: "settings" }];diff --git a/frontend/src/pages/organization/AlertsPage/AlertsPage.tsx b/frontend/src/pages/organization/AlertsPage/AlertsPage.tsxdeleted file mode 100644index 906feb1ccf..0000000000--- a/frontend/src/pages/organization/AlertsPage/AlertsPage.tsx+++ /dev/null@@ -1,9 +0,0 @@-import { OrgPermissionSubjects } from "@app/context";-import { OrgPermissionIdentityActions } from "@app/context/OrgPermissionContext/types";-import { withPermission } from "@app/hoc";-import { AlertsPage as AlertsView } from "@app/views/AlertsPage";--export const AlertsPage = withPermission(() => <AlertsView scope="org" />, {- action: OrgPermissionIdentityActions.Read,- subject: OrgPermissionSubjects.Identity-});diff --git a/frontend/src/pages/organization/AlertsPage/index.tsx b/frontend/src/pages/organization/AlertsPage/index.tsxdeleted file mode 100644index 269d75354f..0000000000--- a/frontend/src/pages/organization/AlertsPage/index.tsx+++ /dev/null@@ -1 +0,0 @@-export { AlertsPage } from "./AlertsPage";diff --git a/frontend/src/pages/organization/AlertsPage/route.tsx b/frontend/src/pages/organization/AlertsPage/route.tsxdeleted file mode 100644index c8b99a9315..0000000000--- a/frontend/src/pages/organization/AlertsPage/route.tsx+++ /dev/null@@ -1,16 +0,0 @@-import { createFileRoute } from "@tanstack/react-router";--import { AlertsPage } from "./AlertsPage";--export const Route = createFileRoute(- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/alerts"-)({- component: AlertsPage,- context: () => ({- breadcrumbs: [- {- label: "Alerts"- }- ]- })-});diff --git a/frontend/src/pages/project/AlertsPage/AlertsPage.tsx b/frontend/src/pages/project/AlertsPage/AlertsPage.tsxdeleted file mode 100644index 77177a3e2c..0000000000--- a/frontend/src/pages/project/AlertsPage/AlertsPage.tsx+++ /dev/null@@ -1,20 +0,0 @@-import { ProjectPermissionSub, useProject } from "@app/context";-import { ProjectPermissionIdentityActions } from "@app/context/ProjectPermissionContext/types";-import { withProjectPermission } from "@app/hoc";-import { AlertsPage as AlertsView } from "@app/views/AlertsPage";--const ProjectAlertsPage = () => {- const { currentProject } = useProject();- return (- <AlertsView- projectId={currentProject.id}- scopeName={currentProject.name}- scope={currentProject.type}- />- );-};--export const AlertsPage = withProjectPermission(ProjectAlertsPage, {- action: ProjectPermissionIdentityActions.Read,- subject: ProjectPermissionSub.Identity-});diff --git a/frontend/src/pages/project/AlertsPage/index.tsx b/frontend/src/pages/project/AlertsPage/index.tsxdeleted file mode 100644index 269d75354f..0000000000--- a/frontend/src/pages/project/AlertsPage/index.tsx+++ /dev/null@@ -1 +0,0 @@-export { AlertsPage } from "./AlertsPage";diff --git a/frontend/src/pages/project/AlertsPage/route-ai.tsx b/frontend/src/pages/project/AlertsPage/route-ai.tsxdeleted file mode 100644index 2ff4d99031..0000000000--- a/frontend/src/pages/project/AlertsPage/route-ai.tsx+++ /dev/null@@ -1,19 +0,0 @@-import { createFileRoute } from "@tanstack/react-router";--import { AlertsPage } from "./AlertsPage";--export const Route = createFileRoute(- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ai/$projectId/_ai-layout/alerts"-)({- component: AlertsPage,- beforeLoad: ({ context }) => {- return {- breadcrumbs: [- ...context.breadcrumbs,- {- label: "Alerts"- }- ]- };- }-});diff --git a/frontend/src/pages/project/AlertsPage/route-cert-manager.tsx b/frontend/src/pages/project/AlertsPage/route-cert-manager.tsxdeleted file mode 100644index c28d1c37e2..0000000000--- a/frontend/src/pages/project/AlertsPage/route-cert-manager.tsx+++ /dev/null@@ -1,19 +0,0 @@-import { createFileRoute } from "@tanstack/react-router";--import { AlertsPage } from "./AlertsPage";--export const Route = createFileRoute(- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/alerts"-)({- component: AlertsPage,- beforeLoad: ({ context }) => {- return {- breadcrumbs: [- ...context.breadcrumbs,- {- label: "Alerts"- }- ]- };- }-});diff --git a/frontend/src/pages/project/AlertsPage/route-kms.tsx b/frontend/src/pages/project/AlertsPage/route-kms.tsxdeleted file mode 100644index 05153b0fd2..0000000000--- a/frontend/src/pages/project/AlertsPage/route-kms.tsx+++ /dev/null@@ -1,19 +0,0 @@-import { createFileRoute } from "@tanstack/react-router";--import { AlertsPage } from "./AlertsPage";--export const Route = createFileRoute(- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/alerts"-)({- component: AlertsPage,- beforeLoad: ({ context }) => {- return {- breadcrumbs: [- ...context.breadcrumbs,- {- label: "Alerts"- }- ]- };- }-});diff --git a/frontend/src/pages/project/AlertsPage/route-pam.tsx b/frontend/src/pages/project/AlertsPage/route-pam.tsxdeleted file mode 100644index a224edaa55..0000000000--- a/frontend/src/pages/project/AlertsPage/route-pam.tsx+++ /dev/null@@ -1,19 +0,0 @@-import { createFileRoute } from "@tanstack/react-router";--import { AlertsPage } from "./AlertsPage";--export const Route = createFileRoute(- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/pam/_pam-layout/alerts"-)({- component: AlertsPage,- beforeLoad: ({ context }) => {- return {- breadcrumbs: [- ...context.breadcrumbs,- {- label: "Alerts"- }- ]- };- }-});diff --git a/frontend/src/pages/project/AlertsPage/route-secret-manager.tsx b/frontend/src/pages/project/AlertsPage/route-secret-manager.tsxdeleted file mode 100644index a4e355e7bd..0000000000--- a/frontend/src/pages/project/AlertsPage/route-secret-manager.tsx+++ /dev/null@@ -1,19 +0,0 @@-import { createFileRoute } from "@tanstack/react-router";--import { AlertsPage } from "./AlertsPage";--export const Route = createFileRoute(- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/alerts"-)({- component: AlertsPage,- beforeLoad: ({ context }) => {- return {- breadcrumbs: [- ...context.breadcrumbs,- {- label: "Alerts"- }- ]- };- }-});diff --git a/frontend/src/pages/project/AlertsPage/route-secret-scanning.tsx b/frontend/src/pages/project/AlertsPage/route-secret-scanning.tsxdeleted file mode 100644index b39270b8da..0000000000--- a/frontend/src/pages/project/AlertsPage/route-secret-scanning.tsx+++ /dev/null@@ -1,19 +0,0 @@-import { createFileRoute } from "@tanstack/react-router";--import { AlertsPage } from "./AlertsPage";--export const Route = createFileRoute(- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout/alerts"-)({- component: AlertsPage,- beforeLoad: ({ context }) => {- return {- breadcrumbs: [- ...context.breadcrumbs,- {- label: "Alerts"- }- ]- };- }-});diff --git a/frontend/src/pages/project/AlertsPage/route-ssh.tsx b/frontend/src/pages/project/AlertsPage/route-ssh.tsxdeleted file mode 100644index 5bfc8bf615..0000000000--- a/frontend/src/pages/project/AlertsPage/route-ssh.tsx+++ /dev/null@@ -1,19 +0,0 @@-import { createFileRoute } from "@tanstack/react-router";--import { AlertsPage } from "./AlertsPage";--export const Route = createFileRoute(- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ssh/$projectId/_ssh-layout/alerts"-)({- component: AlertsPage,- beforeLoad: ({ context }) => {- return {- breadcrumbs: [- ...context.breadcrumbs,- {- label: "Alerts"- }- ]- };- }-});diff --git a/frontend/src/routeTree.gen.ts b/frontend/src/routeTree.gen.tsindex 042b237c5e..83f26a58d9 100644--- a/frontend/src/routeTree.gen.ts+++ b/frontend/src/routeTree.gen.ts@@ -60,7 +60,6 @@ import { Route as organizationOauthApplicationsPageRouteImport } from './pages/oimport { Route as organizationIntegrationsPageRouteImport } from './pages/organization/IntegrationsPage/route'import { Route as organizationBillingPageRouteImport } from './pages/organization/BillingPage/route'import { Route as organizationAuditLogsPageRouteImport } from './pages/organization/AuditLogsPage/route'-import { Route as organizationAlertsPageRouteImport } from './pages/organization/AlertsPage/route'import { Route as organizationAccessManagementPageRouteImport } from './pages/organization/AccessManagementPage/route'import { Route as redirectsGithubManifestCallbackRedirectImport } from './pages/redirects/github-manifest-callback-redirect'import { Route as redirectsOauthCallbackRedirectImport } from './pages/redirects/oauth-callback-redirect'@@ -84,7 +83,6 @@ import { Route as organizationNetworkingPageRouteImport } from './pages/organizaimport { Route as organizationAppConnectionsAppConnectionsPageRouteImport } from './pages/organization/AppConnections/AppConnectionsPage/route'import { Route as secretManagerRedirectsRedirectApprovalPageImport } from './pages/secret-manager/redirects/redirect-approval-page'import { Route as projectAuditLogsPageRoutePamImport } from './pages/project/AuditLogsPage/route-pam'-import { Route as projectAlertsPageRoutePamImport } from './pages/project/AlertsPage/route-pam'import { Route as projectAccessControlPageRoutePamImport } from './pages/project/AccessControlPage/route-pam'import { Route as organizationSettingsPageOauthCallbackPageRouteImport } from './pages/organization/SettingsPage/OauthCallbackPage/route'import { Route as pamPamTemplatesPageRouteImport } from './pages/pam/PamTemplatesPage/route'@@ -113,25 +111,19 @@ import { Route as organizationProductSettingsPageSecretsManagementRouteImport }import { Route as organizationKmipServersPageRouteImport } from './pages/organization/KmipServersPage/route'import { Route as pamPamAccessPageRouteImport } from './pages/pam/PamAccessPage/route'import { Route as projectAuditLogsPageRouteSshImport } from './pages/project/AuditLogsPage/route-ssh'-import { Route as projectAlertsPageRouteSshImport } from './pages/project/AlertsPage/route-ssh'import { Route as projectAccessControlPageRouteSshImport } from './pages/project/AccessControlPage/route-ssh'import { Route as projectAuditLogsPageRouteSecretScanningImport } from './pages/project/AuditLogsPage/route-secret-scanning'import { Route as projectAppConnectionsPageRouteSecretScanningImport } from './pages/project/AppConnectionsPage/route-secret-scanning'-import { Route as projectAlertsPageRouteSecretScanningImport } from './pages/project/AlertsPage/route-secret-scanning'import { Route as projectAccessControlPageRouteSecretScanningImport } from './pages/project/AccessControlPage/route-secret-scanning'import { Route as projectAuditLogsPageRouteSecretManagerImport } from './pages/project/AuditLogsPage/route-secret-manager'import { Route as projectAppConnectionsPageRouteSecretManagerImport } from './pages/project/AppConnectionsPage/route-secret-manager'-import { Route as projectAlertsPageRouteSecretManagerImport } from './pages/project/AlertsPage/route-secret-manager'import { Route as projectAccessControlPageRouteSecretManagerImport } from './pages/project/AccessControlPage/route-secret-manager'import { Route as projectAuditLogsPageRouteKmsImport } from './pages/project/AuditLogsPage/route-kms'-import { Route as projectAlertsPageRouteKmsImport } from './pages/project/AlertsPage/route-kms'import { Route as projectAccessControlPageRouteKmsImport } from './pages/project/AccessControlPage/route-kms'import { Route as projectAuditLogsPageRouteCertManagerImport } from './pages/project/AuditLogsPage/route-cert-manager'import { Route as projectAppConnectionsPageRouteCertManagerImport } from './pages/project/AppConnectionsPage/route-cert-manager'-import { Route as projectAlertsPageRouteCertManagerImport } from './pages/project/AlertsPage/route-cert-manager'import { Route as projectAccessControlPageRouteCertManagerImport } from './pages/project/AccessControlPage/route-cert-manager'import { Route as projectAuditLogsPageRouteAiImport } from './pages/project/AuditLogsPage/route-ai'-import { Route as projectAlertsPageRouteAiImport } from './pages/project/AlertsPage/route-ai'import { Route as projectAccessControlPageRouteAiImport } from './pages/project/AccessControlPage/route-ai'import { Route as certManagerDashboardPageRouteIndexImport } from './pages/cert-manager/DashboardPage/route-index'import { Route as sshSettingsPageRouteImport } from './pages/ssh/SettingsPage/route'@@ -821,14 +813,6 @@ const organizationAuditLogsPageRouteRoute =AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdRoute,} as any)-const organizationAlertsPageRouteRoute =- organizationAlertsPageRouteImport.update({- id: '/alerts',- path: '/alerts',- getParentRoute: () =>- AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdRoute,- } as any)-const organizationAccessManagementPageRouteRoute =organizationAccessManagementPageRouteImport.update({id: '/access-management',@@ -1100,12 +1084,6 @@ const projectAuditLogsPageRoutePamRoute =getParentRoute: () => pamLayoutRoute,} as any)-const projectAlertsPageRoutePamRoute = projectAlertsPageRoutePamImport.update({- id: '/alerts',- path: '/alerts',- getParentRoute: () => pamLayoutRoute,-} as any)-const projectAccessControlPageRoutePamRoute =projectAccessControlPageRoutePamImport.update({id: '/access-management',@@ -1310,12 +1288,6 @@ const projectAuditLogsPageRouteSshRoute =getParentRoute: () => sshLayoutRoute,} as any)-const projectAlertsPageRouteSshRoute = projectAlertsPageRouteSshImport.update({- id: '/alerts',- path: '/alerts',- getParentRoute: () => sshLayoutRoute,-} as any)-const projectAccessControlPageRouteSshRoute =projectAccessControlPageRouteSshImport.update({id: '/access-management',@@ -1346,13 +1318,6 @@ const projectAppConnectionsPageRouteSecretScanningRoute =getParentRoute: () => secretScanningLayoutRoute,} as any)-const projectAlertsPageRouteSecretScanningRoute =- projectAlertsPageRouteSecretScanningImport.update({- id: '/alerts',- path: '/alerts',- getParentRoute: () => secretScanningLayoutRoute,- } as any)-const projectAccessControlPageRouteSecretScanningRoute =projectAccessControlPageRouteSecretScanningImport.update({id: '/access-management',@@ -1383,13 +1348,6 @@ const projectAppConnectionsPageRouteSecretManagerRoute =getParentRoute: () => secretManagerLayoutRoute,} as any)-const projectAlertsPageRouteSecretManagerRoute =- projectAlertsPageRouteSecretManagerImport.update({- id: '/alerts',- path: '/alerts',- getParentRoute: () => secretManagerLayoutRoute,- } as any)-const projectAccessControlPageRouteSecretManagerRoute =projectAccessControlPageRouteSecretManagerImport.update({id: '/access-management',@@ -1404,12 +1362,6 @@ const projectAuditLogsPageRouteKmsRoute =getParentRoute: () => kmsLayoutRoute,} as any)-const projectAlertsPageRouteKmsRoute = projectAlertsPageRouteKmsImport.update({- id: '/alerts',- path: '/alerts',- getParentRoute: () => kmsLayoutRoute,-} as any)-const projectAccessControlPageRouteKmsRoute =projectAccessControlPageRouteKmsImport.update({id: '/access-management',@@ -1512,13 +1464,6 @@ const projectAppConnectionsPageRouteCertManagerRoute =getParentRoute: () => certManagerLayoutRoute,} as any)-const projectAlertsPageRouteCertManagerRoute =- projectAlertsPageRouteCertManagerImport.update({- id: '/alerts',- path: '/alerts',- getParentRoute: () => certManagerLayoutRoute,- } as any)-const projectAccessControlPageRouteCertManagerRoute =projectAccessControlPageRouteCertManagerImport.update({id: '/access-management',@@ -1533,12 +1478,6 @@ const projectAuditLogsPageRouteAiRoute =getParentRoute: () => aiLayoutRoute,} as any)-const projectAlertsPageRouteAiRoute = projectAlertsPageRouteAiImport.update({- id: '/alerts',- path: '/alerts',- getParentRoute: () => aiLayoutRoute,-} as any)-const projectAccessControlPageRouteAiRoute =projectAccessControlPageRouteAiImport.update({id: '/access-management',@@ -3100,13 +3039,6 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof organizationAccessManagementPageRouteImportparentRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdImport}- '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/alerts': {- id: '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/alerts'- path: '/alerts'- fullPath: '/organizations/$orgId/alerts'- preLoaderRoute: typeof organizationAlertsPageRouteImport- parentRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdImport- }'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/audit-logs': {id: '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/audit-logs'path: '/audit-logs'@@ -3415,13 +3347,6 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof projectAccessControlPageRoutePamImportparentRoute: typeof pamLayoutImport}- '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/pam/_pam-layout/alerts': {- id: '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/pam/_pam-layout/alerts'- path: '/alerts'- fullPath: '/organizations/$orgId/pam/alerts'- preLoaderRoute: typeof projectAlertsPageRoutePamImport- parentRoute: typeof pamLayoutImport- }'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/pam/_pam-layout/audit-logs': {id: '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/pam/_pam-layout/audit-logs'path: '/audit-logs'@@ -3807,13 +3732,6 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof projectAccessControlPageRouteAiImportparentRoute: typeof aiLayoutImport}- '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ai/$projectId/_ai-layout/alerts': {- id: '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ai/$projectId/_ai-layout/alerts'- path: '/alerts'- fullPath: '/organizations/$orgId/projects/ai/$projectId/alerts'- preLoaderRoute: typeof projectAlertsPageRouteAiImport- parentRoute: typeof aiLayoutImport- }'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ai/$projectId/_ai-layout/audit-logs': {id: '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ai/$projectId/_ai-layout/audit-logs'path: '/audit-logs'@@ -3828,13 +3746,6 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof projectAccessControlPageRouteCertManagerImportparentRoute: typeof certManagerLayoutImport}- '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/alerts': {- id: '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/alerts'- path: '/alerts'- fullPath: '/organizations/$orgId/projects/cert-manager/$projectId/alerts'- preLoaderRoute: typeof projectAlertsPageRouteCertManagerImport- parentRoute: typeof certManagerLayoutImport- }'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/app-connections': {id: '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/app-connections'path: '/app-connections'@@ -3919,13 +3830,6 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof projectAccessControlPageRouteKmsImportparentRoute: typeof kmsLayoutImport}- '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/alerts': {- id: '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/alerts'- path: '/alerts'- fullPath: '/organizations/$orgId/projects/kms/$projectId/alerts'- preLoaderRoute: typeof projectAlertsPageRouteKmsImport- parentRoute: typeof kmsLayoutImport- }'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/audit-logs': {id: '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/audit-logs'path: '/audit-logs'@@ -3940,13 +3844,6 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof projectAccessControlPageRouteSecretManagerImportparentRoute: typeof secretManagerLayoutImport}- '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/alerts': {- id: '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/alerts'- path: '/alerts'- fullPath: '/organizations/$orgId/projects/secret-management/$projectId/alerts'- preLoaderRoute: typeof projectAlertsPageRouteSecretManagerImport- parentRoute: typeof secretManagerLayoutImport- }'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/app-connections': {id: '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/app-connections'path: '/app-connections'@@ -3975,13 +3872,6 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof projectAccessControlPageRouteSecretScanningImportparentRoute: typeof secretScanningLayoutImport}- '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout/alerts': {- id: '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout/alerts'- path: '/alerts'- fullPath: '/organizations/$orgId/projects/secret-scanning/$projectId/alerts'- preLoaderRoute: typeof projectAlertsPageRouteSecretScanningImport- parentRoute: typeof secretScanningLayoutImport- }'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout/app-connections': {id: '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout/app-connections'path: '/app-connections'@@ -4010,13 +3900,6 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof projectAccessControlPageRouteSshImportparentRoute: typeof sshLayoutImport}- '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ssh/$projectId/_ssh-layout/alerts': {- id: '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ssh/$projectId/_ssh-layout/alerts'- path: '/alerts'- fullPath: '/organizations/$orgId/projects/ssh/$projectId/alerts'- preLoaderRoute: typeof projectAlertsPageRouteSshImport- parentRoute: typeof sshLayoutImport- }'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ssh/$projectId/_ssh-layout/audit-logs': {id: '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ssh/$projectId/_ssh-layout/audit-logs'path: '/audit-logs'@@ -5024,7 +4907,6 @@ interface aiLayoutRouteChildren {aiMCPPageRouteRoute: typeof aiMCPPageRouteRouteaiSettingsPageRouteRoute: typeof aiSettingsPageRouteRouteprojectAccessControlPageRouteAiRoute: typeof projectAccessControlPageRouteAiRoute- projectAlertsPageRouteAiRoute: typeof projectAlertsPageRouteAiRouteprojectAuditLogsPageRouteAiRoute: typeof projectAuditLogsPageRouteAiRouteaiMCPEndpointDetailPageRouteRoute: typeof aiMCPEndpointDetailPageRouteRouteaiMCPServerDetailPageRouteRoute: typeof aiMCPServerDetailPageRouteRoute@@ -5038,7 +4920,6 @@ const aiLayoutRouteChildren: aiLayoutRouteChildren = {aiMCPPageRouteRoute: aiMCPPageRouteRoute,aiSettingsPageRouteRoute: aiSettingsPageRouteRoute,projectAccessControlPageRouteAiRoute: projectAccessControlPageRouteAiRoute,- projectAlertsPageRouteAiRoute: projectAlertsPageRouteAiRoute,projectAuditLogsPageRouteAiRoute: projectAuditLogsPageRouteAiRoute,aiMCPEndpointDetailPageRouteRoute: aiMCPEndpointDetailPageRouteRoute,aiMCPServerDetailPageRouteRoute: aiMCPServerDetailPageRouteRoute,@@ -5239,7 +5120,6 @@ interface certManagerLayoutRouteChildren {certManagerSettingsPageRouteRoute: typeof certManagerSettingsPageRouteRoutecertManagerDashboardPageRouteIndexRoute: typeof certManagerDashboardPageRouteIndexRouteprojectAccessControlPageRouteCertManagerRoute: typeof projectAccessControlPageRouteCertManagerRoute- projectAlertsPageRouteCertManagerRoute: typeof projectAlertsPageRouteCertManagerRouteprojectAppConnectionsPageRouteCertManagerRoute: typeof projectAppConnectionsPageRouteCertManagerRouteAuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsCertManagerProjectIdCertManagerLayoutApplicationsRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsCertManagerProjectIdCertManagerLayoutApplicationsRouteWithChildrenAuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsCertManagerProjectIdCertManagerLayoutApprovalsRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsCertManagerProjectIdCertManagerLayoutApprovalsRouteWithChildren@@ -5274,8 +5154,6 @@ const certManagerLayoutRouteChildren: certManagerLayoutRouteChildren = {certManagerDashboardPageRouteIndexRoute,projectAccessControlPageRouteCertManagerRoute:projectAccessControlPageRouteCertManagerRoute,- projectAlertsPageRouteCertManagerRoute:- projectAlertsPageRouteCertManagerRoute,projectAppConnectionsPageRouteCertManagerRoute:projectAppConnectionsPageRouteCertManagerRoute,AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsCertManagerProjectIdCertManagerLayoutApplicationsRoute:@@ -5338,7 +5216,6 @@ interface kmsLayoutRouteChildren {kmsOverviewPageRouteRoute: typeof kmsOverviewPageRouteRoutekmsSettingsPageRouteRoute: typeof kmsSettingsPageRouteRouteprojectAccessControlPageRouteKmsRoute: typeof projectAccessControlPageRouteKmsRoute- projectAlertsPageRouteKmsRoute: typeof projectAlertsPageRouteKmsRouteprojectAuditLogsPageRouteKmsRoute: typeof projectAuditLogsPageRouteKmsRouteprojectGroupDetailsByIDPageRouteKmsRoute: typeof projectGroupDetailsByIDPageRouteKmsRouteprojectIdentityDetailsByIDPageRouteKmsRoute: typeof projectIdentityDetailsByIDPageRouteKmsRoute@@ -5351,7 +5228,6 @@ const kmsLayoutRouteChildren: kmsLayoutRouteChildren = {kmsOverviewPageRouteRoute: kmsOverviewPageRouteRoute,kmsSettingsPageRouteRoute: kmsSettingsPageRouteRoute,projectAccessControlPageRouteKmsRoute: projectAccessControlPageRouteKmsRoute,- projectAlertsPageRouteKmsRoute: projectAlertsPageRouteKmsRoute,projectAuditLogsPageRouteKmsRoute: projectAuditLogsPageRouteKmsRoute,projectGroupDetailsByIDPageRouteKmsRoute:projectGroupDetailsByIDPageRouteKmsRoute,@@ -5687,7 +5563,6 @@ interface secretManagerLayoutRouteChildren {secretManagerOverviewPageRouteRoute: typeof secretManagerOverviewPageRouteRoutesecretManagerSettingsPageRouteRoute: typeof secretManagerSettingsPageRouteRouteprojectAccessControlPageRouteSecretManagerRoute: typeof projectAccessControlPageRouteSecretManagerRoute- projectAlertsPageRouteSecretManagerRoute: typeof projectAlertsPageRouteSecretManagerRouteprojectAppConnectionsPageRouteSecretManagerRoute: typeof projectAppConnectionsPageRouteSecretManagerRouteprojectAuditLogsPageRouteSecretManagerRoute: typeof projectAuditLogsPageRouteSecretManagerRouteAuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsSecretManagementProjectIdSecretManagerLayoutIntegrationsRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsSecretManagementProjectIdSecretManagerLayoutIntegrationsRouteWithChildren@@ -5709,8 +5584,6 @@ const secretManagerLayoutRouteChildren: secretManagerLayoutRouteChildren = {secretManagerSettingsPageRouteRoute: secretManagerSettingsPageRouteRoute,projectAccessControlPageRouteSecretManagerRoute:projectAccessControlPageRouteSecretManagerRoute,- projectAlertsPageRouteSecretManagerRoute:- projectAlertsPageRouteSecretManagerRoute,projectAppConnectionsPageRouteSecretManagerRoute:projectAppConnectionsPageRouteSecretManagerRoute,projectAuditLogsPageRouteSecretManagerRoute:@@ -5803,7 +5676,6 @@ interface secretScanningLayoutRouteChildren {secretScanningSecretScanningFindingsPageRouteRoute: typeof secretScanningSecretScanningFindingsPageRouteRoutesecretScanningSettingsPageRouteRoute: typeof secretScanningSettingsPageRouteRouteprojectAccessControlPageRouteSecretScanningRoute: typeof projectAccessControlPageRouteSecretScanningRoute- projectAlertsPageRouteSecretScanningRoute: typeof projectAlertsPageRouteSecretScanningRouteprojectAppConnectionsPageRouteSecretScanningRoute: typeof projectAppConnectionsPageRouteSecretScanningRouteprojectAuditLogsPageRouteSecretScanningRoute: typeof projectAuditLogsPageRouteSecretScanningRouteAuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsSecretScanningProjectIdSecretScanningLayoutDataSourcesRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsSecretScanningProjectIdSecretScanningLayoutDataSourcesRouteWithChildren@@ -5819,8 +5691,6 @@ const secretScanningLayoutRouteChildren: secretScanningLayoutRouteChildren = {secretScanningSettingsPageRouteRoute: secretScanningSettingsPageRouteRoute,projectAccessControlPageRouteSecretScanningRoute:projectAccessControlPageRouteSecretScanningRoute,- projectAlertsPageRouteSecretScanningRoute:- projectAlertsPageRouteSecretScanningRoute,projectAppConnectionsPageRouteSecretScanningRoute:projectAppConnectionsPageRouteSecretScanningRoute,projectAuditLogsPageRouteSecretScanningRoute:@@ -5860,7 +5730,6 @@ interface sshLayoutRouteChildren {sshSshHostsPageRouteRoute: typeof sshSshHostsPageRouteRoutesshSettingsPageRouteRoute: typeof sshSettingsPageRouteRouteprojectAccessControlPageRouteSshRoute: typeof projectAccessControlPageRouteSshRoute- projectAlertsPageRouteSshRoute: typeof projectAlertsPageRouteSshRouteprojectAuditLogsPageRouteSshRoute: typeof projectAuditLogsPageRouteSshRoutesshSshCaByIDPageRouteRoute: typeof sshSshCaByIDPageRouteRoutesshSshHostGroupDetailsByIDPageRouteRoute: typeof sshSshHostGroupDetailsByIDPageRouteRoute@@ -5876,7 +5745,6 @@ const sshLayoutRouteChildren: sshLayoutRouteChildren = {sshSshHostsPageRouteRoute: sshSshHostsPageRouteRoute,sshSettingsPageRouteRoute: sshSettingsPageRouteRoute,projectAccessControlPageRouteSshRoute: projectAccessControlPageRouteSshRoute,- projectAlertsPageRouteSshRoute: projectAlertsPageRouteSshRoute,projectAuditLogsPageRouteSshRoute: projectAuditLogsPageRouteSshRoute,sshSshCaByIDPageRouteRoute: sshSshCaByIDPageRouteRoute,sshSshHostGroupDetailsByIDPageRouteRoute:@@ -6014,7 +5882,6 @@ interface pamLayoutRouteChildren {pamPamTemplatesPageRouteRoute: typeof pamPamTemplatesPageRouteRouteAuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdPamPamLayoutAccessRoute: typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdPamPamLayoutAccessRouteWithChildrenprojectAccessControlPageRoutePamRoute: typeof projectAccessControlPageRoutePamRoute- projectAlertsPageRoutePamRoute: typeof projectAlertsPageRoutePamRouteprojectAuditLogsPageRoutePamRoute: typeof projectAuditLogsPageRoutePamRouteprojectGroupDetailsByIDPageRoutePamRoute: typeof projectGroupDetailsByIDPageRoutePamRouteprojectIdentityDetailsByIDPageRoutePamRoute: typeof projectIdentityDetailsByIDPageRoutePamRoute@@ -6031,7 +5898,6 @@ const pamLayoutRouteChildren: pamLayoutRouteChildren = {AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdPamPamLayoutAccessRoute:AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdPamPamLayoutAccessRouteWithChildren,projectAccessControlPageRoutePamRoute: projectAccessControlPageRoutePamRoute,- projectAlertsPageRoutePamRoute: projectAlertsPageRoutePamRoute,projectAuditLogsPageRoutePamRoute: projectAuditLogsPageRoutePamRoute,projectGroupDetailsByIDPageRoutePamRoute:projectGroupDetailsByIDPageRoutePamRoute,@@ -6095,7 +5961,6 @@ const AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdSecretManagerProjecinterface AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdRouteChildren {organizationAccessManagementPageRouteRoute: typeof organizationAccessManagementPageRouteRoute- organizationAlertsPageRouteRoute: typeof organizationAlertsPageRouteRouteorganizationAuditLogsPageRouteRoute: typeof organizationAuditLogsPageRouteRouteorganizationBillingPageRouteRoute: typeof organizationBillingPageRouteRouteorganizationIntegrationsPageRouteRoute: typeof organizationIntegrationsPageRouteRoute@@ -6118,7 +5983,6 @@ const AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdRouteChildren: Auth{organizationAccessManagementPageRouteRoute:organizationAccessManagementPageRouteRoute,- organizationAlertsPageRouteRoute: organizationAlertsPageRouteRoute,organizationAuditLogsPageRouteRoute: organizationAuditLogsPageRouteRoute,organizationBillingPageRouteRoute: organizationBillingPageRouteRoute,organizationIntegrationsPageRouteRoute:@@ -6403,7 +6267,6 @@ export interface FileRoutesByFullPath {'/admin/integrations': typeof adminIntegrationsPageRouteRoute'/organizations/$orgId': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdRouteWithChildren'/organizations/$orgId/access-management': typeof organizationAccessManagementPageRouteRoute- '/organizations/$orgId/alerts': typeof organizationAlertsPageRouteRoute'/organizations/$orgId/audit-logs': typeof organizationAuditLogsPageRouteRoute'/organizations/$orgId/billing': typeof organizationBillingPageRouteRoute'/organizations/$orgId/integrations': typeof organizationIntegrationsPageRouteRoute@@ -6447,7 +6310,6 @@ export interface FileRoutesByFullPath {'/organizations/$orgId/settings/oauth/callback': typeof organizationSettingsPageOauthCallbackPageRouteRoute'/organizations/$orgId/pam/access': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdPamPamLayoutAccessRouteWithChildren'/organizations/$orgId/pam/access-management': typeof projectAccessControlPageRoutePamRoute- '/organizations/$orgId/pam/alerts': typeof projectAlertsPageRoutePamRoute'/organizations/$orgId/pam/audit-logs': typeof projectAuditLogsPageRoutePamRoute'/organizations/$orgId/projects/ai/$projectId': typeof aiLayoutRouteWithChildren'/organizations/$orgId/projects/cert-manager/$projectId': typeof certManagerLayoutRouteWithChildren@@ -6497,10 +6359,8 @@ export interface FileRoutesByFullPath {'/organizations/$orgId/projects/ssh/$projectId/settings': typeof sshSettingsPageRouteRoute'/organizations/$orgId/projects/cert-manager/$projectId/': typeof certManagerDashboardPageRouteIndexRoute'/organizations/$orgId/projects/ai/$projectId/access-management': typeof projectAccessControlPageRouteAiRoute- '/organizations/$orgId/projects/ai/$projectId/alerts': typeof projectAlertsPageRouteAiRoute'/organizations/$orgId/projects/ai/$projectId/audit-logs': typeof projectAuditLogsPageRouteAiRoute'/organizations/$orgId/projects/cert-manager/$projectId/access-management': typeof projectAccessControlPageRouteCertManagerRoute- '/organizations/$orgId/projects/cert-manager/$projectId/alerts': typeof projectAlertsPageRouteCertManagerRoute'/organizations/$orgId/projects/cert-manager/$projectId/app-connections': typeof projectAppConnectionsPageRouteCertManagerRoute'/organizations/$orgId/projects/cert-manager/$projectId/applications': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsCertManagerProjectIdCertManagerLayoutApplicationsRouteWithChildren'/organizations/$orgId/projects/cert-manager/$projectId/approvals': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsCertManagerProjectIdCertManagerLayoutApprovalsRouteWithChildren@@ -6513,20 +6373,16 @@ export interface FileRoutesByFullPath {'/organizations/$orgId/projects/cert-manager/$projectId/integrations': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsCertManagerProjectIdCertManagerLayoutIntegrationsRouteWithChildren'/organizations/$orgId/projects/cert-manager/$projectId/subscribers': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsCertManagerProjectIdCertManagerLayoutSubscribersRouteWithChildren'/organizations/$orgId/projects/kms/$projectId/access-management': typeof projectAccessControlPageRouteKmsRoute- '/organizations/$orgId/projects/kms/$projectId/alerts': typeof projectAlertsPageRouteKmsRoute'/organizations/$orgId/projects/kms/$projectId/audit-logs': typeof projectAuditLogsPageRouteKmsRoute'/organizations/$orgId/projects/secret-management/$projectId/access-management': typeof projectAccessControlPageRouteSecretManagerRoute- '/organizations/$orgId/projects/secret-management/$projectId/alerts': typeof projectAlertsPageRouteSecretManagerRoute'/organizations/$orgId/projects/secret-management/$projectId/app-connections': typeof projectAppConnectionsPageRouteSecretManagerRoute'/organizations/$orgId/projects/secret-management/$projectId/audit-logs': typeof projectAuditLogsPageRouteSecretManagerRoute'/organizations/$orgId/projects/secret-management/$projectId/integrations': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsSecretManagementProjectIdSecretManagerLayoutIntegrationsRouteWithChildren'/organizations/$orgId/projects/secret-scanning/$projectId/access-management': typeof projectAccessControlPageRouteSecretScanningRoute- '/organizations/$orgId/projects/secret-scanning/$projectId/alerts': typeof projectAlertsPageRouteSecretScanningRoute'/organizations/$orgId/projects/secret-scanning/$projectId/app-connections': typeof projectAppConnectionsPageRouteSecretScanningRoute'/organizations/$orgId/projects/secret-scanning/$projectId/audit-logs': typeof projectAuditLogsPageRouteSecretScanningRoute'/organizations/$orgId/projects/secret-scanning/$projectId/data-sources': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsSecretScanningProjectIdSecretScanningLayoutDataSourcesRouteWithChildren'/organizations/$orgId/projects/ssh/$projectId/access-management': typeof projectAccessControlPageRouteSshRoute- '/organizations/$orgId/projects/ssh/$projectId/alerts': typeof projectAlertsPageRouteSshRoute'/organizations/$orgId/projects/ssh/$projectId/audit-logs': typeof projectAuditLogsPageRouteSshRoute'/organizations/$orgId/projects/cert-manager/$projectId/applications/': typeof certManagerApplicationsPageRouteRoute'/organizations/$orgId/projects/cert-manager/$projectId/approvals/': typeof certManagerApprovalsPageRouteRoute@@ -6703,7 +6559,6 @@ export interface FileRoutesByTo {'/admin/integrations': typeof adminIntegrationsPageRouteRoute'/organizations/$orgId': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdRouteWithChildren'/organizations/$orgId/access-management': typeof organizationAccessManagementPageRouteRoute- '/organizations/$orgId/alerts': typeof organizationAlertsPageRouteRoute'/organizations/$orgId/audit-logs': typeof organizationAuditLogsPageRouteRoute'/organizations/$orgId/billing': typeof organizationBillingPageRouteRoute'/organizations/$orgId/integrations': typeof organizationIntegrationsPageRouteRoute@@ -6743,7 +6598,6 @@ export interface FileRoutesByTo {'/organizations/$orgId/pam/templates': typeof pamPamTemplatesPageRouteRoute'/organizations/$orgId/settings/oauth/callback': typeof organizationSettingsPageOauthCallbackPageRouteRoute'/organizations/$orgId/pam/access-management': typeof projectAccessControlPageRoutePamRoute- '/organizations/$orgId/pam/alerts': typeof projectAlertsPageRoutePamRoute'/organizations/$orgId/pam/audit-logs': typeof projectAuditLogsPageRoutePamRoute'/organizations/$orgId/projects/ai/$projectId': typeof aiLayoutRouteWithChildren'/organizations/$orgId/projects/cert-manager/$projectId': typeof certManagerDashboardPageRouteIndexRoute@@ -6789,25 +6643,19 @@ export interface FileRoutesByTo {'/organizations/$orgId/projects/ssh/$projectId/overview': typeof sshSshHostsPageRouteRoute'/organizations/$orgId/projects/ssh/$projectId/settings': typeof sshSettingsPageRouteRoute'/organizations/$orgId/projects/ai/$projectId/access-management': typeof projectAccessControlPageRouteAiRoute- '/organizations/$orgId/projects/ai/$projectId/alerts': typeof projectAlertsPageRouteAiRoute'/organizations/$orgId/projects/ai/$projectId/audit-logs': typeof projectAuditLogsPageRouteAiRoute'/organizations/$orgId/projects/cert-manager/$projectId/access-management': typeof projectAccessControlPageRouteCertManagerRoute- '/organizations/$orgId/projects/cert-manager/$projectId/alerts': typeof projectAlertsPageRouteCertManagerRoute'/organizations/$orgId/projects/cert-manager/$projectId/app-connections': typeof projectAppConnectionsPageRouteCertManagerRoute'/organizations/$orgId/projects/cert-manager/$projectId/audit-logs': typeof projectAuditLogsPageRouteCertManagerRoute'/organizations/$orgId/projects/kms/$projectId/access-management': typeof projectAccessControlPageRouteKmsRoute- '/organizations/$orgId/projects/kms/$projectId/alerts': typeof projectAlertsPageRouteKmsRoute'/organizations/$orgId/projects/kms/$projectId/audit-logs': typeof projectAuditLogsPageRouteKmsRoute'/organizations/$orgId/projects/secret-management/$projectId/access-management': typeof projectAccessControlPageRouteSecretManagerRoute- '/organizations/$orgId/projects/secret-management/$projectId/alerts': typeof projectAlertsPageRouteSecretManagerRoute'/organizations/$orgId/projects/secret-management/$projectId/app-connections': typeof projectAppConnectionsPageRouteSecretManagerRoute'/organizations/$orgId/projects/secret-management/$projectId/audit-logs': typeof projectAuditLogsPageRouteSecretManagerRoute'/organizations/$orgId/projects/secret-scanning/$projectId/access-management': typeof projectAccessControlPageRouteSecretScanningRoute- '/organizations/$orgId/projects/secret-scanning/$projectId/alerts': typeof projectAlertsPageRouteSecretScanningRoute'/organizations/$orgId/projects/secret-scanning/$projectId/app-connections': typeof projectAppConnectionsPageRouteSecretScanningRoute'/organizations/$orgId/projects/secret-scanning/$projectId/audit-logs': typeof projectAuditLogsPageRouteSecretScanningRoute'/organizations/$orgId/projects/ssh/$projectId/access-management': typeof projectAccessControlPageRouteSshRoute- '/organizations/$orgId/projects/ssh/$projectId/alerts': typeof projectAlertsPageRouteSshRoute'/organizations/$orgId/projects/ssh/$projectId/audit-logs': typeof projectAuditLogsPageRouteSshRoute'/organizations/$orgId/projects/cert-manager/$projectId/applications': typeof certManagerApplicationsPageRouteRoute'/organizations/$orgId/projects/cert-manager/$projectId/approvals': typeof certManagerApprovalsPageRouteRoute@@ -6992,7 +6840,6 @@ export interface FileRoutesById {'/_authenticate/_inject-org-details/admin/_admin-layout/integrations': typeof adminIntegrationsPageRouteRoute'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdRouteWithChildren'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/access-management': typeof organizationAccessManagementPageRouteRoute- '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/alerts': typeof organizationAlertsPageRouteRoute'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/audit-logs': typeof organizationAuditLogsPageRouteRoute'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/billing': typeof organizationBillingPageRouteRoute'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/integrations': typeof organizationIntegrationsPageRouteRoute@@ -7037,7 +6884,6 @@ export interface FileRoutesById {'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/settings/oauth/callback': typeof organizationSettingsPageOauthCallbackPageRouteRoute'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/pam/_pam-layout/access': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdPamPamLayoutAccessRouteWithChildren'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/pam/_pam-layout/access-management': typeof projectAccessControlPageRoutePamRoute- '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/pam/_pam-layout/alerts': typeof projectAlertsPageRoutePamRoute'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/pam/_pam-layout/audit-logs': typeof projectAuditLogsPageRoutePamRoute'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ai/$projectId': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsAiProjectIdRouteWithChildren'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsCertManagerProjectIdRouteWithChildren@@ -7093,10 +6939,8 @@ export interface FileRoutesById {'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ssh/$projectId/_ssh-layout/settings': typeof sshSettingsPageRouteRoute'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/': typeof certManagerDashboardPageRouteIndexRoute'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ai/$projectId/_ai-layout/access-management': typeof projectAccessControlPageRouteAiRoute- '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ai/$projectId/_ai-layout/alerts': typeof projectAlertsPageRouteAiRoute'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ai/$projectId/_ai-layout/audit-logs': typeof projectAuditLogsPageRouteAiRoute'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/access-management': typeof projectAccessControlPageRouteCertManagerRoute- '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/alerts': typeof projectAlertsPageRouteCertManagerRoute'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/app-connections': typeof projectAppConnectionsPageRouteCertManagerRoute'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/applications': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsCertManagerProjectIdCertManagerLayoutApplicationsRouteWithChildren'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/approvals': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsCertManagerProjectIdCertManagerLayoutApprovalsRouteWithChildren@@ -7109,20 +6953,16 @@ export interface FileRoutesById {'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/integrations': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsCertManagerProjectIdCertManagerLayoutIntegrationsRouteWithChildren'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/subscribers': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsCertManagerProjectIdCertManagerLayoutSubscribersRouteWithChildren'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/access-management': typeof projectAccessControlPageRouteKmsRoute- '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/alerts': typeof projectAlertsPageRouteKmsRoute'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/audit-logs': typeof projectAuditLogsPageRouteKmsRoute'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/access-management': typeof projectAccessControlPageRouteSecretManagerRoute- '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/alerts': typeof projectAlertsPageRouteSecretManagerRoute'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/app-connections': typeof projectAppConnectionsPageRouteSecretManagerRoute'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/audit-logs': typeof projectAuditLogsPageRouteSecretManagerRoute'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/integrations': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsSecretManagementProjectIdSecretManagerLayoutIntegrationsRouteWithChildren'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout/access-management': typeof projectAccessControlPageRouteSecretScanningRoute- '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout/alerts': typeof projectAlertsPageRouteSecretScanningRoute'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout/app-connections': typeof projectAppConnectionsPageRouteSecretScanningRoute'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout/audit-logs': typeof projectAuditLogsPageRouteSecretScanningRoute'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout/data-sources': typeof AuthenticateInjectOrgDetailsOrgLayoutOrganizationsOrgIdProjectsSecretScanningProjectIdSecretScanningLayoutDataSourcesRouteWithChildren'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ssh/$projectId/_ssh-layout/access-management': typeof projectAccessControlPageRouteSshRoute- '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ssh/$projectId/_ssh-layout/alerts': typeof projectAlertsPageRouteSshRoute'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ssh/$projectId/_ssh-layout/audit-logs': typeof projectAuditLogsPageRouteSshRoute'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/applications/': typeof certManagerApplicationsPageRouteRoute'/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/approvals/': typeof certManagerApprovalsPageRouteRoute@@ -7305,7 +7145,6 @@ export interface FileRouteTypes {| '/admin/integrations'| '/organizations/$orgId'| '/organizations/$orgId/access-management'- | '/organizations/$orgId/alerts'| '/organizations/$orgId/audit-logs'| '/organizations/$orgId/billing'| '/organizations/$orgId/integrations'@@ -7349,7 +7188,6 @@ export interface FileRouteTypes {| '/organizations/$orgId/settings/oauth/callback'| '/organizations/$orgId/pam/access'| '/organizations/$orgId/pam/access-management'- | '/organizations/$orgId/pam/alerts'| '/organizations/$orgId/pam/audit-logs'| '/organizations/$orgId/projects/ai/$projectId'| '/organizations/$orgId/projects/cert-manager/$projectId'@@ -7399,10 +7237,8 @@ export interface FileRouteTypes {| '/organizations/$orgId/projects/ssh/$projectId/settings'| '/organizations/$orgId/projects/cert-manager/$projectId/'| '/organizations/$orgId/projects/ai/$projectId/access-management'- | '/organizations/$orgId/projects/ai/$projectId/alerts'| '/organizations/$orgId/projects/ai/$projectId/audit-logs'| '/organizations/$orgId/projects/cert-manager/$projectId/access-management'- | '/organizations/$orgId/projects/cert-manager/$projectId/alerts'| '/organizations/$orgId/projects/cert-manager/$projectId/app-connections'| '/organizations/$orgId/projects/cert-manager/$projectId/applications'| '/organizations/$orgId/projects/cert-manager/$projectId/approvals'@@ -7415,20 +7251,16 @@ export interface FileRouteTypes {| '/organizations/$orgId/projects/cert-manager/$projectId/integrations'| '/organizations/$orgId/projects/cert-manager/$projectId/subscribers'| '/organizations/$orgId/projects/kms/$projectId/access-management'- | '/organizations/$orgId/projects/kms/$projectId/alerts'| '/organizations/$orgId/projects/kms/$projectId/audit-logs'| '/organizations/$orgId/projects/secret-management/$projectId/access-management'- | '/organizations/$orgId/projects/secret-management/$projectId/alerts'| '/organizations/$orgId/projects/secret-management/$projectId/app-connections'| '/organizations/$orgId/projects/secret-management/$projectId/audit-logs'| '/organizations/$orgId/projects/secret-management/$projectId/integrations'| '/organizations/$orgId/projects/secret-scanning/$projectId/access-management'- | '/organizations/$orgId/projects/secret-scanning/$projectId/alerts'| '/organizations/$orgId/projects/secret-scanning/$projectId/app-connections'| '/organizations/$orgId/projects/secret-scanning/$projectId/audit-logs'| '/organizations/$orgId/projects/secret-scanning/$projectId/data-sources'| '/organizations/$orgId/projects/ssh/$projectId/access-management'- | '/organizations/$orgId/projects/ssh/$projectId/alerts'| '/organizations/$orgId/projects/ssh/$projectId/audit-logs'| '/organizations/$orgId/projects/cert-manager/$projectId/applications/'| '/organizations/$orgId/projects/cert-manager/$projectId/approvals/'@@ -7604,7 +7436,6 @@ export interface FileRouteTypes {| '/admin/integrations'| '/organizations/$orgId'| '/organizations/$orgId/access-management'- | '/organizations/$orgId/alerts'| '/organizations/$orgId/audit-logs'| '/organizations/$orgId/billing'| '/organizations/$orgId/integrations'@@ -7644,7 +7475,6 @@ export interface FileRouteTypes {| '/organizations/$orgId/pam/templates'| '/organizations/$orgId/settings/oauth/callback'| '/organizations/$orgId/pam/access-management'- | '/organizations/$orgId/pam/alerts'| '/organizations/$orgId/pam/audit-logs'| '/organizations/$orgId/projects/ai/$projectId'| '/organizations/$orgId/projects/cert-manager/$projectId'@@ -7690,25 +7520,19 @@ export interface FileRouteTypes {| '/organizations/$orgId/projects/ssh/$projectId/overview'| '/organizations/$orgId/projects/ssh/$projectId/settings'| '/organizations/$orgId/projects/ai/$projectId/access-management'- | '/organizations/$orgId/projects/ai/$projectId/alerts'| '/organizations/$orgId/projects/ai/$projectId/audit-logs'| '/organizations/$orgId/projects/cert-manager/$projectId/access-management'- | '/organizations/$orgId/projects/cert-manager/$projectId/alerts'| '/organizations/$orgId/projects/cert-manager/$projectId/app-connections'| '/organizations/$orgId/projects/cert-manager/$projectId/audit-logs'| '/organizations/$orgId/projects/kms/$projectId/access-management'- | '/organizations/$orgId/projects/kms/$projectId/alerts'| '/organizations/$orgId/projects/kms/$projectId/audit-logs'| '/organizations/$orgId/projects/secret-management/$projectId/access-management'- | '/organizations/$orgId/projects/secret-management/$projectId/alerts'| '/organizations/$orgId/projects/secret-management/$projectId/app-connections'| '/organizations/$orgId/projects/secret-management/$projectId/audit-logs'| '/organizations/$orgId/projects/secret-scanning/$projectId/access-management'- | '/organizations/$orgId/projects/secret-scanning/$projectId/alerts'| '/organizations/$orgId/projects/secret-scanning/$projectId/app-connections'| '/organizations/$orgId/projects/secret-scanning/$projectId/audit-logs'| '/organizations/$orgId/projects/ssh/$projectId/access-management'- | '/organizations/$orgId/projects/ssh/$projectId/alerts'| '/organizations/$orgId/projects/ssh/$projectId/audit-logs'| '/organizations/$orgId/projects/cert-manager/$projectId/applications'| '/organizations/$orgId/projects/cert-manager/$projectId/approvals'@@ -7891,7 +7715,6 @@ export interface FileRouteTypes {| '/_authenticate/_inject-org-details/admin/_admin-layout/integrations'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/access-management'- | '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/alerts'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/audit-logs'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/billing'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/integrations'@@ -7936,7 +7759,6 @@ export interface FileRouteTypes {| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/settings/oauth/callback'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/pam/_pam-layout/access'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/pam/_pam-layout/access-management'- | '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/pam/_pam-layout/alerts'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/pam/_pam-layout/audit-logs'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ai/$projectId'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId'@@ -7992,10 +7814,8 @@ export interface FileRouteTypes {| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ssh/$projectId/_ssh-layout/settings'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ai/$projectId/_ai-layout/access-management'- | '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ai/$projectId/_ai-layout/alerts'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ai/$projectId/_ai-layout/audit-logs'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/access-management'- | '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/alerts'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/app-connections'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/applications'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/approvals'@@ -8008,20 +7828,16 @@ export interface FileRouteTypes {| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/integrations'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/subscribers'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/access-management'- | '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/alerts'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/audit-logs'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/access-management'- | '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/alerts'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/app-connections'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/audit-logs'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/integrations'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout/access-management'- | '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout/alerts'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout/app-connections'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout/audit-logs'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout/data-sources'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ssh/$projectId/_ssh-layout/access-management'- | '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ssh/$projectId/_ssh-layout/alerts'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ssh/$projectId/_ssh-layout/audit-logs'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/applications/'| '/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/approvals/'@@ -8447,7 +8263,6 @@ export const routeTree = rootRoute"parent": "/_authenticate/_inject-org-details/_org-layout","children": ["/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/access-management",- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/alerts","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/audit-logs","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/billing","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/integrations",@@ -8470,10 +8285,6 @@ export const routeTree = rootRoute"filePath": "organization/AccessManagementPage/route.tsx","parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId"},- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/alerts": {- "filePath": "organization/AlertsPage/route.tsx",- "parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId"- },"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/audit-logs": {"filePath": "organization/AuditLogsPage/route.tsx","parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId"@@ -8634,7 +8445,6 @@ export const routeTree = rootRoute"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/pam/_pam-layout/templates","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/pam/_pam-layout/access","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/pam/_pam-layout/access-management",- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/pam/_pam-layout/alerts","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/pam/_pam-layout/audit-logs","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/pam/_pam-layout/groups/$groupId","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/pam/_pam-layout/identities/$identityId",@@ -8700,10 +8510,6 @@ export const routeTree = rootRoute"filePath": "project/AccessControlPage/route-pam.tsx","parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/pam/_pam-layout"},- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/pam/_pam-layout/alerts": {- "filePath": "project/AlertsPage/route-pam.tsx",- "parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/pam/_pam-layout"- },"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/pam/_pam-layout/audit-logs": {"filePath": "project/AuditLogsPage/route-pam.tsx","parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/pam/_pam-layout"@@ -8832,7 +8638,6 @@ export const routeTree = rootRoute"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ai/$projectId/_ai-layout/overview","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ai/$projectId/_ai-layout/settings","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ai/$projectId/_ai-layout/access-management",- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ai/$projectId/_ai-layout/alerts","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ai/$projectId/_ai-layout/audit-logs","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ai/$projectId/_ai-layout/mcp-endpoints/$endpointId","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ai/$projectId/_ai-layout/mcp-servers/$serverId",@@ -8855,7 +8660,6 @@ export const routeTree = rootRoute"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/settings","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/access-management",- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/alerts","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/app-connections","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/applications","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/approvals",@@ -8885,7 +8689,6 @@ export const routeTree = rootRoute"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/overview","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/settings","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/access-management",- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/alerts","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/audit-logs","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/groups/$groupId","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/identities/$identityId",@@ -8903,7 +8706,6 @@ export const routeTree = rootRoute"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/overview","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/settings","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/access-management",- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/alerts","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/app-connections","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/audit-logs","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/integrations",@@ -8922,7 +8724,6 @@ export const routeTree = rootRoute"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout/findings","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout/settings","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout/access-management",- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout/alerts","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout/app-connections","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout/audit-logs","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout/data-sources",@@ -8941,7 +8742,6 @@ export const routeTree = rootRoute"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ssh/$projectId/_ssh-layout/overview","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ssh/$projectId/_ssh-layout/settings","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ssh/$projectId/_ssh-layout/access-management",- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ssh/$projectId/_ssh-layout/alerts","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ssh/$projectId/_ssh-layout/audit-logs","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ssh/$projectId/_ssh-layout/ca/$caId","/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ssh/$projectId/_ssh-layout/ssh-host-groups/$sshHostGroupId",@@ -9055,10 +8855,6 @@ export const routeTree = rootRoute"filePath": "project/AccessControlPage/route-ai.tsx","parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ai/$projectId/_ai-layout"},- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ai/$projectId/_ai-layout/alerts": {- "filePath": "project/AlertsPage/route-ai.tsx",- "parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ai/$projectId/_ai-layout"- },"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ai/$projectId/_ai-layout/audit-logs": {"filePath": "project/AuditLogsPage/route-ai.tsx","parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ai/$projectId/_ai-layout"@@ -9067,10 +8863,6 @@ export const routeTree = rootRoute"filePath": "project/AccessControlPage/route-cert-manager.tsx","parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout"},- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/alerts": {- "filePath": "project/AlertsPage/route-cert-manager.tsx",- "parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout"- },"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout/app-connections": {"filePath": "project/AppConnectionsPage/route-cert-manager.tsx","parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/cert-manager/$projectId/_cert-manager-layout"@@ -9155,10 +8947,6 @@ export const routeTree = rootRoute"filePath": "project/AccessControlPage/route-kms.tsx","parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout"},- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/alerts": {- "filePath": "project/AlertsPage/route-kms.tsx",- "parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout"- },"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout/audit-logs": {"filePath": "project/AuditLogsPage/route-kms.tsx","parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/kms/$projectId/_kms-layout"@@ -9167,10 +8955,6 @@ export const routeTree = rootRoute"filePath": "project/AccessControlPage/route-secret-manager.tsx","parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout"},- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/alerts": {- "filePath": "project/AlertsPage/route-secret-manager.tsx",- "parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout"- },"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout/app-connections": {"filePath": "project/AppConnectionsPage/route-secret-manager.tsx","parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-management/$projectId/_secret-manager-layout"@@ -9267,10 +9051,6 @@ export const routeTree = rootRoute"filePath": "project/AccessControlPage/route-secret-scanning.tsx","parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout"},- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout/alerts": {- "filePath": "project/AlertsPage/route-secret-scanning.tsx",- "parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout"- },"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout/app-connections": {"filePath": "project/AppConnectionsPage/route-secret-scanning.tsx","parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/secret-scanning/$projectId/_secret-scanning-layout"@@ -9291,10 +9071,6 @@ export const routeTree = rootRoute"filePath": "project/AccessControlPage/route-ssh.tsx","parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ssh/$projectId/_ssh-layout"},- "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ssh/$projectId/_ssh-layout/alerts": {- "filePath": "project/AlertsPage/route-ssh.tsx",- "parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ssh/$projectId/_ssh-layout"- },"/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ssh/$projectId/_ssh-layout/audit-logs": {"filePath": "project/AuditLogsPage/route-ssh.tsx","parent": "/_authenticate/_inject-org-details/_org-layout/organizations/$orgId/projects/ssh/$projectId/_ssh-layout"diff --git a/frontend/src/routes.ts b/frontend/src/routes.tsindex df1333c29d..e6282b7b9b 100644--- a/frontend/src/routes.ts+++ b/frontend/src/routes.ts@@ -35,7 +35,6 @@ const secretManagerRoutes = route("/organizations/$orgId/projects/secret-managem])]),route("/audit-logs", "project/AuditLogsPage/route-secret-manager.tsx"),- route("/alerts", "project/AlertsPage/route-secret-manager.tsx"),route("/access-management", "project/AccessControlPage/route-secret-manager.tsx"),route("/app-connections", "project/AppConnectionsPage/route-secret-manager.tsx"),route("/roles/$roleSlug", "project/RoleDetailsBySlugPage/route-secret-manager.tsx"),@@ -322,7 +321,6 @@ const certManagerRoutes = route("/organizations/$orgId/projects/cert-manager/$pr]),route("/settings", "cert-manager/SettingsPage/route.tsx"),route("/audit-logs", "project/AuditLogsPage/route-cert-manager.tsx"),- route("/alerts", "project/AlertsPage/route-cert-manager.tsx"),route("/access-management", "project/AccessControlPage/route-cert-manager.tsx"),route("/app-connections", "project/AppConnectionsPage/route-cert-manager.tsx"),route("/roles/$roleSlug", "project/RoleDetailsBySlugPage/route-cert-manager.tsx"),@@ -339,7 +337,6 @@ const aiRoutes = route("/organizations/$orgId/projects/ai/$projectId", [route("/overview", "ai/MCPPage/route.tsx"),route("/settings", "ai/SettingsPage/route.tsx"),route("/audit-logs", "project/AuditLogsPage/route-ai.tsx"),- route("/alerts", "project/AlertsPage/route-ai.tsx"),route("/access-management", "project/AccessControlPage/route-ai.tsx"),route("/roles/$roleSlug", "project/RoleDetailsBySlugPage/route-ai.tsx"),route("/identities/$identityId", "project/IdentityDetailsByIDPage/route-ai.tsx"),@@ -354,7 +351,6 @@ const kmsRoutes = route("/organizations/$orgId/projects/kms/$projectId", [route("/kmip", "kms/KmipPage/route.tsx"),route("/settings", "kms/SettingsPage/route.tsx"),route("/audit-logs", "project/AuditLogsPage/route-kms.tsx"),- route("/alerts", "project/AlertsPage/route-kms.tsx"),route("/access-management", "project/AccessControlPage/route-kms.tsx"),route("/roles/$roleSlug", "project/RoleDetailsBySlugPage/route-kms.tsx"),route("/identities/$identityId", "project/IdentityDetailsByIDPage/route-kms.tsx"),@@ -372,7 +368,6 @@ const sshRoutes = route("/organizations/$orgId/projects/ssh/$projectId", [route("/ssh-host-groups/$sshHostGroupId", "ssh/SshHostGroupDetailsByIDPage/route.tsx"),route("/settings", "ssh/SettingsPage/route.tsx"),route("/audit-logs", "project/AuditLogsPage/route-ssh.tsx"),- route("/alerts", "project/AlertsPage/route-ssh.tsx"),route("/access-management", "project/AccessControlPage/route-ssh.tsx"),route("/roles/$roleSlug", "project/RoleDetailsBySlugPage/route-ssh.tsx"),route("/identities/$identityId", "project/IdentityDetailsByIDPage/route-ssh.tsx"),@@ -390,7 +385,6 @@ const secretScanningRoutes = route("/organizations/$orgId/projects/secret-scanniroute("/findings", "secret-scanning/SecretScanningFindingsPage/route.tsx"),route("/settings", "secret-scanning/SettingsPage/route.tsx"),route("/audit-logs", "project/AuditLogsPage/route-secret-scanning.tsx"),- route("/alerts", "project/AlertsPage/route-secret-scanning.tsx"),route("/access-management", "project/AccessControlPage/route-secret-scanning.tsx"),route("/app-connections", "project/AppConnectionsPage/route-secret-scanning.tsx"),route("/roles/$roleSlug", "project/RoleDetailsBySlugPage/route-secret-scanning.tsx"),@@ -409,7 +403,6 @@ const pamRoutes = route("/organizations/$orgId/pam", [route("/sessions", "pam/PamSessionsPage/route.tsx"),route("/approval-requests", "pam/PamApprovalRequestsPage/route.tsx"),route("/audit-logs", "project/AuditLogsPage/route-pam.tsx"),- route("/alerts", "project/AlertsPage/route-pam.tsx"),// Access Managementroute("/access-management", "project/AccessControlPage/route-pam.tsx"),@@ -443,7 +436,6 @@ const organizationRoutes = route("/organizations/$orgId", [)]),route("/access-management", "organization/AccessManagementPage/route.tsx"),- route("/alerts", "organization/AlertsPage/route.tsx"),route("/audit-logs", "organization/AuditLogsPage/route.tsx"),route("/billing", "organization/BillingPage/route.tsx"),route("/secret-sharing", "organization/SecretSharingPage/SecretSharingRedirectRoute.tsx"),diff --git a/frontend/src/views/AlertsPage/AlertsPage.tsx b/frontend/src/views/AlertsPage/AlertsPage.tsxdeleted file mode 100644index 8e2be29b5c..0000000000--- a/frontend/src/views/AlertsPage/AlertsPage.tsx+++ /dev/null@@ -1,61 +0,0 @@-import { ComponentProps, useState } from "react";-import { Helmet } from "react-helmet";-import { Bell } from "lucide-react";--import { PageHeader, Tab, TabList, TabPanel, Tabs } from "@app/components/v2";-import { useScopeVariant } from "@app/hooks";--import { AlertsTable } from "./components/AlertsTable";-import { ChannelsTable } from "./components/channels/ChannelsTable";--type Props = {- projectId?: string;- scopeName?: string;- scope: ComponentProps<typeof PageHeader>["scope"];-};--enum AlertsPageTab {- Alerts = "alerts",- Channels = "channels"-}--export const AlertsPage = ({ projectId, scopeName, scope }: Props) => {- const scopeVariant = useScopeVariant();- const tabVariant = scopeVariant === "sub-org" ? "namespace" : scopeVariant;- const [selectedTab, setSelectedTab] = useState<string>(AlertsPageTab.Alerts);-- return (- <div className="h-full bg-bunker-800">- <Helmet>- <title>Infisical | Alerts</title>- <link rel="icon" href="/infisical.ico" />- </Helmet>- <div className="flex w-full justify-center bg-bunker-800 pb-6 text-white">- <div className="w-full max-w-8xl">- <PageHeader- scope={scope}- icon={Bell}- title="Alerts"- description="Route resource events to recipients over your channels. An alert covers a bound resource, or every resource matching a filter."- />- <Tabs value={selectedTab} onValueChange={setSelectedTab}>- <TabList>- <Tab variant={tabVariant} value={AlertsPageTab.Alerts}>- Alerts- </Tab>- <Tab variant={tabVariant} value={AlertsPageTab.Channels}>- Channels- </Tab>- </TabList>- <TabPanel value={AlertsPageTab.Alerts}>- <AlertsTable projectId={projectId} scopeName={scopeName} />- </TabPanel>- <TabPanel value={AlertsPageTab.Channels}>- <ChannelsTable projectId={projectId} />- </TabPanel>- </Tabs>- </div>- </div>- </div>- );-};diff --git a/frontend/src/views/AlertsPage/components/AlertRow.tsx b/frontend/src/views/AlertsPage/components/AlertRow.tsxdeleted file mode 100644index 0e5e3a6063..0000000000--- a/frontend/src/views/AlertsPage/components/AlertRow.tsx+++ /dev/null@@ -1,110 +0,0 @@-import { Ellipsis, KeyRoundIcon, PencilIcon, Trash2Icon } from "lucide-react";--import {- Badge,- DropdownMenu,- DropdownMenuContent,- DropdownMenuItem,- DropdownMenuTrigger,- IconButton,- TableCell,- TableRow-} from "@app/components/v3";-import {- ALERT_EVENT_TYPE_LABELS,- ALERT_RESOURCE_TYPE_LABELS,- AlertEventType,- AlertResourceType,- TAlert,- TAlertChannelSummary-} from "@app/hooks/api/alerts";--import { getChannelIcon, LucideIcon } from "./channelIcons";--const RESOURCE_ICONS: Record<string, LucideIcon> = {- [AlertResourceType.IdentityCredential]: KeyRoundIcon-};--type Props = {- alert: TAlert;- onEdit: (alert: TAlert) => void;- onDelete: (alert: TAlert) => void;-};--export const AlertRow = ({ alert, onEdit, onDelete }: Props) => {- const ResourceIcon = RESOURCE_ICONS[alert.resourceType] ?? KeyRoundIcon;- const resourceLabel =- ALERT_RESOURCE_TYPE_LABELS[alert.resourceType as AlertResourceType] ?? alert.resourceType;- const eventLabel = ALERT_EVENT_TYPE_LABELS[alert.eventType as AlertEventType] ?? alert.eventType;- const condition = alert.condition?.alertBefore- ? `Alert before ${alert.condition.alertBefore}`- : "On event";-- const renderChannel = (channel: TAlertChannelSummary) => {- const Icon = getChannelIcon(channel.channelType);- return (- <Badge- key={channel.id}- variant="neutral"- isTruncatable- className={`max-w-[10rem] ${channel.enabled ? "" : "opacity-40"}`}- >- <Icon className="size-3" />- <span>{channel.name}</span>- </Badge>- );- };-- return (- <TableRow>- <TableCell>- <span className="text-foreground">{alert.name}</span>- </TableCell>- <TableCell>- <div className="flex items-center gap-2">- <ResourceIcon className="size-4 shrink-0 text-muted" />- <span className="text-foreground">{resourceLabel}</span>- </div>- </TableCell>- <TableCell>- <Badge variant="warning">{eventLabel}</Badge>- </TableCell>- <TableCell>{condition}</TableCell>- <TableCell>- {alert.channels.length ? (- <div className="flex flex-wrap items-center gap-1">- {alert.channels.map(renderChannel)}- </div>- ) : (- <span className="text-muted">—</span>- )}- </TableCell>- <TableCell>- <Badge variant={alert.enabled ? "success" : "neutral"}>- {alert.enabled ? "Enabled" : "Disabled"}- </Badge>- </TableCell>- <TableCell>- <div className="flex items-center justify-end gap-2">- <DropdownMenu>- <DropdownMenuTrigger asChild>- <IconButton aria-label="Options" variant="ghost" size="xs">- <Ellipsis />- </IconButton>- </DropdownMenuTrigger>- <DropdownMenuContent sideOffset={2} align="end">- <DropdownMenuItem onClick={() => onEdit(alert)}>- <PencilIcon />- Edit Alert- </DropdownMenuItem>- <DropdownMenuItem variant="danger" onClick={() => onDelete(alert)}>- <Trash2Icon />- Delete Alert- </DropdownMenuItem>- </DropdownMenuContent>- </DropdownMenu>- </div>- </TableCell>- </TableRow>- );-};diff --git a/frontend/src/views/AlertsPage/components/AlertsTable.tsx b/frontend/src/views/AlertsPage/components/AlertsTable.tsxdeleted file mode 100644index 5573494345..0000000000--- a/frontend/src/views/AlertsPage/components/AlertsTable.tsx+++ /dev/null@@ -1,210 +0,0 @@-import { useMemo } from "react";-import { PlusIcon, SearchIcon } from "lucide-react";--import { VariablePermissionCan } from "@app/components/permissions";-import {- Button,- Card,- CardAction,- CardContent,- CardDescription,- CardHeader,- CardTitle,- Empty,- EmptyDescription,- EmptyHeader,- EmptyTitle,- InputGroup,- InputGroupAddon,- InputGroupInput,- Pagination,- Skeleton,- Table,- TableBody,- TableCell,- TableHead,- TableHeader,- TableRow-} from "@app/components/v3";-import { OrgPermissionSubjects, ProjectPermissionSub } from "@app/context";-import { OrgPermissionIdentityActions } from "@app/context/OrgPermissionContext/types";-import { ProjectPermissionIdentityActions } from "@app/context/ProjectPermissionContext/types";-import { usePagination, usePopUp, useResetPageHelper, useScopeVariant } from "@app/hooks";-import { AlertResourceType, TAlert, useListAlerts } from "@app/hooks/api/alerts";--import { AddAlertModal } from "./AddAlertModal";-import { AlertRow } from "./AlertRow";-import { DeleteAlertModal } from "./DeleteAlertModal";--type Props = {- projectId?: string;- scopeName?: string;-};--export const AlertsTable = ({ projectId, scopeName }: Props) => {- const isProjectView = Boolean(projectId);- const scopeVariant = useScopeVariant();-- const { isPending, data: allAlerts = [] } = useListAlerts({- resourceType: AlertResourceType.IdentityCredential,- ...(projectId ? { projectId } : {})- });-- const { popUp, handlePopUpOpen, handlePopUpToggle } = usePopUp([- "addAlert",- "editAlert",- "deleteAlert"- ] as const);-- const { search, setSearch, setPage, page, perPage, setPerPage, offset } = usePagination("", {- initPerPage: 20- });-- const filteredAlerts = useMemo(- () =>- allAlerts- .filter((alert) => (projectId ? alert.projectId === projectId : alert.projectId === null))- .filter((alert) => {- const value = search.trim().toLowerCase();- if (!value) return true;- return (- alert.name.toLowerCase().includes(value) ||- (alert.description ?? "").toLowerCase().includes(value)- );- }),- [allAlerts, projectId, search]- );-- useResetPageHelper({ totalCount: filteredAlerts.length, offset, setPage });-- const visibleAlerts = filteredAlerts.slice(offset, perPage * page);-- return (- <>- <Card>- <CardHeader>- <CardTitle>Alerts</CardTitle>- <CardDescription>- Configure notifications for resource events such as expiring identity credentials.- </CardDescription>- <CardAction>- <VariablePermissionCan- type={isProjectView ? "project" : "org"}- I={- isProjectView- ? ProjectPermissionIdentityActions.Edit- : OrgPermissionIdentityActions.Edit- }- a={isProjectView ? ProjectPermissionSub.Identity : OrgPermissionSubjects.Identity}- >- {(isAllowed) => (- <Button- variant={scopeVariant}- onClick={() => handlePopUpOpen("addAlert")}- isDisabled={!isAllowed}- >- <PlusIcon />- Add Alert- </Button>- )}- </VariablePermissionCan>- </CardAction>- </CardHeader>- <CardContent>- <div className="flex items-center gap-2">- <InputGroup className="flex-1">- <InputGroupAddon align="inline-start">- <SearchIcon />- </InputGroupAddon>- <InputGroupInput- placeholder="Search alerts..."- value={search}- onChange={(e) => setSearch(e.target.value)}- />- </InputGroup>- </div>- <div className="mt-4">- {!isPending && !filteredAlerts.length ? (- <Empty className="border">- <EmptyHeader>- <EmptyTitle>- {allAlerts.length ? "No alerts match search" : "No alerts have been configured"}- </EmptyTitle>- <EmptyDescription>- {allAlerts.length- ? "Adjust your search to view alerts."- : "Add an alert to start receiving notifications."}- </EmptyDescription>- </EmptyHeader>- </Empty>- ) : (- <>- <Table>- <TableHeader>- <TableRow>- <TableHead>Name</TableHead>- <TableHead>Resource</TableHead>- <TableHead>Event</TableHead>- <TableHead>Condition</TableHead>- <TableHead>Channels</TableHead>- <TableHead>Status</TableHead>- <TableHead className="w-5" />- </TableRow>- </TableHeader>- <TableBody>- {isPending &&- Array.from({ length: 5 }).map((_, i) => (- <TableRow key={`skeleton-${i + 1}`}>- {Array.from({ length: 7 }).map((__, j) => (- <TableCell key={`skeleton-cell-${i + 1}-${j + 1}`}>- <Skeleton className="h-4 w-full" />- </TableCell>- ))}- </TableRow>- ))}- {!isPending &&- visibleAlerts.map((alert) => (- <AlertRow- key={alert.id}- alert={alert}- onEdit={(data) => handlePopUpOpen("editAlert", data)}- onDelete={(data) => handlePopUpOpen("deleteAlert", data)}- />- ))}- </TableBody>- </Table>- {!isPending && (- <Pagination- count={filteredAlerts.length}- page={page}- perPage={perPage}- onChangePage={setPage}- onChangePerPage={setPerPage}- />- )}- </>- )}- </div>- </CardContent>- </Card>- <AddAlertModal- isOpen={popUp.addAlert.isOpen}- onOpenChange={(isOpen) => handlePopUpToggle("addAlert", isOpen)}- projectId={projectId}- scopeName={scopeName}- />- <AddAlertModal- isOpen={popUp.editAlert.isOpen}- onOpenChange={(isOpen) => handlePopUpToggle("editAlert", isOpen)}- projectId={projectId}- scopeName={scopeName}- alert={popUp.editAlert.data as TAlert | undefined}- />- <DeleteAlertModal- isOpen={popUp.deleteAlert.isOpen}- onOpenChange={(isOpen) => handlePopUpToggle("deleteAlert", isOpen)}- alert={popUp.deleteAlert.data as TAlert | undefined}- />- </>- );-};diff --git a/frontend/src/views/AlertsPage/components/DeleteAlertModal.tsx b/frontend/src/views/AlertsPage/components/DeleteAlertModal.tsxdeleted file mode 100644index 6bfafc1b75..0000000000--- a/frontend/src/views/AlertsPage/components/DeleteAlertModal.tsx+++ /dev/null@@ -1,66 +0,0 @@-import { Trash2Icon } from "lucide-react";--import { createNotification } from "@app/components/notifications";-import {- AlertDialog,- AlertDialogCancel,- AlertDialogContent,- AlertDialogDescription,- AlertDialogFooter,- AlertDialogHeader,- AlertDialogMedia,- AlertDialogTitle,- Button-} from "@app/components/v3";-import { TAlert, useDeleteAlert } from "@app/hooks/api/alerts";--type Props = {- alert?: TAlert;- isOpen: boolean;- onOpenChange: (isOpen: boolean) => void;-};--export const DeleteAlertModal = ({ isOpen, onOpenChange, alert }: Props) => {- const deleteAlert = useDeleteAlert();-- if (!alert) return null;-- const handleDelete = async () => {- if (deleteAlert.isPending) return;- try {- await deleteAlert.mutateAsync({ alertId: alert.id, projectId: alert.projectId });- createNotification({ text: `Successfully deleted alert "${alert.name}"`, type: "success" });- onOpenChange(false);- } catch (err) {- const message =- (err as { response?: { data?: { message?: string } } })?.response?.data?.message ??- "Failed to delete alert";- createNotification({ text: message, type: "error" });- }- };-- return (- <AlertDialog open={isOpen} onOpenChange={onOpenChange}>- <AlertDialogContent>- <AlertDialogHeader>- <AlertDialogMedia>- <Trash2Icon />- </AlertDialogMedia>- <AlertDialogTitle>Are you sure you want to delete {alert.name}?</AlertDialogTitle>- <AlertDialogDescription>This action is irreversible.</AlertDialogDescription>- </AlertDialogHeader>- <AlertDialogFooter>- <AlertDialogCancel>Cancel</AlertDialogCancel>- <Button- variant="danger"- size="sm"- isPending={deleteAlert.isPending}- onClick={handleDelete}- >- Delete- </Button>- </AlertDialogFooter>- </AlertDialogContent>- </AlertDialog>- );-};diff --git a/frontend/src/views/AlertsPage/components/channels/AddChannelModal.tsx b/frontend/src/views/AlertsPage/components/channels/AddChannelModal.tsxdeleted file mode 100644index fd4b3a9f72..0000000000--- a/frontend/src/views/AlertsPage/components/channels/AddChannelModal.tsx+++ /dev/null@@ -1,39 +0,0 @@-import { Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle } from "@app/components/v3";-import { TAlertChannel } from "@app/hooks/api/alertChannels";--import { ChannelForm } from "./ChannelForm";--type Props = {- isOpen: boolean;- onOpenChange: (isOpen: boolean) => void;- projectId?: string;- channel?: TAlertChannel;- onCreated?: (channelId: string) => void;-};--export const AddChannelModal = ({ isOpen, onOpenChange, projectId, channel, onCreated }: Props) => {- const isEditing = Boolean(channel);-- return (- <Sheet open={isOpen} onOpenChange={onOpenChange}>- <SheetContent className="flex h-full max-h-full flex-col gap-y-0 sm:max-w-xl">- <SheetHeader className="border-b">- <SheetTitle>{isEditing ? "Edit Channel" : "Add Channel"}</SheetTitle>- <SheetDescription>A delivery destination that any alert can reference.</SheetDescription>- </SheetHeader>- {isOpen && (- <ChannelForm- key={channel?.id ?? "new"}- projectId={projectId}- channel={channel}- onComplete={(channelId) => {- onCreated?.(channelId);- onOpenChange(false);- }}- onCancel={() => onOpenChange(false)}- />- )}- </SheetContent>- </Sheet>- );-};diff --git a/frontend/src/views/AlertsPage/components/channels/ChannelForm.tsx b/frontend/src/views/AlertsPage/components/channels/ChannelForm.tsxdeleted file mode 100644index cd23750557..0000000000--- a/frontend/src/views/AlertsPage/components/channels/ChannelForm.tsx+++ /dev/null@@ -1,362 +0,0 @@-import { useState } from "react";-import { Controller, FormProvider, useForm } from "react-hook-form";-import { zodResolver } from "@hookform/resolvers/zod";-import { AlertTriangleIcon, HashIcon, LinkIcon, MailIcon } from "lucide-react";--import { createNotification } from "@app/components/notifications";-import {- Button,- Checkbox,- Field,- FieldContent,- FieldDescription,- FieldError,- FieldLabel,- Input,- Select,- SelectContent,- SelectItem,- SelectTrigger,- SelectValue,- SheetFooter,- Switch-} from "@app/components/v3";-import { useScopeVariant } from "@app/hooks";-import {- buildChannelFormSchema,- TAlertChannel,- TAlertChannelForm,- TAlertChannelRecipientForm,- useCreateAlertChannel,- useUpdateAlertChannel-} from "@app/hooks/api/alertChannels";-import { ALERT_CHANNEL_TYPE_LABELS, AlertChannelType } from "@app/hooks/api/alerts";--import { ChannelRecipientsField } from "./ChannelRecipientsField";--const CHANNEL_TYPES: { type: AlertChannelType; icon: typeof MailIcon }[] = [- { type: AlertChannelType.Email, icon: MailIcon },- { type: AlertChannelType.Slack, icon: HashIcon },- { type: AlertChannelType.Webhook, icon: LinkIcon },- { type: AlertChannelType.PagerDuty, icon: AlertTriangleIcon }-];--const DIRECTED_TYPES = new Set<AlertChannelType>([AlertChannelType.Email]);--type Props = {- projectId?: string;- channel?: TAlertChannel;- onComplete: (channelId: string) => void;- onCancel: () => void;-};--const buildDefaults = (channel?: TAlertChannel): Partial<TAlertChannelForm> => {- if (!channel) {- return { name: "", channelType: AlertChannelType.Email, enabled: true, recipients: [] };- }- const config = channel.config ?? {};- return {- name: channel.name,- channelType: channel.channelType,- enabled: channel.enabled,- url: (config.url as string) ?? "",- webhookUrl: "",- signingSecret: "",- integrationKey: "",- recipients: channel.recipients.map((r) => ({- principalType: r.principalType,- principalId: r.principalId,- label: r.principalId- })) as TAlertChannelRecipientForm[]- };-};--export const ChannelForm = ({ projectId, channel, onComplete, onCancel }: Props) => {- const isEditing = Boolean(channel);- const scopeVariant = useScopeVariant();- const createChannel = useCreateAlertChannel();- const updateChannel = useUpdateAlertChannel();- const [clearSigningSecret, setClearSigningSecret] = useState(false);-- const formMethods = useForm<TAlertChannelForm>({- resolver: zodResolver(buildChannelFormSchema(isEditing)),- defaultValues: buildDefaults(channel) as TAlertChannelForm- });- const {- control,- register,- handleSubmit,- watch,- formState: { errors, isSubmitting }- } = formMethods;-- const channelType = watch("channelType");- const hasSigningSecret = Boolean(channel?.config?.hasSigningSecret);-- const buildConfig = (data: TAlertChannelForm): Record<string, unknown> => {- switch (data.channelType) {- case AlertChannelType.Slack:- // Blank on edit => omit so the server keeps the existing URL.- return data.webhookUrl ? { webhookUrl: data.webhookUrl } : {};- case AlertChannelType.Webhook: {- const config: Record<string, unknown> = { url: data.url };- if (clearSigningSecret) config.signingSecret = "";- else if (data.signingSecret) config.signingSecret = data.signingSecret;- return config;- }- case AlertChannelType.PagerDuty:- return data.integrationKey ? { integrationKey: data.integrationKey } : {};- case AlertChannelType.Email:- default:- return {};- }- };-- const onSubmit = async (data: TAlertChannelForm) => {- const recipients = DIRECTED_TYPES.has(data.channelType)- ? (data.recipients ?? []).map((r) => ({- principalType: r.principalType,- principalId: r.principalId- }))- : [];- try {- if (isEditing && channel) {- const updated = await updateChannel.mutateAsync({- channelId: channel.id,- projectId: channel.projectId,- name: data.name,- enabled: data.enabled,- config: buildConfig(data),- ...(DIRECTED_TYPES.has(data.channelType) ? { recipients } : {})- });- createNotification({ text: "Successfully updated channel", type: "success" });- onComplete(updated.id);- } else {- const created = await createChannel.mutateAsync({- name: data.name,- channelType: data.channelType,- enabled: data.enabled,- config: buildConfig(data),- projectId: projectId ?? null,- ...(DIRECTED_TYPES.has(data.channelType) ? { recipients } : {})- });- createNotification({ text: "Successfully created channel", type: "success" });- onComplete(created.id);- }- } catch (err) {- const message =- (err as { response?: { data?: { message?: string } } })?.response?.data?.message ??- "Failed to save channel";- createNotification({ text: message, type: "error" });- }- };-- return (- <FormProvider {...formMethods}>- <form- onSubmit={handleSubmit(onSubmit)}- className="flex min-h-0 flex-1 flex-col overflow-y-auto"- >- <div className="flex flex-col gap-6 p-4">- <Field>- <FieldLabel htmlFor="channel-name">Name</FieldLabel>- <FieldContent>- <Input- id="channel-name"- autoFocus- placeholder="#sre-alerts"- isError={Boolean(errors.name)}- {...register("name")}- />- <FieldDescription>Shown when picking a channel on an alert.</FieldDescription>- <FieldError errors={[errors.name]} />- </FieldContent>- </Field>-- <Controller- control={control}- name="channelType"- render={({ field }) => (- <Field>- <FieldLabel>Channel type</FieldLabel>- <FieldContent>- <Select value={field.value} onValueChange={field.onChange} disabled={isEditing}>- <SelectTrigger className="w-full">- <SelectValue placeholder="Select a channel type" />- </SelectTrigger>- <SelectContent position="popper">- {CHANNEL_TYPES.map(({ type, icon: Icon }) => (- <SelectItem key={type} value={type}>- <span className="flex items-center gap-2">- <Icon className="size-4 text-muted" />- {ALERT_CHANNEL_TYPE_LABELS[type]}- </span>- </SelectItem>- ))}- </SelectContent>- </Select>- </FieldContent>- </Field>- )}- />-- {channelType === AlertChannelType.Email && (- <ChannelRecipientsField projectId={projectId} />- )}-- {channelType === AlertChannelType.Slack && (- <Controller- control={control}- name="webhookUrl"- render={({ field, fieldState: { error } }) => (- <Field>- <FieldLabel>Incoming webhook URL</FieldLabel>- <FieldContent>- <Input- placeholder="https://hooks.slack.com/services/T0/B0/xxxx"- isError={Boolean(error)}- value={(field.value as string) ?? ""}- onChange={field.onChange}- onBlur={field.onBlur}- />- {isEditing && (- <FieldDescription>- Existing URL is hidden; leave blank to keep it.- </FieldDescription>- )}- <FieldError errors={[error]} />- </FieldContent>- </Field>- )}- />- )}-- {channelType === AlertChannelType.Webhook && (- <div className="flex flex-col gap-4">- <Controller- control={control}- name="url"- render={({ field, fieldState: { error } }) => (- <Field>- <FieldLabel>Webhook URL</FieldLabel>- <FieldContent>- <Input- placeholder="https://api.example.com/webhook"- isError={Boolean(error)}- value={(field.value as string) ?? ""}- onChange={field.onChange}- onBlur={field.onBlur}- />- <FieldError errors={[error]} />- </FieldContent>- </Field>- )}- />- <Controller- control={control}- name="signingSecret"- render={({ field, fieldState: { error } }) => (- <Field>- <FieldLabel>- Signing secret <span className="text-mineshaft-400">(optional)</span>- </FieldLabel>- <FieldContent>- <Input- type="password"- placeholder="Enter signing secret..."- isError={Boolean(error)}- disabled={clearSigningSecret}- value={(field.value as string) ?? ""}- onChange={field.onChange}- onBlur={field.onBlur}- />- {isEditing && hasSigningSecret && (- <div className="mt-1 flex items-center gap-2 text-xs text-muted">- <Checkbox- id="clear-signing-secret"- isChecked={clearSigningSecret}- onCheckedChange={(checked) => setClearSigningSecret(Boolean(checked))}- >- Remove the existing signing secret- </Checkbox>- </div>- )}- <FieldDescription>- Adds an x-infisical-signature header so receivers can verify payloads.- {isEditing && " Leave blank to keep the current secret."}- </FieldDescription>- <FieldError errors={[error]} />- </FieldContent>- </Field>- )}- />- </div>- )}-- {channelType === AlertChannelType.PagerDuty && (- <Controller- control={control}- name="integrationKey"- render={({ field, fieldState: { error } }) => (- <Field>- <FieldLabel>Integration key</FieldLabel>- <FieldContent>- <Input- placeholder="32-character hex integration key"- isError={Boolean(error)}- value={(field.value as string) ?? ""}- onChange={field.onChange}- onBlur={field.onBlur}- />- {isEditing && (- <FieldDescription>- Existing key is hidden; leave blank to keep it.- </FieldDescription>- )}- <FieldError errors={[error]} />- </FieldContent>- </Field>- )}- />- )}- </div>-- <SheetFooter className="sticky bottom-0 border-t bg-popover">- <div className="flex w-full items-center justify-between">- <div className="flex items-center gap-2">- <Button- type="submit"- variant={scopeVariant}- isPending={isSubmitting}- isDisabled={isSubmitting}- >- {isEditing ? "Update Channel" : "Add Channel"}- </Button>- <Button type="button" variant="outline" onClick={onCancel} isDisabled={isSubmitting}>- Cancel- </Button>- </div>- <Controller- control={control}- name="enabled"- render={({ field }) => (- <FieldLabel- htmlFor="channel-enabled"- className="flex cursor-pointer items-center gap-2 text-sm text-muted"- >- Enabled- <Switch- id="channel-enabled"- variant={scopeVariant}- checked={field.value}- onCheckedChange={field.onChange}- />- </FieldLabel>- )}- />- </div>- </SheetFooter>- </form>- </FormProvider>- );-};diff --git a/frontend/src/views/AlertsPage/components/channels/ChannelRecipientsField.tsx b/frontend/src/views/AlertsPage/components/channels/ChannelRecipientsField.tsxdeleted file mode 100644index 3d4f20ace1..0000000000--- a/frontend/src/views/AlertsPage/components/channels/ChannelRecipientsField.tsx+++ /dev/null@@ -1,178 +0,0 @@-import { useMemo, useState } from "react";-import { Controller, useFormContext } from "react-hook-form";--import {- Field,- FieldContent,- FieldDescription,- FieldError,- FieldLabel,- FilterableSelect-} from "@app/components/v3";-import { useOrganization } from "@app/context";-import {- useGetOrganizationGroups,- useGetOrgUsers,- useGetWorkspaceUsers,- useListWorkspaceGroups-} from "@app/hooks/api";-import { TAlertChannelForm, TAlertChannelRecipientForm } from "@app/hooks/api/alertChannels";-import { ALERT_PRINCIPAL_TYPE_LABELS, AlertPrincipalType } from "@app/hooks/api/alerts";--type RecipientOption = {- principalType: AlertPrincipalType;- principalId: string;- label: string;-};--type PrincipalSource = {- userOptions: RecipientOption[];- groupOptions: RecipientOption[];- labelLookup: Map<string, string>;-};--type MemberLike = {- user?: { id: string; username?: string; firstName?: string; lastName?: string; email?: string };-};--const toUserOptions = (members: MemberLike[], lookup: Map<string, string>): RecipientOption[] =>- members- .filter((member) => member.user?.id)- .map((member) => {- const user = member.user!;- const label =- user.username ||- [user.firstName, user.lastName].filter(Boolean).join(" ") ||- user.email ||- user.id;- lookup.set(`${AlertPrincipalType.User}:${user.id}`, label);- return { principalType: AlertPrincipalType.User, principalId: user.id, label };- });--const toGroupOptions = (- groups: { id: string; name: string }[],- lookup: Map<string, string>-): RecipientOption[] =>- groups.map((group) => {- lookup.set(`${AlertPrincipalType.Group}:${group.id}`, group.name);- return { principalType: AlertPrincipalType.Group, principalId: group.id, label: group.name };- });--const RecipientsSelect = ({ userOptions, groupOptions, labelLookup }: PrincipalSource) => {- const { control } = useFormContext<TAlertChannelForm>();- const [inputValue, setInputValue] = useState("");-- const groupedOptions = useMemo(- () => [- { label: "Users", options: userOptions },- { label: "Groups", options: groupOptions }- ],- [userOptions, groupOptions]- );-- const toOption = (recipient: TAlertChannelRecipientForm): RecipientOption => {- const resolved = labelLookup.get(`${recipient.principalType}:${recipient.principalId}`);- return {- principalType: recipient.principalType,- principalId: recipient.principalId,- label: resolved ?? recipient.label ?? recipient.principalId- };- };-- return (- <Controller- control={control}- name="recipients"- render={({ field, fieldState: { error } }) => {- const value = ((field.value as TAlertChannelRecipientForm[] | undefined) ?? []).map(- toOption- );-- return (- <Field>- <FieldLabel>Recipients</FieldLabel>- <FieldContent>- <FilterableSelect- isMulti- closeMenuOnSelect={false}- placeholder="Add users or groups..."- options={inputValue.trim() ? groupedOptions : []}- value={value}- isError={Boolean(error)}- inputValue={inputValue}- onInputChange={(next) => setInputValue(next)}- noOptionsMessage={() =>- inputValue.trim()- ? "No matching users or groups"- : "Type to search users or groups"- }- getOptionValue={(option: RecipientOption) =>- `${option.principalType}:${option.principalId}`- }- getOptionLabel={(option: RecipientOption) =>- `${option.label} (${ALERT_PRINCIPAL_TYPE_LABELS[option.principalType]})`- }- onChange={(newValue) => {- field.onChange(- (newValue as RecipientOption[]).map((option) => ({- principalType: option.principalType,- principalId: option.principalId,- label: option.label- }))- );- }}- />- <FieldDescription>- This channel delivers to these recipients. Add users or groups.- </FieldDescription>- <FieldError errors={[error]} />- </FieldContent>- </Field>- );- }}- />- );-};--const OrgRecipients = () => {- const { currentOrg } = useOrganization();- const { data: orgUsers = [] } = useGetOrgUsers(currentOrg.id);- const { data: orgGroups = [] } = useGetOrganizationGroups(currentOrg.id);-- const source = useMemo<PrincipalSource>(() => {- const labelLookup = new Map<string, string>();- return {- userOptions: toUserOptions(orgUsers, labelLookup),- groupOptions: toGroupOptions(orgGroups, labelLookup),- labelLookup- };- }, [orgUsers, orgGroups]);-- return <RecipientsSelect {...source} />;-};--const ProjectRecipients = ({ projectId }: { projectId: string }) => {- const { data: projectUsers = [] } = useGetWorkspaceUsers(projectId, true);- const { data: projectGroups = [] } = useListWorkspaceGroups(projectId);-- const source = useMemo<PrincipalSource>(() => {- const labelLookup = new Map<string, string>();- return {- userOptions: toUserOptions(projectUsers, labelLookup),- groupOptions: toGroupOptions(- projectGroups.map((membership) => ({- id: membership.group.id,- name: membership.group.name- })),- labelLookup- ),- labelLookup- };- }, [projectUsers, projectGroups]);-- return <RecipientsSelect {...source} />;-};--export const ChannelRecipientsField = ({ projectId }: { projectId?: string }) => {- return projectId ? <ProjectRecipients projectId={projectId} /> : <OrgRecipients />;-};diff --git a/frontend/src/views/AlertsPage/components/channels/ChannelRow.tsx b/frontend/src/views/AlertsPage/components/channels/ChannelRow.tsxdeleted file mode 100644index dd76364442..0000000000--- a/frontend/src/views/AlertsPage/components/channels/ChannelRow.tsx+++ /dev/null@@ -1,70 +0,0 @@-import { Ellipsis, PencilIcon, Trash2Icon } from "lucide-react";--import {- DropdownMenu,- DropdownMenuContent,- DropdownMenuItem,- DropdownMenuTrigger,- IconButton,- TableCell,- TableRow-} from "@app/components/v3";-import { TAlertChannel } from "@app/hooks/api/alertChannels";-import { ALERT_CHANNEL_TYPE_LABELS } from "@app/hooks/api/alerts";--import { getChannelIcon } from "../channelIcons";--type Props = {- channel: TAlertChannel;- onEdit: (channel: TAlertChannel) => void;- onDelete: (channel: TAlertChannel) => void;-};--export const ChannelRow = ({ channel, onEdit, onDelete }: Props) => {- const Icon = getChannelIcon(channel.channelType);- const typeLabel = ALERT_CHANNEL_TYPE_LABELS[channel.channelType] ?? channel.channelType;-- return (- <TableRow>- <TableCell>- <span className={channel.enabled ? "text-foreground" : "text-muted"}>{channel.name}</span>- </TableCell>- <TableCell>- <div className="flex items-center gap-2 text-muted">- <Icon className="size-4 shrink-0" />- <span className="text-foreground">{typeLabel}</span>- </div>- </TableCell>- <TableCell>- {channel.usageCount ? (- <span className="text-warning">- {channel.usageCount} alert{channel.usageCount === 1 ? "" : "s"}- </span>- ) : (- <span className="text-muted">Unused</span>- )}- </TableCell>- <TableCell>- <div className="flex items-center justify-end gap-2">- <DropdownMenu>- <DropdownMenuTrigger asChild>- <IconButton aria-label="Options" variant="ghost" size="xs">- <Ellipsis />- </IconButton>- </DropdownMenuTrigger>- <DropdownMenuContent sideOffset={2} align="end">- <DropdownMenuItem onClick={() => onEdit(channel)}>- <PencilIcon />- Edit Channel- </DropdownMenuItem>- <DropdownMenuItem variant="danger" onClick={() => onDelete(channel)}>- <Trash2Icon />- Delete Channel- </DropdownMenuItem>- </DropdownMenuContent>- </DropdownMenu>- </div>- </TableCell>- </TableRow>- );-};diff --git a/frontend/src/views/AlertsPage/components/channels/ChannelsTable.tsx b/frontend/src/views/AlertsPage/components/channels/ChannelsTable.tsxdeleted file mode 100644index 79efbb45e8..0000000000--- a/frontend/src/views/AlertsPage/components/channels/ChannelsTable.tsx+++ /dev/null@@ -1,196 +0,0 @@-import { useMemo } from "react";-import { PlusIcon, SearchIcon } from "lucide-react";--import { VariablePermissionCan } from "@app/components/permissions";-import {- Button,- Card,- CardAction,- CardContent,- CardDescription,- CardHeader,- CardTitle,- Empty,- EmptyDescription,- EmptyHeader,- EmptyTitle,- InputGroup,- InputGroupAddon,- InputGroupInput,- Pagination,- Skeleton,- Table,- TableBody,- TableCell,- TableHead,- TableHeader,- TableRow-} from "@app/components/v3";-import { OrgPermissionSubjects, ProjectPermissionSub } from "@app/context";-import { OrgPermissionActions } from "@app/context/OrgPermissionContext/types";-import { ProjectPermissionActions } from "@app/context/ProjectPermissionContext/types";-import { usePagination, usePopUp, useResetPageHelper, useScopeVariant } from "@app/hooks";-import { TAlertChannel, useListAlertChannels } from "@app/hooks/api/alertChannels";--import { AddChannelModal } from "./AddChannelModal";-import { ChannelRow } from "./ChannelRow";-import { DeleteChannelModal } from "./DeleteChannelModal";--type Props = {- projectId?: string;-};--export const ChannelsTable = ({ projectId }: Props) => {- const isProjectView = Boolean(projectId);- const scopeVariant = useScopeVariant();-- const { isPending, data: allChannels = [] } = useListAlertChannels(- projectId ? { projectId } : {}- );-- const { popUp, handlePopUpOpen, handlePopUpToggle } = usePopUp([- "addChannel",- "editChannel",- "deleteChannel"- ] as const);-- const { search, setSearch, setPage, page, perPage, setPerPage, offset } = usePagination("", {- initPerPage: 20- });-- const filteredChannels = useMemo(- () =>- allChannels.filter((channel) => {- const value = search.trim().toLowerCase();- if (!value) return true;- return channel.name.toLowerCase().includes(value);- }),- [allChannels, search]- );-- useResetPageHelper({ totalCount: filteredChannels.length, offset, setPage });-- const visibleChannels = filteredChannels.slice(offset, perPage * page);-- return (- <>- <Card>- <CardHeader>- <CardTitle>Channels</CardTitle>- <CardDescription>- Reusable delivery destinations. Create a channel once, then attach it to any alert.- </CardDescription>- <CardAction>- <VariablePermissionCan- type={isProjectView ? "project" : "org"}- I={isProjectView ? ProjectPermissionActions.Create : OrgPermissionActions.Create}- a={isProjectView ? ProjectPermissionSub.Settings : OrgPermissionSubjects.Settings}- >- {(isAllowed) => (- <Button- variant={scopeVariant}- onClick={() => handlePopUpOpen("addChannel")}- isDisabled={!isAllowed}- >- <PlusIcon />- Add Channel- </Button>- )}- </VariablePermissionCan>- </CardAction>- </CardHeader>- <CardContent>- <div className="flex items-center gap-2">- <InputGroup className="flex-1">- <InputGroupAddon align="inline-start">- <SearchIcon />- </InputGroupAddon>- <InputGroupInput- placeholder="Search channels..."- value={search}- onChange={(e) => setSearch(e.target.value)}- />- </InputGroup>- </div>- <div className="mt-4">- {!isPending && !filteredChannels.length ? (- <Empty className="border">- <EmptyHeader>- <EmptyTitle>- {allChannels.length- ? "No channels match search"- : "No channels have been created"}- </EmptyTitle>- <EmptyDescription>- {allChannels.length- ? "Adjust your search to view channels."- : "Add a channel to route alert notifications."}- </EmptyDescription>- </EmptyHeader>- </Empty>- ) : (- <>- <Table>- <TableHeader>- <TableRow>- <TableHead>Name</TableHead>- <TableHead>Type</TableHead>- <TableHead>Used by</TableHead>- <TableHead className="w-5" />- </TableRow>- </TableHeader>- <TableBody>- {isPending &&- Array.from({ length: 5 }).map((_, i) => (- <TableRow key={`skeleton-${i + 1}`}>- {Array.from({ length: 4 }).map((__, j) => (- <TableCell key={`skeleton-cell-${i + 1}-${j + 1}`}>- <Skeleton className="h-4 w-full" />- </TableCell>- ))}- </TableRow>- ))}- {!isPending &&- visibleChannels.map((channel) => (- <ChannelRow- key={channel.id}- channel={channel}- onEdit={(data) => handlePopUpOpen("editChannel", data)}- onDelete={(data) => handlePopUpOpen("deleteChannel", data)}- />- ))}- </TableBody>- </Table>- {!isPending && (- <Pagination- count={filteredChannels.length}- page={page}- perPage={perPage}- onChangePage={setPage}- onChangePerPage={setPerPage}- />- )}- </>- )}- </div>- </CardContent>- </Card>- <AddChannelModal- isOpen={popUp.addChannel.isOpen}- onOpenChange={(isOpen) => handlePopUpToggle("addChannel", isOpen)}- projectId={projectId}- />- <AddChannelModal- isOpen={popUp.editChannel.isOpen}- onOpenChange={(isOpen) => handlePopUpToggle("editChannel", isOpen)}- projectId={projectId}- channel={popUp.editChannel.data as TAlertChannel | undefined}- />- <DeleteChannelModal- isOpen={popUp.deleteChannel.isOpen}- onOpenChange={(isOpen) => handlePopUpToggle("deleteChannel", isOpen)}- channel={popUp.deleteChannel.data as TAlertChannel | undefined}- />- </>- );-};diff --git a/frontend/src/views/AlertsPage/components/channels/DeleteChannelModal.tsx b/frontend/src/views/AlertsPage/components/channels/DeleteChannelModal.tsxdeleted file mode 100644index 6e3507bcf2..0000000000--- a/frontend/src/views/AlertsPage/components/channels/DeleteChannelModal.tsx+++ /dev/null@@ -1,73 +0,0 @@-import { Trash2Icon } from "lucide-react";--import { createNotification } from "@app/components/notifications";-import {- AlertDialog,- AlertDialogCancel,- AlertDialogContent,- AlertDialogDescription,- AlertDialogFooter,- AlertDialogHeader,- AlertDialogMedia,- AlertDialogTitle,- Button-} from "@app/components/v3";-import { TAlertChannel, useDeleteAlertChannel } from "@app/hooks/api/alertChannels";--type Props = {- channel?: TAlertChannel;- isOpen: boolean;- onOpenChange: (isOpen: boolean) => void;-};--export const DeleteChannelModal = ({ isOpen, onOpenChange, channel }: Props) => {- const deleteChannel = useDeleteAlertChannel();-- if (!channel) return null;-- const handleDelete = async () => {- if (deleteChannel.isPending) return;- try {- await deleteChannel.mutateAsync({ channelId: channel.id, projectId: channel.projectId });- createNotification({- text: `Successfully deleted channel "${channel.name}"`,- type: "success"- });- onOpenChange(false);- } catch (err) {- const message =- (err as { response?: { data?: { message?: string } } })?.response?.data?.message ??- "Failed to delete channel";- createNotification({ text: message, type: "error" });- }- };-- const usage = channel.usageCount- ? `This channel is used by ${channel.usageCount} alert${channel.usageCount === 1 ? "" : "s"}; it will be detached from ${channel.usageCount === 1 ? "it" : "them"}.`- : "This action is irreversible.";-- return (- <AlertDialog open={isOpen} onOpenChange={onOpenChange}>- <AlertDialogContent>- <AlertDialogHeader>- <AlertDialogMedia>- <Trash2Icon />- </AlertDialogMedia>- <AlertDialogTitle>Are you sure you want to delete {channel.name}?</AlertDialogTitle>- <AlertDialogDescription>{usage}</AlertDialogDescription>- </AlertDialogHeader>- <AlertDialogFooter>- <AlertDialogCancel>Cancel</AlertDialogCancel>- <Button- variant="danger"- size="sm"- isPending={deleteChannel.isPending}- onClick={handleDelete}- >- Delete- </Button>- </AlertDialogFooter>- </AlertDialogContent>- </AlertDialog>- );-};diff --git a/frontend/src/views/AlertsPage/index.tsx b/frontend/src/views/AlertsPage/index.tsxdeleted file mode 100644index 269d75354f..0000000000--- a/frontend/src/views/AlertsPage/index.tsx+++ /dev/null@@ -1 +0,0 @@-export { AlertsPage } from "./AlertsPage";