deno fmt, deno lint
This commit is contained in:
parent
89b74217b6
commit
1ad7eeb961
|
@ -1,7 +1,7 @@
|
||||||
import fs from 'node:fs/promises';
|
import fs from 'node:fs/promises';
|
||||||
import path from 'node:path';
|
import path from 'node:path';
|
||||||
|
|
||||||
import { PolySqliteDialect, FileMigrationProvider, Kysely, Migrator } from '@/deps.ts';
|
import { FileMigrationProvider, Kysely, Migrator, PolySqliteDialect } from '@/deps.ts';
|
||||||
import { Conf } from '@/config.ts';
|
import { Conf } from '@/config.ts';
|
||||||
import { getPragma, setPragma } from '@/pragma.ts';
|
import { getPragma, setPragma } from '@/pragma.ts';
|
||||||
import { sqliteWorker } from '@/workers.ts';
|
import { sqliteWorker } from '@/workers.ts';
|
||||||
|
|
|
@ -60,13 +60,13 @@ export {
|
||||||
export { Database as DenoSqlite3 } from 'https://deno.land/x/sqlite3@0.9.1/mod.ts';
|
export { Database as DenoSqlite3 } from 'https://deno.land/x/sqlite3@0.9.1/mod.ts';
|
||||||
export * as dotenv from 'https://deno.land/std@0.198.0/dotenv/mod.ts';
|
export * as dotenv from 'https://deno.land/std@0.198.0/dotenv/mod.ts';
|
||||||
export {
|
export {
|
||||||
|
type CompiledQuery,
|
||||||
FileMigrationProvider,
|
FileMigrationProvider,
|
||||||
type Insertable,
|
type Insertable,
|
||||||
Kysely,
|
Kysely,
|
||||||
type QueryResult,
|
|
||||||
type CompiledQuery,
|
|
||||||
Migrator,
|
Migrator,
|
||||||
type NullableInsertKeys,
|
type NullableInsertKeys,
|
||||||
|
type QueryResult,
|
||||||
sql,
|
sql,
|
||||||
} from 'npm:kysely@^0.26.3';
|
} from 'npm:kysely@^0.26.3';
|
||||||
export { PolySqliteDialect } from 'https://gitlab.com/soapbox-pub/kysely-deno-sqlite/-/raw/v2.0.0/mod.ts';
|
export { PolySqliteDialect } from 'https://gitlab.com/soapbox-pub/kysely-deno-sqlite/-/raw/v2.0.0/mod.ts';
|
||||||
|
|
|
@ -48,6 +48,7 @@ class SqliteWorker {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// deno-lint-ignore require-await
|
||||||
async destroy() {
|
async destroy() {
|
||||||
this.#worker.terminate();
|
this.#worker.terminate();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue