@gooddata/code-cli 0.2.1 → 0.2.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.
@@ -178,6 +178,8 @@
178
178
 
179
179
  /*! ../../../errors */
180
180
 
181
+ /*! ../../../features/references */
182
+
181
183
  /*! ../../../nodes */
182
184
 
183
185
  /*! ../../../position */
@@ -196,6 +198,8 @@
196
198
 
197
199
  /*! ../../../store */
198
200
 
201
+ /*! ../../../texts */
202
+
199
203
  /*! ../../../tokens */
200
204
 
201
205
  /*! ../../../utils */
@@ -368,8 +372,6 @@
368
372
 
369
373
  /*! ../../stringify/stringifyString.js */
370
374
 
371
- /*! ../../texts */
372
-
373
375
  /*! ../../toBackend/AnalyticalDashboardConverter.js */
374
376
 
375
377
  /*! ../../toBackend/afm/DimensionsConverter.js */
@@ -540,6 +542,8 @@
540
542
 
541
543
  /*! ../compose/resolve-flow-scalar.js */
542
544
 
545
+ /*! ../configs */
546
+
543
547
  /*! ../constants */
544
548
 
545
549
  /*! ../constants.js */
@@ -892,8 +896,14 @@
892
896
 
893
897
  /*! ../utils.js */
894
898
 
899
+ /*! ../utils/configUtils */
900
+
895
901
  /*! ../utils/errorHandling.js */
896
902
 
903
+ /*! ../utils/filterUtils */
904
+
905
+ /*! ../utils/yamlUtils */
906
+
897
907
  /*! ../validations */
898
908
 
899
909
  /*! ../validator/helpers */
@@ -1860,6 +1870,8 @@
1860
1870
 
1861
1871
  /*! ./backend/index.js */
1862
1872
 
1873
+ /*! ./barChart */
1874
+
1863
1875
  /*! ./base.js */
1864
1876
 
1865
1877
  /*! ./base/dateGranularities.js */
@@ -2000,8 +2012,12 @@
2000
2012
 
2001
2013
  /*! ./convertGranularity */
2002
2014
 
2015
+ /*! ./convertGranularityValues */
2016
+
2003
2017
  /*! ./convertIdToTitle */
2004
2018
 
2019
+ /*! ./convertTitleToId */
2020
+
2005
2021
  /*! ./converter */
2006
2022
 
2007
2023
  /*! ./convertors/filesystem */
@@ -2078,8 +2094,6 @@
2078
2094
 
2079
2095
  /*! ./datasetPreview */
2080
2096
 
2081
- /*! ./datasetToDeclarative */
2082
-
2083
2097
  /*! ./datasets/index.js */
2084
2098
 
2085
2099
  /*! ./datasources */
@@ -2094,8 +2108,6 @@
2094
2108
 
2095
2109
  /*! ./dateGranularityConversions.js */
2096
2110
 
2097
- /*! ./dateInstanceToDeclarative */
2098
-
2099
2111
  /*! ./dateValueParser.js */
2100
2112
 
2101
2113
  /*! ./db.json */
@@ -2108,12 +2120,6 @@
2108
2120
 
2109
2121
  /*! ./debug */
2110
2122
 
2111
- /*! ./declarativeDatasetToYaml */
2112
-
2113
- /*! ./declarativeDateInstanceToYaml */
2114
-
2115
- /*! ./declarativeMetricToYaml */
2116
-
2117
2123
  /*! ./decoratedBackend/catalog.js */
2118
2124
 
2119
2125
  /*! ./decoratedBackend/dashboards.js */
@@ -2454,6 +2460,14 @@
2454
2460
 
2455
2461
  /*! ./from */
2456
2462
 
2463
+ /*! ./from/declarativeDatasetToYaml */
2464
+
2465
+ /*! ./from/declarativeDateInstanceToYaml */
2466
+
2467
+ /*! ./from/declarativeMetricToYaml */
2468
+
2469
+ /*! ./from/declarativeVisualisationToYaml */
2470
+
2457
2471
  /*! ./fromDeclarative */
2458
2472
 
2459
2473
  /*! ./fs */
@@ -2492,6 +2506,8 @@
2492
2506
 
2493
2507
  /*! ./get */
