Skip to content

Commit c2fc0f6

Browse files
committed
modified gql type
1 parent e89ccca commit c2fc0f6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

backend/typescript/graphql/types/userType.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const userType = gql`
1212
lastName: String!
1313
email: String!
1414
role: Role!
15+
position: String
1516
}
1617
1718
input CreateUserDTO {
@@ -20,13 +21,15 @@ const userType = gql`
2021
email: String!
2122
role: Role!
2223
password: String!
24+
position: String
2325
}
2426
2527
input UpdateUserDTO {
2628
firstName: String!
2729
lastName: String!
2830
email: String!
2931
role: Role!
32+
position: String
3033
}
3134
3235
extend type Query {

0 commit comments

Comments
 (0)