Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix: addressed lint

Sheen Capadngan91651af29688
diff --git a/backend/src/ee/services/pam-resource/pam-resource-types.ts b/backend/src/ee/services/pam-resource/pam-resource-types.ts
index 75381f686a..61f0350aeb 100644
--- a/backend/src/ee/services/pam-resource/pam-resource-types.ts
+++ b/backend/src/ee/services/pam-resource/pam-resource-types.ts
@@ -1,3 +1,4 @@
+/* eslint-disable @typescript-eslint/no-duplicate-type-constituents */
import { z } from "zod";
import { OrderByDirection, TProjectPermission } from "@app/lib/types";
@@ -99,9 +100,7 @@ export type TPamAccount =
export type TPamAccountCredentials =
| TPostgresAccountCredentials
- // eslint-disable-next-line @typescript-eslint/no-duplicate-type-constituents
| TMySQLAccountCredentials
- // eslint-disable-next-line @typescript-eslint/no-duplicate-type-constituents
| TMsSQLAccountCredentials
| TSSHAccountCredentials
| TKubernetesAccountCredentials
diff --git a/backend/src/ee/services/pam-resource/shared/sql/sql-resource-types.ts b/backend/src/ee/services/pam-resource/shared/sql/sql-resource-types.ts
index 5061271b6a..4506db5941 100644
--- a/backend/src/ee/services/pam-resource/shared/sql/sql-resource-types.ts
+++ b/backend/src/ee/services/pam-resource/shared/sql/sql-resource-types.ts
@@ -1,3 +1,4 @@
+/* eslint-disable @typescript-eslint/no-duplicate-type-constituents */
import { TMsSQLAccountCredentials, TMsSQLResourceConnectionDetails } from "../../mssql/mssql-resource-types";
import { TMySQLAccountCredentials, TMySQLResourceConnectionDetails } from "../../mysql/mysql-resource-types";
import {
@@ -9,5 +10,5 @@ export type TSqlResourceConnectionDetails =
| TPostgresResourceConnectionDetails
| TMySQLResourceConnectionDetails
| TMsSQLResourceConnectionDetails;
-// eslint-disable-next-line @typescript-eslint/no-duplicate-type-constituents
+
export type TSqlAccountCredentials = TPostgresAccountCredentials | TMySQLAccountCredentials | TMsSQLAccountCredentials;