From d179a8f2a338d244dc5289c76a15938f698acae8 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Sun, 10 Feb 2019 14:56:11 -0800 Subject: [PATCH] Forgot to add POINT to commands.json --- core/commands.json | 26 ++++++++++++++++++++++++++ core/commands_gen.go | 28 +++++++++++++++++++++++++++- 2 files changed, 53 insertions(+), 1 deletion(-) diff --git a/core/commands.json b/core/commands.json index 8fe9b3b7..93adc1bb 100644 --- a/core/commands.json +++ b/core/commands.json @@ -1793,6 +1793,19 @@ { "name": "area1", "enumargs": [ + { + "name": "POINT", + "arguments": [ + { + "name": "lat", + "type": "double" + }, + { + "name": "lon", + "type": "double" + } + ] + }, { "name": "GET", "arguments": [ @@ -1910,6 +1923,19 @@ { "name": "area2", "enumargs": [ + { + "name": "POINT", + "arguments": [ + { + "name": "lat", + "type": "double" + }, + { + "name": "lon", + "type": "double" + } + ] + }, { "name": "GET", "arguments": [ diff --git a/core/commands_gen.go b/core/commands_gen.go index 5b4157a5..70e7769d 100644 --- a/core/commands_gen.go +++ b/core/commands_gen.go @@ -1953,12 +1953,25 @@ var commandsJSON = `{ "group": "scripting" }, "TEST":{ - "summary": "Performs spatial tests", + "summary": "Performs spatial test", "complexity": "One test per command, complexity depends on the test", "arguments": [ { "name": "area1", "enumargs": [ + { + "name": "POINT", + "arguments": [ + { + "name": "lat", + "type": "double" + }, + { + "name": "lon", + "type": "double" + } + ] + }, { "name": "GET", "arguments": [ @@ -2076,6 +2089,19 @@ var commandsJSON = `{ { "name": "area2", "enumargs": [ + { + "name": "POINT", + "arguments": [ + { + "name": "lat", + "type": "double" + }, + { + "name": "lon", + "type": "double" + } + ] + }, { "name": "GET", "arguments": [