@golemio/parkings 1.9.6-dev.1375316096 → 1.9.6-dev.1380398062

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.
@@ -24,7 +24,7 @@ class V3ParkingTariffsRouter extends AbstractRouter_1.AbstractRouter {
24
24
  (0, express_validator_1.query)("validFrom").optional().isISO8601().not().isArray(),
25
25
  (0, express_validator_1.query)("validTo").optional().isISO8601().not().isArray(),
26
26
  ], Validation_1.pagination, Validation_1.checkErrors, (0, Validation_1.paginationLimitMiddleware)(this.path), this.cacheHeaderMiddleware.getMiddleware(12 * 60 * 60, 60), this.controller.getAll);
27
- this.router.get("/:id", (0, express_validator_1.param)("id").exists().isUUID(), Validation_1.checkErrors, this.cacheHeaderMiddleware.getMiddleware(12 * 60 * 60, 60), (0, express_validator_1.query)("isRestrictedToOpenData").optional().isBoolean().not().isArray(), this.controller.getOne);
27
+ this.router.get("/:id", (0, express_validator_1.param)("id").exists().isUUID(), (0, express_validator_1.query)("isRestrictedToOpenData").optional().isBoolean().not().isArray(), Validation_1.checkErrors, this.cacheHeaderMiddleware.getMiddleware(12 * 60 * 60, 60), this.controller.getOne);
28
28
  }
29
29
  }
30
30
  const v3ParkingTariffRouter = new V3ParkingTariffsRouter();
@@ -1 +1 @@
1
- {"version":3,"file":"V3ParkingTariffsRouter.js","sourceRoot":"","sources":["../../../../src/output-gateway/routers/v3/V3ParkingTariffsRouter.ts"],"names":[],"mappings":";;;AAAA,gGAA2F;AAC3F,qCAA+C;AAC/C,yEAAoE;AACpE,sFAAmF;AAEnF,6EAAkH;AAClH,+DAAuE;AACvE,mFAA2E;AAC3E,4CAA4C;AAE5C,MAAM,sBAAuB,SAAQ,+BAAc;IAK/C;QACI,KAAK,CAAC,wBAAY,CAAC,EAAE,EAAE,iBAAiB,CAAC,CAAC;QAC1C,IAAI,CAAC,qBAAqB,GAAG,sBAAiB,CAAC,OAAO,CAAwB,oBAAc,CAAC,qBAAqB,CAAC,C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AAE;YACzD,IAAA,yBAAK,EAAC,SAAS,CAAC,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE;SAC1D,EACD,uBAAU,EACV,wBAAW,EACX,IAAA,sCAAyB,EAAC,IAAI,CAAC,IAAI,CAAC,EACpC,IAAI,CAAC,qBAAqB,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,EAC1D,IAAI,CAAC,UAAU,CAAC,MAAM,CACzB,CAAC;QAEF,IAAI,CAAC,MAAM,CAAC,GAAG,CACX,MAAM,EACN,IAAA,yBAAK,EAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE,EAC7B,IAAA,yBAAK,EAAC,wBAAwB,CAAC,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,EACtE,wBAAW,EACX,IAAI,CAAC,qBAAqB,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,EAC1D,IAAI,CAAC,UAAU,CAAC,MAAM,CACzB,CAAC;IACN,CAAC;CACJ;AAED,MAAM,qBAAqB,GAAmB,IAAI,sBAAsB,EAAE,CAAC;AAElE,sDAAqB"}
@@ -76,6 +76,12 @@ paths:
76
76
  responses:
77
77
  200:
78
78
  description: OK
79
+ headers:
80
+ Cache-Control:
81
+ description: Cache control directive for caching proxies
82
+ schema:
83
+ type: string
84
+ example: public, s-maxage=300, stale-while-revalidate=5
79
85
  content:
80
86
  application/json; charset=utf-8:
81
87
  schema:
