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

Commit

Permalink
include expandReferences
Browse files Browse the repository at this point in the history
  • Loading branch information
taylordowns2000 committed Jun 7, 2022
1 parent 6142c75 commit 33b7592
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 5 deletions.
44 changes: 44 additions & 0 deletions ast.json
Expand Up @@ -1251,6 +1251,50 @@
},
"valid": true
},
{
"name": "expandReferences",
"params": [
"value",
"skipFilter"
],
"docs": {
"description": "Recursively resolves objects that have resolvable values (functions).",
"tags": [
{
"title": "public",
"description": null,
"type": null
},
{
"title": "function",
"description": null,
"name": null
},
{
"title": "param",
"description": "data",
"type": {
"type": "NameExpression",
"name": "object"
},
"name": "value"
},
{
"title": "param",
"description": "a function which returns true if a value should be skipped",
"type": {
"type": "OptionalType",
"expression": {
"type": "NameExpression",
"name": "Function"
}
},
"name": "skipFilter"
}
]
},
"valid": true
},
{
"name": "field",
"params": [
Expand Down
14 changes: 10 additions & 4 deletions lib/Adaptor.js
Expand Up @@ -24,16 +24,16 @@ Object.defineProperty(exports, "beta", {
return _languageCommon.beta;
}
});
Object.defineProperty(exports, "combine", {
Object.defineProperty(exports, "chunk", {
enumerable: true,
get: function () {
return _languageCommon.combine;
return _languageCommon.chunk;
}
});
Object.defineProperty(exports, "chunk", {
Object.defineProperty(exports, "combine", {
enumerable: true,
get: function () {
return _languageCommon.chunk;
return _languageCommon.combine;
}
});
Object.defineProperty(exports, "dataPath", {
Expand All @@ -60,6 +60,12 @@ Object.defineProperty(exports, "each", {
return _languageCommon.each;
}
});
Object.defineProperty(exports, "expandReferences", {
enumerable: true,
get: function () {
return _languageCommon.expandReferences;
}
});
Object.defineProperty(exports, "field", {
enumerable: true,
get: function () {
Expand Down
3 changes: 2 additions & 1 deletion src/Adaptor.js
Expand Up @@ -582,12 +582,13 @@ export {
alterState,
arrayToString,
beta,
combine,
chunk,
combine,
dataPath,
dataValue,
dateFns,
each,
expandReferences,
field,
fields,
fn,
Expand Down

0 comments on commit 33b7592

Please sign in to comment.