Jacky Zhao
2023-08-14 7bde99b4e2d49e30dad1e0d58ccc34c2e7482005
quartz/ctx.ts
@@ -1,4 +1,5 @@
import { QuartzConfig } from "./cfg"
import { ServerSlug } from "./path"
export interface Argv {
  directory: string
@@ -6,9 +7,11 @@
  output: string
  serve: boolean
  port: number
  concurrency?: number
}
export interface BuildCtx {
  argv: Argv
  cfg: QuartzConfig
  allSlugs: ServerSlug[]
}