rizaldy.club/quartz/util/ctx.ts

20 lines
339 B
TypeScript
Raw Normal View History

import { QuartzConfig } from "../cfg"
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
wsPort: number
remoteDevHost?: string
concurrency?: number
2023-07-24 05:37:06 +07:00
}
export interface BuildCtx {
argv: Argv
cfg: QuartzConfig
allSlugs: FullSlug[]
2023-07-24 05:37:06 +07:00
}