@gooddata/code-cli 0.62.0-alpha.7 → 0.62.0-alpha.9
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/index.js +12 -7
- package/package.json +1 -1
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.62.0-alpha.
|
|
37373
|
+
var version$1 = "0.62.0-alpha.9";
|
|
37374
37374
|
//#endregion
|
|
37375
37375
|
//#region ../../../sdk/libs/sdk-maql-language-server/src/docs/en/docs/create-metrics/maql/aggregation/approximate_count.ts
|
|
37376
37376
|
const content$65 = `# APPROXIMATE_COUNT
|
|
@@ -130728,11 +130728,13 @@ const CoreErrorMessages = {
|
|
|
130728
130728
|
["core.duplicateTabIdentifier"]: `Duplicate tab identifier "{0}". Each tab must have a unique identifier within the dashboard.`,
|
|
130729
130729
|
["core.tabsAndRootContentMutuallyExclusive"]: `Dashboard "{0}" defines both "tabs" and root-level "sections" or "filters". These are mutually exclusive — keep all content inside tabs or at the root, not both.`,
|
|
130730
130730
|
["core.invalidIanaTimezoneId"]: `"{0}" is not a valid IANA timezone ID. Use a real timezone such as Europe/Prague or $browserDetected.`,
|
|
130731
|
-
["core.unsupportedContentVersion"]: `
|
|
130731
|
+
["core.unsupportedContentVersion"]: `Expected "{0}", got {1}.`,
|
|
130732
130732
|
["core.dateFilterWithoutDataSet"]: `Date filter "{0}" names no date dataset. A document date filter must name the date dataset it applies to.`,
|
|
130733
130733
|
["core.filterSettingNotStorable"]: `Filter "{0}" sets "{1}", which a {2} cannot store.`,
|
|
130734
130734
|
["core.pagesAndSectionsMutuallyExclusive"]: `Content defines both "pages" and "sections". Keep the pages at the top level or inside sections, not both.`,
|
|
130735
|
-
["core.pagesOrSectionsRequired"]: `Content defines neither "pages" nor "sections". Add one of them; an empty document has "pages: []"
|
|
130735
|
+
["core.pagesOrSectionsRequired"]: `Content defines neither "pages" nor "sections". Add one of them; an empty document has "pages: []".`,
|
|
130736
|
+
["core.missingRequiredKey"]: `Missing required key "{0}".`,
|
|
130737
|
+
["core.unsupportedGranularity"]: `Granularity {0} is not supported. Supported granularities: {1}.`
|
|
130736
130738
|
};
|
|
130737
130739
|
/**
|
|
130738
130740
|
* @public
|
|
@@ -130759,7 +130761,9 @@ const CoreErrorTypes = {
|
|
|
130759
130761
|
["core.dateFilterWithoutDataSet"]: "DateFilterWithoutDataSet",
|
|
130760
130762
|
["core.filterSettingNotStorable"]: "FilterSettingNotStorable",
|
|
130761
130763
|
["core.pagesAndSectionsMutuallyExclusive"]: "PagesAndSectionsMutuallyExclusive",
|
|
130762
|
-
["core.pagesOrSectionsRequired"]: "PagesOrSectionsRequired"
|
|
130764
|
+
["core.pagesOrSectionsRequired"]: "PagesOrSectionsRequired",
|
|
130765
|
+
["core.missingRequiredKey"]: "MissingRequiredKey",
|
|
130766
|
+
["core.unsupportedGranularity"]: "UnsupportedGranularity"
|
|
130763
130767
|
};
|
|
130764
130768
|
/**
|
|
130765
130769
|
* Update error context with new values
|
|
@@ -130784,7 +130788,7 @@ function newError(code, params = [], context) {
|
|
|
130784
130788
|
return err;
|
|
130785
130789
|
}
|
|
130786
130790
|
function buildMessage(message, params, context) {
|
|
130787
|
-
const m =
|
|
130791
|
+
const m = message.replace(/\{(\d+)}/g, (match, index) => params[Number(index)] ?? match);
|
|
130788
130792
|
if (context?.path) return `${m} in: ${context.path.join("/")}`;
|
|
130789
130793
|
return m;
|
|
130790
130794
|
}
|
|
@@ -147106,6 +147110,7 @@ const metadata_v1 = {
|
|
|
147106
147110
|
"MINUTE",
|
|
147107
147111
|
"HOUR",
|
|
147108
147112
|
"DAY",
|
|
147113
|
+
"WEEK",
|
|
147109
147114
|
"WEEK_US",
|
|
147110
147115
|
"MONTH",
|
|
147111
147116
|
"QUARTER",
|
|
@@ -161141,7 +161146,7 @@ async function open(state, emitter, file) {
|
|
|
161141
161146
|
//#endregion
|
|
161142
161147
|
//#region ../code/package.json
|
|
161143
161148
|
var name = "@gooddata/code";
|
|
161144
|
-
var version = "0.62.0-alpha.
|
|
161149
|
+
var version = "0.62.0-alpha.9";
|
|
161145
161150
|
//#endregion
|
|
161146
161151
|
//#region ../../../sdk/libs/api-client-tiger/src/axios.ts
|
|
161147
161152
|
/**
|
|
@@ -161163,7 +161168,7 @@ const _CONFIG = {
|
|
|
161163
161168
|
common: {
|
|
161164
161169
|
"X-Requested-With": "XMLHttpRequest",
|
|
161165
161170
|
"X-GDC-JS-PACKAGE": "@gooddata/api-client-tiger",
|
|
161166
|
-
"X-GDC-JS-PACKAGE-VERSION": "11.65.0-alpha.
|
|
161171
|
+
"X-GDC-JS-PACKAGE-VERSION": "11.65.0-alpha.9"
|
|
161167
161172
|
},
|
|
161168
161173
|
post: { "Content-Type": "application/json;charset=utf8" },
|
|
161169
161174
|
put: { "Content-Type": "application/json;charset=utf8" }
|