@golemio/municipal-libraries 1.2.12-dev.1288388422 → 1.3.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.
|
@@ -6,7 +6,7 @@ const repositories_1 = require("./repositories");
|
|
|
6
6
|
class MunicipalLibrariesRouter extends routes_1.GeoJsonRouter {
|
|
7
7
|
constructor() {
|
|
8
8
|
super(new repositories_1.MunicipalLibrariesRepository());
|
|
9
|
-
this.initRoutes();
|
|
9
|
+
this.initRoutes({ maxAge: 12 * 60 * 60, staleWhileRevalidate: 60 * 60 });
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
exports.MunicipalLibrariesRouter = MunicipalLibrariesRouter;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MunicipalLibrariesRouter.js","sourceRoot":"","sources":["../../src/output-gateway/MunicipalLibrariesRouter.ts"],"names":[],"mappings":";;;AACA,qEAAyE;AACzE,iDAAgE;AAEhE,MAAa,wBAAyB,SAAQ,sBAAa;IACvD;QACI,KAAK,CAAC,IAAI,2CAA4B,EAAE,CAAC,CAAC;QAC1C,IAAI,CAAC,UAAU,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"MunicipalLibrariesRouter.js","sourceRoot":"","sources":["../../src/output-gateway/MunicipalLibrariesRouter.ts"],"names":[],"mappings":";;;AACA,qEAAyE;AACzE,iDAAgE;AAEhE,MAAa,wBAAyB,SAAQ,sBAAa;IACvD;QACI,KAAK,CAAC,IAAI,2CAA4B,EAAE,CAAC,CAAC;QAC1C,IAAI,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,oBAAoB,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;IAC7E,CAAC;CACJ;AALD,4DAKC;AAED,MAAM,wBAAwB,GAAW,IAAI,wBAAwB,EAAE,CAAC,MAAM,CAAC;AAEtE,4DAAwB"}
|
package/docs/openapi.yaml
CHANGED
|
@@ -77,7 +77,12 @@ paths:
|
|
|
77
77
|
responses:
|
|
78
78
|
"200":
|
|
79
79
|
description: OK
|
|
80
|
-
headers:
|
|
80
|
+
headers:
|
|
81
|
+
Cache-Control:
|
|
82
|
+
description: Cache control directive for caching proxies
|
|
83
|
+
schema:
|
|
84
|
+
type: string
|
|
85
|
+
example: public, s-maxage=43200, stale-while-revalidate=3600
|
|
81
86
|
content:
|
|
82
87
|
application/json; charset=utf-8:
|
|
83
88
|
schema:
|
|
@@ -135,7 +140,12 @@ paths:
|
|
|
135
140
|
responses:
|
|
136
141
|
"200":
|
|
137
142
|
description: OK
|
|
138
|
-
headers:
|
|
143
|
+
headers:
|
|
144
|
+
Cache-Control:
|
|
145
|
+
description: Cache control directive for caching proxies
|
|
146
|
+
schema:
|
|
147
|
+
type: string
|
|
148
|
+
example: public, s-maxage=43200, stale-while-revalidate=3600
|
|
139
149
|
content:
|
|
140
150
|
application/json; charset=utf-8:
|
|
141
151
|
schema:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golemio/municipal-libraries",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Golemio Municipal Libraries Module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@commitlint/config-conventional": "^11.0.0",
|
|
35
35
|
"@golemio/city-districts": "1.2.10",
|
|
36
36
|
"@golemio/cli": "1.5.0",
|
|
37
|
-
"@golemio/core": "1.10.
|
|
37
|
+
"@golemio/core": "1.10.3",
|
|
38
38
|
"@golemio/db-common": "1.1.4",
|
|
39
39
|
"@golemio/eslint-config": "1.1.2",
|
|
40
40
|
"@types/chai": "4.2.3",
|