docs/quartz/util/ctx.ts
Mauro Balades a08a51eea3 initial
2024-08-18 00:54:32 +02:00

21 lines
380 B
TypeScript

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 {
buildId: string
argv: Argv
cfg: QuartzConfig
allSlugs: FullSlug[]
}