@@ -108,6 +114,12 @@ paths:
108
114
  responses:
109
115
  200:
110
116
  description: OK
117
+ headers:
118
+ Cache-Control:
119
+ description: Cache control directive for caching proxies
120
+ schema:
121
+ type: string
122
+ example: public, s-maxage=300, stale-while-revalidate=5
111
123
  content:
112
124
  application/json; charset=utf-8:
113
125
  schema:
@@ -157,6 +169,12 @@ paths:
157
169
  responses:
158
170
  200:
159
171
  description: OK
172
+ headers:
173
+ Cache-Control:
174
+ description: Cache control directive for caching proxies
175
+ schema:
176
+ type: string
177
+ example: public, s-maxage=300, stale-while-revalidate=5
160
178
  content:
161
179
  application/json; charset=utf-8:
162
180
  schema:
@@ -236,6 +254,12 @@ paths:
236
254
  responses:
237
255
  200:
238
256
  description: OK
257
+ headers:
258
+ Cache-Control:
259
+ description: Cache control directive for caching proxies
260
+ schema:
261
+ type: string
262
+ example: public, s-maxage=300, stale-while-revalidate=5
239
263
  content:
240
264
  application/json; charset=utf-8:
241
265
  schema:
@@ -268,6 +292,12 @@ paths:
268
292
  responses:
269
293
  200:
270
294
  description: OK
295
+ headers:
296
+ Cache-Control:
297
+ description: Cache control directive for caching proxies
298
+ schema:
299
+ type: string
300
+ example: public, s-maxage=300, stale-while-revalidate=5
271
301
  content:
272
302
  application/json; charset=utf-8:
273
303
  schema:
@@ -368,6 +398,12 @@ paths:
368
398
  responses:
369
399
  200:
370
400
  description: OK
401
+ headers:
402
+ Cache-Control:
403
+ description: Cache control directive for caching proxies
404
+ schema:
405
+ type: string
406
+ example: public, s-maxage=300, stale-while-revalidate=5
371
407
  content:
372
408
  application/json; charset=utf-8:
373
409
  schema:
@@ -400,6 +436,12 @@ paths:
400
436
  responses:
401
437
  200:
402
438
  description: OK
439
+ headers:
440
+ Cache-Control:
441
+ description: Cache control directive for caching proxies
442
+ schema:
443
+ type: string
444
+ example: public, s-maxage=300, stale-while-revalidate=5
403
445
  content:
404
446
  application/json; charset=utf-8:
405
447
  schema:
@@ -472,6 +514,12 @@ paths:
472
514
  responses:
473
515
  200:
474
516
  description: OK
517
+ headers:
518
+ Cache-Control:
519
+ description: Cache control directive for caching proxies
520
+ schema:
521
+ type: string
522
+ example: public, s-maxage=300, stale-while-revalidate=5
475
523
  content:
476
524
  application/json; charset=utf-8:
477
525
  schema:
@@ -514,6 +562,12 @@ paths:
514
562
  responses:
515
563
  200:
516
564
  description: OK
565
+ headers:
566
+ Cache-Control:
567
+ description: Cache control directive for caching proxies
568
+ schema:
569
+ type: string
570
+ example: public, s-maxage=43200, stale-while-revalidate=60
517
571
  content:
518
572
  application/json; charset=utf-8:
519
573
  schema:
@@ -540,6 +594,12 @@ paths:
540
594
  responses:
541
595
  200:
542
596
  description: OK
597
+ headers:
598
+ Cache-Control:
599
+ description: Cache control directive for caching proxies
600
+ schema:
601
+ type: string
602
+ example: public, s-maxage=43200, stale-while-revalidate=60
543
603
  content:
544
604
  application/json; charset=utf-8:
545
605
  schema:
@@ -652,6 +712,12 @@ paths:
652
712
  responses:
653
713
  '200':
654
714
  description: 'Successful response'
