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