@geode/opengeodeweb-back 5.10.5 → 5.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,84 @@
1
1
  {
2
2
  "opengeodeweb_back": {
3
+ "create": {
4
+ "create_point": {
5
+ "$id": "opengeodeweb_back/create/create_point",
6
+ "route": "/create_point",
7
+ "methods": [
8
+ "POST"
9
+ ],
10
+ "type": "object",
11
+ "properties": {
12
+ "name": {
13
+ "type": "string",
14
+ "minLength": 1
15
+ },
16
+ "x": {
17
+ "type": "number"
18
+ },
19
+ "y": {
20
+ "type": "number"
21
+ },
22
+ "z": {
23
+ "type": "number"
24
+ }
25
+ },
26
+ "required": [
27
+ "name",
28
+ "x",
29
+ "y",
30
+ "z"
31
+ ],
32
+ "additionalProperties": false
33
+ },
34
+ "create_aoi": {
35
+ "$id": "opengeodeweb_back/create/create_aoi",
36
+ "route": "/create_aoi",
37
+ "methods": [
38
+ "POST"
39
+ ],
40
+ "type": "object",
41
+ "properties": {
42
+ "name": {
43
+ "type": "string",
44
+ "description": "Name of the AOI"
45
+ },
46
+ "points": {
47
+ "type": "array",
48
+ "items": {
49
+ "type": "object",
50
+ "properties": {
51
+ "x": {
52
+ "type": "number"
53
+ },
54
+ "y": {
55
+ "type": "number"
56
+ }
57
+ },
58
+ "required": [
59
+ "x",
60
+ "y"
61
+ ],
62
+ "additionalProperties": false
63
+ },
64
+ "minItems": 4,
65
+ "maxItems": 4
66
+ },
67
+ "z": {
68
+ "type": "number"
69
+ },
70
+ "id": {
71
+ "type": "string"
72
+ }
73
+ },
74
+ "required": [
75
+ "name",
76
+ "points",
77
+ "z"
78
+ ],
79
+ "additionalProperties": false
80
+ }
81
+ },
3
82
  "models": {
4
83
  "vtm_component_indices": {
5
84
  "$id": "opengeodeweb_back/models/vtm_component_indices",
@@ -258,36 +337,6 @@
258
337
  ],
259
338
  "additionalProperties": false
260
339
  },
261
- "create_point": {
262
- "$id": "opengeodeweb_back/create_point",
263
- "route": "/create_point",
264
- "methods": [
265
- "POST"
266
- ],
267
- "type": "object",
268
- "properties": {
269
- "title": {
270
- "type": "string",
271
- "minLength": 1
272
- },
273
- "x": {
274
- "type": "number"
275
- },
276
- "y": {
277
- "type": "number"
278
- },
279
- "z": {
280
- "type": "number"
281
- }
282
- },
283
- "required": [
284
- "title",
285
- "x",
286
- "y",
287
- "z"
288
- ],
289
- "additionalProperties": false
290
- },
291
340
  "allowed_objects": {
292
341
  "$id": "opengeodeweb_back/allowed_objects",
293
342
  "route": "/allowed_objects",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geode/opengeodeweb-back",
3
- "version": "5.10.5",
3
+ "version": "5.11.0",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "json": "node ./node_modules/@geode/opengeodeweb-microservice/generate_schemas.js opengeodeweb_back routes route /",