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(ui): add ExternalInfisical entry to TAppConnectionOptionMap to fix frontend TS errors
Igor Correa5316a63fe70b
diff --git a/frontend/src/hooks/api/appConnections/types/app-options.ts b/frontend/src/hooks/api/appConnections/types/app-options.tsindex 5dc5f2c0a2..b1464cce5e 100644--- a/frontend/src/hooks/api/appConnections/types/app-options.ts+++ b/frontend/src/hooks/api/appConnections/types/app-options.ts@@ -228,6 +228,10 @@ export type TVenafiConnectionOption = TAppConnectionOptionBase & {app: AppConnection.Venafi;};+export type TExternalInfisicalConnectionOption = TAppConnectionOptionBase & {+ app: AppConnection.ExternalInfisical;+};+export type TAppConnectionOption =| TAwsConnectionOption| TGitHubConnectionOption@@ -281,7 +285,8 @@ export type TAppConnectionOption =| TDbtConnectionOption| TSmbConnectionOption| TAzureEntraIdConnectionOption- | TVenafiConnectionOption;+ | TVenafiConnectionOption+ | TExternalInfisicalConnectionOption;export type TAppConnectionOptionMap = {[AppConnection.AWS]: TAwsConnectionOption;@@ -337,4 +342,5 @@ export type TAppConnectionOptionMap = {[AppConnection.CircleCI]: TCircleCISyncConnectionOption;[AppConnection.AzureEntraId]: TAzureEntraIdConnectionOption;[AppConnection.Venafi]: TVenafiConnectionOption;+ [AppConnection.ExternalInfisical]: TExternalInfisicalConnectionOption;};