diff options
| author | nsfisis <nsfisis@gmail.com> | 2023-03-18 15:54:53 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2023-03-18 16:17:21 +0900 |
| commit | 2428ea512cdbac4b86189c654814c5eeca54a704 (patch) | |
| tree | 70fb4eab0d0b87155112f4370853dbde387fd021 /nuldoc-src/page.ts | |
| parent | 2b50e1778b164e641c03c2e77176b6f47ca1e278 (diff) | |
| download | blog.nsfisis.dev-2428ea512cdbac4b86189c654814c5eeca54a704.tar.gz blog.nsfisis.dev-2428ea512cdbac4b86189c654814c5eeca54a704.tar.zst blog.nsfisis.dev-2428ea512cdbac4b86189c654814c5eeca54a704.zip | |
refactor: add Page type to represent single web page
Diffstat (limited to 'nuldoc-src/page.ts')
| -rw-r--r-- | nuldoc-src/page.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nuldoc-src/page.ts b/nuldoc-src/page.ts new file mode 100644 index 0000000..970265e --- /dev/null +++ b/nuldoc-src/page.ts @@ -0,0 +1,8 @@ +import { Element } from "./dom.ts"; +import { RendererType } from "./render.ts"; + +export type Page = { + root: Element; + renderer: RendererType; + destFilePath: string; +}; |
