fix: preserve value types in extraFields (no string coercion)
CI / typecheck + build (turbo) (push) Canceled after 0s

- DocumentMeta.extraFields type -> Record<string, unknown>
- API routes pass extraFields through without JSON.stringify coercion
- CustomFieldBadges auto-styles by value type/content (number->purple, boolean->green/red, etc.)
- DocForm help text: generic (no hardcoded field examples)
This commit is contained in:
asepharyana
2026-08-21 00:45:32 +07:00
parent edbd812c30
commit ceb53adba4
5 changed files with 27 additions and 14 deletions
+19
View File
@@ -0,0 +1,19 @@
---
title: "Dynamic Field Types Test"
type: "note"
section: "notes"
status: "published"
author: "asep"
tags: ["test"]
path: "notes/test/dynamic-field-types.md"
created_at: "2026-08-20T17:45:07.294Z"
updated_at: "2026-08-20T17:45:07.294Z"
priority: "5"
resolved: "true"
os: "linux"
complexity: "medium"
tags_list: "[\"alpha\",\"beta\"]"
metadata: "{\"owner\":\"team-a\",\"tier\":2}"
---
# Dynamic Field Types Test
Testing various field value types.