site/quartz/util/ctx.ts

21 lines
362 B
TypeScript
Raw Normal View History

2024-04-05 00:03:11 +00:00
import { QuartzConfig } from "../cfg"
import { FullSlug } from "./path"
export interface Argv {
directory: string
verbose: boolean
output: string
serve: boolean
fastRebuild: boolean
port: number
wsPort: number
remoteDevHost?: string
concurrency?: number
}
export interface BuildCtx {
argv: Argv
cfg: QuartzConfig
allSlugs: FullSlug[]
}