A class that interacts with the Notion SDK to be an easy-to-work-with front for retrieving page front matter and content.
NotionPageBuilder(unnamed 0: BuilderOptions)
getPageContent(pageId: string,options?: Omit<BuildOptions, "schema">,): Promise<string>
Retrieve the content of a Notion page, given a set of inline and block formatters. Not all blocks are supported by default, but you may supplement your own formatters to suit your exact needs.
listUpdatedPages(): Promise<Record<string, FrontMatter>>
Retrieve the front matter of all pages from a database that were modified
after a specified point in time. The time must be specified as a timestamp
(i.e. the number of milleseconds since the epoch, like what is returned by
Date.now()
). The return value is a record mapping a page UUID to its
front matter.