@openfn/language-magpi 1.0.1 → 1.0.3
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/README.md +5 -7
- package/configuration-schema.json +8 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,14 +9,12 @@ _N.B.: The Magpi API is under development and this pack may change._
|
|
|
9
9
|
|
|
10
10
|
## Documentation
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
### Configuration
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
```
|
|
14
|
+
View all the required and optional properties for `state.configuration` in the
|
|
15
|
+
official
|
|
16
|
+
[configuration-schema](https://docs.openfn.org/adaptors/packages/magpi-configuration-schema/)
|
|
17
|
+
definition.
|
|
20
18
|
|
|
21
19
|
## Fetch data from Magpi
|
|
22
20
|
|
|
@@ -5,14 +5,20 @@
|
|
|
5
5
|
"title": "username",
|
|
6
6
|
"type": "string",
|
|
7
7
|
"description": "Magpi username",
|
|
8
|
-
"minLength": 1
|
|
8
|
+
"minLength": 1,
|
|
9
|
+
"examples": [
|
|
10
|
+
"test@openfn.org"
|
|
11
|
+
]
|
|
9
12
|
},
|
|
10
13
|
"accessToken": {
|
|
11
14
|
"title": "Access Token",
|
|
12
15
|
"type": "string",
|
|
13
16
|
"description": "Magpi access token",
|
|
14
17
|
"writeOnly": true,
|
|
15
|
-
"minLength": 1
|
|
18
|
+
"minLength": 1,
|
|
19
|
+
"examples": [
|
|
20
|
+
"somEThINGkeyish"
|
|
21
|
+
]
|
|
16
22
|
}
|
|
17
23
|
},
|
|
18
24
|
"type": "object",
|