Skip to content

Commit b6aeb42

Browse files
committed
make SnowflakeAuthMethod imports/exports type-only
1 parent af3ef77 commit b6aeb42

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

src/platform/notebooks/deepnote/integrationTypes.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,17 @@ export interface BigQueryIntegrationConfig extends BaseIntegrationConfig {
6666

6767
// Import and re-export Snowflake auth constants from shared module
6868
import {
69-
SnowflakeAuthMethod,
69+
type SnowflakeAuthMethod,
7070
SnowflakeAuthMethods,
7171
SUPPORTED_SNOWFLAKE_AUTH_METHODS,
7272
isSupportedSnowflakeAuthMethod
7373
} from './snowflakeAuthConstants';
74-
export { SnowflakeAuthMethod, SnowflakeAuthMethods, SUPPORTED_SNOWFLAKE_AUTH_METHODS, isSupportedSnowflakeAuthMethod };
74+
export {
75+
type SnowflakeAuthMethod,
76+
SnowflakeAuthMethods,
77+
SUPPORTED_SNOWFLAKE_AUTH_METHODS,
78+
isSupportedSnowflakeAuthMethod
79+
};
7580

7681
/**
7782
* Base Snowflake configuration with common fields

src/webviews/webview-side/integrations/types.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {
2-
SnowflakeAuthMethod,
2+
type SnowflakeAuthMethod,
33
SnowflakeAuthMethods,
44
SUPPORTED_SNOWFLAKE_AUTH_METHODS,
55
isSupportedSnowflakeAuthMethod
@@ -10,7 +10,12 @@ export type IntegrationType = 'postgres' | 'bigquery' | 'snowflake';
1010
export type IntegrationStatus = 'connected' | 'disconnected' | 'error';
1111

1212
// Re-export Snowflake auth constants for convenience
13-
export { SnowflakeAuthMethod, SnowflakeAuthMethods, SUPPORTED_SNOWFLAKE_AUTH_METHODS, isSupportedSnowflakeAuthMethod };
13+
export {
14+
type SnowflakeAuthMethod,
15+
SnowflakeAuthMethods,
16+
SUPPORTED_SNOWFLAKE_AUTH_METHODS,
17+
isSupportedSnowflakeAuthMethod
18+
};
1419

1520
export interface BaseIntegrationConfig {
1621
id: string;

0 commit comments

Comments
 (0)