@openfn/language-dhis2 3.2.10 → 3.2.12
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/configuration-schema.json +10 -10
- package/dist/index.cjs +3 -3
- package/dist/index.js +3 -3
- package/package.json +1 -6
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"properties": {
|
|
4
|
+
"hostUrl": {
|
|
5
|
+
"title": "Host URL",
|
|
6
|
+
"type": "string",
|
|
7
|
+
"description": "The base DHIS2 instance URL",
|
|
8
|
+
"format": "uri",
|
|
9
|
+
"minLength": 1,
|
|
10
|
+
"examples": [
|
|
11
|
+
"https://play.dhis2.org/2.36.6"
|
|
12
|
+
]
|
|
13
|
+
},
|
|
4
14
|
"username": {
|
|
5
15
|
"title": "Username",
|
|
6
16
|
"type": "string",
|
|
@@ -20,16 +30,6 @@
|
|
|
20
30
|
"@some(!)Password"
|
|
21
31
|
]
|
|
22
32
|
},
|
|
23
|
-
"hostUrl": {
|
|
24
|
-
"title": "Host URL",
|
|
25
|
-
"type": "string",
|
|
26
|
-
"description": "The base DHIS2 instance URL",
|
|
27
|
-
"format": "uri",
|
|
28
|
-
"minLength": 1,
|
|
29
|
-
"examples": [
|
|
30
|
-
"https://play.dhis2.org/2.36.6"
|
|
31
|
-
]
|
|
32
|
-
},
|
|
33
33
|
"apiVersion": {
|
|
34
34
|
"title": "API Version",
|
|
35
35
|
"anyOf": [
|
package/dist/index.cjs
CHANGED
|
@@ -71,15 +71,15 @@ var CONTENT_TYPES = {
|
|
|
71
71
|
var Log = class {
|
|
72
72
|
static success(message) {
|
|
73
73
|
return console.info(`\u2713 Success at ${new Date()}:
|
|
74
|
-
`, message);
|
|
74
|
+
\u221F`, message);
|
|
75
75
|
}
|
|
76
76
|
static warn(message) {
|
|
77
77
|
return console.warn(`\u26A0 Warning at ${new Date()}:
|
|
78
|
-
`, message);
|
|
78
|
+
\u221F`, message);
|
|
79
79
|
}
|
|
80
80
|
static error(message) {
|
|
81
81
|
return console.error(`\u2717 Error at ${new Date()}:
|
|
82
|
-
`, message);
|
|
82
|
+
\u221F`, message);
|
|
83
83
|
}
|
|
84
84
|
};
|
|
85
85
|
function buildUrl(urlString, hostUrl, apiVersion) {
|
package/dist/index.js
CHANGED
|
@@ -22,15 +22,15 @@ var CONTENT_TYPES = {
|
|
|
22
22
|
var Log = class {
|
|
23
23
|
static success(message) {
|
|
24
24
|
return console.info(`\u2713 Success at ${new Date()}:
|
|
25
|
-
`, message);
|
|
25
|
+
\u221F`, message);
|
|
26
26
|
}
|
|
27
27
|
static warn(message) {
|
|
28
28
|
return console.warn(`\u26A0 Warning at ${new Date()}:
|
|
29
|
-
`, message);
|
|
29
|
+
\u221F`, message);
|
|
30
30
|
}
|
|
31
31
|
static error(message) {
|
|
32
32
|
return console.error(`\u2717 Error at ${new Date()}:
|
|
33
|
-
`, message);
|
|
33
|
+
\u221F`, message);
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
function buildUrl(urlString, hostUrl, apiVersion) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openfn/language-dhis2",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.12",
|
|
4
4
|
"description": "DHIS2 Language Pack for OpenFn",
|
|
5
5
|
"homepage": "https://docs.openfn.org",
|
|
6
6
|
"repository": {
|
|
@@ -24,17 +24,12 @@
|
|
|
24
24
|
"configuration-schema.json"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@openfn/buildtools": "^1.0.2",
|
|
28
27
|
"@openfn/language-common": "^1.7.7",
|
|
29
28
|
"axios": "^0.24.0",
|
|
30
29
|
"lodash": "^4.17.19",
|
|
31
30
|
"qs": "^6.11.0"
|
|
32
31
|
},
|
|
33
32
|
"devDependencies": {
|
|
34
|
-
"@openfn/buildtools": "^1.0.2",
|
|
35
|
-
"@openfn/metadata": "^1.0.1",
|
|
36
|
-
"@openfn/parse-jsdoc": "^1.0.0",
|
|
37
|
-
"@openfn/simple-ast": "0.4.1",
|
|
38
33
|
"assertion-error": "2.0.0",
|
|
39
34
|
"chai": "4.3.6",
|
|
40
35
|
"chai-http": "4.3.0",
|