summaryrefslogtreecommitdiff
path: root/src/reference_tree.mli
diff options
context:
space:
mode:
Diffstat (limited to 'src/reference_tree.mli')
-rw-r--r--src/reference_tree.mli9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/reference_tree.mli b/src/reference_tree.mli
index baa2694..6d02093 100644
--- a/src/reference_tree.mli
+++ b/src/reference_tree.mli
@@ -9,12 +9,19 @@ type value_constraint =
| External of string * string option [@name "exec"]
[@@deriving yojson]
+type completion_help_type =
+ | List of string [@name "list"]
+ | Path of string [@name "path"]
+ | Script of string [@name "script"]
+ [@@deriving yojson]
+
type ref_node_data = {
node_type: node_type;
constraints: value_constraint list;
+ constraint_error_message: string;
+ completion_help: completion_help_type list;
help: string;
value_help: (string * string) list;
- constraint_error_message: string;
multi: bool;
valueless: bool;
owner: string option;