Start creating a separate sync queue for android highlight changes

This commit is contained in:
Jackson Harper
2024-01-08 22:27:48 +08:00
parent 8f9f8bb43b
commit cb48c755f1
18 changed files with 175 additions and 43 deletions

View File

@ -2,6 +2,7 @@ import { gql } from 'graphql-request'
import { gqlFetcher } from '../networkHelpers'
export async function deleteHighlightMutation(
libraryItemId: string,
highlightId: string
): Promise<boolean> {
const mutation = gql`

View File

@ -3,6 +3,7 @@ import { gqlFetcher } from '../networkHelpers'
export type UpdateHighlightInput = {
highlightId: string
libraryItemId?: string
annotation?: string
sharedAt?: string
color?: string