@golemio/pid 2.11.1-dev.1128205761 → 2.11.1-dev.1130791659
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/dist/integration-engine/vehicle-positions/workers/vehicle-positions/transformations/PublicApiTripTransformation.js +0 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/transformations/PublicApiTripTransformation.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/redis/interfaces/IPublicApiCacheDto.d.ts +0 -2
- package/dist/schema-definitions/vehicle-positions/redis/schemas/PublicApiCacheDtoSchema.js +0 -24
- package/dist/schema-definitions/vehicle-positions/redis/schemas/PublicApiCacheDtoSchema.js.map +1 -1
- package/docs/openapi-output.yaml +2 -10
- package/package.json +1 -1
|
@@ -19,8 +19,6 @@ let PublicApiTripTransformation = exports.PublicApiTripTransformation = class Pu
|
|
|
19
19
|
gtfs_trip_id: data.gtfs_trip_id,
|
|
20
20
|
route_type: data.gtfs_route_type,
|
|
21
21
|
gtfs_route_short_name: data.gtfs_route_short_name,
|
|
22
|
-
run_number: data.run_number,
|
|
23
|
-
vehicle_registration_number: data.vehicle_registration_number,
|
|
24
22
|
lat: Number.parseFloat(data.lat),
|
|
25
23
|
lng: Number.parseFloat(data.lng),
|
|
26
24
|
bearing: data.bearing,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicApiTripTransformation.js","sourceRoot":"","sources":["../../../../../../src/integration-engine/vehicle-positions/workers/vehicle-positions/transformations/PublicApiTripTransformation.ts"],"names":[],"mappings":";;;;;;;;;AACA,6GAA0G;AAC1G,iEAAgE;AAChE,iFAA8E;AAOvE,IAAM,2BAA2B,yCAAjC,MAAM,2BAA4B,SAAQ,+CAAiD;IAA3F;;QACI,SAAI,GAAG,6BAA6B,CAAC;QAElC,sBAAiB,GAAG,CAAC,IAAiB,EAAgB,EAAE;YAC9D,OAAO;gBACH,YAAY,EAAE,IAAI,CAAC,YAAY;gBAC/B,UAAU,EAAE,IAAI,CAAC,eAAe;gBAChC,qBAAqB,EAAE,IAAI,CAAC,qBAAqB;gBACjD,
|
|
1
|
+
{"version":3,"file":"PublicApiTripTransformation.js","sourceRoot":"","sources":["../../../../../../src/integration-engine/vehicle-positions/workers/vehicle-positions/transformations/PublicApiTripTransformation.ts"],"names":[],"mappings":";;;;;;;;;AACA,6GAA0G;AAC1G,iEAAgE;AAChE,iFAA8E;AAOvE,IAAM,2BAA2B,yCAAjC,MAAM,2BAA4B,SAAQ,+CAAiD;IAA3F;;QACI,SAAI,GAAG,6BAA6B,CAAC;QAElC,sBAAiB,GAAG,CAAC,IAAiB,EAAgB,EAAE;YAC9D,OAAO;gBACH,YAAY,EAAE,IAAI,CAAC,YAAY;gBAC/B,UAAU,EAAE,IAAI,CAAC,eAAe;gBAChC,qBAAqB,EAAE,IAAI,CAAC,qBAAqB;gBACjD,GAAG,EAAE,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC;gBAChC,GAAG,EAAE,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC;gBAChC,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,KAAK,EAAE,IAAI,CAAC,KAAK;gBACjB,cAAc,EAAE,IAAI,CAAC,cAAc;gBACnC,UAAU,EAAE,IAAI,uCAAkB,EAAE,CAAC,YAAY,CAC7C,IAAI,CAAC,eAAe,EACpB,IAAI,CAAC,qBAAqB,EAC1B,IAAI,CAAC,eAAe,EACpB,IAAI,CAAC,2BAA2B,EAChC,IAAI,CAAC,UAAU,CAClB;aACJ,CAAC;QACN,CAAC,CAAC;IACN,CAAC;CAAA,CAAA;sCAtBY,2BAA2B;IADvC,IAAA,qBAAU,GAAE;GACA,2BAA2B,CAsBvC"}
|
|
@@ -21,28 +21,6 @@ const publicApiCacheDtoSchema = {
|
|
|
21
21
|
type: "string",
|
|
22
22
|
},
|
|
23
23
|
state_position: { type: "string" },
|
|
24
|
-
run_number: {
|
|
25
|
-
oneOf: [
|
|
26
|
-
{
|
|
27
|
-
type: "number",
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
type: "null",
|
|
31
|
-
nullable: true,
|
|
32
|
-
},
|
|
33
|
-
],
|
|
34
|
-
},
|
|
35
|
-
vehicle_registration_number: {
|
|
36
|
-
oneOf: [
|
|
37
|
-
{
|
|
38
|
-
type: "number",
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
type: "null",
|
|
42
|
-
nullable: true,
|
|
43
|
-
},
|
|
44
|
-
],
|
|
45
|
-
},
|
|
46
24
|
lat: {
|
|
47
25
|
type: "number",
|
|
48
26
|
},
|
|
@@ -77,8 +55,6 @@ const publicApiCacheDtoSchema = {
|
|
|
77
55
|
"gtfs_trip_id",
|
|
78
56
|
"route_type",
|
|
79
57
|
"gtfs_route_short_name",
|
|
80
|
-
"run_number",
|
|
81
|
-
"vehicle_registration_number",
|
|
82
58
|
"lat",
|
|
83
59
|
"lng",
|
|
84
60
|
"bearing",
|
package/dist/schema-definitions/vehicle-positions/redis/schemas/PublicApiCacheDtoSchema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicApiCacheDtoSchema.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/vehicle-positions/redis/schemas/PublicApiCacheDtoSchema.ts"],"names":[],"mappings":";;;AAGA,MAAM,uBAAuB,GAAyC;IAClE,OAAO,EAAE,yCAAyC;IAClD,KAAK,EAAE,mBAAmB;IAC1B,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,YAAY,EAAE;gBACV,IAAI,EAAE,QAAQ;aACjB;YACD,UAAU,EAAE;gBACR,IAAI,EAAE,QAAQ;aACjB;YACD,qBAAqB,EAAE;gBACnB,IAAI,EAAE,QAAQ;aACjB;YACD,UAAU,EAAE;gBACR,IAAI,EAAE,QAAQ;aACjB;YACD,cAAc,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAClC,
|
|
1
|
+
{"version":3,"file":"PublicApiCacheDtoSchema.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/vehicle-positions/redis/schemas/PublicApiCacheDtoSchema.ts"],"names":[],"mappings":";;;AAGA,MAAM,uBAAuB,GAAyC;IAClE,OAAO,EAAE,yCAAyC;IAClD,KAAK,EAAE,mBAAmB;IAC1B,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,YAAY,EAAE;gBACV,IAAI,EAAE,QAAQ;aACjB;YACD,UAAU,EAAE;gBACR,IAAI,EAAE,QAAQ;aACjB;YACD,qBAAqB,EAAE;gBACnB,IAAI,EAAE,QAAQ;aACjB;YACD,UAAU,EAAE;gBACR,IAAI,EAAE,QAAQ;aACjB;YACD,cAAc,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAClC,GAAG,EAAE;gBACD,IAAI,EAAE,QAAQ;aACjB;YACD,GAAG,EAAE;gBACD,IAAI,EAAE,QAAQ;aACjB;YACD,OAAO,EAAE;gBACL,KAAK,EAAE;oBACH;wBACI,IAAI,EAAE,QAAQ;qBACjB;oBACD;wBACI,IAAI,EAAE,MAAM;wBACZ,QAAQ,EAAE,IAAI;qBACjB;iBACJ;aACJ;YACD,KAAK,EAAE;gBACH,KAAK,EAAE;oBACH;wBACI,IAAI,EAAE,QAAQ;qBACjB;oBACD;wBACI,IAAI,EAAE,MAAM;wBACZ,QAAQ,EAAE,IAAI;qBACjB;iBACJ;aACJ;SACJ;QACD,QAAQ,EAAE;YACN,YAAY;YACZ,cAAc;YACd,YAAY;YACZ,uBAAuB;YACvB,KAAK;YACL,KAAK;YACL,SAAS;YACT,OAAO;YACP,gBAAgB;SACnB;KACJ;CACJ,CAAC;AACkC,0DAAuB"}
|
package/docs/openapi-output.yaml
CHANGED
|
@@ -1988,21 +1988,13 @@ components:
|
|
|
1988
1988
|
properties:
|
|
1989
1989
|
gtfs_trip_id:
|
|
1990
1990
|
type: string
|
|
1991
|
-
example: 705_735_231002
|
|
1991
|
+
example: "705_735_231002"
|
|
1992
1992
|
route_type:
|
|
1993
1993
|
type: string
|
|
1994
1994
|
example: bus
|
|
1995
1995
|
gtfs_route_short_name:
|
|
1996
1996
|
type: string
|
|
1997
1997
|
example: '705'
|
|
1998
|
-
run_number:
|
|
1999
|
-
type: number
|
|
2000
|
-
nullable: true
|
|
2001
|
-
example: 29
|
|
2002
|
-
vehicle_registration_number:
|
|
2003
|
-
type: number
|
|
2004
|
-
nullable: true
|
|
2005
|
-
example: 8585
|
|
2006
1998
|
bearing:
|
|
2007
1999
|
type: number
|
|
2008
2000
|
nullable: true
|
|
@@ -2013,7 +2005,7 @@ components:
|
|
|
2013
2005
|
example: 20
|
|
2014
2006
|
vehicle_id:
|
|
2015
2007
|
type: string
|
|
2016
|
-
example: "
|
|
2008
|
+
example: "service-3-8585"
|
|
2017
2009
|
state_position:
|
|
2018
2010
|
type: string
|
|
2019
2011
|
example: "at_stop"
|