@gooddata/code-cli 0.61.0-alpha.3 → 0.61.0-alpha.6

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.
Files changed (2) hide show
  1. package/dist/index.js +46 -42
  2. 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.61.0-alpha.3";
37373
+ var version$1 = "0.61.0-alpha.6";
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) => {
@@ -77391,44 +77391,6 @@ function isEmpty$1(value) {
77391
77391
  return true;
77392
77392
  }
77393
77393
  //#endregion
77394
- //#region ../../../common/temp/aac/node_modules/.pnpm/@gooddata+sdk-backend-spi@file+..+..+..+sdk+libs+sdk-backend-spi/node_modules/@gooddata/sdk-backend-spi/esm/errors/index.js
77395
- /**
77396
- * Types of errors that can be raised by Analytical Backends.
77397
- *
77398
- * @public
77399
- */
77400
- const AnalyticalBackendErrorTypes = {
77401
- NO_DATA: "ND",
77402
- DATA_TOO_LARGE: "DTL",
77403
- PROTECTED_DATA: "PD",
77404
- UNEXPECTED_HTTP: "UH",
77405
- UNEXPECTED: "UE",
77406
- NOT_SUPPORTED: "NS",
77407
- NOT_IMPLEMENTED: "NI!",
77408
- NOT_AUTHENTICATED: "NAuth",
77409
- LIMIT_REACHED: "LR",
77410
- CONTRACT_EXPIRED: "CE",
77411
- PERMISSION_ESCALATION_REFUSED: "PE",
77412
- TIMEOUT_ERROR: "TE",
77413
- ABORT: "AB"
77414
- };
77415
- /**
77416
- * Type guard checking whether input is an instance of {@link AnalyticalBackendError}
77417
- *
77418
- * @public
77419
- */
77420
- function isAnalyticalBackendError(obj) {
77421
- return !isEmpty$1(obj) && obj.abeType !== void 0;
77422
- }
77423
- /**
77424
- * Type guard checking whether input is an instance of {@link UnexpectedResponseError}
77425
- *
77426
- * @public
77427
- */
77428
- function isUnexpectedResponseError(obj) {
77429
- return isAnalyticalBackendError(obj) && obj.abeType === AnalyticalBackendErrorTypes.UNEXPECTED_HTTP;
77430
- }
77431
- //#endregion
77432
77394
  //#region ../../../common/temp/aac/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs
77433
77395
  var tslib_es6_exports$1 = /* @__PURE__ */ __exportAll({
77434
77396
  __addDisposableResource: () => __addDisposableResource$1,
@@ -79375,6 +79337,45 @@ function isStringParameterDefinition(def) {
79375
79337
  return def.type === "STRING";
79376
79338
  }
79377
79339
  //#endregion
79340
+ //#region ../../../common/temp/aac/node_modules/.pnpm/@gooddata+sdk-backend-spi@file+..+..+..+sdk+libs+sdk-backend-spi/node_modules/@gooddata/sdk-backend-spi/esm/errors/index.js
79341
+ /**
79342
+ * Types of errors that can be raised by Analytical Backends.
79343
+ *
79344
+ * @public
79345
+ */
79346
+ const AnalyticalBackendErrorTypes = {
79347
+ NO_DATA: "ND",
79348
+ DATA_TOO_LARGE: "DTL",
79349
+ PROTECTED_DATA: "PD",
79350
+ UNEXPECTED_HTTP: "UH",
79351
+ UNEXPECTED: "UE",
79352
+ NOT_SUPPORTED: "NS",
79353
+ NOT_IMPLEMENTED: "NI!",
79354
+ NOT_AUTHENTICATED: "NAuth",
79355
+ LIMIT_REACHED: "LR",
79356
+ CONTRACT_EXPIRED: "CE",
79357
+ PERMISSION_ESCALATION_REFUSED: "PE",
79358
+ TIMEOUT_ERROR: "TE",
79359
+ ABORT: "AB",
79360
+ PUBLISHER_CONTENT_NOT_SUPPORTED: "PCNS"
79361
+ };
79362
+ /**
79363
+ * Type guard checking whether input is an instance of {@link AnalyticalBackendError}
79364
+ *
79365
+ * @public
79366
+ */
79367
+ function isAnalyticalBackendError(obj) {
79368
+ return !isEmpty$1(obj) && obj.abeType !== void 0;
79369
+ }
79370
+ /**
79371
+ * Type guard checking whether input is an instance of {@link UnexpectedResponseError}
79372
+ *
79373
+ * @public
79374
+ */
79375
+ function isUnexpectedResponseError(obj) {
79376
+ return isAnalyticalBackendError(obj) && obj.abeType === AnalyticalBackendErrorTypes.UNEXPECTED_HTTP;
79377
+ }
79378
+ //#endregion
79378
79379
  //#region ../../../common/temp/aac/node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js
79379
79380
  var require_ms$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
79380
79381
  /**
@@ -138524,6 +138525,9 @@ function fillWidgetIds(layout) {
138524
138525
  after: "type"
138525
138526
  });
138526
138527
  }
138528
+ function fillEntityIds(entity) {
138529
+ return (0, import_dist.isMap)(entity) && fillContentIds(entity.get("type"), entity.get("content"));
138530
+ }
138527
138531
  function fillContentIds(type, content) {
138528
138532
  if (!(0, import_dist.isMap)(content)) return false;
138529
138533
  if (type === "page_template") return fillWidgetIds(content.get("layout"));
@@ -138585,7 +138589,7 @@ function fillPublisherIdsV2(content) {
138585
138589
  content,
138586
138590
  changed: false
138587
138591
  };
138588
- if (!fillContentIds(document.contents.get("type"), document.contents.get("content"))) return {
138592
+ if (!fillEntityIds(document.contents)) return {
138589
138593
  content,
138590
138594
  changed: false
138591
138595
  };
@@ -165780,7 +165784,7 @@ async function open(state, emitter, file) {
165780
165784
  //#endregion
165781
165785
  //#region ../code/package.json
165782
165786
  var name = "@gooddata/code";
165783
- var version = "0.61.0-alpha.3";
165787
+ var version = "0.61.0-alpha.6";
165784
165788
  //#endregion
165785
165789
  //#region ../../../sdk/libs/api-client-tiger/src/axios.ts
165786
165790
  /**
@@ -165802,7 +165806,7 @@ const _CONFIG = {
165802
165806
  common: {
165803
165807
  "X-Requested-With": "XMLHttpRequest",
165804
165808
  "X-GDC-JS-PACKAGE": "@gooddata/api-client-tiger",
165805
- "X-GDC-JS-PACKAGE-VERSION": "11.64.0-alpha.3"
165809
+ "X-GDC-JS-PACKAGE-VERSION": "11.64.0-alpha.6"
165806
165810
  },
165807
165811
  post: { "Content-Type": "application/json;charset=utf8" },
165808
165812
  put: { "Content-Type": "application/json;charset=utf8" }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/code-cli",
3
- "version": "0.61.0-alpha.3",
3
+ "version": "0.61.0-alpha.6",
4
4
  "description": "GoodData CLI",
5
5
  "keywords": [
6
6
  "analytics",