mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #1469 from omnivore-app/add-labels-to-highlight-in-response
Add labels in highlight type in api response
This commit is contained in:
commit
e2dbb82b91
3 changed files with 4 additions and 0 deletions
|
|
@ -786,6 +786,7 @@ export type Highlight = {
|
|||
highlightPositionAnchorIndex?: Maybe<Scalars['Int']>;
|
||||
highlightPositionPercent?: Maybe<Scalars['Float']>;
|
||||
id: Scalars['ID'];
|
||||
labels?: Maybe<Array<Label>>;
|
||||
patch: Scalars['String'];
|
||||
prefix?: Maybe<Scalars['String']>;
|
||||
quote: Scalars['String'];
|
||||
|
|
@ -4053,6 +4054,7 @@ export type HighlightResolvers<ContextType = ResolverContext, ParentType extends
|
|||
highlightPositionAnchorIndex?: Resolver<Maybe<ResolversTypes['Int']>, ParentType, ContextType>;
|
||||
highlightPositionPercent?: Resolver<Maybe<ResolversTypes['Float']>, ParentType, ContextType>;
|
||||
id?: Resolver<ResolversTypes['ID'], ParentType, ContextType>;
|
||||
labels?: Resolver<Maybe<Array<ResolversTypes['Label']>>, ParentType, ContextType>;
|
||||
patch?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
||||
prefix?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
||||
quote?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
||||
|
|
|
|||
|
|
@ -694,6 +694,7 @@ type Highlight {
|
|||
highlightPositionAnchorIndex: Int
|
||||
highlightPositionPercent: Float
|
||||
id: ID!
|
||||
labels: [Label!]
|
||||
patch: String!
|
||||
prefix: String
|
||||
quote: String!
|
||||
|
|
|
|||
|
|
@ -643,6 +643,7 @@ const schema = gql`
|
|||
createdByMe: Boolean!
|
||||
highlightPositionPercent: Float
|
||||
highlightPositionAnchorIndex: Int
|
||||
labels: [Label!]
|
||||
}
|
||||
|
||||
input CreateHighlightInput {
|
||||
|
|
|
|||
Loading…
Reference in a new issue