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
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.tsindex 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| TKubernetesAccountCredentialsdiff --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.tsindex 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;