@gooddata/code-cli 0.64.0-alpha.3 → 0.64.0-alpha.4
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/NOTICE +3 -220
- package/dist/index.js +131 -87
- package/package.json +1 -1
package/NOTICE
CHANGED
|
@@ -11,9 +11,9 @@ This product includes a number of subcomponents with separate copyright notices
|
|
|
11
11
|
|
|
12
12
|
The following 3rd-party software packages may be used by or distributed with gdc-analytics-as-code. Any information relevant to third-party vendors listed below are collected using common, reasonable means.
|
|
13
13
|
|
|
14
|
-
Date generated: 2026-11-
|
|
14
|
+
Date generated: 2026-11-4
|
|
15
15
|
|
|
16
|
-
Revision ID:
|
|
16
|
+
Revision ID: 66165aa316fed09103bbac8a827d970a6afda351
|
|
17
17
|
|
|
18
18
|
================================================================================
|
|
19
19
|
================================================================================
|
|
@@ -89,8 +89,6 @@ Revision ID: 3c196b9edb690788cb6841eb3fec5a5b0e50b44b
|
|
|
89
89
|
- @formatjs/icu-messageformat-parser (3.5.17) [MIT]
|
|
90
90
|
- @formatjs/icu-skeleton-parser (2.1.11) [MIT]
|
|
91
91
|
- @formatjs/intl (4.1.20) [MIT]
|
|
92
|
-
- @formatjs/intl-pluralrules (1.5.9) [MIT]
|
|
93
|
-
- @formatjs/intl-utils (2.3.0) [MIT]
|
|
94
92
|
- @gooddata/emailjs-mime-codec-new (3.0.2) [MIT]
|
|
95
93
|
- @gooddata/maql-antlr4ts (0.7.2) [MIT, BSD-3-Clause]
|
|
96
94
|
- @gooddata/number-formatter (1.0.6) [Python-2.0, mit-nagy, ISC, PSF-2.0, MIT, CNRI-Python, BSD-2-Clause, BSD-3-Clause, Apache-2.0]
|
|
@@ -402,8 +400,6 @@ Revision ID: 3c196b9edb690788cb6841eb3fec5a5b0e50b44b
|
|
|
402
400
|
- isexe (2.0.0) [ISC]
|
|
403
401
|
- jackspeak (3.4.3) [blueoak-1.0.0]
|
|
404
402
|
- jose (6.2.12) [MIT]
|
|
405
|
-
- jquery (3.7.1) [MIT]
|
|
406
|
-
- jquery.browser (0.1.0) [MIT]
|
|
407
403
|
- js-tokens (4.0.0) [MIT]
|
|
408
404
|
- js-yaml (4.3.2) [MIT]
|
|
409
405
|
- jsesc (3.1.0) [MIT]
|
|
@@ -588,7 +584,6 @@ Revision ID: 3c196b9edb690788cb6841eb3fec5a5b0e50b44b
|
|
|
588
584
|
- run-async (2.4.1) [MIT]
|
|
589
585
|
- run-async (3.0.0) [MIT]
|
|
590
586
|
- rw (1.3.3) [BSD-3-Clause]
|
|
591
|
-
- rxjs (6.6.7) [Apache-2.0, ISC]
|
|
592
587
|
- rxjs (7.8.2) [Apache-2.0, ISC]
|
|
593
588
|
- safe-buffer (5.2.1) [MIT]
|
|
594
589
|
- safer-buffer (2.1.2) [MIT]
|
|
@@ -650,7 +645,6 @@ Revision ID: 3c196b9edb690788cb6841eb3fec5a5b0e50b44b
|
|
|
650
645
|
- try (1.0.3) [MIT]
|
|
651
646
|
- ts-invariant (0.10.3) [MIT]
|
|
652
647
|
- ts-invariant (0.7.5) [MIT]
|
|
653
|
-
- tslib (1.14.1) [ISC]
|
|
654
648
|
- tslib (2.8.1) [ISC]
|
|
655
649
|
- tss-react (4.9.19) [MIT]
|
|
656
650
|
- type-fest (0.21.3) [Multi-license: CC0-1.0 OR MIT]
|
|
@@ -3109,60 +3103,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
3109
3103
|
MIT
|
|
3110
3104
|
- Copyright (c) 2023 FormatJS
|
|
3111
3105
|
|
|
3112
|
-
--------------------------------------------------------------------------------
|
|
3113
|
-
Package Title: @formatjs/intl-pluralrules (1.5.9)
|
|
3114
|
-
|
|
3115
|
-
Package Locator: npm+@formatjs/intl-pluralrules$1.5.9
|
|
3116
|
-
|
|
3117
|
-
Package Depth: Direct
|
|
3118
|
-
--------------------------------------------------------------------------------
|
|
3119
|
-
|
|
3120
|
-
* Declared Licenses *
|
|
3121
|
-
MIT
|
|
3122
|
-
|
|
3123
|
-
* License Header *
|
|
3124
|
-
MIT License
|
|
3125
|
-
|
|
3126
|
-
Copyright (c) 2019 FormatJS
|
|
3127
|
-
|
|
3128
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
3129
|
-
|
|
3130
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
3131
|
-
|
|
3132
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
* Copyrights *
|
|
3136
|
-
MIT
|
|
3137
|
-
- Copyright (c) 2019 FormatJS
|
|
3138
|
-
|
|
3139
|
-
--------------------------------------------------------------------------------
|
|
3140
|
-
Package Title: @formatjs/intl-utils (2.3.0)
|
|
3141
|
-
|
|
3142
|
-
Package Locator: npm+@formatjs/intl-utils$2.3.0
|
|
3143
|
-
|
|
3144
|
-
Package Depth: Transitive
|
|
3145
|
-
--------------------------------------------------------------------------------
|
|
3146
|
-
|
|
3147
|
-
* Declared Licenses *
|
|
3148
|
-
MIT
|
|
3149
|
-
|
|
3150
|
-
* License Header *
|
|
3151
|
-
MIT License
|
|
3152
|
-
|
|
3153
|
-
Copyright (c) 2019 FormatJS
|
|
3154
|
-
|
|
3155
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
3156
|
-
|
|
3157
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
3158
|
-
|
|
3159
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
* Copyrights *
|
|
3163
|
-
MIT
|
|
3164
|
-
- Copyright (c) 2019 FormatJS
|
|
3165
|
-
|
|
3166
3106
|
--------------------------------------------------------------------------------
|
|
3167
3107
|
Package Title: @gooddata/emailjs-mime-codec-new (3.0.2)
|
|
3168
3108
|
|
|
@@ -20219,79 +20159,6 @@ SOFTWARE.
|
|
|
20219
20159
|
MIT
|
|
20220
20160
|
- Copyright (c) 2018 Filip Skokan
|
|
20221
20161
|
|
|
20222
|
-
--------------------------------------------------------------------------------
|
|
20223
|
-
Package Title: jquery (3.7.1)
|
|
20224
|
-
|
|
20225
|
-
Package Locator: npm+jquery$3.7.1
|
|
20226
|
-
|
|
20227
|
-
Package Depth: Direct
|
|
20228
|
-
--------------------------------------------------------------------------------
|
|
20229
|
-
|
|
20230
|
-
* Declared Licenses *
|
|
20231
|
-
MIT
|
|
20232
|
-
|
|
20233
|
-
* License Header *
|
|
20234
|
-
Copyright OpenJS Foundation and other contributors, https://openjsf.org/
|
|
20235
|
-
|
|
20236
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
20237
|
-
a copy of this software and associated documentation files (the
|
|
20238
|
-
"Software"), to deal in the Software without restriction, including
|
|
20239
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
20240
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
20241
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
20242
|
-
the following conditions:
|
|
20243
|
-
|
|
20244
|
-
The above copyright notice and this permission notice shall be
|
|
20245
|
-
included in all copies or substantial portions of the Software.
|
|
20246
|
-
|
|
20247
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
20248
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
20249
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
20250
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
20251
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
20252
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
20253
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20254
|
-
|
|
20255
|
-
|
|
20256
|
-
* Copyrights *
|
|
20257
|
-
MIT
|
|
20258
|
-
- Copyright (c) OpenJS Foundation and other contributors, https://openjsf.org/
|
|
20259
|
-
|
|
20260
|
-
--------------------------------------------------------------------------------
|
|
20261
|
-
Package Title: jquery.browser (0.1.0)
|
|
20262
|
-
|
|
20263
|
-
Package Locator: npm+jquery.browser$0.1.0
|
|
20264
|
-
|
|
20265
|
-
Package Depth: Direct
|
|
20266
|
-
--------------------------------------------------------------------------------
|
|
20267
|
-
|
|
20268
|
-
* Declared Licenses *
|
|
20269
|
-
MIT
|
|
20270
|
-
|
|
20271
|
-
* License Header *
|
|
20272
|
-
Copyright (c) 2005, 2015 jQuery Foundation, Inc. and other contributors\n * http://jquery.org/license\n *\n * Modifications Copyright <%= grunt.template.today("yyyy") %> Gabriel Cebrian\n * https://github.com/gabceb\n *\n * Released under the MIT license\n *\n * Date: <%= grunt.template.today("dd-mm-yyyy")%>\n
|
|
20273
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
20274
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
20275
|
-
in the Software without restriction, including without limitation the rights
|
|
20276
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
20277
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
20278
|
-
furnished to do so, subject to the following conditions:
|
|
20279
|
-
|
|
20280
|
-
The above copyright notice and this permission notice shall be included in all
|
|
20281
|
-
copies or substantial portions of the Software.
|
|
20282
|
-
|
|
20283
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
20284
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
20285
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20286
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20287
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20288
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
20289
|
-
SOFTWARE.
|
|
20290
|
-
|
|
20291
|
-
* Copyrights *
|
|
20292
|
-
MIT
|
|
20293
|
-
- Copyright (c) 2005, 2015 jQuery Foundation, Inc. and other contributors\n * http://jquery.org/license\n *\n * Modifications Copyright <%= grunt.template.today("yyyy") %> Gabriel Cebrian\n * https://github.com/gabceb\n *\n * Released under the MIT license\n *\n * Date: <%= grunt.template.today("dd-mm-yyyy")%>\n
|
|
20294
|
-
|
|
20295
20162
|
--------------------------------------------------------------------------------
|
|
20296
20163
|
Package Title: js-tokens (4.0.0)
|
|
20297
20164
|
|
|
@@ -28108,65 +27975,6 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
28108
27975
|
BSD-3-Clause
|
|
28109
27976
|
- Copyright (c) 2014-2016, Michael Bostock
|
|
28110
27977
|
|
|
28111
|
-
--------------------------------------------------------------------------------
|
|
28112
|
-
Package Title: rxjs (6.6.7)
|
|
28113
|
-
|
|
28114
|
-
Package Locator: npm+rxjs$6.6.7
|
|
28115
|
-
|
|
28116
|
-
Package Depth: Direct
|
|
28117
|
-
--------------------------------------------------------------------------------
|
|
28118
|
-
|
|
28119
|
-
* Declared Licenses *
|
|
28120
|
-
Apache-2.0, ISC
|
|
28121
|
-
|
|
28122
|
-
* Apache-2.0 *
|
|
28123
|
-
|
|
28124
|
-
* License Header *
|
|
28125
|
-
Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors
|
|
28126
|
-
|
|
28127
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
28128
|
-
you may not use this file except in compliance with the License.
|
|
28129
|
-
You may obtain a copy of the License at
|
|
28130
|
-
|
|
28131
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
28132
|
-
|
|
28133
|
-
Unless required by applicable law or agreed to in writing, software
|
|
28134
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
28135
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
28136
|
-
See the License for the specific language governing permissions and
|
|
28137
|
-
limitations under the License.
|
|
28138
|
-
-------------
|
|
28139
|
-
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
28140
|
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
28141
|
-
this file except in compliance with the License. You may obtain a copy of the
|
|
28142
|
-
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
28143
|
-
|
|
28144
|
-
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
28145
|
-
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
28146
|
-
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
28147
|
-
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
28148
|
-
|
|
28149
|
-
See the Apache Version 2.0 License for specific language governing permissions
|
|
28150
|
-
and limitations under the License.
|
|
28151
|
-
|
|
28152
|
-
* ISC *
|
|
28153
|
-
|
|
28154
|
-
* License Header *
|
|
28155
|
-
/*! *****************************************************************************
|
|
28156
|
-
Copyright (c) Microsoft Corporation.
|
|
28157
|
-
|
|
28158
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
28159
|
-
purpose with or without fee is hereby granted.
|
|
28160
|
-
|
|
28161
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
28162
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
28163
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
28164
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
28165
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
28166
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
28167
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
28168
|
-
***************************************************************************** */
|
|
28169
|
-
|
|
28170
27978
|
--------------------------------------------------------------------------------
|
|
28171
27979
|
Package Title: rxjs (7.8.2)
|
|
28172
27980
|
|
|
@@ -30655,31 +30463,6 @@ SOFTWARE.
|
|
|
30655
30463
|
MIT
|
|
30656
30464
|
- Copyright (c) 2019 Apollo GraphQL
|
|
30657
30465
|
|
|
30658
|
-
--------------------------------------------------------------------------------
|
|
30659
|
-
Package Title: tslib (1.14.1)
|
|
30660
|
-
|
|
30661
|
-
Package Locator: npm+tslib$1.14.1
|
|
30662
|
-
|
|
30663
|
-
Package Depth: Transitive
|
|
30664
|
-
--------------------------------------------------------------------------------
|
|
30665
|
-
|
|
30666
|
-
* Declared Licenses *
|
|
30667
|
-
ISC
|
|
30668
|
-
|
|
30669
|
-
* License Header *
|
|
30670
|
-
Copyright (c) Microsoft Corporation.
|
|
30671
|
-
|
|
30672
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
30673
|
-
purpose with or without fee is hereby granted.
|
|
30674
|
-
|
|
30675
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
30676
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
30677
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
30678
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
30679
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
30680
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
30681
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
30682
|
-
|
|
30683
30466
|
--------------------------------------------------------------------------------
|
|
30684
30467
|
Package Title: tslib (2.8.1)
|
|
30685
30468
|
|
|
@@ -33760,4 +33543,4 @@ MIT
|
|
|
33760
33543
|
--------------------------------------------------------------------------------
|
|
33761
33544
|
--------------------------------------------------------------------------------
|
|
33762
33545
|
|
|
33763
|
-
Report Generated by FOSSA on 2026-11-
|
|
33546
|
+
Report Generated by FOSSA on 2026-11-4
|
package/dist/index.js
CHANGED
|
@@ -37445,7 +37445,7 @@ function isPromise(value) {
|
|
|
37445
37445
|
//#endregion
|
|
37446
37446
|
//#region package.json
|
|
37447
37447
|
var name$1 = "@gooddata/code-cli";
|
|
37448
|
-
var version$1 = "0.64.0-alpha.
|
|
37448
|
+
var version$1 = "0.64.0-alpha.4";
|
|
37449
37449
|
//#endregion
|
|
37450
37450
|
//#region ../../../common/temp/aac/node_modules/.pnpm/@gooddata+sdk-maql-language-server@file+..+..+..+sdk+libs+sdk-maql-language-server_debug@4.4.3/node_modules/@gooddata/sdk-maql-language-server/esm/docs/en/docs/create-metrics/maql/aggregation/approximate_count.js
|
|
37451
37451
|
const content$65 = `# APPROXIMATE_COUNT
|
|
@@ -117738,7 +117738,7 @@ const _CONFIG$1 = {
|
|
|
117738
117738
|
common: {
|
|
117739
117739
|
"X-Requested-With": "XMLHttpRequest",
|
|
117740
117740
|
"X-GDC-JS-PACKAGE": "@gooddata/api-client-tiger",
|
|
117741
|
-
"X-GDC-JS-PACKAGE-VERSION": "11.67.0-alpha.
|
|
117741
|
+
"X-GDC-JS-PACKAGE-VERSION": "11.67.0-alpha.4"
|
|
117742
117742
|
},
|
|
117743
117743
|
post: { "Content-Type": "application/json;charset=utf8" },
|
|
117744
117744
|
put: { "Content-Type": "application/json;charset=utf8" }
|
|
@@ -163749,6 +163749,45 @@ function convertDateValues(gran, values) {
|
|
|
163749
163749
|
const granularity = gran;
|
|
163750
163750
|
return values.map((v) => parseGranularityValue$1(granularity, v)).filter((v) => v !== null && v !== void 0);
|
|
163751
163751
|
}
|
|
163752
|
+
/**
|
|
163753
|
+
* Before the date filter carried its own `empty_values`, the mode was stored as an attribute filter on the
|
|
163754
|
+
* date label with the single value `""`: `include` meant "only", `exclude` meant "exclude". Pull and AD
|
|
163755
|
+
* still read that shape; deploy must not write it, because the backend executes it next to the date
|
|
163756
|
+
* filter's default of excluding empty values, and the two cancel out.
|
|
163757
|
+
*
|
|
163758
|
+
* Returns the date filter with such a `with:` entry folded into `empty_values` and removed. An explicit
|
|
163759
|
+
* `empty_values` wins, the entry is dropped either way. A `""` mixed with other values, or on a label
|
|
163760
|
+
* that is not of the date filter's dataset, or several `""` markers, is an ordinary filter and stays.
|
|
163761
|
+
*/
|
|
163762
|
+
function foldLegacyEmptyValuesWithFilter(filter) {
|
|
163763
|
+
const withFilters = filter.with;
|
|
163764
|
+
if (!withFilters) return filter;
|
|
163765
|
+
const datasetId = filter.using.split("/").pop();
|
|
163766
|
+
const legacy = Object.entries(withFilters).flatMap(([key, withFilter]) => {
|
|
163767
|
+
const mode = legacyEmptyValuesMode(withFilter, datasetId);
|
|
163768
|
+
return mode ? [{
|
|
163769
|
+
key,
|
|
163770
|
+
mode
|
|
163771
|
+
}] : [];
|
|
163772
|
+
});
|
|
163773
|
+
if (legacy.length !== 1) return filter;
|
|
163774
|
+
const legacyKeys = new Set(legacy.map(({ key }) => key));
|
|
163775
|
+
const remaining = Object.fromEntries(Object.entries(withFilters).filter(([key]) => !legacyKeys.has(key)));
|
|
163776
|
+
const { with: _with, ...rest } = filter;
|
|
163777
|
+
return {
|
|
163778
|
+
...rest,
|
|
163779
|
+
...Object.keys(remaining).length > 0 ? { with: remaining } : {},
|
|
163780
|
+
...filter.empty_values ? {} : { empty_values: legacy[0].mode }
|
|
163781
|
+
};
|
|
163782
|
+
}
|
|
163783
|
+
function legacyEmptyValuesMode(filter, datasetId) {
|
|
163784
|
+
const labelId = filter.using.split("/").pop() ?? "";
|
|
163785
|
+
const granularity = datasetId && labelId.startsWith(`${datasetId}.`) ? labelId.slice(datasetId.length + 1) : "";
|
|
163786
|
+
if (!granularity || granularity.includes(".")) return;
|
|
163787
|
+
const isOnlyEmpty = (values) => values?.length === 1 && values[0] === "";
|
|
163788
|
+
if (isOnlyEmpty(filter.state?.include)) return "only";
|
|
163789
|
+
return isOnlyEmpty(filter.state?.exclude) ? "exclude" : void 0;
|
|
163790
|
+
}
|
|
163752
163791
|
//#endregion
|
|
163753
163792
|
//#region ../../../common/temp/aac/node_modules/.pnpm/@gooddata+sdk-code-convertors@file+..+..+..+sdk+libs+sdk-code-convertors_debug@4.4.3/node_modules/@gooddata/sdk-code-convertors/esm/utils/permissionUtils.js
|
|
163754
163793
|
/** @public */
|
|
@@ -169807,6 +169846,7 @@ function yamlRankingFilterToDeclarative(filter) {
|
|
|
169807
169846
|
} }] };
|
|
169808
169847
|
}
|
|
169809
169848
|
function yamlFilterToDeclarative(entities, key, filter, assignFilterLocalId) {
|
|
169849
|
+
if (isDateFilter$1(filter)) filter = foldLegacyEmptyValuesWithFilter(filter);
|
|
169810
169850
|
if (isAbsoluteDateFilter$1(filter)) return yamlAbsoluteDateFilterToDeclarative(entities, filter, assignFilterLocalId);
|
|
169811
169851
|
if (isRelativeDateFilter$1(filter)) return yamlRelativeDateFilterToDeclarative(entities, filter, assignFilterLocalId);
|
|
169812
169852
|
if (isPositiveAttributeFilter(filter)) return yamlPositiveAttributeFilterToDeclarative(entities, key, filter, assignFilterLocalId);
|
|
@@ -171756,7 +171796,8 @@ function buildFilters(entities, filters_by) {
|
|
|
171756
171796
|
if (!filters_by) return [];
|
|
171757
171797
|
const filters = [];
|
|
171758
171798
|
Object.keys(filters_by ?? {}).forEach((key) => {
|
|
171759
|
-
const
|
|
171799
|
+
const queryFilter = filters_by[key];
|
|
171800
|
+
const filter = isDateFilter$1(queryFilter) ? foldLegacyEmptyValuesWithFilter(queryFilter) : queryFilter;
|
|
171760
171801
|
if (isAbsoluteDateFilter$1(filter)) filters.push({ absoluteDateFilter: {
|
|
171761
171802
|
dataset: createIdentifier(filter.using, { forceType: "dataset" }),
|
|
171762
171803
|
from: filter.from,
|
|
@@ -175434,8 +175475,8 @@ function visitChildren(node, visitor) {
|
|
|
175434
175475
|
//#region ../code-ast/esm/nodes.js
|
|
175435
175476
|
/**
|
|
175436
175477
|
* @public
|
|
175437
|
-
* @param node
|
|
175438
|
-
* @param filters
|
|
175478
|
+
* @param node - AST node
|
|
175479
|
+
* @param filters - node types to include and/or exclude
|
|
175439
175480
|
*/
|
|
175440
175481
|
function filterChildren(node, filters) {
|
|
175441
175482
|
return node.children.filter((item) => {
|
|
@@ -175447,7 +175488,7 @@ function filterChildren(node, filters) {
|
|
|
175447
175488
|
}
|
|
175448
175489
|
/**
|
|
175449
175490
|
* @public
|
|
175450
|
-
* @param node
|
|
175491
|
+
* @param node - AST node
|
|
175451
175492
|
*/
|
|
175452
175493
|
function getPropertyKeyNode(node) {
|
|
175453
175494
|
if (node?.type === "property") return filterChildren(node, { exclude: ["comment"] })[0];
|
|
@@ -175455,7 +175496,7 @@ function getPropertyKeyNode(node) {
|
|
|
175455
175496
|
}
|
|
175456
175497
|
/**
|
|
175457
175498
|
* @public
|
|
175458
|
-
* @param node
|
|
175499
|
+
* @param node - AST node
|
|
175459
175500
|
*/
|
|
175460
175501
|
function getPropertyValueNode(node) {
|
|
175461
175502
|
if (node?.type === "property") return filterChildren(node, { exclude: ["comment"] })[1];
|
|
@@ -175463,8 +175504,8 @@ function getPropertyValueNode(node) {
|
|
|
175463
175504
|
}
|
|
175464
175505
|
/**
|
|
175465
175506
|
* @public
|
|
175466
|
-
* @param ast
|
|
175467
|
-
* @param child
|
|
175507
|
+
* @param ast - root AST node
|
|
175508
|
+
* @param child - child node
|
|
175468
175509
|
*/
|
|
175469
175510
|
function getPropertyNode(ast, child) {
|
|
175470
175511
|
if (child.type !== "property") {
|
|
@@ -175476,8 +175517,8 @@ function getPropertyNode(ast, child) {
|
|
|
175476
175517
|
}
|
|
175477
175518
|
/**
|
|
175478
175519
|
* @public
|
|
175479
|
-
* @param ast
|
|
175480
|
-
* @param node
|
|
175520
|
+
* @param ast - root AST node
|
|
175521
|
+
* @param node - AST node
|
|
175481
175522
|
*/
|
|
175482
175523
|
function getParentNode(ast, node) {
|
|
175483
175524
|
const path = calculatePath(ast, node);
|
|
@@ -175485,8 +175526,8 @@ function getParentNode(ast, node) {
|
|
|
175485
175526
|
}
|
|
175486
175527
|
/**
|
|
175487
175528
|
* @public
|
|
175488
|
-
* @param root
|
|
175489
|
-
* @param node
|
|
175529
|
+
* @param root - root AST node
|
|
175530
|
+
* @param node - AST node
|
|
175490
175531
|
*/
|
|
175491
175532
|
function getNodeParents(root, node) {
|
|
175492
175533
|
let path = [];
|
|
@@ -175503,9 +175544,9 @@ function getNodeParents(root, node) {
|
|
|
175503
175544
|
//#region ../code-ast/esm/position.js
|
|
175504
175545
|
/**
|
|
175505
175546
|
* @public
|
|
175506
|
-
* @param document
|
|
175507
|
-
* @param roots
|
|
175508
|
-
* @param point
|
|
175547
|
+
* @param document - text document
|
|
175548
|
+
* @param roots - candidate root nodes
|
|
175549
|
+
* @param point - point in the document
|
|
175509
175550
|
*/
|
|
175510
175551
|
function calculatePosition(document, roots, point) {
|
|
175511
175552
|
const root = selectValidRoot(roots, point);
|
|
@@ -175519,17 +175560,17 @@ function calculatePosition(document, roots, point) {
|
|
|
175519
175560
|
}
|
|
175520
175561
|
/**
|
|
175521
175562
|
* @public
|
|
175522
|
-
* @param root
|
|
175523
|
-
* @param node
|
|
175563
|
+
* @param root - root AST node
|
|
175564
|
+
* @param node - AST node
|
|
175524
175565
|
*/
|
|
175525
175566
|
function calculatePath(root, node) {
|
|
175526
175567
|
return node && root ? getNodeParents(root, node) : [];
|
|
175527
175568
|
}
|
|
175528
175569
|
/**
|
|
175529
175570
|
* @public
|
|
175530
|
-
* @param document
|
|
175531
|
-
* @param root
|
|
175532
|
-
* @param node
|
|
175571
|
+
* @param document - text document
|
|
175572
|
+
* @param root - root AST node
|
|
175573
|
+
* @param node - AST node
|
|
175533
175574
|
*/
|
|
175534
175575
|
function calculateValuePosition(document, root, node) {
|
|
175535
175576
|
if (!root || !node?.position) return createPosition(document, 0, 0, 0);
|
|
@@ -175547,10 +175588,10 @@ function calculateValuePosition(document, root, node) {
|
|
|
175547
175588
|
}
|
|
175548
175589
|
/**
|
|
175549
175590
|
* @public
|
|
175550
|
-
* @param document
|
|
175551
|
-
* @param startOffset
|
|
175552
|
-
* @param endOffset
|
|
175553
|
-
* @param indent
|
|
175591
|
+
* @param document - text document
|
|
175592
|
+
* @param startOffset - start offset in the document
|
|
175593
|
+
* @param endOffset - end offset in the document
|
|
175594
|
+
* @param indent - indentation level
|
|
175554
175595
|
*/
|
|
175555
175596
|
function createPosition(document, startOffset, endOffset = startOffset, indent = 0) {
|
|
175556
175597
|
const start = createPoint(document, startOffset);
|
|
@@ -175564,8 +175605,8 @@ function createPosition(document, startOffset, endOffset = startOffset, indent =
|
|
|
175564
175605
|
}
|
|
175565
175606
|
/**
|
|
175566
175607
|
* @public
|
|
175567
|
-
* @param document
|
|
175568
|
-
* @param offset
|
|
175608
|
+
* @param document - text document
|
|
175609
|
+
* @param offset - offset in the document
|
|
175569
175610
|
*/
|
|
175570
175611
|
function createPoint(document, offset) {
|
|
175571
175612
|
const position = document.positionAt(offset);
|
|
@@ -175753,30 +175794,30 @@ function getPoints(document, point) {
|
|
|
175753
175794
|
//#region ../code-ast/esm/yaml/ast/nodes.js
|
|
175754
175795
|
/**
|
|
175755
175796
|
* @public
|
|
175756
|
-
* @param document
|
|
175757
|
-
* @param start
|
|
175758
|
-
* @param end
|
|
175759
|
-
* @param indent
|
|
175797
|
+
* @param document - text document
|
|
175798
|
+
* @param start - start offset
|
|
175799
|
+
* @param end - end offset
|
|
175800
|
+
* @param indent - indentation level
|
|
175760
175801
|
*/
|
|
175761
175802
|
function newObjectNode(document, start, end = start, indent) {
|
|
175762
175803
|
return u("object", { position: createPosition(document, start, end, indent) }, []);
|
|
175763
175804
|
}
|
|
175764
175805
|
/**
|
|
175765
175806
|
* @public
|
|
175766
|
-
* @param document
|
|
175767
|
-
* @param start
|
|
175768
|
-
* @param end
|
|
175769
|
-
* @param indent
|
|
175807
|
+
* @param document - text document
|
|
175808
|
+
* @param start - start offset
|
|
175809
|
+
* @param end - end offset
|
|
175810
|
+
* @param indent - indentation level
|
|
175770
175811
|
*/
|
|
175771
175812
|
function newPropertyNode(document, start, end = start, indent) {
|
|
175772
175813
|
return u("property", { position: createPosition(document, start, end, indent) }, []);
|
|
175773
175814
|
}
|
|
175774
175815
|
/**
|
|
175775
175816
|
* @public
|
|
175776
|
-
* @param document
|
|
175777
|
-
* @param start
|
|
175778
|
-
* @param end
|
|
175779
|
-
* @param indent
|
|
175817
|
+
* @param document - text document
|
|
175818
|
+
* @param start - start offset
|
|
175819
|
+
* @param end - end offset
|
|
175820
|
+
* @param indent - indentation level
|
|
175780
175821
|
*/
|
|
175781
175822
|
function newStringNode(document, start, end = start, indent) {
|
|
175782
175823
|
return u("string", {
|
|
@@ -175788,20 +175829,20 @@ function newStringNode(document, start, end = start, indent) {
|
|
|
175788
175829
|
}
|
|
175789
175830
|
/**
|
|
175790
175831
|
* @public
|
|
175791
|
-
* @param document
|
|
175792
|
-
* @param start
|
|
175793
|
-
* @param end
|
|
175794
|
-
* @param indent
|
|
175832
|
+
* @param document - text document
|
|
175833
|
+
* @param start - start offset
|
|
175834
|
+
* @param end - end offset
|
|
175835
|
+
* @param indent - indentation level
|
|
175795
175836
|
*/
|
|
175796
175837
|
function newArrayNode(document, start, end = start, indent) {
|
|
175797
175838
|
return u("array", { position: createPosition(document, start, end, indent) }, []);
|
|
175798
175839
|
}
|
|
175799
175840
|
/**
|
|
175800
175841
|
* @public
|
|
175801
|
-
* @param document
|
|
175802
|
-
* @param start
|
|
175803
|
-
* @param end
|
|
175804
|
-
* @param indent
|
|
175842
|
+
* @param document - text document
|
|
175843
|
+
* @param start - start offset
|
|
175844
|
+
* @param end - end offset
|
|
175845
|
+
* @param indent - indentation level
|
|
175805
175846
|
*/
|
|
175806
175847
|
function newNullNode(document, start, end = start, indent) {
|
|
175807
175848
|
return u("null", {
|
|
@@ -175811,10 +175852,10 @@ function newNullNode(document, start, end = start, indent) {
|
|
|
175811
175852
|
}
|
|
175812
175853
|
/**
|
|
175813
175854
|
* @public
|
|
175814
|
-
* @param document
|
|
175815
|
-
* @param start
|
|
175816
|
-
* @param end
|
|
175817
|
-
* @param indent
|
|
175855
|
+
* @param document - text document
|
|
175856
|
+
* @param start - start offset
|
|
175857
|
+
* @param end - end offset
|
|
175858
|
+
* @param indent - indentation level
|
|
175818
175859
|
*/
|
|
175819
175860
|
function newBooleanNode(document, start, end = start, indent) {
|
|
175820
175861
|
return u("boolean", {
|
|
@@ -175825,10 +175866,10 @@ function newBooleanNode(document, start, end = start, indent) {
|
|
|
175825
175866
|
}
|
|
175826
175867
|
/**
|
|
175827
175868
|
* @public
|
|
175828
|
-
* @param document
|
|
175829
|
-
* @param start
|
|
175830
|
-
* @param end
|
|
175831
|
-
* @param indent
|
|
175869
|
+
* @param document - text document
|
|
175870
|
+
* @param start - start offset
|
|
175871
|
+
* @param end - end offset
|
|
175872
|
+
* @param indent - indentation level
|
|
175832
175873
|
*/
|
|
175833
175874
|
function newNumberNode(document, start, end = start, indent) {
|
|
175834
175875
|
return u("number", {
|
|
@@ -175840,10 +175881,10 @@ function newNumberNode(document, start, end = start, indent) {
|
|
|
175840
175881
|
}
|
|
175841
175882
|
/**
|
|
175842
175883
|
* @public
|
|
175843
|
-
* @param document
|
|
175844
|
-
* @param start
|
|
175845
|
-
* @param end
|
|
175846
|
-
* @param indent
|
|
175884
|
+
* @param document - text document
|
|
175885
|
+
* @param start - start offset
|
|
175886
|
+
* @param end - end offset
|
|
175887
|
+
* @param indent - indentation level
|
|
175847
175888
|
*/
|
|
175848
175889
|
function newCommentNode(document, start, end = start, indent) {
|
|
175849
175890
|
return u("comment", {
|
|
@@ -176519,8 +176560,8 @@ function getSchemaTypeName(schemas, schema) {
|
|
|
176519
176560
|
}
|
|
176520
176561
|
/**
|
|
176521
176562
|
* @public
|
|
176522
|
-
* @param schemas
|
|
176523
|
-
* @param schema
|
|
176563
|
+
* @param schemas - available schemas
|
|
176564
|
+
* @param schema - schema to resolve
|
|
176524
176565
|
*/
|
|
176525
176566
|
function getSchemaArray(schemas, schema) {
|
|
176526
176567
|
if (schema) {
|
|
@@ -176972,8 +177013,8 @@ const SchemaErrorMessages = {
|
|
|
176972
177013
|
//#region ../code-ast/esm/schema/completion/helpers.js
|
|
176973
177014
|
/**
|
|
176974
177015
|
* @public
|
|
176975
|
-
* @param items
|
|
176976
|
-
* @param isIncomplete
|
|
177016
|
+
* @param items - completion items
|
|
177017
|
+
* @param isIncomplete - whether the list is incomplete
|
|
176977
177018
|
*/
|
|
176978
177019
|
function createSchemaCompletionList(items, isIncomplete = false) {
|
|
176979
177020
|
return {
|
|
@@ -176983,7 +177024,7 @@ function createSchemaCompletionList(items, isIncomplete = false) {
|
|
|
176983
177024
|
}
|
|
176984
177025
|
/**
|
|
176985
177026
|
* @public
|
|
176986
|
-
* @param args
|
|
177027
|
+
* @param args - completion lists to merge
|
|
176987
177028
|
*/
|
|
176988
177029
|
function mergeSchemaCompletionLists(...args) {
|
|
176989
177030
|
return args.slice(1).reduce((prev, current) => {
|
|
@@ -177040,7 +177081,7 @@ const formats = {
|
|
|
177040
177081
|
//#region ../code-ast/esm/schema/validator/helpers.js
|
|
177041
177082
|
/**
|
|
177042
177083
|
* @public
|
|
177043
|
-
* @param diagnostics
|
|
177084
|
+
* @param diagnostics - schema diagnostics
|
|
177044
177085
|
*/
|
|
177045
177086
|
function createSchemaValidatorDiagnostics(diagnostics) {
|
|
177046
177087
|
return {
|
|
@@ -177057,7 +177098,7 @@ function createSchemaValidatorDiagnostics(diagnostics) {
|
|
|
177057
177098
|
}
|
|
177058
177099
|
/**
|
|
177059
177100
|
* @public
|
|
177060
|
-
* @param args
|
|
177101
|
+
* @param args - validator diagnostics to merge
|
|
177061
177102
|
*/
|
|
177062
177103
|
function mergeSchemaValidatorDiagnostics(...args) {
|
|
177063
177104
|
return args.reduce((prev, current) => {
|
|
@@ -177828,7 +177869,7 @@ function buildMessage$1(message, params) {
|
|
|
177828
177869
|
//#region ../code-ast/esm/value.js
|
|
177829
177870
|
/**
|
|
177830
177871
|
* @public
|
|
177831
|
-
* @param node
|
|
177872
|
+
* @param node - AST node
|
|
177832
177873
|
*/
|
|
177833
177874
|
function getNodeValue(node) {
|
|
177834
177875
|
if (!node) return;
|
|
@@ -177855,9 +177896,9 @@ function getNodeValue(node) {
|
|
|
177855
177896
|
}
|
|
177856
177897
|
/**
|
|
177857
177898
|
* @public
|
|
177858
|
-
* @param document
|
|
177859
|
-
* @param node
|
|
177860
|
-
* @param position
|
|
177899
|
+
* @param document - text document
|
|
177900
|
+
* @param node - AST node
|
|
177901
|
+
* @param position - point in the document
|
|
177861
177902
|
*/
|
|
177862
177903
|
function getValueFromPosition(document, node, position) {
|
|
177863
177904
|
if (node?.value !== void 0) {
|
|
@@ -185782,7 +185823,7 @@ const isManifestFile = (filePath) => {
|
|
|
185782
185823
|
* for the given file or for the given working dir.
|
|
185783
185824
|
*
|
|
185784
185825
|
* @public
|
|
185785
|
-
* @param folderPath An absolute path to look up the manifest for
|
|
185826
|
+
* @param folderPath - An absolute path to look up the manifest for
|
|
185786
185827
|
*/
|
|
185787
185828
|
const findManifestForPath = async (folderPath) => {
|
|
185788
185829
|
if (!path$3.isAbsolute(folderPath)) throw new Error("An absolute path is expected.");
|
|
@@ -186308,21 +186349,21 @@ function nodesFromAst(ast) {
|
|
|
186308
186349
|
//#region ../code/esm/public/FileNode.js
|
|
186309
186350
|
/**
|
|
186310
186351
|
* @public
|
|
186311
|
-
* @param node Any unist node
|
|
186352
|
+
* @param node - Any unist node
|
|
186312
186353
|
*/
|
|
186313
186354
|
function isFile$1(node) {
|
|
186314
186355
|
return isFileNode(node);
|
|
186315
186356
|
}
|
|
186316
186357
|
/**
|
|
186317
186358
|
* @public
|
|
186318
|
-
* @param descriptor File descriptor object
|
|
186359
|
+
* @param descriptor - File descriptor object
|
|
186319
186360
|
*/
|
|
186320
186361
|
function isFileDescriptor(descriptor) {
|
|
186321
186362
|
return Boolean(descriptor && isFileNode(descriptor.node) && isPathDescriptor(descriptor.path) && Array.isArray(descriptor.parents));
|
|
186322
186363
|
}
|
|
186323
186364
|
/**
|
|
186324
186365
|
* @public
|
|
186325
|
-
* @param item File descriptor
|
|
186366
|
+
* @param item - File descriptor
|
|
186326
186367
|
*/
|
|
186327
186368
|
function getContent(item) {
|
|
186328
186369
|
if (isFileDescriptor(item)) {
|
|
@@ -186333,7 +186374,7 @@ function getContent(item) {
|
|
|
186333
186374
|
}
|
|
186334
186375
|
/**
|
|
186335
186376
|
* @public
|
|
186336
|
-
* @param item File descriptor
|
|
186377
|
+
* @param item - File descriptor
|
|
186337
186378
|
*/
|
|
186338
186379
|
function getDocumentHash(item) {
|
|
186339
186380
|
if (isFileDescriptor(item)) {
|
|
@@ -186344,7 +186385,7 @@ function getDocumentHash(item) {
|
|
|
186344
186385
|
}
|
|
186345
186386
|
/**
|
|
186346
186387
|
* @public
|
|
186347
|
-
* @param item File descriptor
|
|
186388
|
+
* @param item - File descriptor
|
|
186348
186389
|
*/
|
|
186349
186390
|
function getAst(item) {
|
|
186350
186391
|
if (isFileDescriptor(item)) return nodesFromAst(findAst(item.node));
|
|
@@ -186352,7 +186393,7 @@ function getAst(item) {
|
|
|
186352
186393
|
}
|
|
186353
186394
|
/**
|
|
186354
186395
|
* @public
|
|
186355
|
-
* @param item File descriptor
|
|
186396
|
+
* @param item - File descriptor
|
|
186356
186397
|
*/
|
|
186357
186398
|
function getTextDocument(item) {
|
|
186358
186399
|
if (isFileDescriptor(item)) {
|
|
@@ -186363,8 +186404,8 @@ function getTextDocument(item) {
|
|
|
186363
186404
|
}
|
|
186364
186405
|
/**
|
|
186365
186406
|
* @public
|
|
186366
|
-
* @param node File node as template
|
|
186367
|
-
* @param content Buffer as content
|
|
186407
|
+
* @param node - File node as template
|
|
186408
|
+
* @param content - Buffer as content
|
|
186368
186409
|
*/
|
|
186369
186410
|
function createFileContent({ node, content }) {
|
|
186370
186411
|
return {
|
|
@@ -192149,7 +192190,7 @@ var DiagnosticsKind;
|
|
|
192149
192190
|
})(DiagnosticsKind || (DiagnosticsKind = {}));
|
|
192150
192191
|
/**
|
|
192151
192192
|
* @public
|
|
192152
|
-
* @param item
|
|
192193
|
+
* @param item - item to check
|
|
192153
192194
|
*/
|
|
192154
192195
|
function isFileDiagnostic(item) {
|
|
192155
192196
|
return item?.type === NodeType.Diagnostic && item.path && item.language;
|
|
@@ -196581,7 +196622,10 @@ const metadata_v1 = {
|
|
|
196581
196622
|
"type": "object",
|
|
196582
196623
|
"additionalProperties": false,
|
|
196583
196624
|
"properties": {
|
|
196584
|
-
"visible": {
|
|
196625
|
+
"visible": {
|
|
196626
|
+
"type": "boolean",
|
|
196627
|
+
"description": "When left out, a visualization's title is hidden and a takeaway's is shown."
|
|
196628
|
+
},
|
|
196585
196629
|
"text": {
|
|
196586
196630
|
"type": "string",
|
|
196587
196631
|
"minLength": 1
|
|
@@ -206348,7 +206392,7 @@ function isInsidePosition(position, pos) {
|
|
|
206348
206392
|
//#region ../code/esm/public/DirectoryNode.js
|
|
206349
206393
|
/**
|
|
206350
206394
|
* @public
|
|
206351
|
-
* @param descriptor Directory descriptor object
|
|
206395
|
+
* @param descriptor - Directory descriptor object
|
|
206352
206396
|
*/
|
|
206353
206397
|
function isDirectoryDescriptor(descriptor) {
|
|
206354
206398
|
return Boolean(descriptor && isDirectoryNode(descriptor.node) && isPathDescriptor(descriptor.path) && Array.isArray(descriptor.parents));
|
|
@@ -209727,7 +209771,7 @@ async function open(state, emitter, file) {
|
|
|
209727
209771
|
//#endregion
|
|
209728
209772
|
//#region ../code/package.json
|
|
209729
209773
|
var name = "@gooddata/code";
|
|
209730
|
-
var version = "0.64.0-alpha.
|
|
209774
|
+
var version = "0.64.0-alpha.4";
|
|
209731
209775
|
//#endregion
|
|
209732
209776
|
//#region ../code/esm/services/server/client.js
|
|
209733
209777
|
function getApiClient$1(profile, { packageName, packageVersion }) {
|
|
@@ -215230,7 +215274,7 @@ function diagnose$1(code, params) {
|
|
|
215230
215274
|
return createDiagnostic(DiagnosticsKind.Settings, DiagnosticSeverity$1.Error, void 0, "server-service", code, CoreErrorMessages[code], params);
|
|
215231
215275
|
}
|
|
215232
215276
|
/**
|
|
215233
|
-
* Since Axios throws an error when status code is
|
|
215277
|
+
* Since Axios throws an error when status code is \>= 400,
|
|
215234
215278
|
* wrap the execution to this adapter to normalize the behavior
|
|
215235
215279
|
*/
|
|
215236
215280
|
async function makeRequest(func) {
|
|
@@ -216884,8 +216928,8 @@ const createYamlListener = (_state, emitter) => {
|
|
|
216884
216928
|
//#region ../code/esm/index.js
|
|
216885
216929
|
/**
|
|
216886
216930
|
* @public
|
|
216887
|
-
* @param options Core options
|
|
216888
|
-
* @param apiClientOptions API Client options
|
|
216931
|
+
* @param options - Core options
|
|
216932
|
+
* @param apiClientOptions - API Client options
|
|
216889
216933
|
*/
|
|
216890
216934
|
function createCore(options, apiClientOptions) {
|
|
216891
216935
|
const emitter = createEmitter();
|
|
@@ -237189,7 +237233,7 @@ const _CONFIG = {
|
|
|
237189
237233
|
common: {
|
|
237190
237234
|
"X-Requested-With": "XMLHttpRequest",
|
|
237191
237235
|
"X-GDC-JS-PACKAGE": "@gooddata/api-client-tiger",
|
|
237192
|
-
"X-GDC-JS-PACKAGE-VERSION": "11.67.0-alpha.
|
|
237236
|
+
"X-GDC-JS-PACKAGE-VERSION": "11.67.0-alpha.4"
|
|
237193
237237
|
},
|
|
237194
237238
|
post: { "Content-Type": "application/json;charset=utf8" },
|
|
237195
237239
|
put: { "Content-Type": "application/json;charset=utf8" }
|