mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Update deno.json imports
This commit is contained in:
parent
9ccf6bbea0
commit
80e554a5c9
2 changed files with 2 additions and 3 deletions
|
|
@ -16,8 +16,7 @@
|
||||||
"@nostrify/nostrify": "jsr:@nostrify/nostrify@^0.9.7",
|
"@nostrify/nostrify": "jsr:@nostrify/nostrify@^0.9.7",
|
||||||
"~/fixtures/": "./fixtures/",
|
"~/fixtures/": "./fixtures/",
|
||||||
"kysely": "npm:kysely@^0.26.3",
|
"kysely": "npm:kysely@^0.26.3",
|
||||||
"pg": "npm:pg@^8.11.5",
|
"kysely_deno_postgres": "https://deno.land/x/kysely_deno_postgres@v0.4.0/mod.ts"
|
||||||
"pg-pool": "npm:pg-pool@^3.6.2"
|
|
||||||
},
|
},
|
||||||
"lint": {
|
"lint": {
|
||||||
"include": ["src/", "scripts/"],
|
"include": ["src/", "scripts/"],
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import { Kysely, PostgresAdapter, PostgresIntrospector, PostgresQueryCompiler } from 'kysely';
|
import { Kysely, PostgresAdapter, PostgresIntrospector, PostgresQueryCompiler } from 'kysely';
|
||||||
|
import { PostgreSQLDriver } from 'kysely_deno_postgres';
|
||||||
|
|
||||||
import { DittoTables } from '@/db/DittoTables.ts';
|
import { DittoTables } from '@/db/DittoTables.ts';
|
||||||
import { PostgreSQLDriver } from 'https://deno.land/x/kysely_deno_postgres@v0.4.0/mod.ts';
|
|
||||||
|
|
||||||
export class DittoPostgres {
|
export class DittoPostgres {
|
||||||
static db: Kysely<DittoTables> | undefined;
|
static db: Kysely<DittoTables> | undefined;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue