Skip to content

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

fix: types

Daniel Hougaard304556894dbf
diff --git a/frontend/src/hooks/api/appConnections/types/app-options.ts b/frontend/src/hooks/api/appConnections/types/app-options.ts
index bb26e0d59d..6da4766c37 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 TDbtConnectionOption = TAppConnectionOptionBase & {
+ app: AppConnection.Dbt;
+};
+
export type TAppConnectionOption =
| TAwsConnectionOption
| TGitHubConnectionOption
@@ -246,7 +250,8 @@ export type TAppConnectionOption =
| TChefConnectionOption
| TDNSMadeEasyConnectionOption
| TOctopusDeployConnectionOption
- | TSshConnectionOption;
+ | TSshConnectionOption
+ | TDbtConnectionOption;
export type TAppConnectionOptionMap = {
[AppConnection.AWS]: TAwsConnectionOption;
@@ -295,4 +300,5 @@ export type TAppConnectionOptionMap = {
[AppConnection.Chef]: TChefConnectionOption;
[AppConnection.OctopusDeploy]: TOctopusDeployConnectionOption;
[AppConnection.SSH]: TSshConnectionOption;
+ [AppConnection.Dbt]: TDbtConnectionOption;
};
diff --git a/frontend/src/hooks/api/secretRotationsV2/types/index.ts b/frontend/src/hooks/api/secretRotationsV2/types/index.ts
index 9c7d08ca36..c402f11b08 100644
--- a/frontend/src/hooks/api/secretRotationsV2/types/index.ts
+++ b/frontend/src/hooks/api/secretRotationsV2/types/index.ts
@@ -37,6 +37,7 @@ import { SecretV3RawSanitized } from "@app/hooks/api/secrets/types";
import { DiscriminativePick } from "@app/types";
import {
+ TDbtServiceTokenRotation,
TDbtServiceTokenRotationGeneratedCredentialsResponse,
TDbtServiceTokenRotationOption
} from "./dbt-service-token-rotation";
@@ -83,6 +84,7 @@ export type TSecretRotationV2 = (
| TMongoDBCredentialsRotation
| TDatabricksServicePrincipalSecretRotation
| TUnixLinuxLocalAccountRotation
+ | TDbtServiceTokenRotation
) & {
secrets: (SecretV3RawSanitized | null)[];
};