From 3ce6aa49bf25b26a4cb1bf18e9770271d132772d Mon Sep 17 00:00:00 2001
From: Karim <46734059+h-karim@users.noreply.github.com>
Date: Fri, 21 Mar 2025 23:49:56 +0000
Subject: [PATCH] fix(ogImage): update socialImage path to include base URL if defined (#1858)
---
quartz/util/ctx.ts | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/quartz/util/ctx.ts b/quartz/util/ctx.ts
index e056114..b3e7a37 100644
--- a/quartz/util/ctx.ts
+++ b/quartz/util/ctx.ts
@@ -1,12 +1,12 @@
import { QuartzConfig } from "../cfg"
-import { FullSlug } from "./path"
+import { FilePath, FullSlug } from "./path"
export interface Argv {
directory: string
verbose: boolean
output: string
serve: boolean
- fastRebuild: boolean
+ watch: boolean
port: number
wsPort: number
remoteDevHost?: string
@@ -14,7 +14,12 @@
}
export interface BuildCtx {
+ buildId: string
argv: Argv
cfg: QuartzConfig
allSlugs: FullSlug[]
+ allFiles: FilePath[]
+ incremental: boolean
}
+
+export type WorkerSerializableBuildCtx = Omit<BuildCtx, "cfg">
--
Gitblit v1.10.0