fix: remove unnecessary code
This commit is contained in:
parent
58a803b0ce
commit
03aa2e99cf
2 changed files with 0 additions and 8 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +0,0 @@
|
||||||
[submodule "signal-decrypt-backup-wasm"]
|
|
||||||
path = signal-decrypt-backup-wasm
|
|
||||||
url = https://git.duskflower.dev/duskflower/signal-decrypt-backup-wasm
|
|
|
@ -4,7 +4,6 @@ import { Kysely } from "kysely";
|
||||||
import type { DB } from "kysely-codegen";
|
import type { DB } from "kysely-codegen";
|
||||||
import { OfficialWasmDialect } from "kysely-wasm";
|
import { OfficialWasmDialect } from "kysely-wasm";
|
||||||
import { createSignal } from "solid-js";
|
import { createSignal } from "solid-js";
|
||||||
import workerUrl from "./lib/kysely-official-wasm-worker/worker?url";
|
|
||||||
|
|
||||||
export const SELF_ID = 2;
|
export const SELF_ID = 2;
|
||||||
|
|
||||||
|
@ -15,10 +14,6 @@ const sqlite3 = await sqlite3InitModule({
|
||||||
|
|
||||||
export const db = new sqlite3.oo1.DB("signal");
|
export const db = new sqlite3.oo1.DB("signal");
|
||||||
|
|
||||||
export const worker = new Worker(workerUrl, {
|
|
||||||
type: "module",
|
|
||||||
});
|
|
||||||
|
|
||||||
const dialect = new OfficialWasmDialect({
|
const dialect = new OfficialWasmDialect({
|
||||||
database: db,
|
database: db,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue