separate user from token
This commit is contained in:
1 parent
62ea7b0e5b
commit
64dc381e0f
10 files changed
+148
-111
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import type { User } from "@/types/index.js";
|
||||
|
||||
export interface IUsersRepository {
|
||||
// create
|
||||
// fetch
|
||||
// update
|
||||
// delete
|
||||
// other
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
import { IUsersRepository } from "@/repositories/index.js";
|
||||
class MongoUserRepository implements IUsersRepository {}
|
||||
|
||||
export default MongoUserRepository;
|
||||
Reference in new issue
Block a user