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 AppMiddleware } from '@/app.ts';
import { Conf } from '@/config.ts';
import { HTTPException } from '@/deps.ts';
import { type Event } from '@/event.ts';
import { type Event, HTTPException } from '@/deps.ts';
import { decode64Schema, jsonSchema } from '@/schema.ts';
import { signedEventSchema } from '@/schemas/nostr.ts';
import { eventAge, findTag, sha256, Time } from '@/utils.ts';