wiki/quartz/util/ctx.ts

22 lines
380 B
TypeScript
Raw Permalink 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
fastRebuild: boolean
2023-07-23 22:37:06 +00:00
port: number
wsPort: number
remoteDevHost?: string
concurrency?: number
2023-07-23 22:37:06 +00:00
}
export interface BuildCtx {
buildId: string
2023-07-23 22:37:06 +00:00
argv: Argv
cfg: QuartzConfig
allSlugs: FullSlug[]
2023-07-23 22:37:06 +00:00
}