Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Annotation

import type { Annotation } from "https://googleapis.deno.dev/v1/books:v1.ts";
interface Annotation {
afterSelectedText?: string;
beforeSelectedText?: string;
clientVersionRanges?: {
contentVersion?: string;
gbImageRange?: BooksAnnotationsRange;
gbTextRange?: BooksAnnotationsRange;
imageCfiRange?: BooksAnnotationsRange;
}
;
created?: string;
currentVersionRanges?: {
contentVersion?: string;
gbImageRange?: BooksAnnotationsRange;
gbTextRange?: BooksAnnotationsRange;
imageCfiRange?: BooksAnnotationsRange;
}
;
data?: string;
deleted?: boolean;
highlightStyle?: string;
id?: string;
kind?: string;
layerId?: string;
layerSummary?: {
allowedCharacterCount?: number;
limitType?: string;
remainingCharacterCount?: number;
}
;
pageIds?: string[];
selectedText?: string;
selfLink?: string;
updated?: string;
volumeId?: string;
}

§Properties

§
afterSelectedText?: string
[src]

Anchor text after excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty.

§
beforeSelectedText?: string
[src]

Anchor text before excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty.

§
clientVersionRanges?: {
contentVersion?: string;
gbImageRange?: BooksAnnotationsRange;
gbTextRange?: BooksAnnotationsRange;
imageCfiRange?: BooksAnnotationsRange;
}
[src]

Selection ranges sent from the client.

§
created?: string
[src]

Timestamp for the created time of this annotation.

§
currentVersionRanges?: {
contentVersion?: string;
gbImageRange?: BooksAnnotationsRange;
gbTextRange?: BooksAnnotationsRange;
imageCfiRange?: BooksAnnotationsRange;
}
[src]

Selection ranges for the most recent content version.

§
data?: string
[src]

User-created data for this annotation.

§
deleted?: boolean
[src]

Indicates that this annotation is deleted.

§
highlightStyle?: string
[src]

The highlight style for this annotation.

§
id?: string
[src]

Id of this annotation, in the form of a GUID.

§
kind?: string
[src]

Resource type.

§
layerId?: string
[src]

The layer this annotation is for.

§
layerSummary?: {
allowedCharacterCount?: number;
limitType?: string;
remainingCharacterCount?: number;
}
[src]
§
pageIds?: string[]
[src]

Pages that this annotation spans.

§
selectedText?: string
[src]

Excerpt from the volume.

§
updated?: string
[src]

Timestamp for the last time this annotation was modified.

§
volumeId?: string
[src]

The volume that this annotation belongs to.