about summary refs log tree commit diff stats
path: root/internal/server/option.go
diff options
context:
space:
mode:
authorAlan Pearce2024-05-04 15:32:41 +0200
committerAlan Pearce2024-05-04 15:32:41 +0200
commitb682ed936d8185e91331e9f66fc0e13072f8b545 (patch)
treea5d13a7187c3b9222cd2587ed1c4569329914aa7 /internal/server/option.go
parent5b9e67fd5129dec75169a1a070c70f910dff6da2 (diff)
downloadsearchix-b682ed936d8185e91331e9f66fc0e13072f8b545.tar.lz
searchix-b682ed936d8185e91331e9f66fc0e13072f8b545.tar.zst
searchix-b682ed936d8185e91331e9f66fc0e13072f8b545.zip
feat: show metadata in grid
Diffstat (limited to 'internal/server/option.go')
-rw-r--r--internal/server/option.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/server/option.go b/internal/server/option.go
index be42689..2712d8a 100644
--- a/internal/server/option.go
+++ b/internal/server/option.go
@@ -1,8 +1,8 @@
 package server
 
 type NixValue struct {
-	Kind  string `json:"_type"`
-	Value string `json:"text"`
+	Type string `json:"_type"`
+	Text string `json:"text"`
 }
 
 type Option struct {
@@ -11,5 +11,5 @@ type Option struct {
 	Description  string
 	Example      NixValue
 	ReadOnly     bool
-	Kind         string `json:"type"`
+	Type         string `json:"type"`
 }