From 007f464d312216719796e3fb4f7d31eba62f94f6 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 12 Aug 2023 20:04:19 -0500 Subject: [PATCH] db/events: fix import order --- src/db/events.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/db/events.ts b/src/db/events.ts index 4bdea6c..bac2658 100644 --- a/src/db/events.ts +++ b/src/db/events.ts @@ -1,8 +1,7 @@ +import { db, type TagRow } from '@/db.ts'; import { type Filter, type Insertable } from '@/deps.ts'; import { type SignedEvent } from '@/event.ts'; -import { db, type TagRow } from '@/db.ts'; - type TagCondition = ({ event, count }: { event: SignedEvent; count: number }) => boolean; /** Conditions for when to index certain tags. */