2023-08-17 05:04:15 +00:00
|
|
|
import { QuartzConfig } from "../cfg"
|
2023-08-19 22:52:25 +00:00
|
|
|
import { FullSlug } from "./path"
|
2023-07-23 22:37:06 +00:00
|
|
|
|
|
|
|
export interface Argv {
|
|
|
|
directory: string
|
|
|
|
verbose: boolean
|
|
|
|
output: string
|
|
|
|
serve: boolean
|
2024-02-09 15:07:32 +00:00
|
|
|
fastRebuild: boolean
|
2023-07-23 22:37:06 +00:00
|
|
|
port: number
|
2023-08-28 00:39:42 +00:00
|
|
|
wsPort: number
|
|
|
|
remoteDevHost?: string
|
2023-08-09 05:52:49 +00:00
|
|
|
concurrency?: number
|
2023-07-23 22:37:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface BuildCtx {
|
|
|
|
argv: Argv
|
|
|
|
cfg: QuartzConfig
|
2023-08-19 22:52:25 +00:00
|
|
|
allSlugs: FullSlug[]
|
2023-07-23 22:37:06 +00:00
|
|
|
}
|