Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,13 @@ export type TextContentsOptions = {
* @property {string} [query] - The query string to use for highlights search.
* @property {number} [numSentences] - The number of sentences to return for each highlight.
* @property {number} [highlightsPerUrl] - The number of highlights to return for each URL.
* @property {"strip" | "keep"} [linkPolicy] - Whether to strip or keep links in the highlights.
*/
export type HighlightsContentsOptions = {
query?: string;
numSentences?: number;
highlightsPerUrl?: number;
linkPolicy?: "strip" | "keep";
};

/**
Expand Down