Delete event.ts, use nostr-tools types

This commit is contained in:
Alex Gleason
2023-08-16 21:53:51 -05:00
parent 5515c40df3
commit c15194020f
15 changed files with 62 additions and 88 deletions

View File

@@ -1,7 +1,6 @@
import { type AppController } from '@/app.ts';
import { getAncestors, getDescendants, getEvent, publish } from '@/client.ts';
import { ISO6391, Kind, z } from '@/deps.ts';
import { type Event } from '@/event.ts';
import { type Event, ISO6391, Kind, z } from '@/deps.ts';
import { signEvent } from '@/sign.ts';
import { toStatus } from '@/transformers/nostr-to-mastoapi.ts';
import { nostrNow, parseBody } from '@/utils.ts';