Skip to content

Commit

Permalink
Add option to order authors by first and last name
Browse files Browse the repository at this point in the history
  • Loading branch information
juffalow committed Nov 12, 2022
1 parent 85d9b5b commit 26425c3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/schema/types/enums/authorsOrderField.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ export default new GraphQLEnumType({
ID: {
value: 'id',
},
FIRST_NAME: {
value: 'firstName',
},
LAST_NAME: {
value: 'lastName',
},
CREATED_AT: {
value: 'createdAt',
},
Expand Down

0 comments on commit 26425c3

Please sign in to comment.