Update DOX docs for R2 image upload

This commit is contained in:
2026-09-12 10:10:21 +08:00
parent df330ffd70
commit 00502e5e52
3 changed files with 9 additions and 5 deletions
+1
View File
@@ -19,6 +19,7 @@ D1 讀取查詢層(`content.ts`)同後台網站設定欄位定義(`setting
- **`Db` 型別**`DrizzleD1Database<typeof schema>`
- **連結 helper**`whatsappHref` / `telHref` / `mailHref` / `digits` / `formatDate`;電話/WhatsApp 一律經呢啲 helper,唔好散寫。
- **設定欄位**`settings-fields.ts``SETTINGS_GROUPS``/admin/settings` 表單的唯一來源;新增一個 setting key 之後,要同步加落 `migrations/seed.sql`
- **圖片欄位**`FieldType``"image"``hero_image` / `og_image` 用呢個型別,`/admin/settings` 會 render `ImageField`(可上傳去 R2)。
- 顯示用文案繁體中文。
## Work Guidance