Jacky Zhao
2023-09-07 ef1ead31dccd05f4275405b843ff47fa28a5116d
quartz/util/ctx.ts
@@ -1,5 +1,5 @@
import { QuartzConfig } from "../cfg"
import { ServerSlug } from "./path"
import { FullSlug } from "./path"
export interface Argv {
  directory: string
@@ -7,11 +7,13 @@
  output: string
  serve: boolean
  port: number
  wsPort: number
  remoteDevHost?: string
  concurrency?: number
}
export interface BuildCtx {
  argv: Argv
  cfg: QuartzConfig
  allSlugs: ServerSlug[]
  allSlugs: FullSlug[]
}