@golemio/playgrounds 1.1.7-dev.1018147540 → 1.1.7-dev.1241562181
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.
|
@@ -5,6 +5,7 @@ exports.PlaygroundsDataSource = void 0;
|
|
|
5
5
|
const SourceSchemaProvider_1 = require("../schema-definitions/json-schema/SourceSchemaProvider");
|
|
6
6
|
const integration_engine_1 = require("@golemio/core/dist/integration-engine");
|
|
7
7
|
const config_1 = require("@golemio/core/dist/integration-engine/config");
|
|
8
|
+
const HTTPFetchProtocolStrategy_1 = require("@golemio/core/dist/integration-engine/datasources/protocol-strategy/HTTPFetchProtocolStrategy");
|
|
8
9
|
const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator");
|
|
9
10
|
class PlaygroundsDataSource {
|
|
10
11
|
}
|
|
@@ -12,7 +13,7 @@ exports.PlaygroundsDataSource = PlaygroundsDataSource;
|
|
|
12
13
|
_a = PlaygroundsDataSource;
|
|
13
14
|
PlaygroundsDataSource.dataSourceName = "PlaygroundsDataSource";
|
|
14
15
|
PlaygroundsDataSource.get = () => {
|
|
15
|
-
return new integration_engine_1.DataSource(_a.dataSourceName, new
|
|
16
|
+
return new integration_engine_1.DataSource(_a.dataSourceName, new HTTPFetchProtocolStrategy_1.HTTPFetchProtocolStrategy({
|
|
16
17
|
headers: {},
|
|
17
18
|
method: "GET",
|
|
18
19
|
url: config_1.config.datasources.Playgrounds,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlaygroundsDataSource.js","sourceRoot":"","sources":["../../src/integration-engine/PlaygroundsDataSource.ts"],"names":[],"mappings":";;;;AAAA,iGAA6E;AAC7E,
|
|
1
|
+
{"version":3,"file":"PlaygroundsDataSource.js","sourceRoot":"","sources":["../../src/integration-engine/PlaygroundsDataSource.ts"],"names":[],"mappings":";;;;AAAA,iGAA6E;AAC7E,8EAAyF;AACzF,yEAAsE;AACtE,6IAA0I;AAC1I,mFAAkF;AAElF,MAAa,qBAAqB;;AAAlC,sDAeC;;AAdkB,oCAAc,GAAG,uBAAuB,AAA1B,CAA2B;AAE1C,yBAAG,GAAG,GAAe,EAAE;IACjC,OAAO,IAAI,+BAAU,CACjB,EAAI,CAAC,cAAc,EACnB,IAAI,qDAAyB,CAAC;QAC1B,OAAO,EAAE,EAAE;QACX,MAAM,EAAE,KAAK;QACb,GAAG,EAAE,eAAM,CAAC,WAAW,CAAC,WAAW;KACtC,CAAC,EACF,IAAI,yCAAoB,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC,EAClD,IAAI,uCAAmB,CAAC,EAAI,CAAC,cAAc,GAAG,WAAW,EAAE,2CAAoB,CAAC,UAAU,EAAE,IAAI,CAAC,CACpG,CAAC;AACN,CAAC,AAXgB,CAWf"}
|
package/docs/openapi.yaml
CHANGED
|
@@ -41,14 +41,14 @@ paths:
|
|
|
41
41
|
description: Filter by distance from latlng in meters (range query). Depends on
|
|
42
42
|
the latlng parameter.
|
|
43
43
|
required: false
|
|
44
|
-
example:
|
|
44
|
+
example: 5000
|
|
45
45
|
schema:
|
|
46
46
|
type: number
|
|
47
47
|
- name: districts
|
|
48
48
|
in: query
|
|
49
49
|
description: Filter by Prague city districts (slug) separated by comma.
|
|
50
50
|
required: false
|
|
51
|
-
example: praha-4
|
|
51
|
+
example: ['praha-4']
|
|
52
52
|
schema:
|
|
53
53
|
type: array
|
|
54
54
|
items: {}
|
|
@@ -57,14 +57,14 @@ paths:
|
|
|
57
57
|
description: Limits number of retrieved items. The maximum is 10000 (default
|
|
58
58
|
value).
|
|
59
59
|
required: false
|
|
60
|
-
example:
|
|
60
|
+
example: 10
|
|
61
61
|
schema:
|
|
62
62
|
type: number
|
|
63
63
|
- name: offset
|
|
64
64
|
in: query
|
|
65
65
|
description: Number of the first items that are skipped.
|
|
66
66
|
required: false
|
|
67
|
-
example:
|
|
67
|
+
example: 0
|
|
68
68
|
schema:
|
|
69
69
|
type: number
|
|
70
70
|
- name: updatedSince
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golemio/playgrounds",
|
|
3
|
-
"version": "1.1.7-dev.
|
|
3
|
+
"version": "1.1.7-dev.1241562181",
|
|
4
4
|
"description": "Golemio Playgrounds 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.7",
|
|
36
36
|
"@golemio/cli": "1.5.0",
|
|
37
|
-
"@golemio/core": "1.9.
|
|
37
|
+
"@golemio/core": "1.9.16-dev.1226254874",
|
|
38
38
|
"@golemio/db-common": "1.1.2",
|
|
39
39
|
"@golemio/eslint-config": "1.1.1",
|
|
40
40
|
"@types/chai": "4.2.3",
|