2023-08-17 12:04:15 +07:00
|
|
|
import { QuartzConfig } from "../cfg"
|
2023-08-20 05:52:25 +07:00
|
|
|
import { FullSlug } 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-28 07:39:42 +07:00
|
|
|
wsPort: number
|
|
|
|
remoteDevHost?: string
|
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-08-20 05:52:25 +07:00
|
|
|
allSlugs: FullSlug[]
|
2023-07-24 05:37:06 +07:00
|
|
|
}
|