Skip to content

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

fix(pam): import type

xe49d8bc3277a
diff --git a/backend/src/ee/services/pam-account-rotation/pam-rotation-fns.ts b/backend/src/ee/services/pam-account-rotation/pam-rotation-fns.ts
index c664b38658..e369b710ee 100644
--- a/backend/src/ee/services/pam-account-rotation/pam-rotation-fns.ts
+++ b/backend/src/ee/services/pam-account-rotation/pam-rotation-fns.ts
@@ -8,10 +8,12 @@ import {
isWindowsRotatableType,
ROTATABLE_ACCOUNT_TYPES,
SQL_ROTATABLE_ACCOUNT_TYPES,
+ WINDOWS_ROTATABLE_ACCOUNT_TYPES
+} from "../pam-account/pam-account-schemas";
+import type {
TRotatableType,
TSqlRotatableType,
- TWindowsRotatableType,
- WINDOWS_ROTATABLE_ACCOUNT_TYPES
+ TWindowsRotatableType
} from "../pam-account/pam-account-schemas";
// Rotatable-account-type sets and guards live with the central account-type config; re-exported here so the
@@ -22,11 +24,9 @@ export {
isWindowsRotatableType,
ROTATABLE_ACCOUNT_TYPES,
SQL_ROTATABLE_ACCOUNT_TYPES,
- TRotatableType,
- TSqlRotatableType,
- TWindowsRotatableType,
WINDOWS_ROTATABLE_ACCOUNT_TYPES
};
+export type { TRotatableType, TSqlRotatableType, TWindowsRotatableType };
const sleep = (ms: number) =>
new Promise<void>((resolve) => {