2494
2508
 
2509
+ /*! ./getFullField */
2510
+
2495
2511
  /*! ./getPrototypeOf.js */
2496
2512
 
2497
2513
  /*! ./gooddata_format.js */
@@ -2746,15 +2762,17 @@
2746
2762
 
2747
2763
  /*! ./metadata */
2748
2764
 
2765
+ /*! ./metadata.json */
2766
+
2749
2767
  /*! ./metadata/model */
2750
2768
 
2751
2769
  /*! ./metadataService */
2752
2770
 
2753
2771
  /*! ./metadataUtilities.js */
2754
2772
 
2755
- /*! ./metricPreview */
2773
+ /*! ./metric */
2756
2774
 
2757
- /*! ./metricToDeclarative */
2775
+ /*! ./metricPreview */
2758
2776
 
2759
2777
  /*! ./metricValidObjects */
2760
2778
 
@@ -2994,6 +3012,8 @@
2994
3012
 
2995
3013
  /*! ./resolve/metric */
2996
3014
 
3015
+ /*! ./resolve/visualisation */
3016
+
2997
3017
  /*! ./resolveConfiguration */
2998
3018
 
2999
3019
  /*! ./resolver */
@@ -3016,8 +3036,6 @@
3016
3036
 
3017
3037
  /*! ./schema */
3018
3038
 
3019
- /*! ./schema.json */
3020
-
3021
3039
  /*! ./schema/Schema.js */
3022
3040
 
3023
3041
  /*! ./schemas */
@@ -3116,6 +3134,8 @@
3116
3134
 
3117
3135
  /*! ./subschema */
3118
3136
 
3137
+ /*! ./table */
3138
+
3119
3139
  /*! ./tables */
3120
3140
 
3121
3141
  /*! ./tags.js */
@@ -3136,6 +3156,14 @@
3136
3156
 
3137
3157
  /*! ./to */
3138
3158
 
3159
+ /*! ./to/yamlDatasetToDeclarative */
3160
+
3161
+ /*! ./to/yamlDateDatasetToDeclarative */
3162
+
3163
+ /*! ./to/yamlMetricToDeclarative */
3164
+
3165
+ /*! ./to/yamlVisualisationToDeclarative */
3166
+
3139
3167
  /*! ./toDeclarative */
3140
3168
 
3141
3169
  /*! ./toFinite */
@@ -3236,6 +3264,8 @@
3236
3264
 
3237
3265
  /*! ./utils/jwt.js */
3238
3266
 
3267
+ /*! ./utils/nameUtils */
3268
+
3239
3269
  /*! ./utils/uuid */
3240
3270
 
3241
3271
  /*! ./v1 */
@@ -3314,8 +3344,6 @@
3314
3344
 
3315
3345
  /*! ./yaml-1.1/timestamp.js */
3316
3346
 
3317
- /*! ./yamlUtils */
3318
-
3319
3347
  /*! @babel/runtime/helpers/assertThisInitialized */
3320
3348
 
3321
3349
  /*! @babel/runtime/helpers/classCallCheck */
@@ -3852,10 +3880,6 @@
3852
3880
  !*** ./src/shared/const.ts ***!
3853
3881
  \*****************************/
3854
3882
 
3855
- /*!******************************!*\
3856
- !*** ./schemas/v1/schema.ts ***!
3857
- \******************************/
3858
-
3859
3883
  /*!******************************!*\
3860
3884
  !*** ./src/ManifestError.ts ***!
3861
3885
  \******************************/
@@ -3909,7 +3933,7 @@
3909
3933
  \********************************/
3910
3934
 
3911
3935
  /*!********************************!*\
3912
- !*** ./schemas/v1/schema.json ***!
3936
+ !*** ./schemas/v1/metadata.ts ***!
3913
3937
  \********************************/
3914
3938
 
3915
3939
  /*!********************************!*\
@@ -3924,10 +3948,6 @@
3924
3948
  !*** ./src/public/FileNode.ts ***!
3925
3949
  \********************************/
3926
3950
 
3927
- /*!********************************!*\
3928
- !*** ./src/schema/path/ast.ts ***!
3929
- \********************************/
3930
-
3931
3951
  /*!********************************!*\
3932
3952
  !*** ./src/store/ast/index.ts ***!
3933
3953
  \********************************/
