mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
fix import order
This commit is contained in:
parent
98e9ccfc46
commit
e07be77de7
1 changed files with 2 additions and 1 deletions
|
|
@ -2,10 +2,11 @@
|
||||||
* Script to import a user/list of users into Ditto given their npub/pubkey by looking them up on a list of relays.
|
* Script to import a user/list of users into Ditto given their npub/pubkey by looking them up on a list of relays.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
import { NostrEvent, NRelay1, NSchema } from '@nostrify/nostrify';
|
||||||
import { nip19 } from 'nostr-tools';
|
import { nip19 } from 'nostr-tools';
|
||||||
|
|
||||||
import { DittoDB } from '@/db/DittoDB.ts';
|
import { DittoDB } from '@/db/DittoDB.ts';
|
||||||
import { EventsDB } from '@/storages/EventsDB.ts';
|
import { EventsDB } from '@/storages/EventsDB.ts';
|
||||||
import { NostrEvent, NRelay1, NSchema } from '@nostrify/nostrify';
|
|
||||||
|
|
||||||
const kysely = await DittoDB.getInstance();
|
const kysely = await DittoDB.getInstance();
|
||||||
const eventsDB = new EventsDB(kysely);
|
const eventsDB = new EventsDB(kysely);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue