about summary refs log tree commit diff stats
path: root/internal/server/option.go
blob: 2712d8ae0a0d87c765d5b55ebe06fca5254671e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package server

type NixValue struct {
	Type string `json:"_type"`
	Text string `json:"text"`
}

type Option struct {
	Declarations []string
	Default      NixValue
	Description  string
	Example      NixValue
	ReadOnly     bool
	Type         string `json:"type"`
}