@gooddata/sdk-code-convertors 11.55.0-alpha.2 → 11.55.0-alpha.3
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.
|
@@ -675,7 +675,7 @@ export function yamlFilterContextToDeclarative(baseId, yamlFilters) {
|
|
|
675
675
|
// dataset from bypassing validation: without `date`, mapDateParentToFilterElementByDate
|
|
676
676
|
// produces no dataSet, and the runtime legacy fallback then treats filterLocalIdentifier
|
|
677
677
|
// as a dataset id — wrong when using holds a date-filter localId like "0_dateFilter".
|
|
678
|
-
if (typeof parent === "object" && parent
|
|
678
|
+
if (typeof parent === "object" && parent?.common === true && parent.date) {
|
|
679
679
|
return true;
|
|
680
680
|
}
|
|
681
681
|
// Non-common object parents and plain string parents (including bare-string legacy common-date
|
|
@@ -103,7 +103,7 @@ function resolveAggregatedFactReference(assignedTo, entities) {
|
|
|
103
103
|
}
|
|
104
104
|
const fields = entity.data.fields;
|
|
105
105
|
const field = fields?.[assignedTo];
|
|
106
|
-
return field
|
|
106
|
+
return field?.type === "attribute";
|
|
107
107
|
});
|
|
108
108
|
return { id: assignedTo, type: isAttribute ? "attribute" : "fact" };
|
|
109
109
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-code-convertors",
|
|
3
|
-
"version": "11.55.0-alpha.
|
|
3
|
+
"version": "11.55.0-alpha.3",
|
|
4
4
|
"description": "GoodData AAC declarative converters",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"uuid": "11.1.1",
|
|
28
28
|
"yaml": "2.8.3",
|
|
29
|
-
"@gooddata/api-client-tiger": "11.55.0-alpha.
|
|
30
|
-
"@gooddata/sdk-code-schemas": "11.55.0-alpha.
|
|
31
|
-
"@gooddata/sdk-model": "11.55.0-alpha.
|
|
29
|
+
"@gooddata/api-client-tiger": "11.55.0-alpha.3",
|
|
30
|
+
"@gooddata/sdk-code-schemas": "11.55.0-alpha.3",
|
|
31
|
+
"@gooddata/sdk-model": "11.55.0-alpha.3"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@microsoft/api-extractor": "7.58.12",
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
"eslint-plugin-sonarjs": "3.0.6",
|
|
45
45
|
"npm-run-all": "4.1.5",
|
|
46
46
|
"oxfmt": "0.52.0",
|
|
47
|
-
"oxlint": "1.
|
|
47
|
+
"oxlint": "1.57.0",
|
|
48
48
|
"oxlint-tsgolint": "0.15.0",
|
|
49
49
|
"typescript": "5.9.3",
|
|
50
50
|
"vitest": "4.1.8",
|
|
51
|
-
"@gooddata/eslint-config": "11.55.0-alpha.
|
|
52
|
-
"@gooddata/oxlint-config": "11.55.0-alpha.
|
|
51
|
+
"@gooddata/eslint-config": "11.55.0-alpha.3",
|
|
52
|
+
"@gooddata/oxlint-config": "11.55.0-alpha.3"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"_phase:build": "npm run build",
|