mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
24 lines
972 B
TypeScript
24 lines
972 B
TypeScript
import { Highlight } from './networking/fragments/highlightFragment'
|
|
import { ArticleReadingProgressMutationInput } from './networking/mutations/articleReadingProgressMutation'
|
|
import { CreateHighlightInput } from './networking/mutations/createHighlightMutation'
|
|
import { MergeHighlightInput } from './networking/mutations/mergeHighlightMutation'
|
|
import { UpdateHighlightInput } from './networking/mutations/updateHighlightMutation'
|
|
|
|
export type ArticleMutations = {
|
|
createHighlightMutation: (
|
|
input: CreateHighlightInput
|
|
) => Promise<Highlight | undefined>
|
|
deleteHighlightMutation: (
|
|
libraryItemId: string,
|
|
highlightId: string
|
|
) => Promise<boolean>
|
|
mergeHighlightMutation: (
|
|
input: MergeHighlightInput
|
|
) => Promise<Highlight | undefined>
|
|
updateHighlightMutation: (
|
|
input: UpdateHighlightInput
|
|
) => Promise<string | undefined>
|
|
articleReadingProgressMutation: (
|
|
input: ArticleReadingProgressMutationInput
|
|
) => Promise<boolean>
|
|
}
|