Skip to content

Commit

Permalink
chore: export funcs for website
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user authored and benfdking committed Sep 6, 2024
1 parent 7faa9c3 commit beb63f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions js/packages/quary-extension-bus/src/databaseBigQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<T>(
export async function makeBigQueryRequest<T>(
accessToken: string,
url: string,
method: 'GET' | 'POST' | 'PUT' | 'DELETE' = 'GET',
Expand Down Expand Up @@ -91,7 +91,7 @@ async function makeBigQueryRequest<T>(
}
}

const runBigQueryStatement = async (
export const runBigQueryStatement = async (
accessToken: string,
query: string,
projectId: string,
Expand Down
4 changes: 2 additions & 2 deletions js/packages/quary-extension-bus/src/databaseSnowflake.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<T>(
export async function makeSnowflakeRequest<T>(
accessToken: string,
accountUrl: string,
body?: object,
Expand Down Expand Up @@ -54,7 +54,7 @@ async function makeSnowflakeRequest<T>(
}
}

async function snowflakeRunStatement(
export async function snowflakeRunStatement(
accessToken: string,
accountUrl: string,
database: string,
Expand Down

0 comments on commit beb63f4

Please sign in to comment.