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
|
2024-02-09 22:07:32 +07:00
|
|
|
fastRebuild: boolean
|
2023-07-24 05:37:06 +07:00
|
|
|
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 {
|
2024-08-09 09:17:20 +07:00
|
|
|
buildId: string
|
2023-07-24 05:37:06 +07:00
|
|
|
argv: Argv
|
|
|
|
cfg: QuartzConfig
|
2023-08-20 05:52:25 +07:00
|
|
|
allSlugs: FullSlug[]
|
2023-07-24 05:37:06 +07:00
|
|
|
}
|