quartz-research-note/quartz/util/ctx.ts

18 lines
297 B
TypeScript
Raw Normal View History

import { QuartzConfig } from "../cfg"
import { FullSlug } from "./path"
2023-07-23 22:37:06 +00:00
export interface Argv {
directory: string
verbose: boolean
output: string
serve: boolean
port: number
concurrency?: number
2023-07-23 22:37:06 +00:00
}
export interface BuildCtx {
argv: Argv
cfg: QuartzConfig
allSlugs: FullSlug[]
2023-07-23 22:37:06 +00:00
}