feat: admin user management (backend) (#3786)

This commit is contained in:
Mir Arif Hasan
2024-02-21 22:05:08 +06:00
committed by GitHub
parent 9c6754c70f
commit ded2725116
10 changed files with 4758 additions and 10059 deletions

View File

@@ -56,3 +56,22 @@ export enum SessionType {
registerEnumType(SessionType, {
name: 'SessionType',
});
@ObjectType()
export class UserDeletionResult {
@Field(() => ID, {
description: 'UID of the user',
})
userUID: string;
@Field(() => Boolean, {
description: 'Flag to determine if user deletion was successful or not',
})
isDeleted: Boolean;
@Field({
nullable: true,
description: 'Error message if user deletion was not successful',
})
errorMessage: String;
}