diff --git a/js/packages/quary-extension-bus/src/databaseBigQuery.ts b/js/packages/quary-extension-bus/src/databaseBigQuery.ts index 6e93c4ab..bc77ee50 100644 --- a/js/packages/quary-extension-bus/src/databaseBigQuery.ts +++ b/js/packages/quary-extension-bus/src/databaseBigQuery.ts @@ -15,7 +15,7 @@ import { ProjectFileSource } from '@quary/proto/quary/service/v1/project_file' import { SqlLanguage } from './config' import { ModifiedConnectionConfig, ServicesDatabase } from './database' -async function makeBigQueryRequest( +export async function makeBigQueryRequest( accessToken: string, url: string, method: 'GET' | 'POST' | 'PUT' | 'DELETE' = 'GET', @@ -91,7 +91,7 @@ async function makeBigQueryRequest( } } -const runBigQueryStatement = async ( +export const runBigQueryStatement = async ( accessToken: string, query: string, projectId: string, diff --git a/js/packages/quary-extension-bus/src/databaseSnowflake.ts b/js/packages/quary-extension-bus/src/databaseSnowflake.ts index c6dbb3c0..52e5a981 100644 --- a/js/packages/quary-extension-bus/src/databaseSnowflake.ts +++ b/js/packages/quary-extension-bus/src/databaseSnowflake.ts @@ -6,7 +6,7 @@ import { ProjectFileSource } from '@quary/proto/quary/service/v1/project_file' import { ModifiedConnectionConfig, ServicesDatabase } from './database' import { DatabaseDependentSettings, SqlLanguage } from './config' -async function makeSnowflakeRequest( +export async function makeSnowflakeRequest( accessToken: string, accountUrl: string, body?: object, @@ -54,7 +54,7 @@ async function makeSnowflakeRequest( } } -async function snowflakeRunStatement( +export async function snowflakeRunStatement( accessToken: string, accountUrl: string, database: string,