mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add archivedAt to the search item in the search api response
This commit is contained in:
parent
cbdd4f0a71
commit
565c932a2d
3 changed files with 4 additions and 0 deletions
|
|
@ -2268,6 +2268,7 @@ export enum SearchErrorCode {
|
|||
export type SearchItem = {
|
||||
__typename?: 'SearchItem';
|
||||
annotation?: Maybe<Scalars['String']>;
|
||||
archivedAt?: Maybe<Scalars['Date']>;
|
||||
author?: Maybe<Scalars['String']>;
|
||||
content?: Maybe<Scalars['String']>;
|
||||
contentReader: ContentReader;
|
||||
|
|
@ -5433,6 +5434,7 @@ export type SearchErrorResolvers<ContextType = ResolverContext, ParentType exten
|
|||
|
||||
export type SearchItemResolvers<ContextType = ResolverContext, ParentType extends ResolversParentTypes['SearchItem'] = ResolversParentTypes['SearchItem']> = {
|
||||
annotation?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
||||
archivedAt?: Resolver<Maybe<ResolversTypes['Date']>, ParentType, ContextType>;
|
||||
author?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
||||
content?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
||||
contentReader?: Resolver<ResolversTypes['ContentReader'], ParentType, ContextType>;
|
||||
|
|
|
|||
|
|
@ -1660,6 +1660,7 @@ enum SearchErrorCode {
|
|||
|
||||
type SearchItem {
|
||||
annotation: String
|
||||
archivedAt: Date
|
||||
author: String
|
||||
content: String
|
||||
contentReader: ContentReader!
|
||||
|
|
|
|||
|
|
@ -1586,6 +1586,7 @@ const schema = gql`
|
|||
recommendations: [Recommendation!]
|
||||
wordsCount: Int
|
||||
content: String
|
||||
archivedAt: Date
|
||||
}
|
||||
|
||||
type SearchItemEdge {
|
||||
|
|
|
|||
Loading…
Reference in a new issue