Implemented SessionManager and TextChannelService + several improvements and fixes
All checks were successful
Setup testing environment and test the code / build (push) Successful in 1m13s
All checks were successful
Setup testing environment and test the code / build (push) Successful in 1m13s
This commit is contained in:
19
src/domain/sessionManager.schema.ts
Normal file
19
src/domain/sessionManager.schema.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import {PublicUserData} from "./common.schema";
|
||||
import {GIF} from "./userService.schema";
|
||||
|
||||
export interface Session {
|
||||
userData: PersonalUserData
|
||||
token: string
|
||||
}
|
||||
|
||||
export interface ValidateSessionReq {
|
||||
token: string
|
||||
}
|
||||
|
||||
export interface ValidateSessionResp {
|
||||
validationOk: boolean
|
||||
}
|
||||
|
||||
export interface UpdateUserDataReq {
|
||||
userid: string
|
||||
}
|
||||
Reference in New Issue
Block a user