-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Applied suggestions from review
- Loading branch information
1 parent
f7ad02c
commit 9156eb3
Showing
2 changed files
with
52 additions
and
5 deletions.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
backend/src/plugins/core/admin/members/edit/dto/edit.obj.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import { ObjectType, Field, Int } from "@nestjs/graphql"; | ||
|
||
@ObjectType() | ||
export class EditAdminMembersObj { | ||
@Field(() => Int) | ||
id: number; | ||
|
||
@Field(() => String) | ||
name_seo: string; | ||
|
||
@Field(() => String) | ||
name: string; | ||
|
||
@Field(() => String) | ||
email: string; | ||
|
||
@Field(() => String) | ||
password: string; | ||
|
||
@Field(() => Date) | ||
joined: Date; | ||
|
||
@Field(() => Int) | ||
posts: number; | ||
|
||
@Field(() => Boolean) | ||
newsletter: boolean; | ||
|
||
@Field(() => String) | ||
avatar_color: string; | ||
|
||
@Field(() => Int) | ||
group_id: number; | ||
|
||
@Field(() => String) | ||
first_name: string; | ||
|
||
@Field(() => String) | ||
last_name: string; | ||
|
||
@Field(() => Date) | ||
birthday: Date; | ||
|
||
@Field(() => String) | ||
ip_address: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters