Skip to content

Commit cd0141d

Browse files
author
SentienceDev
committed
optional href field to element
1 parent f6d26cc commit cd0141d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/types.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ export interface Element {
4646
doc_y?: number; // Y coordinate in document (center_y + scroll_y)
4747
group_key?: string; // Geometric bucket key for ordinal grouping
4848
group_index?: number; // Position within group (0-indexed, sorted by doc_y)
49+
50+
// Hyperlink URL (for link elements)
51+
href?: string;
4952
}
5053

5154
export interface Snapshot {

0 commit comments

Comments
 (0)