convert to ts

This commit is contained in:
Alex Holliday committed 2026-01-18 05:38:50 +00:00
1 parent 288ac08cd6
commit 3e8d4cb49b
4 files changed
+81 -2

No files matched your search

@@ -2,7 +2,9 @@ import type { Invite } from "@/types/index.js";
export interface IInvitesRepository {
// create
create(invite: Partial<Invite>): Promise<Invite>;
// fetch
findByToken(token: string): Promise<Invite>;
findByTokenAndDelete(token: string): Promise<Invite>;
// update