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 typescript issues
IgorHorta66f5f36aa879
diff --git a/backend/src/services/app-connection/app-connection-service.ts b/backend/src/services/app-connection/app-connection-service.tsindex 99b0bef3ae..fbda68e001 100644--- a/backend/src/services/app-connection/app-connection-service.ts+++ b/backend/src/services/app-connection/app-connection-service.ts@@ -107,6 +107,7 @@ import { ValidateOctopusDeployConnectionCredentialsSchema } from "./octopus-deplimport { octopusDeployConnectionService } from "./octopus-deploy/octopus-deploy-connection-service";import { ValidateOktaConnectionCredentialsSchema } from "./okta";import { oktaConnectionService } from "./okta/okta-connection-service";+import { ValidateOpenRouterConnectionCredentialsSchema } from "./open-router";import { ValidatePostgresConnectionCredentialsSchema } from "./postgres";import { ValidateRailwayConnectionCredentialsSchema } from "./railway";import { railwayConnectionService } from "./railway/railway-connection-service";@@ -183,6 +184,7 @@ const VALIDATE_APP_CONNECTION_CREDENTIALS_MAP: Record<AppConnection, TValidateAp[AppConnection.Netlify]: ValidateNetlifyConnectionCredentialsSchema,[AppConnection.Northflank]: ValidateNorthflankConnectionCredentialsSchema,[AppConnection.Okta]: ValidateOktaConnectionCredentialsSchema,+ [AppConnection.OpenRouter]: ValidateOpenRouterConnectionCredentialsSchema,[AppConnection.Redis]: ValidateRedisConnectionCredentialsSchema,[AppConnection.MongoDB]: ValidateMongoDBConnectionCredentialsSchema,[AppConnection.Chef]: ValidateChefConnectionCredentialsSchema,diff --git a/frontend/src/hooks/api/appConnections/types/app-options.ts b/frontend/src/hooks/api/appConnections/types/app-options.tsindex bb26e0d59d..aa8ac511c5 100644--- a/frontend/src/hooks/api/appConnections/types/app-options.ts+++ b/frontend/src/hooks/api/appConnections/types/app-options.ts@@ -200,6 +200,10 @@ export type TSshConnectionOption = TAppConnectionOptionBase & {app: AppConnection.SSH;};+export type TOpenRouterConnectionOption = TAppConnectionOptionBase & {+ app: AppConnection.OpenRouter;+};+export type TAppConnectionOption =| TAwsConnectionOption| TGitHubConnectionOption@@ -239,6 +243,7 @@ export type TAppConnectionOption =| TNetlifyConnectionOption| TNorthflankConnectionOption| TOktaConnectionOption+ | TOpenRouterConnectionOption| TAzureAdCsConnectionOption| TLaravelForgeConnectionOption| TRedisConnectionOption@@ -288,6 +293,7 @@ export type TAppConnectionOptionMap = {[AppConnection.Netlify]: TNetlifyConnectionOption;[AppConnection.Northflank]: TNorthflankConnectionOption;[AppConnection.Okta]: TOktaConnectionOption;+ [AppConnection.OpenRouter]: TOpenRouterConnectionOption;[AppConnection.AzureADCS]: TAzureAdCsConnectionOption;[AppConnection.Redis]: TRedisConnectionOption;[AppConnection.MongoDB]: TMongoDBConnectionOption;