Add sort in updatesince api and default sorting by updatedAt in descending order
This commit is contained in:
@ -1538,6 +1538,7 @@ export type QueryUpdatesSinceArgs = {
|
||||
after?: InputMaybe<Scalars['String']>;
|
||||
first?: InputMaybe<Scalars['Int']>;
|
||||
since: Scalars['Date'];
|
||||
sort?: InputMaybe<SortParams>;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@ -1061,7 +1061,7 @@ type Query {
|
||||
sharedArticle(selectedHighlightId: String, slug: String!, username: String!): SharedArticleResult!
|
||||
subscriptions(sort: SortParams): SubscriptionsResult!
|
||||
typeaheadSearch(first: Int, query: String!): TypeaheadSearchResult!
|
||||
updatesSince(after: String, first: Int, since: Date!): UpdatesSinceResult!
|
||||
updatesSince(after: String, first: Int, since: Date!, sort: SortParams): UpdatesSinceResult!
|
||||
user(userId: ID, username: String): UserResult!
|
||||
users: UsersResult!
|
||||
validateUsername(username: String!): Boolean!
|
||||
|
||||
Reference in New Issue
Block a user