Skip to content

Commit 26425c3

Browse files
committed
Add option to order authors by first and last name
1 parent 85d9b5b commit 26425c3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/schema/types/enums/authorsOrderField.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ export default new GraphQLEnumType({
66
ID: {
77
value: 'id',
88
},
9+
FIRST_NAME: {
10+
value: 'firstName',
11+
},
12+
LAST_NAME: {
13+
value: 'lastName',
14+
},
915
CREATED_AT: {
1016
value: 'createdAt',
1117
},

0 commit comments

Comments
 (0)