This repository has been archived on 2024-09-06. You can view files and clone it, but cannot push or open issues or pull requests.
quartz-wiki/quartz/util/ctx.ts
2024-01-10 14:39:54 +08:00

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[]
}