@dhis2/analytics 23.0.0 → 23.1.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [23.1.0](https://github.com/dhis2/analytics/compare/v23.0.0...v23.1.0) (2022-02-03)
2
+
3
+
4
+ ### Features
5
+
6
+ * export apiFetchItemsByDimension ([#1145](https://github.com/dhis2/analytics/issues/1145)) ([3e5957d](https://github.com/dhis2/analytics/commit/3e5957d20ceb5f997fcda8fca1663a6723fcfe0c))
7
+
1
8
  # [23.0.0](https://github.com/dhis2/analytics/compare/v22.0.1...v23.0.0) (2022-02-03)
2
9
 
3
10
 
@@ -123,6 +123,12 @@ Object.defineProperty(exports, "apiFetchRecommendedIds", {
123
123
  return _dimensions.apiFetchRecommendedIds;
124
124
  }
125
125
  });
126
+ Object.defineProperty(exports, "apiFetchItemsByDimension", {
127
+ enumerable: true,
128
+ get: function () {
129
+ return _dimensions.apiFetchItemsByDimension;
130
+ }
131
+ });
126
132
  Object.defineProperty(exports, "apiFetchOrganisationUnitLevels", {
127
133
  enumerable: true,
128
134
  get: function () {
package/build/es/index.js CHANGED
@@ -17,7 +17,7 @@ export { default as AboutAOUnit } from './components/AboutAOUnit/AboutAOUnit.js'
17
17
  export { CachedDataQueryProvider, useCachedDataQuery } from './components/CachedDataQueryProvider.js'; // Api
18
18
 
19
19
  export { default as Analytics } from './api/analytics/Analytics.js';
20
- export { apiFetchDimensions, apiFetchRecommendedIds } from './api/dimensions.js';
20
+ export { apiFetchDimensions, apiFetchRecommendedIds, apiFetchItemsByDimension } from './api/dimensions.js';
21
21
  export { apiFetchOrganisationUnitLevels, apiFetchOrganisationUnitRoots, apiFetchOrganisationUnit } from './api/organisationUnits.js'; // Modules: axis
22
22
 
23
23
  export { getAxisName, getAxisNameByLayoutType, hasCustomAxes } from './modules/axis.js'; // Modules: predefined dimensions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhis2/analytics",
3
- "version": "23.0.0",
3
+ "version": "23.1.0",
4
4
  "main": "./build/cjs/index.js",
5
5
  "module": "./build/es/index.js",
6
6
  "exports": {