mirror of
https://github.com/zen-browser/docs.git
synced 2025-07-10 02:05:33 +02:00
initial
This commit is contained in:
commit
a08a51eea3
241 changed files with 23091 additions and 0 deletions
21
quartz/util/ctx.ts
Normal file
21
quartz/util/ctx.ts
Normal 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[]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue