mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
add siteName in api response
This commit is contained in:
parent
3a31757c59
commit
cb1d64cd82
3 changed files with 4 additions and 0 deletions
|
|
@ -1941,6 +1941,7 @@ export enum TypeaheadSearchErrorCode {
|
|||
export type TypeaheadSearchItem = {
|
||||
__typename?: 'TypeaheadSearchItem';
|
||||
id: Scalars['ID'];
|
||||
siteName?: Maybe<Scalars['String']>;
|
||||
slug: Scalars['String'];
|
||||
title: Scalars['String'];
|
||||
};
|
||||
|
|
@ -4185,6 +4186,7 @@ export type TypeaheadSearchErrorResolvers<ContextType = ResolverContext, ParentT
|
|||
|
||||
export type TypeaheadSearchItemResolvers<ContextType = ResolverContext, ParentType extends ResolversParentTypes['TypeaheadSearchItem'] = ResolversParentTypes['TypeaheadSearchItem']> = {
|
||||
id?: Resolver<ResolversTypes['ID'], ParentType, ContextType>;
|
||||
siteName?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
||||
slug?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
||||
title?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
||||
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
||||
|
|
|
|||
|
|
@ -1454,6 +1454,7 @@ enum TypeaheadSearchErrorCode {
|
|||
|
||||
type TypeaheadSearchItem {
|
||||
id: ID!
|
||||
siteName: String
|
||||
slug: String!
|
||||
title: String!
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1781,6 +1781,7 @@ const schema = gql`
|
|||
id: ID!
|
||||
title: String!
|
||||
slug: String!
|
||||
siteName: String
|
||||
}
|
||||
|
||||
# Mutations
|
||||
|
|
|
|||
Loading…
Reference in a new issue