@gooddata/code-cli 0.47.0-alpha.0 → 0.47.0-alpha.2

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 +52 -4
  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.47.0-alpha.0";
37373
+ var version$1 = "0.47.0-alpha.2";
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) => {
@@ -106469,6 +106469,7 @@ function cfGranularityToYaml(granularity) {
106469
106469
  function convertGranularity$1(gran) {
106470
106470
  const g = gran;
106471
106471
  switch (g) {
106472
+ case "SECOND": return "GDC.time.second";
106472
106473
  case "MINUTE": return "GDC.time.minute";
106473
106474
  case "HOUR": return "GDC.time.hour";
106474
106475
  case "DAY": return "GDC.time.date";
@@ -106478,6 +106479,9 @@ function convertGranularity$1(gran) {
106478
106479
  case "QUARTER": return "GDC.time.quarter";
106479
106480
  case "YEAR": return "GDC.time.year";
106480
106481
  case "MINUTE_OF_HOUR": return "GDC.time.minute_in_hour";
106482
+ case "MINUTE_OF_DAY": return "GDC.time.minute_in_day";
106483
+ case "SECOND_OF_MINUTE": return "GDC.time.second_in_minute";
106484
+ case "SECOND_OF_DAY": return "GDC.time.second_in_day";
106481
106485
  case "HOUR_OF_DAY": return "GDC.time.hour_in_day";
106482
106486
  case "DAY_OF_WEEK": return "GDC.time.day_in_week";
106483
106487
  case "DAY_OF_MONTH": return "GDC.time.day_in_month";
@@ -106500,6 +106504,7 @@ function convertGranularity$1(gran) {
106500
106504
  /** @public */
106501
106505
  function parseGranularity(gran) {
106502
106506
  switch (gran) {
106507
+ case "GDC.time.second": return "SECOND";
106503
106508
  case "GDC.time.minute": return "MINUTE";
106504
106509
  case "GDC.time.hour": return "HOUR";
106505
106510
  case "GDC.time.date": return "DAY";
@@ -106509,6 +106514,9 @@ function parseGranularity(gran) {
106509
106514
  case "GDC.time.quarter": return "QUARTER";
106510
106515
  case "GDC.time.year": return "YEAR";
106511
106516
  case "GDC.time.minute_in_hour": return "MINUTE_OF_HOUR";
106517
+ case "GDC.time.minute_in_day": return "MINUTE_OF_DAY";
106518
+ case "GDC.time.second_in_minute": return "SECOND_OF_MINUTE";
106519
+ case "GDC.time.second_in_day": return "SECOND_OF_DAY";
106512
106520
  case "GDC.time.hour_in_day": return "HOUR_OF_DAY";
106513
106521
  case "GDC.time.day_in_week": return "DAY_OF_WEEK";
106514
106522
  case "GDC.time.day_in_euweek": return "DAY_OF_WEEK_EU";
@@ -106531,6 +106539,7 @@ function parseGranularity(gran) {
106531
106539
  }
106532
106540
  function convertGranularityToId$1(gran) {
106533
106541
  switch (gran) {
106542
+ case "SECOND": return "second";
106534
106543
  case "MINUTE": return "minute";
106535
106544
  case "HOUR": return "hour";
106536
106545
  case "DAY": return "day";
@@ -106540,6 +106549,9 @@ function convertGranularityToId$1(gran) {
106540
106549
  case "QUARTER": return "quarter";
106541
106550
  case "YEAR": return "year";
106542
106551
  case "MINUTE_OF_HOUR": return "minuteOfHour";
106552
+ case "MINUTE_OF_DAY": return "minuteOfDay";
106553
+ case "SECOND_OF_MINUTE": return "secondOfMinute";
106554
+ case "SECOND_OF_DAY": return "secondOfDay";
106543
106555
  case "HOUR_OF_DAY": return "hourOfDay";
106544
106556
  case "DAY_OF_WEEK": return "dayOfWeek";
106545
106557
  case "DAY_OF_MONTH": return "dayOfMonth";
@@ -106570,6 +106582,10 @@ function convertGranularityToDeclarativeDatasetGranularity(gran) {
106570
106582
  case "HOUR_OF_DAY": return "HOUR_OF_DAY";
106571
106583
  case "MINUTE": return "MINUTE";
106572
106584
  case "MINUTE_OF_HOUR": return "MINUTE_OF_HOUR";
106585
+ case "SECOND": return "SECOND";
106586
+ case "SECOND_OF_MINUTE": return "SECOND_OF_MINUTE";
106587
+ case "SECOND_OF_DAY": return "SECOND_OF_DAY";
106588
+ case "MINUTE_OF_DAY": return "MINUTE_OF_DAY";
106573
106589
  case "MONTH": return "MONTH";
106574
106590
  case "MONTH_OF_YEAR": return "MONTH_OF_YEAR";
106575
106591
  case "QUARTER": return "QUARTER";
@@ -107736,6 +107752,7 @@ function parseGranularityValue$1(gran, value) {
107736
107752
  * Regular expression to detect granularity suffixes at the end of an ID
107737
107753
  */
107738
107754
  const GRANULARITY_SUFFIX_REGEX$1 = new RegExp(`\\.(${[
107755
+ "second",
107739
107756
  "minute",
107740
107757
  "hour",
107741
107758
  "day",
@@ -107743,7 +107760,10 @@ const GRANULARITY_SUFFIX_REGEX$1 = new RegExp(`\\.(${[
107743
107760
  "month",
107744
107761
  "quarter",
107745
107762
  "year",
107763
+ "secondOfMinute",
107764
+ "secondOfDay",
107746
107765
  "minuteOfHour",
107766
+ "minuteOfDay",
107747
107767
  "hourOfDay",
107748
107768
  "dayOfWeek",
107749
107769
  "dayOfMonth",
@@ -143503,6 +143523,7 @@ function resolvedRelatedManifest(state, file) {
143503
143523
  function convertGranularity(gran) {
143504
143524
  const g = gran;
143505
143525
  switch (g) {
143526
+ case "SECOND": return "GDC.time.second";
143506
143527
  case "MINUTE": return "GDC.time.minute";
143507
143528
  case "HOUR": return "GDC.time.hour";
143508
143529
  case "DAY": return "GDC.time.date";
@@ -143512,6 +143533,9 @@ function convertGranularity(gran) {
143512
143533
  case "QUARTER": return "GDC.time.quarter";
143513
143534
  case "YEAR": return "GDC.time.year";
143514
143535
  case "MINUTE_OF_HOUR": return "GDC.time.minute_in_hour";
143536
+ case "MINUTE_OF_DAY": return "GDC.time.minute_in_day";
143537
+ case "SECOND_OF_MINUTE": return "GDC.time.second_in_minute";
143538
+ case "SECOND_OF_DAY": return "GDC.time.second_in_day";
143515
143539
  case "HOUR_OF_DAY": return "GDC.time.hour_in_day";
143516
143540
  case "DAY_OF_WEEK": return "GDC.time.day_in_week";
143517
143541
  case "DAY_OF_MONTH": return "GDC.time.day_in_month";
@@ -143533,6 +143557,7 @@ function convertGranularity(gran) {
143533
143557
  }
143534
143558
  function convertGranularityToId(gran) {
143535
143559
  switch (gran) {
143560
+ case "SECOND": return "second";
143536
143561
  case "MINUTE": return "minute";
143537
143562
  case "HOUR": return "hour";
143538
143563
  case "DAY": return "day";
@@ -143542,6 +143567,9 @@ function convertGranularityToId(gran) {
143542
143567
  case "QUARTER": return "quarter";
143543
143568
  case "YEAR": return "year";
143544
143569
  case "MINUTE_OF_HOUR": return "minuteOfHour";
143570
+ case "MINUTE_OF_DAY": return "minuteOfDay";
143571
+ case "SECOND_OF_MINUTE": return "secondOfMinute";
143572
+ case "SECOND_OF_DAY": return "secondOfDay";
143545
143573
  case "HOUR_OF_DAY": return "hourOfDay";
143546
143574
  case "DAY_OF_WEEK": return "dayOfWeek";
143547
143575
  case "DAY_OF_MONTH": return "dayOfMonth";
@@ -143857,6 +143885,7 @@ function buildDatasetLabel(label, id) {
143857
143885
  * Valid granularity suffixes that can be appended to dataset field IDs
143858
143886
  */
143859
143887
  const VALID_GRANULARITY_SUFFIXES = [
143888
+ "second",
143860
143889
  "minute",
143861
143890
  "hour",
143862
143891
  "day",
@@ -143864,7 +143893,10 @@ const VALID_GRANULARITY_SUFFIXES = [
143864
143893
  "month",
143865
143894
  "quarter",
143866
143895
  "year",
143896
+ "secondOfMinute",
143897
+ "secondOfDay",
143867
143898
  "minuteOfHour",
143899
+ "minuteOfDay",
143868
143900
  "hourOfDay",
143869
143901
  "dayOfWeek",
143870
143902
  "dayOfMonth",
@@ -146316,6 +146348,7 @@ const metadata_v1 = {
146316
146348
  "items": {
146317
146349
  "type": "string",
146318
146350
  "enum": [
146351
+ "SECOND",
146319
146352
  "MINUTE",
146320
146353
  "HOUR",
146321
146354
  "DAY",
@@ -146324,7 +146357,10 @@ const metadata_v1 = {
146324
146357
  "MONTH",
146325
146358
  "QUARTER",
146326
146359
  "YEAR",
146360
+ "SECOND_OF_MINUTE",
146361
+ "SECOND_OF_DAY",
146327
146362
  "MINUTE_OF_HOUR",
146363
+ "MINUTE_OF_DAY",
146328
146364
  "HOUR_OF_DAY",
146329
146365
  "DAY_OF_WEEK",
146330
146366
  "DAY_OF_WEEK_EU",
@@ -150548,6 +150584,7 @@ const metadata_v1 = {
150548
150584
  "granularity": {
150549
150585
  "type": "string",
150550
150586
  "enum": [
150587
+ "SECOND",
150551
150588
  "MINUTE",
150552
150589
  "HOUR",
150553
150590
  "DAY",
@@ -150556,7 +150593,10 @@ const metadata_v1 = {
150556
150593
  "MONTH",
150557
150594
  "QUARTER",
150558
150595
  "YEAR",
150596
+ "SECOND_OF_MINUTE",
150597
+ "SECOND_OF_DAY",
150559
150598
  "MINUTE_OF_HOUR",
150599
+ "MINUTE_OF_DAY",
150560
150600
  "HOUR_OF_DAY",
150561
150601
  "DAY_OF_WEEK",
150562
150602
  "DAY_OF_MONTH",
@@ -150610,6 +150650,7 @@ const metadata_v1 = {
150610
150650
  "granularity": {
150611
150651
  "type": "string",
150612
150652
  "enum": [
150653
+ "SECOND",
150613
150654
  "MINUTE",
150614
150655
  "HOUR",
150615
150656
  "DAY",
@@ -150618,7 +150659,10 @@ const metadata_v1 = {
150618
150659
  "MONTH",
150619
150660
  "QUARTER",
150620
150661
  "YEAR",
150662
+ "SECOND_OF_MINUTE",
150663
+ "SECOND_OF_DAY",
150621
150664
  "MINUTE_OF_HOUR",
150665
+ "MINUTE_OF_DAY",
150622
150666
  "HOUR_OF_DAY",
150623
150667
  "DAY_OF_WEEK",
150624
150668
  "DAY_OF_MONTH",
@@ -152338,6 +152382,7 @@ const metadata_v1 = {
152338
152382
  "items": {
152339
152383
  "type": "string",
152340
152384
  "enum": [
152385
+ "SECOND",
152341
152386
  "MINUTE",
152342
152387
  "HOUR",
152343
152388
  "DAY",
@@ -152346,7 +152391,10 @@ const metadata_v1 = {
152346
152391
  "MONTH",
152347
152392
  "QUARTER",
152348
152393
  "YEAR",
152394
+ "SECOND_OF_MINUTE",
152395
+ "SECOND_OF_DAY",
152349
152396
  "MINUTE_OF_HOUR",
152397
+ "MINUTE_OF_DAY",
152350
152398
  "HOUR_OF_DAY",
152351
152399
  "DAY_OF_WEEK",
152352
152400
  "DAY_OF_WEEK_EU",
@@ -159766,7 +159814,7 @@ async function open(state, emitter, file) {
159766
159814
  //#endregion
159767
159815
  //#region ../code/package.json
159768
159816
  var name = "@gooddata/code";
159769
- var version = "0.47.0-alpha.0";
159817
+ var version = "0.47.0-alpha.2";
159770
159818
  //#endregion
159771
159819
  //#region ../../../sdk/libs/api-client-tiger/src/axios.ts
159772
159820
  /**
@@ -159788,7 +159836,7 @@ const _CONFIG = {
159788
159836
  common: {
159789
159837
  "X-Requested-With": "XMLHttpRequest",
159790
159838
  "X-GDC-JS-PACKAGE": "@gooddata/api-client-tiger",
159791
- "X-GDC-JS-PACKAGE-VERSION": "11.51.0-alpha.0"
159839
+ "X-GDC-JS-PACKAGE-VERSION": "11.51.0-alpha.2"
159792
159840
  },
159793
159841
  post: { "Content-Type": "application/json;charset=utf8" },
159794
159842
  put: { "Content-Type": "application/json;charset=utf8" }
@@ -190876,7 +190924,7 @@ async function getUserDetails(axios, id) {
190876
190924
  }
190877
190925
  //#endregion
190878
190926
  //#region ../../../sdk/libs/api-client-tiger/src/generated/result-json-api/base.ts
190879
- const BASE_PATH$1 = "https://automation.staging-ui.stg11.panther.intgdc.com".replace(/\/+$/, "");
190927
+ const BASE_PATH$1 = "https://staging.dev-latest.stg11.panther.intgdc.com".replace(/\/+$/, "");
190880
190928
  var BaseAPI$1 = class {
190881
190929
  basePath;
190882
190930
  axios;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/code-cli",
3
- "version": "0.47.0-alpha.0",
3
+ "version": "0.47.0-alpha.2",
4
4
  "description": "GoodData CLI",
5
5
  "keywords": [
6
6
  "analytics",