fix import order

This commit is contained in:
Siddharth Singh 2024-07-01 23:13:20 +05:30
parent 98e9ccfc46
commit e07be77de7
No known key found for this signature in database

View file

@ -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);