@golemio/mvt-maps 1.0.1-dev.1954051707 → 1.1.0-rc.1964633507

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.
@@ -37,6 +37,14 @@ Hlavní funkcionality:
37
37
  #### filtrování
38
38
 
39
39
  - Filtrování je možné provést pomocí parametru `filter`. Pravidla pro převod do sql jsou v souboru [`src/output-gateway/services/FilterBuilder.ts`](../src/output-gateway/services/FilterBuilder.ts).
40
- - Syntaxe: `filter.<field_name>.<operator>=<value>`, kde `field_name` je název sloupce v tabulce, `operator` je operátor filtrace a `value` je filtrovaná hodnota.
41
- - Příklad url: `http://localhost:3004/v2/mvt/10/10/10?filter[status][eq]=active`
40
+ - Parametr obsahuje stringified json ve tvaru:
41
+ ```
42
+ {
43
+ field_name: {
44
+ operator: value
45
+ }
46
+ }
47
+ ```
48
+ - `field_name` je název sloupce v tabulce, `operator` definuje jak se porovnává sloupec a hdnota a `value` je filtrovaná hodnota.
49
+ - Příklad url: `http://localhost:3004/v2/mvt/10/10/10?filter=%7B%22is_monitored%22%3A%7B%22eq%22%3A%22false%22%7D%7D`
42
50
  - Implementované operátory: `eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `in`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golemio/mvt-maps",
3
- "version": "1.0.1-dev.1954051707",
3
+ "version": "1.1.0-rc.1964633507",
4
4
  "description": "Golemio MVT Maps Module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -35,7 +35,7 @@
35
35
  "@commitlint/cli": "^19.3.0",
36
36
  "@commitlint/config-conventional": "^11.0.0",
37
37
  "@golemio/cli": "1.10.0",
38
- "@golemio/core": "1.20.11",
38
+ "@golemio/core": "1.20.14",
39
39
  "@golemio/db-common": "1.2.0",
40
40
  "@golemio/eslint-config": "1.1.2",
41
41
  "@types/chai": "4.2.3",
@@ -69,7 +69,7 @@
69
69
  "typescript-transform-paths": "^3.4.6"
70
70
  },
71
71
  "dependencies": {
72
- "@golemio/clusterbuster": "2.9.1-diversion.1-dev.1844572513"
72
+ "@golemio/clusterbuster": "2.9.1-diversion.1"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "@golemio/core": ">=1.20.5"