715
+ headers:
716
+ Cache-Control:
717
+ description: Cache control directive for caching proxies
718
+ schema:
719
+ type: string
720
+ example: public, s-maxage=300, stale-while-revalidate=5
655
721
  content:
656
722
  application/json; charset=utf-8:
657
723
  schema:
@@ -680,6 +746,12 @@ paths:
680
746
  responses:
681
747
  '200':
682
748
  description: 'Successful response'
749
+ headers:
750
+ Cache-Control:
751
+ description: Cache control directive for caching proxies
752
+ schema:
753
+ type: string
754
+ example: public, s-maxage=300, stale-while-revalidate=5
683
755
  content:
684
756
  application/json:
685
757
  schema:
@@ -700,6 +772,12 @@ paths:
700
772
  responses:
701
773
  200:
702
774
  description: 'Successful response'
775
+ headers:
776
+ Cache-Control:
777
+ description: Cache control directive for caching proxies
778
+ schema:
779
+ type: string
780
+ example: public, s-maxage=28800, stale-while-revalidate=60
703
781
  content:
704
782
  application/json:
705
783
  schema:
@@ -764,6 +842,12 @@ paths:
764
842
  responses:
765
843
  200:
766
844
  description: 'Successful response'
845
+ headers:
846
+ Cache-Control:
847
+ description: Cache control directive for caching proxies
848
+ schema:
849
+ type: string
850
+ example: public, s-maxage=60, stale-while-revalidate=5
767
851
  content:
768
852
  application/json; charset=utf-8:
769
853
  schema:
@@ -834,6 +918,12 @@ paths:
834
918
  responses:
835
919
  '200':
836
920
  description: 'Successful response'
921
+ headers:
922
+ Cache-Control:
923
+ description: Cache control directive for caching proxies
924
+ schema:
925
+ type: string
926
+ example: public, s-maxage=43200, stale-while-revalidate=60
837
927
  content:
838
928
  application/json:
839
929
  schema:
@@ -857,6 +947,12 @@ paths:
857
947
  responses:
858
948
  '200':
859
949
  description: 'Successful response'
950
+ headers:
951
+ Cache-Control:
952
+ description: Cache control directive for caching proxies
953
+ schema:
954
+ type: string
955
+ example: public, s-maxage=43200, stale-while-revalidate=60
860
956
  content:
861
957
  application/json:
862
958
  schema:
@@ -929,6 +1025,12 @@ paths:
929
1025
  responses:
930
1026
  '200':
931
1027
  description: 'Successful response'
1028
+ headers:
1029
+ Cache-Control:
1030
+ description: Cache control directive for caching proxies
1031
+ schema:
1032
+ type: string
1033
+ example: public, s-maxage=43200, stale-while-revalidate=60
932
1034
  content:
933
1035
  application/json; charset=utf-8:
934
1036
  schema:
@@ -957,6 +1059,12 @@ paths:
957
1059
  responses:
958
1060
  '200':
959
1061
  description: 'Successful response'
1062
+ headers:
1063
+ Cache-Control:
1064
+ description: Cache control directive for caching proxies
1065
+ schema:
1066
+ type: string
1067
+ example: public, s-maxage=43200, stale-while-revalidate=60
960
1068
  content:
961
1069
  application/json:
962
1070
  schema:
@@ -969,6 +1077,12 @@ paths:
969
1077
  responses:
970
1078
  '200':
971
1079
  description: 'Successful response'
1080
+ headers:
1081
+ Cache-Control:
1082
+ description: Cache control directive for caching proxies
1083
+ schema:
1084
+ type: string
1085
+ example: public, s-maxage=43200, stale-while-revalidate=60
972
1086
  content:
973
1087
  application/json:
974
1088
  schema:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golemio/parkings",
3
- "version": "1.9.6-dev.1375316096",
3
+ "version": "1.9.6-dev.1380398062",
4
4
  "description": "Golemio Parkings Module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",