Make updatedAt optional

This commit is contained in:
Hongbo Wu
2022-06-17 17:07:13 +08:00
parent 1be9c980e1
commit 2bcf97d2e8
3 changed files with 4 additions and 4 deletions

View File

@ -1535,7 +1535,7 @@ export type SearchItem = {
title: Scalars['String'];
unsubHttpUrl?: Maybe<Scalars['String']>;
unsubMailTo?: Maybe<Scalars['String']>;
updatedAt: Scalars['Date'];
updatedAt?: Maybe<Scalars['Date']>;
uploadFileId?: Maybe<Scalars['ID']>;
url: Scalars['String'];
};
@ -3864,7 +3864,7 @@ export type SearchItemResolvers<ContextType = ResolverContext, ParentType extend
title?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
unsubHttpUrl?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
unsubMailTo?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
updatedAt?: Resolver<ResolversTypes['Date'], ParentType, ContextType>;
updatedAt?: Resolver<Maybe<ResolversTypes['Date']>, ParentType, ContextType>;
uploadFileId?: Resolver<Maybe<ResolversTypes['ID']>, ParentType, ContextType>;
url?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;

View File

@ -1093,7 +1093,7 @@ type SearchItem {
title: String!
unsubHttpUrl: String
unsubMailTo: String
updatedAt: Date!
updatedAt: Date
uploadFileId: ID
url: String!
}

View File

@ -1473,7 +1473,7 @@ const schema = gql`
pageType: PageType!
contentReader: ContentReader!
createdAt: Date!
updatedAt: Date!
updatedAt: Date
isArchived: Boolean!
readingProgressPercent: Float!
readingProgressAnchorIndex: Int!