Initial commit

This commit is contained in:
kirbara 2025-12-02 09:52:11 +07:00
commit 3f501820b1
Signed by: exp
GPG key ID: D7E63AD0019E75D9
173 changed files with 24001 additions and 0 deletions

21
quartz/util/ctx.ts Executable file
View file

@ -0,0 +1,21 @@
import { QuartzConfig } from "../cfg"
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 {
buildId: string
argv: Argv
cfg: QuartzConfig
allSlugs: FullSlug[]
}