keroosha.cybergulag.today/quartz/ctx.ts

18 lines
300 B
TypeScript
Raw Normal View History

2023-07-24 01:37:06 +03:00
import { QuartzConfig } from "./cfg"
2023-07-24 10:04:01 +03:00
import { ServerSlug } from "./path"
2023-07-24 01:37:06 +03:00
export interface Argv {
directory: string
verbose: boolean
output: string
serve: boolean
port: number
concurrency?: number
2023-07-24 01:37:06 +03:00
}
export interface BuildCtx {
argv: Argv
cfg: QuartzConfig
2023-07-24 10:04:01 +03:00
allSlugs: ServerSlug[]
2023-07-24 01:37:06 +03:00
}