rake-db 2.27.27 → 2.27.28

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.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as pqb from 'pqb';
2
- import { ColumnsShape, Db, TableData, NoPrimaryKeyOption, MaybeArray, Column, RawSqlBase, RecordString, EnumColumn, EmptyObject, ColumnSchemaConfig, DefaultColumnTypes, DefaultSchemaConfig, QueryLogOptions, AdapterBase, DbResult, MaybePromise, QueryLogObject, TableDataFn, TableDataItem, DbDomainArg, raw, SearchWeight, ColumnsByType, DbStructureDomainsMap, QueryBase } from 'pqb';
2
+ import { ColumnsShape, Db, TableData, NoPrimaryKeyOption, MaybeArray, Column, RawSqlBase, RecordString, EnumColumn, EmptyObject, ColumnSchemaConfig, DefaultColumnTypes, DefaultSchemaConfig, QueryLogOptions, AdapterBase, DbResult, MaybePromise, QueryLogObject, TableDataFn, TableDataItem, DbDomainArg, raw, SearchWeight, ColumnsByType, DbStructureDomainsMap, Query } from 'pqb';
3
3
 
4
4
  interface CreateTableResult<Table extends string, Shape extends ColumnsShape> {
5
5
  table: Db<Table, Shape>;
@@ -1748,7 +1748,7 @@ declare const writeMigrationFile: (config: AnyRakeDbConfig, version: string, nam
1748
1748
  declare const makeFileVersion: (ctx: RakeDbCtx, config: AnyRakeDbConfig) => Promise<string>;
1749
1749
 
1750
1750
  interface OrmParam {
1751
- $qb: QueryBase;
1751
+ $qb: Query;
1752
1752
  }
1753
1753
  type UnknownPromiseFns = (() => Promise<unknown>)[];
1754
1754
  declare const migrateFiles: (db: OrmParam, files: UnknownPromiseFns) => Promise<void>;