Skip to content
This repository has been archived by the owner on Oct 24, 2022. It is now read-only.

Commit

Permalink
minor version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
taylordowns2000 committed Jul 15, 2021
1 parent 10d71a1 commit 11709e2
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 21 deletions.
54 changes: 36 additions & 18 deletions ast.json
Original file line number Diff line number Diff line change
Expand Up @@ -748,12 +748,12 @@
"exports": [],
"common": [
{
"name": "alterState",
"name": "fn",
"params": [
"func"
],
"docs": {
"description": "Runs a function using state.",
"description": "Creates a custom step (or operation) for more flexible job writing.",
"tags": [
{
"title": "public",
Expand All @@ -762,7 +762,7 @@
},
{
"title": "example",
"description": "alterState(state => {\n // do some things to state\n return state;\n})"
"description": "fn(state => {\n // do some things to state\n return state;\n});"
},
{
"title": "function",
Expand Down Expand Up @@ -1082,7 +1082,7 @@
{
"name": "combine",
"params": [
null
"operations"
],
"docs": {
"description": "Combines two operations into one",
Expand All @@ -1101,6 +1101,15 @@
"description": null,
"name": null
},
{
"title": "param",
"description": "Operations to be performed.",
"type": {
"type": "NameExpression",
"name": "Operations"
},
"name": "operations"
},
{
"title": "returns",
"description": null,
Expand All @@ -1111,7 +1120,7 @@
}
]
},
"valid": false
"valid": true
},
{
"name": "join",
Expand Down Expand Up @@ -1216,7 +1225,7 @@
{
"name": "fields",
"params": [
null
"fields"
],
"docs": {
"description": "Zips key value pairs into an object.",
Expand All @@ -1235,6 +1244,15 @@
"description": null,
"name": null
},
{
"title": "param",
"description": "a list of fields",
"type": {
"type": "NameExpression",
"name": "Fields"
},
"name": "fields"
},
{
"title": "returns",
"description": null,
Expand All @@ -1245,7 +1263,7 @@
}
]
},
"valid": false
"valid": true
},
{
"name": "merge",
Expand Down Expand Up @@ -1328,7 +1346,7 @@
"name": "arrayToString",
"params": [
"arr",
null
"separator"
],
"docs": {
"description": "Turns an array into a string, separated by X.",
Expand Down Expand Up @@ -1360,14 +1378,10 @@
"title": "param",
"description": "Separator string.",
"type": {
"type": "OptionalType",
"expression": {
"type": "NameExpression",
"name": "string"
}
"type": "NameExpression",
"name": "string"
},
"name": "separator",
"default": "''"
"name": "separator"
},
{
"title": "returns",
Expand All @@ -1379,7 +1393,7 @@
}
]
},
"valid": false
"valid": true
},
{
"name": "toArray",
Expand Down Expand Up @@ -1469,7 +1483,11 @@
},
{
"name": "map",
"params": {},
"params": [
"path",
"operation",
"state"
],
"docs": {
"description": "Scopes an array of data based on a JSONPath.\nUseful when the source data has `n` items you would like to map to\nan operation.\nThe operation will receive a slice of the data based of each item\nof the JSONPath provided.",
"tags": [
Expand Down Expand Up @@ -1516,7 +1534,7 @@
}
]
},
"valid": false
"valid": true
}
]
}
6 changes: 6 additions & 0 deletions lib/Adaptor.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ Object.defineProperty(exports, "alterState", {
return _languageCommon.alterState;
}
});
Object.defineProperty(exports, "fn", {
enumerable: true,
get: function () {
return _languageCommon.fn;
}
});
Object.defineProperty(exports, "arrayToString", {
enumerable: true,
get: function () {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openfn/language-salesforce",
"version": "2.3.5",
"version": "2.4.0",
"description": "Salesforce Language Pack for OpenFn",
"homepage": "https://docs.openfn.org",
"main": "lib/index.js",
Expand Down

0 comments on commit 11709e2

Please sign in to comment.