fix: type improvements & cleanup

This commit is contained in:
Daniel Hougaard
2025-05-07 01:18:08 +04:00
parent 455454e186
commit e849841819
3 changed files with 8 additions and 5 deletions

View File

@@ -13,8 +13,6 @@ import EnvironmentsClient from "./custom/environments";
import ProjectsClient from "./custom/projects";
import FoldersClient from "./custom/folders";
import * as ApiTypes from "./api/types";
type InfisicalSDKOptions = {
siteUrl?: string;
};
@@ -90,10 +88,13 @@ class InfisicalSDK {
}
// Export main SDK class
export { InfisicalSDK, ApiTypes };
export { InfisicalSDK };
export * from './api/types'
// Export types and enums from schemas
export {
TDynamicSecretProvider,
DynamicSecretProviders,
SqlProviders,
} from "./custom/schemas";