bun-query-builder 0.1.41 → 0.1.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,4 @@
1
+ import type { SupportedDialect } from '../types';
1
2
  /**
2
3
  * Split a SQL script into individual statements, ignoring `;` inside single
3
4
  * quotes or `--` line comments. Good enough for our generated DDL.
@@ -10,7 +11,7 @@ export declare function splitSqlStatements(sql: string): string[];
10
11
  * [UNIQUE] INDEX — in reverse order. Statements it can't safely invert (data
11
12
  * changes, complex alters) are skipped; the caller reports them.
12
13
  */
13
- export declare function deriveDownStatements(forwardSql: string, dialect?: string): { down: string[], skipped: string[] };
14
+ export declare function deriveDownStatements(forwardSql: string, dialect?: SupportedDialect): { down: string[], skipped: string[] };
14
15
  /**
15
16
  * Rollback migrations
16
17
  *