Switch NSpec to Nostrify, update imports

This commit is contained in:
Alex Gleason
2024-04-19 16:39:35 -05:00
parent f6945ecd1c
commit 9c91e41e87
41 changed files with 85 additions and 93 deletions

View File

@@ -1,4 +1,4 @@
import { NostrFilter } from '@soapbox/nspec';
import { NostrFilter } from '@nostrify/nostrify';
import { type AppController } from '@/app.ts';
import { Conf } from '@/config.ts';
import { nip19, z } from '@/deps.ts';

View File

@@ -1,6 +1,6 @@
import { NostrFilter } from '@soapbox/nspec';
import { NostrEvent, NostrFilter } from '@nostrify/nostrify';
import { AppController } from '@/app.ts';
import { nip19, type NostrEvent, z } from '@/deps.ts';
import { nip19, z } from '@/deps.ts';
import { booleanParamSchema } from '@/schema.ts';
import { nostrIdSchema } from '@/schemas/nostr.ts';
import { searchStore } from '@/storages.ts';

View File

@@ -1,7 +1,8 @@
import { NIP05, NostrEvent, NostrFilter } from '@nostrify/nostrify';
import { type AppController } from '@/app.ts';
import { Conf } from '@/config.ts';
import { getUnattachedMediaByIds } from '@/db/unattached-media.ts';
import { ISO6391, NIP05, nip19, type NostrEvent, NostrFilter, z } from '@/deps.ts';
import { ISO6391, nip19, z } from '@/deps.ts';
import { getAncestors, getAuthor, getDescendants, getEvent } from '@/queries.ts';
import { jsonMetaContentSchema } from '@/schemas/nostr.ts';
import { addTag, deleteTag } from '@/tags.ts';

View File

@@ -1,4 +1,4 @@
import { NostrFilter } from '@soapbox/nspec';
import { NostrFilter } from '@nostrify/nostrify';
import { type AppController } from '@/app.ts';
import { Conf } from '@/config.ts';
import { Debug, z } from '@/deps.ts';

View File

@@ -1,4 +1,4 @@
import { NostrFilter } from '@soapbox/nspec';
import { NostrFilter } from '@nostrify/nostrify';
import { type AppContext, type AppController } from '@/app.ts';
import { Conf } from '@/config.ts';
import { z } from '@/deps.ts';