@golemio/pid 2.2.11-dev.626273033 → 2.2.11
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,4 +1,28 @@
|
|
|
1
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="mongoose/types/callback" />
|
|
3
|
+
/// <reference types="mongoose/types/collection" />
|
|
4
|
+
/// <reference types="mongoose/types/connection" />
|
|
5
|
+
/// <reference types="mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="mongoose/types/document" />
|
|
7
|
+
/// <reference types="mongoose/types/error" />
|
|
8
|
+
/// <reference types="mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="mongoose/types/models" />
|
|
13
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="mongoose/types/populate" />
|
|
16
|
+
/// <reference types="mongoose/types/query" />
|
|
17
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="mongoose/types/session" />
|
|
20
|
+
/// <reference types="mongoose/types/types" />
|
|
21
|
+
/// <reference types="mongoose/types/utility" />
|
|
22
|
+
/// <reference types="mongoose/types/validation" />
|
|
23
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
1
24
|
/// <reference types="mongoose" />
|
|
25
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
2
26
|
import { ModelAttributes } from "@golemio/core/dist/shared/sequelize";
|
|
3
27
|
export interface IRopidGTFSStopsOutput {
|
|
4
28
|
level_id: string;
|
|
@@ -23,7 +47,7 @@ export declare const RopidGTFSSchedule: {
|
|
|
23
47
|
agency: {
|
|
24
48
|
name: string;
|
|
25
49
|
outputMongooseSchemaObject: {
|
|
26
|
-
[path: string]:
|
|
50
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
27
51
|
};
|
|
28
52
|
outputSequelizeAttributes: ModelAttributes<any, any>;
|
|
29
53
|
pgTableName: string;
|
|
@@ -31,7 +55,7 @@ export declare const RopidGTFSSchedule: {
|
|
|
31
55
|
calendar: {
|
|
32
56
|
name: string;
|
|
33
57
|
outputMongooseSchemaObject: {
|
|
34
|
-
[path: string]:
|
|
58
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
35
59
|
};
|
|
36
60
|
outputSequelizeAttributes: ModelAttributes<any, any>;
|
|
37
61
|
pgTableName: string;
|
|
@@ -39,7 +63,7 @@ export declare const RopidGTFSSchedule: {
|
|
|
39
63
|
calendar_dates: {
|
|
40
64
|
name: string;
|
|
41
65
|
outputMongooseSchemaObject: {
|
|
42
|
-
[path: string]:
|
|
66
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
43
67
|
};
|
|
44
68
|
outputSequelizeAttributes: ModelAttributes<any, any>;
|
|
45
69
|
pgTableName: string;
|
|
@@ -47,7 +71,7 @@ export declare const RopidGTFSSchedule: {
|
|
|
47
71
|
shapes: {
|
|
48
72
|
name: string;
|
|
49
73
|
outputMongooseSchemaObject: {
|
|
50
|
-
[path: string]:
|
|
74
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
51
75
|
};
|
|
52
76
|
outputSequelizeAttributes: ModelAttributes<any, any>;
|
|
53
77
|
pgTableName: string;
|
|
@@ -55,7 +79,7 @@ export declare const RopidGTFSSchedule: {
|
|
|
55
79
|
stop_times: {
|
|
56
80
|
name: string;
|
|
57
81
|
outputMongooseSchemaObject: {
|
|
58
|
-
[path: string]:
|
|
82
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
59
83
|
};
|
|
60
84
|
outputSequelizeAttributes: ModelAttributes<any, any>;
|
|
61
85
|
modelIndexOptions: import("sequelize/types/dialects/abstract/query-interface").IndexesOptions[];
|
|
@@ -64,7 +88,7 @@ export declare const RopidGTFSSchedule: {
|
|
|
64
88
|
stops: {
|
|
65
89
|
name: string;
|
|
66
90
|
outputMongooseSchemaObject: {
|
|
67
|
-
[path: string]:
|
|
91
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
68
92
|
};
|
|
69
93
|
outputSequelizeAttributes: ModelAttributes<any, IRopidGTFSStopsOutput>;
|
|
70
94
|
pgTableName: string;
|
|
@@ -72,7 +96,7 @@ export declare const RopidGTFSSchedule: {
|
|
|
72
96
|
routes: {
|
|
73
97
|
name: string;
|
|
74
98
|
outputMongooseSchemaObject: {
|
|
75
|
-
[path: string]:
|
|
99
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
76
100
|
};
|
|
77
101
|
outputSequelizeAttributes: ModelAttributes<any, any>;
|
|
78
102
|
pgTableName: string;
|
|
@@ -80,7 +104,7 @@ export declare const RopidGTFSSchedule: {
|
|
|
80
104
|
trips: {
|
|
81
105
|
name: string;
|
|
82
106
|
outputMongooseSchemaObject: {
|
|
83
|
-
[path: string]:
|
|
107
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
84
108
|
};
|
|
85
109
|
outputSequelizeAttributes: ModelAttributes<any, any>;
|
|
86
110
|
pgTableName: string;
|
|
@@ -1,4 +1,28 @@
|
|
|
1
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="mongoose/types/callback" />
|
|
3
|
+
/// <reference types="mongoose/types/collection" />
|
|
4
|
+
/// <reference types="mongoose/types/connection" />
|
|
5
|
+
/// <reference types="mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="mongoose/types/document" />
|
|
7
|
+
/// <reference types="mongoose/types/error" />
|
|
8
|
+
/// <reference types="mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="mongoose/types/models" />
|
|
13
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="mongoose/types/populate" />
|
|
16
|
+
/// <reference types="mongoose/types/query" />
|
|
17
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="mongoose/types/session" />
|
|
20
|
+
/// <reference types="mongoose/types/types" />
|
|
21
|
+
/// <reference types="mongoose/types/utility" />
|
|
22
|
+
/// <reference types="mongoose/types/validation" />
|
|
23
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
1
24
|
/// <reference types="mongoose" />
|
|
25
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
2
26
|
import Sequelize from "@golemio/core/dist/shared/sequelize";
|
|
3
27
|
declare const forExport: {
|
|
4
28
|
pgSchema: string;
|
|
@@ -149,7 +173,7 @@ declare const forExport: {
|
|
|
149
173
|
lastPositions: {
|
|
150
174
|
name: string;
|
|
151
175
|
outputMongooseSchemaObject: {
|
|
152
|
-
[path: string]:
|
|
176
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
153
177
|
};
|
|
154
178
|
outputSequelizeAttributes: Sequelize.ModelAttributes<any, any>;
|
|
155
179
|
pgTableName: string;
|
|
@@ -158,7 +182,7 @@ declare const forExport: {
|
|
|
158
182
|
positions: {
|
|
159
183
|
name: string;
|
|
160
184
|
outputMongooseSchemaObject: {
|
|
161
|
-
[path: string]:
|
|
185
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
162
186
|
};
|
|
163
187
|
outputSequelizeAttributes: Sequelize.ModelAttributes<any, any>;
|
|
164
188
|
pgTableName: string;
|
|
@@ -166,7 +190,7 @@ declare const forExport: {
|
|
|
166
190
|
runs: {
|
|
167
191
|
name: string;
|
|
168
192
|
outputMongooseSchemaObject: {
|
|
169
|
-
[path: string]:
|
|
193
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
170
194
|
};
|
|
171
195
|
outputSequelizeAttributes: Sequelize.ModelAttributes<any, any>;
|
|
172
196
|
pgTableName: string;
|
|
@@ -174,7 +198,7 @@ declare const forExport: {
|
|
|
174
198
|
runsMessages: {
|
|
175
199
|
name: string;
|
|
176
200
|
outputMongooseSchemaObject: {
|
|
177
|
-
[path: string]:
|
|
201
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
178
202
|
};
|
|
179
203
|
outputSequelizeAttributes: Sequelize.ModelAttributes<any, any>;
|
|
180
204
|
pgTableName: string;
|
|
@@ -182,14 +206,14 @@ declare const forExport: {
|
|
|
182
206
|
runsTrips: {
|
|
183
207
|
name: string;
|
|
184
208
|
outputMongooseSchemaObject: {
|
|
185
|
-
[path: string]:
|
|
209
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
186
210
|
};
|
|
187
211
|
namespacePrefix: string;
|
|
188
212
|
};
|
|
189
213
|
trips: {
|
|
190
214
|
name: string;
|
|
191
215
|
outputMongooseSchemaObject: {
|
|
192
|
-
[path: string]:
|
|
216
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
193
217
|
};
|
|
194
218
|
outputSequelizeAttributes: Sequelize.ModelAttributes<any, any>;
|
|
195
219
|
pgTableName: string;
|
|
@@ -197,7 +221,7 @@ declare const forExport: {
|
|
|
197
221
|
vehicleTypes: {
|
|
198
222
|
name: string;
|
|
199
223
|
outputMongooseSchemaObject: {
|
|
200
|
-
[path: string]:
|
|
224
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
201
225
|
};
|
|
202
226
|
outputSequelizeAttributes: Sequelize.ModelAttributes<any, any>;
|
|
203
227
|
pgTableName: string;
|
|
@@ -205,7 +229,7 @@ declare const forExport: {
|
|
|
205
229
|
tripStops: {
|
|
206
230
|
name: string;
|
|
207
231
|
outputMongooseSchemaObject: {
|
|
208
|
-
[path: string]:
|
|
232
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
209
233
|
};
|
|
210
234
|
namespacePrefix: string;
|
|
211
235
|
};
|
|
@@ -213,7 +237,7 @@ declare const forExport: {
|
|
|
213
237
|
lastPositions: {
|
|
214
238
|
name: string;
|
|
215
239
|
outputMongooseSchemaObject: {
|
|
216
|
-
[path: string]:
|
|
240
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
217
241
|
};
|
|
218
242
|
outputSequelizeAttributes: Sequelize.ModelAttributes<any, any>;
|
|
219
243
|
pgTableName: string;
|
|
@@ -221,7 +245,7 @@ declare const forExport: {
|
|
|
221
245
|
positions: {
|
|
222
246
|
name: string;
|
|
223
247
|
outputMongooseSchemaObject: {
|
|
224
|
-
[path: string]:
|
|
248
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
225
249
|
};
|
|
226
250
|
outputSequelizeAttributes: Sequelize.ModelAttributes<any, any>;
|
|
227
251
|
pgTableName: string;
|
|
@@ -229,7 +253,7 @@ declare const forExport: {
|
|
|
229
253
|
trips: {
|
|
230
254
|
name: string;
|
|
231
255
|
outputMongooseSchemaObject: {
|
|
232
|
-
[path: string]:
|
|
256
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
233
257
|
};
|
|
234
258
|
outputSequelizeAttributes: Sequelize.ModelAttributes<any, any>;
|
|
235
259
|
pgTableName: string;
|
package/package.json
CHANGED
|
@@ -1,78 +1,78 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
2
|
+
"name": "@golemio/pid",
|
|
3
|
+
"version": "2.2.11",
|
|
4
|
+
"description": "Golemio PID Module",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
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'",
|
|
11
|
+
"pretest": "golemio import-db-data --postgres",
|
|
12
|
+
"test": "cross-env NODE_ENV='test' TS_NODE_COMPILER='ttypescript' TZ='UTC' mocha --exit --check-leaks --timeout 120000 -r ts-node/register -r dotenv/config 'test/**/*.test.ts'",
|
|
13
|
+
"test-debug": "run-s 'test --inspect-brk=9230'",
|
|
14
|
+
"code-coverage": "nyc run-s 'test -r source-map-support/register'",
|
|
15
|
+
"generate-docs": "typedoc --out docs/typedoc src",
|
|
16
|
+
"lint": "eslint --cache \"{src,test}/**/*.ts\""
|
|
17
|
+
},
|
|
18
|
+
"keywords": [
|
|
19
|
+
"golemio"
|
|
20
|
+
],
|
|
21
|
+
"author": "Operator ICT, a.s.",
|
|
22
|
+
"license": "MIT",
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "https://gitlab.com/operator-ict/golemio/code/modules/pid"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@commitlint/cli": "^11.0.0",
|
|
29
|
+
"@commitlint/config-conventional": "^11.0.0",
|
|
30
|
+
"@golemio/cli": "1.3.1",
|
|
31
|
+
"@golemio/core": "1.2.17",
|
|
32
|
+
"@golemio/db-common": "1.0.1",
|
|
33
|
+
"@golemio/eslint-config": "^1.1.0",
|
|
34
|
+
"@ovos-media/ts-transform-paths": "^1.7.18-1",
|
|
35
|
+
"@types/amqplib": "^0.5.17",
|
|
36
|
+
"@types/chai": "4.2.3",
|
|
37
|
+
"@types/chai-as-promised": "7.1.2",
|
|
38
|
+
"@types/mocha": "^9.1.1",
|
|
39
|
+
"@types/node": "^16.11.35",
|
|
40
|
+
"@types/pg-copy-streams": "^1.2.1",
|
|
41
|
+
"@types/sinon": "^9.0.10",
|
|
42
|
+
"@types/supertest": "^2.0.10",
|
|
43
|
+
"body-parser": "^1.19.0",
|
|
44
|
+
"body-parser-xml": "^2.0.0",
|
|
45
|
+
"chai": "4.2.0",
|
|
46
|
+
"chai-as-promised": "7.1.1",
|
|
47
|
+
"cross-env": "^7.0.3",
|
|
48
|
+
"dotenv": "^8.2.0",
|
|
49
|
+
"eslint": "^8.1.1",
|
|
50
|
+
"husky": "^4.3.7",
|
|
51
|
+
"mocha": "^10.0.0",
|
|
52
|
+
"npm-run-all": "^4.1.5",
|
|
53
|
+
"nyc": "^15.1.0",
|
|
54
|
+
"prettier": "^2.5.1",
|
|
55
|
+
"pretty-quick": "^3.1.0",
|
|
56
|
+
"rimraf": "^3.0.2",
|
|
57
|
+
"sinon": "^9.2.3",
|
|
58
|
+
"source-map-support": "0.5.19",
|
|
59
|
+
"supertest": "^6.0.1",
|
|
60
|
+
"ts-node": "^10.7.0",
|
|
61
|
+
"ttypescript": "^1.5.13",
|
|
62
|
+
"typedoc": "^0.22.15",
|
|
63
|
+
"typescript": "4.6.4"
|
|
64
|
+
},
|
|
65
|
+
"peerDependencies": {
|
|
66
|
+
"@golemio/core": "^1.2.17"
|
|
67
|
+
},
|
|
68
|
+
"dependencies": {
|
|
69
|
+
"@golemio/ovapi-gtfs-realtime-bindings": "1.0.0",
|
|
70
|
+
"@turf/turf": "^6.5.0",
|
|
71
|
+
"JSONStream": "^1.3.5",
|
|
72
|
+
"cheap-ruler": "^2.5.1",
|
|
73
|
+
"csv-parser": "^3.0.0",
|
|
74
|
+
"csv-stringify": "^5.6.2",
|
|
75
|
+
"html-entities": "^2.3.3",
|
|
76
|
+
"pg-copy-streams": "^5.1.1"
|
|
77
|
+
}
|
|
78
78
|
}
|