@gooddata/code-cli 0.56.0-alpha.4 → 0.56.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 +7 -1
- package/dist/index.js +12 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
# Change Log - @gooddata/code-cli
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Thu, 01 Oct 2026 06:36:59 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 0.56.0
|
|
6
|
+
|
|
7
|
+
Thu, 01 Oct 2026 06:36:59 GMT
|
|
8
|
+
|
|
9
|
+
_Version update only_
|
|
4
10
|
|
|
5
11
|
## 0.32.0
|
|
6
12
|
|
package/dist/index.js
CHANGED
|
@@ -37370,7 +37370,7 @@ function isPromise(value) {
|
|
|
37370
37370
|
//#endregion
|
|
37371
37371
|
//#region package.json
|
|
37372
37372
|
var name$1 = "@gooddata/code-cli";
|
|
37373
|
-
var version$1 = "0.56.0
|
|
37373
|
+
var version$1 = "0.56.0";
|
|
37374
37374
|
//#endregion
|
|
37375
37375
|
//#region ../../../common/temp/aac/node_modules/.pnpm/vscode-languageserver@8.1.0/node_modules/vscode-languageserver/lib/common/utils/is.js
|
|
37376
37376
|
var require_is$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -111756,6 +111756,13 @@ function isDashboardDateFilter$1(obj) {
|
|
|
111756
111756
|
return !isEmpty(obj) && !!obj.dateFilter;
|
|
111757
111757
|
}
|
|
111758
111758
|
/**
|
|
111759
|
+
* Type-guard testing whether the provided object is an instance of {@link IDashboardDateFilter} without date dataSet (aka dimension) defined.
|
|
111760
|
+
* @alpha
|
|
111761
|
+
*/
|
|
111762
|
+
function isDashboardCommonDateFilter(obj) {
|
|
111763
|
+
return !isEmpty(obj) && !!obj.dateFilter && !obj.dateFilter.dataSet;
|
|
111764
|
+
}
|
|
111765
|
+
/**
|
|
111759
111766
|
* Returns true when given date filter has type set to relative.
|
|
111760
111767
|
* @alpha
|
|
111761
111768
|
*/
|
|
@@ -136874,7 +136881,7 @@ function declarativeFilterContextToYaml(dateFilterConfig, filterContext, errorCo
|
|
|
136874
136881
|
const filtersMap = {};
|
|
136875
136882
|
const declarativeFilters = (filterContext ? filterContext.content : void 0)?.filters ?? [];
|
|
136876
136883
|
declarativeFilters.forEach((filter) => {
|
|
136877
|
-
if (
|
|
136884
|
+
if (isDashboardCommonDateFilter(filter) && isNoopAllTimeDashboardDateFilter(filter)) return;
|
|
136878
136885
|
const key = createFilterContextItemKeyName(filter, "date", updateErrorContext(errorContext, { path: ["date"] }));
|
|
136879
136886
|
if (isDashboardDateFilter$1(filter)) {
|
|
136880
136887
|
const def = declarativeDateFilterToYaml(filter, errorContext);
|
|
@@ -136917,10 +136924,7 @@ function declarativeFilterContextToYaml(dateFilterConfig, filterContext, errorCo
|
|
|
136917
136924
|
};
|
|
136918
136925
|
}
|
|
136919
136926
|
});
|
|
136920
|
-
if (!declarativeFilters.find(
|
|
136921
|
-
if (isDashboardDateFilter$1(filter)) return !filter.dateFilter.dataSet;
|
|
136922
|
-
return false;
|
|
136923
|
-
}) && dateFilterConfig) {
|
|
136927
|
+
if (!declarativeFilters.find(isDashboardCommonDateFilter) && dateFilterConfig) {
|
|
136924
136928
|
const filter = { dateFilter: {
|
|
136925
136929
|
granularity: "GDC.time.date",
|
|
136926
136930
|
type: "absolute"
|
|
@@ -162795,7 +162799,7 @@ async function open(state, emitter, file) {
|
|
|
162795
162799
|
//#endregion
|
|
162796
162800
|
//#region ../code/package.json
|
|
162797
162801
|
var name = "@gooddata/code";
|
|
162798
|
-
var version = "0.56.0
|
|
162802
|
+
var version = "0.56.0";
|
|
162799
162803
|
//#endregion
|
|
162800
162804
|
//#region ../../../sdk/libs/api-client-tiger/src/axios.ts
|
|
162801
162805
|
/**
|
|
@@ -162817,7 +162821,7 @@ const _CONFIG = {
|
|
|
162817
162821
|
common: {
|
|
162818
162822
|
"X-Requested-With": "XMLHttpRequest",
|
|
162819
162823
|
"X-GDC-JS-PACKAGE": "@gooddata/api-client-tiger",
|
|
162820
|
-
"X-GDC-JS-PACKAGE-VERSION": "11.60.0
|
|
162824
|
+
"X-GDC-JS-PACKAGE-VERSION": "11.60.0"
|
|
162821
162825
|
},
|
|
162822
162826
|
post: { "Content-Type": "application/json;charset=utf8" },
|
|
162823
162827
|
put: { "Content-Type": "application/json;charset=utf8" }
|