@civicactions/cmsds-open-data-components 3.7.0-alpha.3 → 3.7.0-alpha.4
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/dist/main.js +3 -2
- package/dist/main.js.map +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -3940,7 +3940,7 @@ var $b4aa9c66f2e86959$export$2e2bcd8739ae039 = $b4aa9c66f2e86959$var$useMetastor
|
|
|
3940
3940
|
|
|
3941
3941
|
|
|
3942
3942
|
|
|
3943
|
-
const $1d3d480a9cfaabe0$var$useDatastore = (resourceId, rootAPIUrl, options)=>{
|
|
3943
|
+
const $1d3d480a9cfaabe0$var$useDatastore = (resourceId, rootAPIUrl, options, additionalParams = {})=>{
|
|
3944
3944
|
const keys = options.keys ? options.keys : true;
|
|
3945
3945
|
const { prepareColumns: prepareColumns } = options;
|
|
3946
3946
|
const { ACA: ACA } = (0, $hgUW1$useContext)((0, $844981eac9b63865$export$eccc29c8d0ff408));
|
|
@@ -3968,7 +3968,8 @@ const $1d3d480a9cfaabe0$var$useDatastore = (resourceId, rootAPIUrl, options)=>{
|
|
|
3968
3968
|
conditions: conditions,
|
|
3969
3969
|
sorts: sort,
|
|
3970
3970
|
properties: properties,
|
|
3971
|
-
groupings: groupings
|
|
3971
|
+
groupings: groupings,
|
|
3972
|
+
...additionalParams
|
|
3972
3973
|
};
|
|
3973
3974
|
const paramsString = Object.keys(params).length ? `${(0, $hgUW1$qs).stringify((0, $6d5c0212e738499b$export$34e95918366a058e)(params, ACA))}` : "";
|
|
3974
3975
|
let enabled = false;
|