|
|
@ -48,13 +48,6 @@ export interface UserPasswordChangeParams { |
|
|
|
} |
|
|
|
|
|
|
|
export class UserService extends DtpService { |
|
|
|
static get name() { |
|
|
|
return "UserService"; |
|
|
|
} |
|
|
|
static get slug() { |
|
|
|
return "user"; |
|
|
|
} |
|
|
|
|
|
|
|
USER_SELECT: string = |
|
|
|
"_id created email displayName bio image flags permissions"; |
|
|
|
SESSION_SELECT: string = |
|
|
@ -64,6 +57,13 @@ export class UserService extends DtpService { |
|
|
|
|
|
|
|
populateUser: Array<mongoose.PopulateOptions> = []; |
|
|
|
|
|
|
|
static get name() { |
|
|
|
return "UserService"; |
|
|
|
} |
|
|
|
static get slug() { |
|
|
|
return "user"; |
|
|
|
} |
|
|
|
|
|
|
|
constructor(platform: DtpPlatform) { |
|
|
|
super(platform, UserService); |
|
|
|
} |
|
|
|