Hydrophobefireman
2024-03-31 aa4f5294a3b0a8fa7e10d128c8f0258ad024ae73
quartz/util/ctx.ts
@@ -1,17 +1,20 @@
import { QuartzConfig } from "../cfg"
import { ServerSlug } from "./path"
import { FullSlug } from "./path"
export interface Argv {
  directory: string
  verbose: boolean
  output: string
  serve: boolean
  fastRebuild: boolean
  port: number
  wsPort: number
  remoteDevHost?: string
  concurrency?: number
}
export interface BuildCtx {
  argv: Argv
  cfg: QuartzConfig
  allSlugs: ServerSlug[]
  allSlugs: FullSlug[]
}