From ff800e426fa66ac4352274d6975b1f35b8a4f34b Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Mon, 30 Sep 2024 16:48:34 +0200 Subject: [PATCH] Remove exports for deprecated functions --- src/sql.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/sql.ts b/src/sql.ts index a48e09a..376223f 100644 --- a/src/sql.ts +++ b/src/sql.ts @@ -157,8 +157,7 @@ export function keywordCompletionSource(dialect: SQLDialect, upperCase = false): return completeKeywords(dialect.dialect.words, upperCase) } -/// FIXME remove on 1.0 @internal -export function keywordCompletion(dialect: SQLDialect, upperCase = false): Extension { +function keywordCompletion(dialect: SQLDialect, upperCase = false): Extension { return dialect.language.data.of({ autocomplete: keywordCompletionSource(dialect, upperCase) }) @@ -173,8 +172,7 @@ export function schemaCompletionSource(config: SQLConfig): CompletionSource { : () => null } -/// FIXME remove on 1.0 @internal -export function schemaCompletion(config: SQLConfig): Extension { +function schemaCompletion(config: SQLConfig): Extension { return config.schema ? (config.dialect || StandardSQL).language.data.of({ autocomplete: schemaCompletionSource(config) }) : []