From 78e13bcb40af99210c0c3c80becd9e2a5858a8fa Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sat, 26 Apr 2025 18:04:23 +0000
Subject: [PATCH] chore: add ci to preview all prs (#1947)
---
index.d.ts | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/index.d.ts b/index.d.ts
index aec536d..9011ee3 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -5,7 +5,11 @@
// dom custom event
interface CustomEventMap {
+ prenav: CustomEvent<{}>
nav: CustomEvent<{ url: FullSlug }>
+ themechange: CustomEvent<{ theme: "light" | "dark" }>
+ readermodechange: CustomEvent<{ mode: "on" | "off" }>
}
+type ContentIndex = Record<FullSlug, ContentDetails>
declare const fetchData: Promise<ContentIndex>
--
Gitblit v1.10.0