Skip to content

cupertino-files / TocEntry

Interface: TocEntry

Defined in: src/tswp/toc.ts:84

A line the app produced the last time it regenerated the TOC.

Properties

heading

heading: string

Defined in: src/tswp/toc.ts:89


level

level: number | undefined

Defined in: src/tswp/toc.ts:91

Outline depth, where the source paragraph was in a list.


pageNumber

pageNumber: number

Defined in: src/tswp/toc.ts:88

Page it landed on — a layout result, not something we can compute.


paragraphIndex

paragraphIndex: number

Defined in: src/tswp/toc.ts:86

Paragraph this line came from, indexed within the source storage.

MIT licensed. Independently made — not by Apple in California. Not affiliated with or endorsed by Apple Inc.