2023-07-24 05:37:06 +07:00
|
|
|
import { QuartzConfig } from "./cfg"
|
2023-07-24 14:04:01 +07:00
|
|
|
import { ServerSlug } from "./path"
|
2023-07-24 05:37:06 +07:00
|
|
|
|
|
|
|
export interface Argv {
|
|
|
|
directory: string
|
|
|
|
verbose: boolean
|
|
|
|
output: string
|
|
|
|
serve: boolean
|
|
|
|
port: number
|
2023-08-09 12:52:49 +07:00
|
|
|
concurrency?: number
|
2023-07-24 05:37:06 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface BuildCtx {
|
|
|
|
argv: Argv
|
|
|
|
cfg: QuartzConfig
|
2023-07-24 14:04:01 +07:00
|
|
|
allSlugs: ServerSlug[]
|
2023-07-24 05:37:06 +07:00
|
|
|
}
|