@openfn/language-godata 3.2.0 → 3.2.2
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 +12 -3
- package/package.json +1 -1
- package/types/Adaptor.d.ts +1 -16
|
@@ -7,21 +7,30 @@
|
|
|
7
7
|
"description": "Godata API URL",
|
|
8
8
|
"default": "https://www.who-godata.com/api",
|
|
9
9
|
"format": "uri",
|
|
10
|
-
"minLength": 1
|
|
10
|
+
"minLength": 1,
|
|
11
|
+
"examples": [
|
|
12
|
+
"https://www.who-godata.com/api"
|
|
13
|
+
]
|
|
11
14
|
},
|
|
12
15
|
"email": {
|
|
13
16
|
"title": "Email",
|
|
14
17
|
"type": "string",
|
|
15
18
|
"description": "Your Godata login email",
|
|
16
19
|
"writeOnly": true,
|
|
17
|
-
"minLength": 1
|
|
20
|
+
"minLength": 1,
|
|
21
|
+
"examples": [
|
|
22
|
+
"test@openfn.org"
|
|
23
|
+
]
|
|
18
24
|
},
|
|
19
25
|
"password": {
|
|
20
26
|
"title": "Password",
|
|
21
27
|
"type": "string",
|
|
22
28
|
"description": "Your Godata login password",
|
|
23
29
|
"writeOnly": true,
|
|
24
|
-
"minLength": 1
|
|
30
|
+
"minLength": 1,
|
|
31
|
+
"examples": [
|
|
32
|
+
"@some(!)Strongpassword"
|
|
33
|
+
]
|
|
25
34
|
}
|
|
26
35
|
},
|
|
27
36
|
"type": "object",
|
package/package.json
CHANGED
package/types/Adaptor.d.ts
CHANGED
|
@@ -6,26 +6,11 @@
|
|
|
6
6
|
* create('foo'),
|
|
7
7
|
* delete('bar')
|
|
8
8
|
* )(state)
|
|
9
|
-
* @
|
|
9
|
+
* @function
|
|
10
10
|
* @param {Operations} operations - Operations to be performed.
|
|
11
11
|
* @returns {Operation}
|
|
12
12
|
*/
|
|
13
13
|
export function execute(...operations: Operations): Operation;
|
|
14
|
-
export class execute {
|
|
15
|
-
/**
|
|
16
|
-
* Execute a sequence of operations.
|
|
17
|
-
* Wraps `language-common/execute`, and prepends initial state for http.
|
|
18
|
-
* @example
|
|
19
|
-
* execute(
|
|
20
|
-
* create('foo'),
|
|
21
|
-
* delete('bar')
|
|
22
|
-
* )(state)
|
|
23
|
-
* @constructor
|
|
24
|
-
* @param {Operations} operations - Operations to be performed.
|
|
25
|
-
* @returns {Operation}
|
|
26
|
-
*/
|
|
27
|
-
constructor(...operations: Operations);
|
|
28
|
-
}
|
|
29
14
|
/**
|
|
30
15
|
* Fetch the list of contacts within a particular outbreak using its ID.
|
|
31
16
|
* @public
|