summaryrefslogtreecommitdiff
path: root/lib/VNWeb/Elm.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-11-28 19:46:37 +0100
committerYorhel <git@yorhel.nl>2020-11-28 19:47:31 +0100
commit4e6c3cc8e9b2dc966d25263b089b2eda5459f134 (patch)
tree676356031bd22e3fb085a9fc83e27c7aa5568b2c /lib/VNWeb/Elm.pm
parentdd2762e6afab7cf33794c3d95bcfc8c9506702a1 (diff)
Releases::Edit: Use lazy-loaded autocompletion for resolutions and engines
Seems more efficient - no need to fetch and transfer those lists when they won't be needed in the majority of cases.
Diffstat (limited to 'lib/VNWeb/Elm.pm')
-rw-r--r--lib/VNWeb/Elm.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/VNWeb/Elm.pm b/lib/VNWeb/Elm.pm
index 1dd2e93f..0fd24d36 100644
--- a/lib/VNWeb/Elm.pm
+++ b/lib/VNWeb/Elm.pm
@@ -70,6 +70,10 @@ our %apis = (
resolution => {},
count => { uint => 1 },
} } ],
+ Engines => [ { aoh => { # Response to 'Engines'
+ engine => {},
+ count => { uint => 1 },
+ } } ],
BoardResult => [ { aoh => { # Response to 'Boards'
btype => {},
iid => { required => 0, default => 0, id => 1 },