@golemio/rush-hour-aggregation 1.0.8-dev.708281456 → 1.1.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.
- package/README.md +2 -2
- package/dist/schema-definitions/sequelize-models/FcdEvents.d.ts +1 -1
- package/dist/schema-definitions/sequelize-models/NdicEvent.d.ts +1 -1
- package/dist/schema-definitions/sequelize-models/TskEvent.d.ts +1 -1
- package/dist/schema-definitions/sequelize-models/WazeJams.d.ts +1 -1
- package/dist/schema-definitions/sequelize-models/WazeReconstructions.d.ts +1 -1
- package/package.json +11 -6
package/README.md
CHANGED
|
@@ -35,10 +35,10 @@ The APIs may be unstable. Therefore, we recommend to install this module as an e
|
|
|
35
35
|
|
|
36
36
|
```bash
|
|
37
37
|
# Latest version
|
|
38
|
-
|
|
38
|
+
npm install --save-exact @golemio/rush-hour-aggregation@latest
|
|
39
39
|
|
|
40
40
|
# Development version
|
|
41
|
-
|
|
41
|
+
npm install --save-exact @golemio/rush-hour-aggregation@dev
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
## Description
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
|
|
2
|
-
import { JSONSchemaType } from "@golemio/core/
|
|
2
|
+
import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
|
|
3
3
|
import { Geometry } from "geojson";
|
|
4
4
|
import IFcdEvent from "./interfaces/IFcdEvent";
|
|
5
5
|
import IWazeJams from "./interfaces/IWazeJams";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
|
|
2
|
-
import { JSONSchemaType } from "@golemio/core/
|
|
2
|
+
import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
|
|
3
3
|
import { Geometry } from "geojson";
|
|
4
4
|
import INdicEvent from "./interfaces/INdicEvent";
|
|
5
5
|
export default class NdicEvent extends Model<NdicEvent> implements INdicEvent {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
|
|
2
|
-
import { JSONSchemaType } from "@golemio/core/
|
|
2
|
+
import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
|
|
3
3
|
import { Geometry } from "geojson";
|
|
4
4
|
import ITskEvent from "./interfaces/ITskEvent";
|
|
5
5
|
export default class TskEvent extends Model<TskEvent> implements ITskEvent {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
|
|
2
|
-
import { JSONSchemaType } from "@golemio/core/
|
|
2
|
+
import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
|
|
3
3
|
import { Geometry } from "geojson";
|
|
4
4
|
import IWazeJams from "./interfaces/IWazeJams";
|
|
5
5
|
export default class WazeJams extends Model<WazeJams> implements IWazeJams {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
|
|
2
|
-
import { JSONSchemaType } from "@golemio/core/
|
|
2
|
+
import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
|
|
3
3
|
import { Geometry } from "geojson";
|
|
4
4
|
import IWazeReconstructions from "./interfaces/IWazeReconstructions";
|
|
5
5
|
export default class WazeReconstructions extends Model<WazeReconstructions> implements IWazeReconstructions {
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golemio/rush-hour-aggregation",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Rush hour data agregation for Praha dopravní project",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "rimraf ./dist && ttsc -p ./tsconfig.build.json",
|
|
9
|
-
"build-minimal": "run-s 'build --sourceMap false --declaration false'",
|
|
10
|
-
"build-watch": "run-s 'build --watch --preserveWatchOutput'",
|
|
9
|
+
"build-minimal": "run-s 'build -- --sourceMap false --declaration false'",
|
|
10
|
+
"build-watch": "run-s 'build -- --watch --preserveWatchOutput'",
|
|
11
11
|
"test": "cross-env NODE_ENV=test TS_NODE_COMPILER='ttypescript' mocha --exit --check-leaks --timeout 120000 -r ts-node/register -r dotenv/config 'test/**/*.test.ts'",
|
|
12
|
-
"test-debug": "run-s 'test --inspect-brk=9230'",
|
|
13
|
-
"code-coverage": "nyc run-s 'test -r source-map-support/register'",
|
|
12
|
+
"test-debug": "run-s 'test -- --inspect-brk=9230'",
|
|
13
|
+
"code-coverage": "nyc run-s 'test -- -r source-map-support/register'",
|
|
14
14
|
"generate-docs": "typedoc --out docs/typedoc src",
|
|
15
15
|
"lint": "eslint \"{src,test}/**/*.ts\""
|
|
16
16
|
},
|
|
@@ -23,6 +23,11 @@
|
|
|
23
23
|
"type": "git",
|
|
24
24
|
"url": "https://gitlab.com/operator-ict/golemio/code/modules/rush-hour-aggregation"
|
|
25
25
|
},
|
|
26
|
+
"engines": {
|
|
27
|
+
"node": ">=16.0.0",
|
|
28
|
+
"npm": ">=8.0.0",
|
|
29
|
+
"yarn": "Use npm!"
|
|
30
|
+
},
|
|
26
31
|
"devDependencies": {
|
|
27
32
|
"@commitlint/cli": "^11.0.0",
|
|
28
33
|
"@commitlint/config-conventional": "^11.0.0",
|
|
@@ -60,4 +65,4 @@
|
|
|
60
65
|
"@golemio/core": "^1.0.0"
|
|
61
66
|
},
|
|
62
67
|
"dependencies": {}
|
|
63
|
-
}
|
|
68
|
+
}
|