20 lines
339 B
TypeScript
20 lines
339 B
TypeScript
|
import { QuartzConfig } from "../cfg"
|
||
|
import { FullSlug } from "./path"
|
||
|
|
||
|
export interface Argv {
|
||
|
directory: string
|
||
|
verbose: boolean
|
||
|
output: string
|
||
|
serve: boolean
|
||
|
port: number
|
||
|
wsPort: number
|
||
|
remoteDevHost?: string
|
||
|
concurrency?: number
|
||
|
}
|
||
|
|
||
|
export interface BuildCtx {
|
||
|
argv: Argv
|
||
|
cfg: QuartzConfig
|
||
|
allSlugs: FullSlug[]
|
||
|
}
|