convert to ts
This commit is contained in:
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
|
||||
|
||||
|
||||
Reference in new issue
Block a user