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

type NixValue struct {
	Kind  string `json:"_type"`
	Value string `json:"text"`
}

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