@@ -3968,6 +3988,10 @@
3968
3988
  !*** ./src/store/yaml/index.ts ***!
3969
3989
  \*********************************/
3970
3990
 
3991
+ /*!**********************************!*\
3992
+ !*** ./schemas/v1/metadata.json ***!
3993
+ \**********************************/
3994
+
3971
3995
  /*!**********************************!*\
3972
3996
  !*** ./src/schema/path/index.ts ***!
3973
3997
  \**********************************/
@@ -4360,6 +4384,10 @@
4360
4384
  !*** ./src/features/references/types.ts ***!
4361
4385
  \******************************************/
4362
4386
 
4387
+ /*!******************************************!*\
4388
+ !*** ./src/features/references/utils.ts ***!
4389
+ \******************************************/
4390
+
4363
4391
  /*!******************************************!*\
4364
4392
  !*** ./src/features/snippets/builder.ts ***!
4365
4393
  \******************************************/
@@ -4376,6 +4404,10 @@
4376
4404
  !*** ./src/services/server/workspace.ts ***!
4377
4405
  \******************************************/
4378
4406
 
4407
+ /*!******************************************!*\
4408
+ !*** ./src/shared/utils/getFullField.ts ***!
4409
+ \******************************************/
4410
+
4379
4411
  /*!******************************************!*\
4380
4412
  !*** ./src/shared/utils/stringToHash.ts ***!
4381
4413
  \******************************************/
@@ -4504,6 +4536,10 @@
4504
4536
  !*** ./src/convertors/declarative/index.ts ***!
4505
4537
  \*********************************************/
4506
4538
 
4539
+ /*!*********************************************!*\
4540
+ !*** ./src/convertors/declarative/types.ts ***!
4541
+ \*********************************************/
4542
+
4507
4543
  /*!*********************************************!*\
4508
4544
  !*** ./src/schema/completion/collecting.ts ***!
4509
4545
  \*********************************************/
@@ -4524,6 +4560,10 @@
4524
4560
  !*** ./src/shared/utils/convertIdToTitle.ts ***!
4525
4561
  \**********************************************/
4526
4562
 
4563
+ /*!**********************************************!*\
4564
+ !*** ./src/shared/utils/convertTitleToId.ts ***!
4565
+ \**********************************************/
4566
+
4527
4567
  /*!***********************************************!*\
4528
4568
  !*** ./src/features/codeLens/codeLensItem.ts ***!
4529
4569
  \***********************************************/
@@ -4552,10 +4592,6 @@
4552
4592
  !*** ./src/shared/utils/convertGranularity.ts ***!
4553
4593
  \************************************************/
4554
4594
 
4555
- /*!*************************************************!*\
4556
- !*** ./src/convertors/declarative/yamlUtils.ts ***!
4557
- \*************************************************/
4558
-
4559
4595
  /*!*************************************************!*\
4560
4596
  !*** ./src/features/codeLens/codeLens/index.ts ***!
4561
4597
  \*************************************************/
@@ -4628,6 +4664,18 @@
4628
4664
  !*** ./src/features/validations/validator/file.ts ***!
4629
4665
  \****************************************************/
4630
4666
 
4667
+ /*!*****************************************************!*\
4668
+ !*** ./src/convertors/declarative/configs/index.ts ***!
4669
+ \*****************************************************/
4670
+
4671
+ /*!*****************************************************!*\
4672
+ !*** ./src/convertors/declarative/configs/table.ts ***!
4673
+ \*****************************************************/
4674
+
4675
+ /*!*****************************************************!*\
4676
+ !*** ./src/convertors/declarative/configs/utils.ts ***!
4677
+ \*****************************************************/
4678
+
4631
4679
  /*!*****************************************************!*\
4632
4680
  !*** ./src/convertors/declarative/toDeclarative.ts ***!
4633
4681
  \*****************************************************/
@@ -4664,10 +4712,22 @@
4664
4712
  !*** ./src/features/completions/completion/index.ts ***!
4665
4713
  \******************************************************/
4666
4714
 
