Merge branch 'typescript' of https://codefirst.iut.uca.fr/git/BOB_PARTEAM/BOB_PARTY into typescript
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
commit
b3d113cbec
@ -0,0 +1,8 @@
|
|||||||
|
import { User } from "../../../core/User/user";
|
||||||
|
|
||||||
|
export default interface ILoaderUser{
|
||||||
|
|
||||||
|
loadByID(id:string): User | null;
|
||||||
|
loadByUsername(username:string): User | null;
|
||||||
|
loadByUsernamePassword(username:string, password:string): User | null;
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
import { User } from "../../../core/User/user";
|
||||||
|
|
||||||
|
export default interface ISaverUser{
|
||||||
|
|
||||||
|
saveUser(u:User): void;
|
||||||
|
deleteUser(u:User):void;
|
||||||
|
}
|
Loading…
Reference in new issue