diff --git a/backend/src/schema/types/type/Category.gql b/backend/src/schema/types/type/Category.gql index 9805344d1..39efeff9d 100644 --- a/backend/src/schema/types/type/Category.gql +++ b/backend/src/schema/types/type/Category.gql @@ -11,6 +11,8 @@ enum _CategoryOrdering { createdAt_desc updatedAt_asc updatedAt_desc + postCount_asc + postCount_desc } type Category { diff --git a/backend/src/schema/types/type/Tag.gql b/backend/src/schema/types/type/Tag.gql index 8da899027..41a772e4d 100644 --- a/backend/src/schema/types/type/Tag.gql +++ b/backend/src/schema/types/type/Tag.gql @@ -27,6 +27,10 @@ type Tag { enum _TagOrdering { id_asc id_desc + taggedCount_asc + taggedCount_desc + taggedCountUnique_asc + taggedCountUnique_desc } type Query {