quartz-research-note/quartz/ctx.ts

17 lines
277 B
TypeScript
Raw Normal View History

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