@epam/statgpt-sdmx-toolkit 0.1.0 → 0.2.0-rc.1
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/api/sdmx-api-client.d.ts +1 -1
- package/index.cjs +2 -2
- package/index.mjs +424 -400
- package/package.json +3 -3
- package/utils/constraint.d.ts +3 -1
- package/utils/query-filters.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/statgpt-sdmx-toolkit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0-rc.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"module": "./index.mjs",
|
|
15
15
|
"types": "./index.d.ts",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@epam/statgpt-dial-toolkit": "0.
|
|
18
|
-
"@epam/statgpt-shared-toolkit": "0.
|
|
17
|
+
"@epam/statgpt-dial-toolkit": "0.2.0-rc.1",
|
|
18
|
+
"@epam/statgpt-shared-toolkit": "0.2.0-rc.1",
|
|
19
19
|
"compare-versions": "^6.1.1"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/utils/constraint.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { DataConstraints } from '../models/structural-metadata/constraints';
|
|
2
2
|
import { Annotation } from '../models/structural-metadata-base';
|
|
3
|
-
import { TimeRange } from '../../../shared-toolkit/src/index';
|
|
3
|
+
import { TimeRange, DataQuery } from '../../../shared-toolkit/src/index';
|
|
4
4
|
import { Codelist } from '../models/structural-metadata/codelist';
|
|
5
|
+
import { SeriesFilterDto } from '../models';
|
|
5
6
|
export declare const TIME_PERIOD_END = "time_period_end";
|
|
6
7
|
export declare const TIME_PERIOD_START = "time_period_start";
|
|
7
8
|
export declare const TIME_PERIOD = "TIME_PERIOD";
|
|
8
9
|
export declare const getAnnotationPeriod: (annotations: Annotation[] | undefined) => TimeRange;
|
|
9
10
|
export declare const getAvailableCodesFromConstrains: (codes: Codelist[] | undefined, dimensionId: string | undefined, contentConstraints: DataConstraints[] | undefined, locale?: string, filters?: string[]) => Codelist[];
|
|
11
|
+
export declare const getFiltersDtoFromDataQuery: (dataQuery: DataQuery) => SeriesFilterDto[];
|
package/utils/query-filters.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DataQuery, QueryFilter, TimeRange } from '../../../shared-toolkit/src/index';
|
|
2
1
|
import { Dimension } from '../models/structural-metadata/data-structure';
|
|
2
|
+
import { DataQuery, QueryFilter, TimeRange } from '../../../shared-toolkit/src/index';
|
|
3
3
|
export declare const getTimeSeriesFilterKey: (dimensions: Dimension[], filters: QueryFilter[]) => string;
|
|
4
4
|
export declare const getQueryTimePeriodFilters: (timeRange?: TimeRange | null, timePeriodId?: string) => string | null;
|
|
5
5
|
export declare const getTimeQueryFilter: (dataQuery: DataQuery, timeDimension: Dimension) => string | null;
|