4715
+ /*!******************************************************!*\
4716
+ !*** ./src/shared/utils/convertGranularityValues.ts ***!
4717
+ \******************************************************/
4718
+
4667
4719
  /*!*******************************************************!*\
4668
4720
  !*** ./src/convertors/declarative/fromDeclarative.ts ***!
4669
4721
  \*******************************************************/
4670
4722
 
4723
+ /*!*******************************************************!*\
4724
+ !*** ./src/convertors/declarative/utils/nameUtils.ts ***!
4725
+ \*******************************************************/
4726
+
4727
+ /*!*******************************************************!*\
4728
+ !*** ./src/convertors/declarative/utils/yamlUtils.ts ***!
4729
+ \*******************************************************/
4730
+
4671
4731
  /*!*******************************************************!*\
4672
4732
  !*** ./src/features/codeActions/codeActions/index.ts ***!
4673
4733
  \*******************************************************/
@@ -4680,21 +4740,33 @@
4680
4740
  !*** ./src/features/references/resolve/statements.ts ***!
4681
4741
  \*******************************************************/
4682
4742
 
4743
+ /*!********************************************************!*\
4744
+ !*** ./src/convertors/declarative/configs/barChart.ts ***!
4745
+ \********************************************************/
4746
+
4683
4747
  /*!********************************************************!*\
4684
4748
  !*** ./src/features/references/resolve/datasources.ts ***!
4685
4749
  \********************************************************/
4686
4750
 
4751
+ /*!*********************************************************!*\
4752
+ !*** ./src/convertors/declarative/utils/configUtils.ts ***!
4753
+ \*********************************************************/
4754
+
4755
+ /*!*********************************************************!*\
4756
+ !*** ./src/convertors/declarative/utils/filterUtils.ts ***!
4757
+ \*********************************************************/
4758
+
4687
4759
  /*!*********************************************************!*\
4688
4760
  !*** ./src/features/highlights/highlight/converters.ts ***!
4689
4761
  \*********************************************************/
4690
4762
 
4691
4763
  /*!**********************************************************!*\
4692
- !*** ./src/features/validations/validator/converters.ts ***!
4764
+ !*** ./src/features/references/resolve/visualisation.ts ***!
4693
4765
  \**********************************************************/
4694
4766
 
4695
- /*!***********************************************************!*\
4696
- !*** ./src/convertors/declarative/metricToDeclarative.ts ***!
4697
- \***********************************************************/
4767
+ /*!**********************************************************!*\
4768
+ !*** ./src/features/validations/validator/converters.ts ***!
4769
+ \**********************************************************/
4698
4770
 
4699
4771
  /*!***********************************************************!*\
4700
4772
  !*** ./src/features/codeLens/codeLens/languages/index.ts ***!
@@ -4704,26 +4776,14 @@
4704
4776
  !*** ./src/features/completions/completion/converters.ts ***!
4705
4777
  \***********************************************************/
4706
4778
 
4707
- /*!************************************************************!*\
4708
- !*** ./src/convertors/declarative/datasetToDeclarative.ts ***!
4709
- \************************************************************/
4710
-
4711
4779
  /*!**************************************************************!*\
4712
4780
  !*** ./src/features/highlights/highlight/languages/index.ts ***!
4713
4781
  \**************************************************************/
4714
4782
 
4715
- /*!***************************************************************!*\
4716
- !*** ./src/convertors/declarative/declarativeMetricToYaml.ts ***!
4717
- \***************************************************************/
4718
-
4719
4783
  /*!***************************************************************!*\
4720
4784
  !*** ./src/features/validations/validator/languages/index.ts ***!
4721
4785
  \***************************************************************/
4722
4786
 
4723
- /*!****************************************************************!*\
4724
- !*** ./src/convertors/declarative/declarativeDatasetToYaml.ts ***!
4725
- \****************************************************************/
4726
-
4727
4787
  /*!****************************************************************!*\
4728
4788
  !*** ./src/features/codeLens/codeLens/languages/yaml/index.ts ***!
4729
4789
  \****************************************************************/
@@ -4736,14 +4796,14 @@
4736
4796
  !*** ./src/features/completions/completion/languages/index.ts ***!
4737
4797
  \****************************************************************/
4738
4798
 
