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

Commit

Permalink
export dateFns
Browse files Browse the repository at this point in the history
  • Loading branch information
mamadou committed Jan 12, 2022
1 parent 2e1f539 commit 2bf7daf
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 12 deletions.
26 changes: 16 additions & 10 deletions lib/Adaptor.js
Expand Up @@ -12,16 +12,16 @@ exports.del = del;
exports.parseXML = parseXML;
exports.parseCSV = parseCSV;
exports.request = request;
Object.defineProperty(exports, "fn", {
Object.defineProperty(exports, "alterState", {
enumerable: true,
get: function () {
return _languageCommon.fn;
return _languageCommon.alterState;
}
});
Object.defineProperty(exports, "alterState", {
Object.defineProperty(exports, "combine", {
enumerable: true,
get: function () {
return _languageCommon.alterState;
return _languageCommon.combine;
}
});
Object.defineProperty(exports, "dataPath", {
Expand All @@ -36,6 +36,12 @@ Object.defineProperty(exports, "dataValue", {
return _languageCommon.dataValue;
}
});
Object.defineProperty(exports, "dateFns", {
enumerable: true,
get: function () {
return _languageCommon.dateFns;
}
});
Object.defineProperty(exports, "each", {
enumerable: true,
get: function () {
Expand All @@ -54,6 +60,12 @@ Object.defineProperty(exports, "fields", {
return _languageCommon.fields;
}
});
Object.defineProperty(exports, "fn", {
enumerable: true,
get: function () {
return _languageCommon.fn;
}
});
Object.defineProperty(exports, "http", {
enumerable: true,
get: function () {
Expand All @@ -78,12 +90,6 @@ Object.defineProperty(exports, "sourceValue", {
return _languageCommon.sourceValue;
}
});
Object.defineProperty(exports, "combine", {
enumerable: true,
get: function () {
return _languageCommon.combine;
}
});

var _Utils = require("./Utils");

Expand Down
5 changes: 3 additions & 2 deletions src/Adaptor.js
Expand Up @@ -423,16 +423,17 @@ export function request(params) {
}

export {
fn,
alterState,
combine,
dataPath,
dataValue,
dateFns,
each,
field,
fields,
fn,
http,
lastReferenceValue,
merge,
sourceValue,
combine,
} from '@openfn/language-common';

0 comments on commit 2bf7daf

Please sign in to comment.