chore: add user relation enum

this enum is used to specify which relation of the user object should be populated.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2021-08-31 13:39:36 +02:00 committed by David Mehren
parent 337854c86a
commit 5e4eb574c5
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
3 changed files with 18 additions and 7 deletions

View file

@ -20,6 +20,7 @@ import { User } from '../users/user.entity';
import { UsersService } from '../users/users.service';
import {
bufferToBase64Url,
checkPassword,
hashPassword,
} from '../utils/password';
import { TimestampMillis } from '../utils/timestamp';