4739
- /*!*****************************************************************!*\
4740
- !*** ./src/convertors/declarative/dateInstanceToDeclarative.ts ***!
4741
- \*****************************************************************/
4742
-
4743
4799
  /*!*****************************************************************!*\
4744
4800
  !*** ./src/features/codeActions/codeActions/languages/index.ts ***!
4745
4801
  \*****************************************************************/
4746
4802
 
4803
+ /*!******************************************************************!*\
4804
+ !*** ./src/convertors/declarative/to/yamlMetricToDeclarative.ts ***!
4805
+ \******************************************************************/
4806
+
4747
4807
  /*!******************************************************************!*\
4748
4808
  !*** ./src/features/codeLens/codeLens/languages/yaml/objects.ts ***!
4749
4809
  \******************************************************************/
@@ -4752,6 +4812,10 @@
4752
4812
  !*** ./src/features/highlights/highlight/languages/sql/index.ts ***!
4753
4813
  \******************************************************************/
4754
4814
 
4815
+ /*!*******************************************************************!*\
4816
+ !*** ./src/convertors/declarative/to/yamlDatasetToDeclarative.ts ***!
4817
+ \*******************************************************************/
4818
+
4755
4819
  /*!*******************************************************************!*\
4756
4820
  !*** ./src/features/highlights/highlight/languages/maql/index.ts ***!
4757
4821
  \*******************************************************************/
@@ -4760,6 +4824,10 @@
4760
4824
  !*** ./src/features/highlights/highlight/languages/yaml/index.ts ***!
4761
4825
  \*******************************************************************/
4762
4826
 
4827
+ /*!********************************************************************!*\
4828
+ !*** ./src/convertors/declarative/from/declarativeMetricToYaml.ts ***!
4829
+ \********************************************************************/
4830
+
4763
4831
  /*!********************************************************************!*\
4764
4832
  !*** ./src/features/validations/validator/languages/maql/index.ts ***!
4765
4833
  \********************************************************************/
@@ -4769,7 +4837,7 @@
4769
4837
  \********************************************************************/
4770
4838
 
4771
4839
  /*!*********************************************************************!*\
4772
- !*** ./src/convertors/declarative/declarativeDateInstanceToYaml.ts ***!
4840
+ !*** ./src/convertors/declarative/from/declarativeDatasetToYaml.ts ***!
4773
4841
  \*********************************************************************/
4774
4842
 
4775
4843
  /*!*********************************************************************!*\
@@ -4788,6 +4856,10 @@
4788
4856
  !*** ./src/features/highlights/highlight/languages/yaml/semantic.ts ***!
4789
4857
  \**********************************************************************/
4790
4858
 
4859
+ /*!***********************************************************************!*\
4860
+ !*** ./src/convertors/declarative/to/yamlDateDatasetToDeclarative.ts ***!
4861
+ \***********************************************************************/
4862
+
4791
4863
  /*!***********************************************************************!*\
4792
4864
  !*** ./src/features/validations/validator/languages/yaml/semantic.ts ***!
4793
4865
  \***********************************************************************/
@@ -4800,6 +4872,18 @@
4800
4872
  !*** ./src/features/completions/completion/languages/yaml/semantic.ts ***!
4801
4873
  \************************************************************************/
4802
4874
 
4875
+ /*!*************************************************************************!*\
4876
+ !*** ./src/convertors/declarative/to/yamlVisualisationToDeclarative.ts ***!
4877
+ \*************************************************************************/
4878
+
4879
+ /*!**************************************************************************!*\
4880
+ !*** ./src/convertors/declarative/from/declarativeDateInstanceToYaml.ts ***!
4881
+ \**************************************************************************/
4882
+
4883
+ /*!***************************************************************************!*\
4884
+ !*** ./src/convertors/declarative/from/declarativeVisualisationToYaml.ts ***!
4885
+ \***************************************************************************/
4886
+
4803
4887
  /*!************************************************************************************!*\
4804
4888
  !*** ../../common/temp/node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/ajv.js ***!
4805
4889
  \************************************************************************************/
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "analytics",
6
6
  "gooddata"
7
7
  ],
8
- "version": "0.2.1",
8
+ "version": "0.2.2",
9
9
  "author": "GoodData",
10
10
  "license": "SEE LICENSE IN LICENSE",
11
11
  "main": "out/index.js",