@forge/cli-shared 10.0.0-next.12 → 10.0.0-next.14
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/CHANGELOG.md +12 -0
- package/out/app-logs/graphql-client.d.ts +2 -2
- package/out/app-logs/graphql-client.d.ts.map +1 -1
- package/out/app-logs/graphql-client.js +9 -17
- package/out/app-logs/index.d.ts +2 -2
- package/out/app-logs/index.d.ts.map +1 -1
- package/out/app-logs/index.js +2 -5
- package/out/app-logs/view-logs.d.ts +4 -4
- package/out/app-logs/view-logs.d.ts.map +1 -1
- package/out/app-logs/view-logs.js +8 -12
- package/out/apps/app-config.d.ts +2 -2
- package/out/apps/app-config.d.ts.map +1 -1
- package/out/apps/app-config.js +13 -20
- package/out/apps/create-an-app.d.ts +4 -4
- package/out/apps/create-an-app.d.ts.map +1 -1
- package/out/apps/create-an-app.js +6 -11
- package/out/apps/create-app-graphql-client.d.ts +2 -2
- package/out/apps/create-app-graphql-client.d.ts.map +1 -1
- package/out/apps/create-app-graphql-client.js +9 -14
- package/out/apps/get-app-owner.d.ts +4 -4
- package/out/apps/get-app-owner.d.ts.map +1 -1
- package/out/apps/get-app-owner.js +8 -13
- package/out/apps/index.d.ts +9 -9
- package/out/apps/index.d.ts.map +1 -1
- package/out/apps/index.js +9 -12
- package/out/apps/package-installer.d.ts +1 -1
- package/out/apps/package-installer.d.ts.map +1 -1
- package/out/apps/package-installer.js +9 -14
- package/out/apps/register-app.d.ts +4 -4
- package/out/apps/register-app.d.ts.map +1 -1
- package/out/apps/register-app.js +9 -13
- package/out/apps/sites.js +1 -4
- package/out/apps/template-module.js +27 -33
- package/out/apps/template.d.ts +3 -3
- package/out/apps/template.d.ts.map +1 -1
- package/out/apps/template.js +36 -47
- package/out/ari/ari.js +48 -63
- package/out/ari/index.d.ts +1 -1
- package/out/ari/index.d.ts.map +1 -1
- package/out/ari/index.js +1 -4
- package/out/auth/authenticator.js +2 -6
- package/out/auth/index.d.ts +3 -3
- package/out/auth/index.d.ts.map +1 -1
- package/out/auth/index.js +3 -6
- package/out/auth/instruction.js +3 -6
- package/out/auth/personal/credential-store.d.ts +20 -26
- package/out/auth/personal/credential-store.d.ts.map +1 -1
- package/out/auth/personal/credential-store.js +219 -141
- package/out/auth/personal/index.d.ts +6 -6
- package/out/auth/personal/index.d.ts.map +1 -1
- package/out/auth/personal/index.js +6 -9
- package/out/auth/personal/login.d.ts +3 -3
- package/out/auth/personal/login.d.ts.map +1 -1
- package/out/auth/personal/login.js +1 -5
- package/out/auth/personal/logout.d.ts +1 -1
- package/out/auth/personal/logout.d.ts.map +1 -1
- package/out/auth/personal/logout.js +1 -5
- package/out/auth/personal/me-graphql-client.d.ts +3 -3
- package/out/auth/personal/me-graphql-client.d.ts.map +1 -1
- package/out/auth/personal/me-graphql-client.js +7 -12
- package/out/auth/personal/token-authenticator.d.ts +3 -3
- package/out/auth/personal/token-authenticator.d.ts.map +1 -1
- package/out/auth/personal/token-authenticator.js +10 -14
- package/out/auth/personal/user-repository.d.ts +4 -4
- package/out/auth/personal/user-repository.d.ts.map +1 -1
- package/out/auth/personal/user-repository.js +5 -9
- package/out/cache/cached-conf.d.ts.map +1 -1
- package/out/cache/cached-conf.js +5 -10
- package/out/cache/index.d.ts +1 -1
- package/out/cache/index.d.ts.map +1 -1
- package/out/cache/index.js +1 -4
- package/out/config/config-codec-types.js +1 -2
- package/out/config/config-file-section-reader.d.ts +3 -3
- package/out/config/config-file-section-reader.d.ts.map +1 -1
- package/out/config/config-file-section-reader.js +4 -10
- package/out/config/config-file-section-writer.d.ts +3 -3
- package/out/config/config-file-section-writer.d.ts.map +1 -1
- package/out/config/config-file-section-writer.js +2 -7
- package/out/config/config-file.d.ts +3 -3
- package/out/config/config-file.d.ts.map +1 -1
- package/out/config/config-file.js +40 -49
- package/out/config/config-section.js +4 -11
- package/out/config/config.d.ts +1 -1
- package/out/config/config.d.ts.map +1 -1
- package/out/config/config.js +7 -13
- package/out/config/index.d.ts +6 -6
- package/out/config/index.d.ts.map +1 -1
- package/out/config/index.js +6 -9
- package/out/file-system/archiver.d.ts +2 -2
- package/out/file-system/archiver.d.ts.map +1 -1
- package/out/file-system/archiver.js +20 -29
- package/out/file-system/file-system-reader.d.ts.map +1 -1
- package/out/file-system/file-system-reader.js +21 -26
- package/out/file-system/file-system-writer.js +5 -10
- package/out/file-system/index.d.ts +5 -5
- package/out/file-system/index.d.ts.map +1 -1
- package/out/file-system/index.js +5 -8
- package/out/file-system/util.js +1 -4
- package/out/file-system/zip-accessor.js +3 -8
- package/out/graphql/app-environment-graphql-client.d.ts +2 -2
- package/out/graphql/app-environment-graphql-client.d.ts.map +1 -1
- package/out/graphql/app-environment-graphql-client.js +10 -16
- package/out/graphql/app-oauth-client-id-graphql-client.d.ts +1 -1
- package/out/graphql/app-oauth-client-id-graphql-client.d.ts.map +1 -1
- package/out/graphql/app-oauth-client-id-graphql-client.js +6 -10
- package/out/graphql/debugging-graphql-runner.d.ts +2 -2
- package/out/graphql/debugging-graphql-runner.d.ts.map +1 -1
- package/out/graphql/debugging-graphql-runner.js +5 -10
- package/out/graphql/gateway.js +15 -23
- package/out/graphql/get-mutation-error.js +4 -8
- package/out/graphql/gql/gql.d.ts +82 -82
- package/out/graphql/gql/gql.d.ts.map +1 -1
- package/out/graphql/gql/gql.js +2 -6
- package/out/graphql/gql/graphql.d.ts +4 -0
- package/out/graphql/gql/graphql.d.ts.map +1 -1
- package/out/graphql/gql/graphql.js +83 -88
- package/out/graphql/gql/index.d.ts +1 -1
- package/out/graphql/gql/index.d.ts.map +1 -1
- package/out/graphql/gql/index.js +1 -4
- package/out/graphql/graphql-client.js +1 -2
- package/out/graphql/graphql-domain-types.d.ts +1 -1
- package/out/graphql/graphql-domain-types.d.ts.map +1 -1
- package/out/graphql/graphql-domain-types.js +1 -2
- package/out/graphql/graphql-runtime-enums.js +16 -19
- package/out/graphql/index.d.ts +12 -12
- package/out/graphql/index.d.ts.map +1 -1
- package/out/graphql/index.js +12 -17
- package/out/graphql/minimal-graphql-runner.d.ts +4 -4
- package/out/graphql/minimal-graphql-runner.d.ts.map +1 -1
- package/out/graphql/minimal-graphql-runner.js +31 -40
- package/out/graphql/mutation-aware-graphql-client.d.ts +2 -2
- package/out/graphql/mutation-aware-graphql-client.d.ts.map +1 -1
- package/out/graphql/mutation-aware-graphql-client.js +4 -10
- package/out/graphql/path-based-graphql-client-resolver.d.ts +1 -1
- package/out/graphql/path-based-graphql-client-resolver.d.ts.map +1 -1
- package/out/graphql/path-based-graphql-client-resolver.js +3 -7
- package/out/http-client/feedback-post-client.js +1 -5
- package/out/http-client/file-uploader.d.ts +1 -1
- package/out/http-client/file-uploader.d.ts.map +1 -1
- package/out/http-client/file-uploader.js +11 -18
- package/out/http-client/global-edge-http-client.js +8 -14
- package/out/http-client/index.d.ts +5 -5
- package/out/http-client/index.d.ts.map +1 -1
- package/out/http-client/index.js +5 -8
- package/out/http-client/node-request.js +10 -16
- package/out/http-client/trace.js +1 -4
- package/out/index.d.ts +13 -13
- package/out/index.d.ts.map +1 -1
- package/out/index.js +13 -16
- package/out/service/bridge-script-service.js +5 -9
- package/out/service/i18n-resource-bundling-service.js +24 -30
- package/out/service/iframe-resizer-script-service.js +5 -9
- package/out/service/index.d.ts +5 -5
- package/out/service/index.d.ts.map +1 -1
- package/out/service/index.js +5 -8
- package/out/service/statsig-service.d.ts +1 -1
- package/out/service/statsig-service.d.ts.map +1 -1
- package/out/service/statsig-service.js +9 -15
- package/out/service/supported-products-service.d.ts +2 -2
- package/out/service/supported-products-service.d.ts.map +1 -1
- package/out/service/supported-products-service.js +13 -18
- package/out/shared/assertUnreachable.js +1 -4
- package/out/shared/assistant-cli.d.ts +1 -1
- package/out/shared/assistant-cli.d.ts.map +1 -1
- package/out/shared/assistant-cli.js +15 -24
- package/out/shared/cli-details.js +6 -11
- package/out/shared/developer-console.js +12 -18
- package/out/shared/directories.js +4 -8
- package/out/shared/environment.d.ts +1 -1
- package/out/shared/environment.d.ts.map +1 -1
- package/out/shared/environment.js +19 -25
- package/out/shared/error-handling.d.ts +1 -1
- package/out/shared/error-handling.d.ts.map +1 -1
- package/out/shared/error-handling.js +24 -44
- package/out/shared/forge-cli-attribution.js +6 -11
- package/out/shared/index.d.ts +13 -13
- package/out/shared/index.d.ts.map +1 -1
- package/out/shared/index.js +13 -16
- package/out/shared/installations.js +1 -4
- package/out/shared/pause.js +1 -5
- package/out/shared/product.d.ts.map +1 -1
- package/out/shared/product.js +5 -10
- package/out/shared/read-app-config-files.d.ts +1 -1
- package/out/shared/read-app-config-files.d.ts.map +1 -1
- package/out/shared/read-app-config-files.js +6 -12
- package/out/shared/runner-signals.js +1 -5
- package/out/shared/test.d.ts +1 -1
- package/out/shared/test.d.ts.map +1 -1
- package/out/shared/test.js +24 -29
- package/out/tunnel/docker-compose-lifecycle.d.ts +3 -3
- package/out/tunnel/docker-compose-lifecycle.d.ts.map +1 -1
- package/out/tunnel/docker-compose-lifecycle.js +53 -70
- package/out/tunnel/index.d.ts +2 -2
- package/out/tunnel/index.d.ts.map +1 -1
- package/out/tunnel/index.js +2 -5
- package/out/tunnel/tunnel-options.js +13 -18
- package/out/ui/command-line-ui.d.ts +2 -2
- package/out/ui/command-line-ui.d.ts.map +1 -1
- package/out/ui/command-line-ui.js +53 -58
- package/out/ui/hint-rotation.d.ts +2 -2
- package/out/ui/hint-rotation.d.ts.map +1 -1
- package/out/ui/hint-rotation.js +2 -6
- package/out/ui/index.d.ts +8 -8
- package/out/ui/index.d.ts.map +1 -1
- package/out/ui/index.js +8 -11
- package/out/ui/log-color.js +16 -20
- package/out/ui/log-symbols.js +10 -13
- package/out/ui/logger.js +2 -6
- package/out/ui/multiple-table-prompt.d.ts +1 -1
- package/out/ui/multiple-table-prompt.d.ts.map +1 -1
- package/out/ui/multiple-table-prompt.js +13 -20
- package/out/ui/runtime-log.js +12 -16
- package/out/ui/single-table-prompt.d.ts +1 -1
- package/out/ui/single-table-prompt.d.ts.map +1 -1
- package/out/ui/single-table-prompt.js +12 -19
- package/out/ui/table-prompt.d.ts +1 -1
- package/out/ui/table-prompt.d.ts.map +1 -1
- package/out/ui/table-prompt.js +11 -16
- package/out/ui/table.d.ts.map +1 -1
- package/out/ui/table.js +4 -7
- package/out/ui/text.d.ts +4 -13
- package/out/ui/text.d.ts.map +1 -1
- package/out/ui/text.js +213 -242
- package/out/ui/ui.d.ts +2 -2
- package/out/ui/ui.d.ts.map +1 -1
- package/out/ui/ui.js +1 -2
- package/package.json +2 -2
|
@@ -1,23 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
const multiple_table_prompt_1 = require("./multiple-table-prompt");
|
|
18
|
-
const single_table_prompt_1 = require("./single-table-prompt");
|
|
19
|
-
const shared_1 = require("../shared");
|
|
20
|
-
const hint_rotation_1 = require("./hint-rotation");
|
|
1
|
+
import * as fs from 'fs';
|
|
2
|
+
import * as tty from 'tty';
|
|
3
|
+
import { ForgeTable as Table } from './table.js';
|
|
4
|
+
import inquirer from 'inquirer';
|
|
5
|
+
import autocompletePrompt from 'inquirer-autocomplete-prompt';
|
|
6
|
+
import ora from 'ora';
|
|
7
|
+
import chalk from 'chalk';
|
|
8
|
+
import YAML from 'yaml';
|
|
9
|
+
import { LogColor, TableStyle } from './log-color.js';
|
|
10
|
+
import logSymbols from './log-symbols.js';
|
|
11
|
+
import { errorMessage } from './logger.js';
|
|
12
|
+
import { Text, itemList } from './text.js';
|
|
13
|
+
import { MultipleChoiceTablePrompt } from './multiple-table-prompt.js';
|
|
14
|
+
import { SingleChoiceTablePrompt } from './single-table-prompt.js';
|
|
15
|
+
import { MissingInputError, UIPromptError } from '../shared/index.js';
|
|
16
|
+
import { createHintRotation, selectHintsForCategory } from './hint-rotation.js';
|
|
21
17
|
var ProgressLogType;
|
|
22
18
|
(function (ProgressLogType) {
|
|
23
19
|
ProgressLogType[ProgressLogType["startText"] = 0] = "startText";
|
|
@@ -29,7 +25,7 @@ function wait(timeMs) {
|
|
|
29
25
|
}
|
|
30
26
|
const ELLIPSIS_FRAMES = ['.', '..', '...'];
|
|
31
27
|
const ELLIPSIS_INTERVAL_MS = 400;
|
|
32
|
-
class CommandLineUI {
|
|
28
|
+
export class CommandLineUI {
|
|
33
29
|
verbose;
|
|
34
30
|
customEffectsEnabled;
|
|
35
31
|
nonInteractive;
|
|
@@ -54,7 +50,7 @@ class CommandLineUI {
|
|
|
54
50
|
this.verbose = verbose;
|
|
55
51
|
this.customEffectsEnabled = customEffectsEnabled;
|
|
56
52
|
this.nonInteractive = nonInteractive;
|
|
57
|
-
this.spinner = spinner || (
|
|
53
|
+
this.spinner = spinner || ora({ discardStdin: false });
|
|
58
54
|
this.logger = logger || console;
|
|
59
55
|
this.promptInternal = this.createPromptModule();
|
|
60
56
|
this.statsigService = statsigService || null;
|
|
@@ -84,20 +80,20 @@ class CommandLineUI {
|
|
|
84
80
|
this.cachedSpinnerConfig = { interval: 300, frames };
|
|
85
81
|
}
|
|
86
82
|
})
|
|
87
|
-
.catch(() => this.debug(
|
|
83
|
+
.catch(() => this.debug(Text.settings.customEffects.setupError));
|
|
88
84
|
}
|
|
89
85
|
getSpinner() {
|
|
90
86
|
return this.cachedSpinnerConfig;
|
|
91
87
|
}
|
|
92
88
|
async prompt(questions, initialAnswers) {
|
|
93
89
|
if (this.nonInteractive?.()) {
|
|
94
|
-
throw new
|
|
90
|
+
throw new MissingInputError(Text.nonInteractive.error.promptReached(CommandLineUI.questionMessage(questions)));
|
|
95
91
|
}
|
|
96
92
|
try {
|
|
97
93
|
return await this.promptInternal(questions, initialAnswers);
|
|
98
94
|
}
|
|
99
95
|
catch (e) {
|
|
100
|
-
throw new
|
|
96
|
+
throw new UIPromptError(e.message, e.isTtyError ?? false);
|
|
101
97
|
}
|
|
102
98
|
}
|
|
103
99
|
static questionMessage(questions) {
|
|
@@ -152,13 +148,13 @@ class CommandLineUI {
|
|
|
152
148
|
this.statsigService
|
|
153
149
|
?.getHints()
|
|
154
150
|
.then((hints) => this.rotateHints(hints ?? [], generation, category))
|
|
155
|
-
.catch(() => this.debug(
|
|
151
|
+
.catch(() => this.debug(Text.hints.loadError));
|
|
156
152
|
}
|
|
157
153
|
rotateHints(hints, generation, category) {
|
|
158
154
|
if (generation !== this.hintGeneration) {
|
|
159
155
|
return;
|
|
160
156
|
}
|
|
161
|
-
const nextHint =
|
|
157
|
+
const nextHint = createHintRotation(selectHintsForCategory(hints, category));
|
|
162
158
|
let renderedHint = false;
|
|
163
159
|
const showNextHint = () => {
|
|
164
160
|
const text = nextHint();
|
|
@@ -167,7 +163,7 @@ class CommandLineUI {
|
|
|
167
163
|
return;
|
|
168
164
|
}
|
|
169
165
|
this.stripHintLine();
|
|
170
|
-
this.hintLine = '\n ' +
|
|
166
|
+
this.hintLine = '\n ' + chalk.dim('💡 ' + text);
|
|
171
167
|
this.spinner.text += this.hintLine;
|
|
172
168
|
renderedHint = true;
|
|
173
169
|
};
|
|
@@ -243,7 +239,7 @@ class CommandLineUI {
|
|
|
243
239
|
if (!this.traceEnabled) {
|
|
244
240
|
return;
|
|
245
241
|
}
|
|
246
|
-
const color =
|
|
242
|
+
const color = LogColor.trace(message);
|
|
247
243
|
const msg = this.insideProgress ? ' ' + color : color;
|
|
248
244
|
this.log(msg);
|
|
249
245
|
}
|
|
@@ -251,23 +247,23 @@ class CommandLineUI {
|
|
|
251
247
|
if (!this.debugEnabled) {
|
|
252
248
|
return;
|
|
253
249
|
}
|
|
254
|
-
const color =
|
|
250
|
+
const color = LogColor.debug(message);
|
|
255
251
|
const msg = this.insideProgress ? ' ' + color : color;
|
|
256
252
|
this.log(msg);
|
|
257
253
|
}
|
|
258
254
|
info(message) {
|
|
259
|
-
const msg = this.insideProgress ?
|
|
255
|
+
const msg = this.insideProgress ? logSymbols.info + ' ' + message : message;
|
|
260
256
|
this.log(msg);
|
|
261
257
|
}
|
|
262
258
|
warn(message) {
|
|
263
|
-
const color =
|
|
264
|
-
const msg = this.insideProgress ?
|
|
259
|
+
const color = LogColor.warn(message);
|
|
260
|
+
const msg = this.insideProgress ? logSymbols.warning + ' ' + color : color;
|
|
265
261
|
this.write('warn', msg);
|
|
266
262
|
}
|
|
267
263
|
error(error, { pad = true } = {}) {
|
|
268
|
-
const message =
|
|
269
|
-
const color =
|
|
270
|
-
let msg = '\n' +
|
|
264
|
+
const message = errorMessage(error);
|
|
265
|
+
const color = LogColor.error(message);
|
|
266
|
+
let msg = '\n' + LogColor.errorPrefix + color + '\n';
|
|
271
267
|
if (!pad) {
|
|
272
268
|
msg = msg.trim();
|
|
273
269
|
}
|
|
@@ -323,7 +319,7 @@ class CommandLineUI {
|
|
|
323
319
|
catch (err) {
|
|
324
320
|
if (err.code === 'EAGAIN') {
|
|
325
321
|
if (Date.now() >= deadline) {
|
|
326
|
-
throw new Error(
|
|
322
|
+
throw new Error(Text.secretInput.stdinTimedOut);
|
|
327
323
|
}
|
|
328
324
|
CommandLineUI.sleepSync(CommandLineUI.STDIN_RETRY_MS);
|
|
329
325
|
continue;
|
|
@@ -434,11 +430,11 @@ class CommandLineUI {
|
|
|
434
430
|
const interrupt = () => {
|
|
435
431
|
interrupted = true;
|
|
436
432
|
this.emptyLine();
|
|
437
|
-
this.info(
|
|
433
|
+
this.info(Text.dynamicTable.exiting);
|
|
438
434
|
process.off('SIGINT', interrupt);
|
|
439
435
|
};
|
|
440
436
|
process.on('SIGINT', interrupt);
|
|
441
|
-
this.info(
|
|
437
|
+
this.info(Text.ctrlC);
|
|
442
438
|
this.emptyLine();
|
|
443
439
|
let data = await getData();
|
|
444
440
|
while (!interrupted) {
|
|
@@ -519,8 +515,8 @@ class CommandLineUI {
|
|
|
519
515
|
.join('\n\n');
|
|
520
516
|
}
|
|
521
517
|
getSingleTable(head, data, { format, groupRows, groupKey }) {
|
|
522
|
-
const table = new
|
|
523
|
-
...
|
|
518
|
+
const table = new Table({
|
|
519
|
+
...TableStyle.default,
|
|
524
520
|
head: head.map(([, heading]) => heading)
|
|
525
521
|
});
|
|
526
522
|
if (data) {
|
|
@@ -577,7 +573,7 @@ class CommandLineUI {
|
|
|
577
573
|
}
|
|
578
574
|
logSuccess(successText) {
|
|
579
575
|
if (this.addedProgressPadding) {
|
|
580
|
-
this.log(
|
|
576
|
+
this.log(logSymbols.success + ' ' + successText, ProgressLogType.successText);
|
|
581
577
|
}
|
|
582
578
|
else {
|
|
583
579
|
this.replaceStartTextOnSuccess(successText);
|
|
@@ -588,7 +584,7 @@ class CommandLineUI {
|
|
|
588
584
|
this.spinner.text = errorText;
|
|
589
585
|
}
|
|
590
586
|
else {
|
|
591
|
-
this.log(
|
|
587
|
+
this.log(logSymbols.error + ' ' + errorText, ProgressLogType.other);
|
|
592
588
|
}
|
|
593
589
|
}
|
|
594
590
|
stopProgressSpinner(success) {
|
|
@@ -599,7 +595,7 @@ class CommandLineUI {
|
|
|
599
595
|
if (this.spinner.text.endsWith('\n')) {
|
|
600
596
|
this.spinner.text = this.spinner.text.substring(0, this.spinner.text.length - 1);
|
|
601
597
|
}
|
|
602
|
-
const symbol = success ?
|
|
598
|
+
const symbol = success ? logSymbols.success : logSymbols.error;
|
|
603
599
|
this.spinner.stopAndPersist({ symbol });
|
|
604
600
|
}
|
|
605
601
|
replaceStartTextOnSuccess(successText) {
|
|
@@ -607,7 +603,7 @@ class CommandLineUI {
|
|
|
607
603
|
this.spinner.text = successText;
|
|
608
604
|
}
|
|
609
605
|
else {
|
|
610
|
-
this.log(
|
|
606
|
+
this.log(logSymbols.success + ' ' + successText, ProgressLogType.successText);
|
|
611
607
|
}
|
|
612
608
|
}
|
|
613
609
|
stopWaitSpinner(success) {
|
|
@@ -632,14 +628,14 @@ class CommandLineUI {
|
|
|
632
628
|
name: 'text',
|
|
633
629
|
message,
|
|
634
630
|
default: defaultValue,
|
|
635
|
-
validate: (input) => (input.length === 0 ?
|
|
631
|
+
validate: (input) => (input.length === 0 ? Text.error.promptInputRequired : true)
|
|
636
632
|
}
|
|
637
633
|
]);
|
|
638
634
|
return text;
|
|
639
635
|
}
|
|
640
636
|
createPromptModule() {
|
|
641
637
|
if (process.stdin.isTTY) {
|
|
642
|
-
return
|
|
638
|
+
return inquirer.createPromptModule({ skipTTYChecks: false });
|
|
643
639
|
}
|
|
644
640
|
return this.createTtyBackedPromptModule();
|
|
645
641
|
}
|
|
@@ -652,7 +648,7 @@ class CommandLineUI {
|
|
|
652
648
|
this.registerCustomUIElements(resolvedPromptModule);
|
|
653
649
|
return resolvedPromptModule;
|
|
654
650
|
};
|
|
655
|
-
return Object.assign((questions, initialAnswers) => getOrCreatePromptModule()(questions, initialAnswers),
|
|
651
|
+
return Object.assign((questions, initialAnswers) => getOrCreatePromptModule()(questions, initialAnswers), inquirer.createPromptModule({ skipTTYChecks: true }));
|
|
656
652
|
}
|
|
657
653
|
openTtyPromptModule() {
|
|
658
654
|
let ttyFd;
|
|
@@ -662,7 +658,7 @@ class CommandLineUI {
|
|
|
662
658
|
catch {
|
|
663
659
|
}
|
|
664
660
|
if (ttyFd === undefined) {
|
|
665
|
-
return
|
|
661
|
+
return inquirer.createPromptModule({ skipTTYChecks: false });
|
|
666
662
|
}
|
|
667
663
|
let ttyInput;
|
|
668
664
|
try {
|
|
@@ -676,7 +672,7 @@ class CommandLineUI {
|
|
|
676
672
|
}
|
|
677
673
|
throw err;
|
|
678
674
|
}
|
|
679
|
-
const ttyPromptModule =
|
|
675
|
+
const ttyPromptModule = inquirer.createPromptModule({ input: ttyInput, skipTTYChecks: true });
|
|
680
676
|
return Object.assign((questions, initialAnswers) => {
|
|
681
677
|
ttyInput.ref();
|
|
682
678
|
return ttyPromptModule(questions, initialAnswers).then((answers) => {
|
|
@@ -689,20 +685,19 @@ class CommandLineUI {
|
|
|
689
685
|
}, ttyPromptModule);
|
|
690
686
|
}
|
|
691
687
|
registerCustomUIElements(target = this.promptInternal) {
|
|
692
|
-
target.registerPrompt('multiple-choice-table',
|
|
693
|
-
target.registerPrompt('single-choice-table',
|
|
694
|
-
this.promptInternal.registerPrompt('autocomplete',
|
|
688
|
+
target.registerPrompt('multiple-choice-table', MultipleChoiceTablePrompt);
|
|
689
|
+
target.registerPrompt('single-choice-table', SingleChoiceTablePrompt);
|
|
690
|
+
this.promptInternal.registerPrompt('autocomplete', autocompletePrompt);
|
|
695
691
|
}
|
|
696
692
|
formatKeyValueList(items, indent, addNewLine) {
|
|
697
693
|
const formattedItems = items.map(({ key, value }) => {
|
|
698
694
|
const newLineOrSpace = addNewLine ? '\n ' : ' ';
|
|
699
|
-
return `[${
|
|
695
|
+
return `[${chalk.cyan(key)}]:${newLineOrSpace}${value}`;
|
|
700
696
|
});
|
|
701
|
-
return
|
|
697
|
+
return itemList(formattedItems, indent);
|
|
702
698
|
}
|
|
703
699
|
formatYamlProperties(properties, key, showMessage = true) {
|
|
704
|
-
const yamlString =
|
|
705
|
-
return `[${
|
|
700
|
+
const yamlString = YAML.stringify(properties, undefined, ' ').replaceAll('\n', '\n ');
|
|
701
|
+
return `[${chalk.cyan(key)}]: ${showMessage ? 'is configured with the following properties:' : ''}\n ${yamlString}`;
|
|
706
702
|
}
|
|
707
703
|
}
|
|
708
|
-
exports.CommandLineUI = CommandLineUI;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CliHint } from '../service/statsig-service';
|
|
2
|
-
import { HintCategory } from './ui';
|
|
1
|
+
import { CliHint } from '../service/statsig-service.js';
|
|
2
|
+
import { HintCategory } from './ui.js';
|
|
3
3
|
export declare function selectHintsForCategory(hints: CliHint[], category: HintCategory): CliHint[];
|
|
4
4
|
export declare function createHintRotation(hints: CliHint[], random?: () => number): () => string | undefined;
|
|
5
5
|
//# sourceMappingURL=hint-rotation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hint-rotation.d.ts","sourceRoot":"","sources":["../../src/ui/hint-rotation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"hint-rotation.d.ts","sourceRoot":"","sources":["../../src/ui/hint-rotation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAOvC,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,YAAY,GAAG,OAAO,EAAE,CAK1F;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE,MAAM,GAAE,MAAM,MAAoB,GAAG,MAAM,MAAM,GAAG,SAAS,CAsBjH"}
|
package/out/ui/hint-rotation.js
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.selectHintsForCategory = selectHintsForCategory;
|
|
4
|
-
exports.createHintRotation = createHintRotation;
|
|
5
1
|
const HINT_CATEGORY_ALL = 'all';
|
|
6
|
-
function selectHintsForCategory(hints, category) {
|
|
2
|
+
export function selectHintsForCategory(hints, category) {
|
|
7
3
|
return hints.filter(({ categories }) => category === HINT_CATEGORY_ALL || categories.includes(category) || categories.includes(HINT_CATEGORY_ALL));
|
|
8
4
|
}
|
|
9
|
-
function createHintRotation(hints, random = Math.random) {
|
|
5
|
+
export function createHintRotation(hints, random = Math.random) {
|
|
10
6
|
const remaining = [...hints];
|
|
11
7
|
return () => {
|
|
12
8
|
const total = remaining.reduce((sum, { weight }) => sum + weight, 0);
|
package/out/ui/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export * from './command-line-ui';
|
|
2
|
-
export * from './log-color';
|
|
3
|
-
export * from './log-symbols';
|
|
4
|
-
export * from './logger';
|
|
5
|
-
export * from './runtime-log';
|
|
6
|
-
export * from './text';
|
|
7
|
-
export * from './ui';
|
|
8
|
-
export * from './table';
|
|
1
|
+
export * from './command-line-ui.js';
|
|
2
|
+
export * from './log-color.js';
|
|
3
|
+
export * from './log-symbols.js';
|
|
4
|
+
export * from './logger.js';
|
|
5
|
+
export * from './runtime-log.js';
|
|
6
|
+
export * from './text.js';
|
|
7
|
+
export * from './ui.js';
|
|
8
|
+
export * from './table.js';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
package/out/ui/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ui/index.ts"],"names":[],"mappings":"AAEA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ui/index.ts"],"names":[],"mappings":"AAEA,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC"}
|
package/out/ui/index.js
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
tslib_1.__exportStar(require("./text"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./ui"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./table"), exports);
|
|
1
|
+
export * from './command-line-ui.js';
|
|
2
|
+
export * from './log-color.js';
|
|
3
|
+
export * from './log-symbols.js';
|
|
4
|
+
export * from './logger.js';
|
|
5
|
+
export * from './runtime-log.js';
|
|
6
|
+
export * from './text.js';
|
|
7
|
+
export * from './ui.js';
|
|
8
|
+
export * from './table.js';
|
package/out/ui/log-color.js
CHANGED
|
@@ -1,26 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
warn: (message) => chalk_1.default.yellow(message),
|
|
10
|
-
error: (message) => chalk_1.default.red(message),
|
|
11
|
-
approval: (message) => chalk_1.default.cyan(message),
|
|
12
|
-
errorPrefix: chalk_1.default.red.bold('Error: ')
|
|
1
|
+
import chalk from 'chalk';
|
|
2
|
+
export const LogColor = {
|
|
3
|
+
trace: (message) => chalk.dim(message),
|
|
4
|
+
debug: (message) => chalk.gray(message),
|
|
5
|
+
warn: (message) => chalk.yellow(message),
|
|
6
|
+
error: (message) => chalk.red(message),
|
|
7
|
+
approval: (message) => chalk.cyan(message),
|
|
8
|
+
errorPrefix: chalk.red.bold('Error: ')
|
|
13
9
|
};
|
|
14
10
|
const withPadding = (input) => input.padEnd(7);
|
|
15
|
-
|
|
16
|
-
trace:
|
|
17
|
-
debug:
|
|
18
|
-
info:
|
|
19
|
-
warn:
|
|
20
|
-
error:
|
|
21
|
-
fatal:
|
|
11
|
+
export const RuntimeLogLevel = {
|
|
12
|
+
trace: chalk.dim(withPadding('TRACE')),
|
|
13
|
+
debug: chalk.magenta(withPadding('DEBUG')),
|
|
14
|
+
info: chalk.cyan(withPadding('INFO')),
|
|
15
|
+
warn: chalk.yellow(withPadding('WARN')),
|
|
16
|
+
error: chalk.red(withPadding('ERROR')),
|
|
17
|
+
fatal: chalk.bgRedBright.bold.hex('#fff')(withPadding('FATAL'))
|
|
22
18
|
};
|
|
23
|
-
|
|
19
|
+
export const TableStyle = {
|
|
24
20
|
default: {
|
|
25
21
|
style: { head: [] }
|
|
26
22
|
},
|
package/out/ui/log-symbols.js
CHANGED
|
@@ -1,19 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
1
|
+
import chalk from 'chalk';
|
|
5
2
|
const isSupported = process.platform !== 'win32' || process.env.CI || process.env.TERM === 'xterm-256color';
|
|
6
3
|
const main = {
|
|
7
|
-
info:
|
|
8
|
-
success:
|
|
9
|
-
warning:
|
|
10
|
-
error:
|
|
4
|
+
info: chalk.cyan('ℹ'),
|
|
5
|
+
success: chalk.green('✔'),
|
|
6
|
+
warning: chalk.yellow('⚠'),
|
|
7
|
+
error: chalk.red('✕')
|
|
11
8
|
};
|
|
12
9
|
const fallbacks = {
|
|
13
|
-
info:
|
|
14
|
-
success:
|
|
15
|
-
warning:
|
|
16
|
-
error:
|
|
10
|
+
info: chalk.cyan('i'),
|
|
11
|
+
success: chalk.green('√'),
|
|
12
|
+
warning: chalk.yellow('‼'),
|
|
13
|
+
error: chalk.red('×')
|
|
17
14
|
};
|
|
18
15
|
const logSymbols = isSupported ? main : fallbacks;
|
|
19
|
-
|
|
16
|
+
export default logSymbols;
|
package/out/ui/logger.js
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NullLogger = void 0;
|
|
4
|
-
exports.errorMessage = errorMessage;
|
|
5
|
-
exports.NullLogger = {
|
|
1
|
+
export const NullLogger = {
|
|
6
2
|
traceEnabled: false,
|
|
7
3
|
debugEnabled: false,
|
|
8
4
|
trace() {
|
|
@@ -16,6 +12,6 @@ exports.NullLogger = {
|
|
|
16
12
|
error() {
|
|
17
13
|
}
|
|
18
14
|
};
|
|
19
|
-
function errorMessage(error) {
|
|
15
|
+
export function errorMessage(error) {
|
|
20
16
|
return error.message ? error.message : error.constructor.name;
|
|
21
17
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TablePrompt, TableRenderProps, TablePromptState, getRowSymbolType, getRowFormatFnType } from './table-prompt';
|
|
1
|
+
import { TablePrompt, TableRenderProps, TablePromptState, getRowSymbolType, getRowFormatFnType } from './table-prompt.js';
|
|
2
2
|
export declare const getRowSymbol: getRowSymbolType;
|
|
3
3
|
export declare const getRowFormatFn: getRowFormatFnType;
|
|
4
4
|
export declare class MultipleChoiceTablePrompt extends TablePrompt {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multiple-table-prompt.d.ts","sourceRoot":"","sources":["../../src/ui/multiple-table-prompt.ts"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"multiple-table-prompt.d.ts","sourceRoot":"","sources":["../../src/ui/multiple-table-prompt.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,mBAAmB,CAAC;AAE3B,eAAO,MAAM,YAAY,EAAE,gBAM1B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,kBAM5B,CAAC;AAEF,qBAAa,yBAA0B,SAAQ,WAAW;IACxD,OAAO,CAAC,eAAe,CAAkC;gBAE7C,SAAS,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG;IAIvD,SAAS,CAAC,cAAc,CAAC,EAAE,OAAO,EAAE,kBAAkB,EAAE,EAAE,gBAAgB,GAAG,IAAI;IA4BjF,OAAO,CAAC,gBAAgB;IAcxB,OAAO,CAAC,oBAAoB;IAQ5B,OAAO,CAAC,wBAAwB;IAMhC,SAAS,CAAC,YAAY,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,gBAAgB,GAAG,IAAI;IAOjE,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI;CAgBhD"}
|
|
@@ -1,30 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
const figures_1 = tslib_1.__importDefault(require("figures"));
|
|
7
|
-
const text_1 = require("./text");
|
|
8
|
-
const table_prompt_1 = require("./table-prompt");
|
|
9
|
-
const getRowSymbol = (isDone, isHover, isSelected) => {
|
|
1
|
+
import chalk from 'chalk';
|
|
2
|
+
import figures from 'figures';
|
|
3
|
+
import { Text } from './text.js';
|
|
4
|
+
import { TablePrompt } from './table-prompt.js';
|
|
5
|
+
export const getRowSymbol = (isDone, isHover, isSelected) => {
|
|
10
6
|
if (isDone) {
|
|
11
|
-
return isSelected ?
|
|
7
|
+
return isSelected ? figures.circleFilled : figures.circle;
|
|
12
8
|
}
|
|
13
9
|
else {
|
|
14
|
-
return isHover ?
|
|
10
|
+
return isHover ? figures.pointer : isSelected ? figures.circleFilled : figures.circle;
|
|
15
11
|
}
|
|
16
12
|
};
|
|
17
|
-
|
|
18
|
-
const getRowFormatFn = (isDone, isHover, isSelected) => {
|
|
13
|
+
export const getRowFormatFn = (isDone, isHover, isSelected) => {
|
|
19
14
|
if (isDone) {
|
|
20
|
-
return isSelected ?
|
|
15
|
+
return isSelected ? chalk.cyan : chalk.white;
|
|
21
16
|
}
|
|
22
17
|
else {
|
|
23
|
-
return isHover || isSelected ?
|
|
18
|
+
return isHover || isSelected ? chalk.cyan : chalk.white;
|
|
24
19
|
}
|
|
25
20
|
};
|
|
26
|
-
|
|
27
|
-
class MultipleChoiceTablePrompt extends table_prompt_1.TablePrompt {
|
|
21
|
+
export class MultipleChoiceTablePrompt extends TablePrompt {
|
|
28
22
|
selectedIndexes = new Set();
|
|
29
23
|
constructor(questions, readline, answers) {
|
|
30
24
|
super(questions, readline, answers);
|
|
@@ -82,15 +76,14 @@ class MultipleChoiceTablePrompt extends table_prompt_1.TablePrompt {
|
|
|
82
76
|
done(selectedIndexesArray);
|
|
83
77
|
}
|
|
84
78
|
render(props) {
|
|
85
|
-
const table = this.renderTable(props,
|
|
79
|
+
const table = this.renderTable(props, getRowSymbol, getRowFormatFn, (rowIndex) => this.selectedIndexes.has(rowIndex));
|
|
86
80
|
const { infoMessage, promptMessage, hasMultipleChoices } = props;
|
|
87
81
|
let header = infoMessage;
|
|
88
82
|
header += '\r\n';
|
|
89
|
-
header +=
|
|
83
|
+
header += Text.customPrompts.table.headerMessage(promptMessage, !hasMultipleChoices);
|
|
90
84
|
let renderOutput = '';
|
|
91
85
|
renderOutput += table.toString();
|
|
92
86
|
renderOutput += '\r\n';
|
|
93
87
|
this.screen.render(header, renderOutput);
|
|
94
88
|
}
|
|
95
89
|
}
|
|
96
|
-
exports.MultipleChoiceTablePrompt = MultipleChoiceTablePrompt;
|
package/out/ui/runtime-log.js
CHANGED
|
@@ -1,38 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
exports.formatRuntimeLogArgs = formatRuntimeLogArgs;
|
|
5
|
-
const log_color_1 = require("./log-color");
|
|
6
|
-
const util_1 = require("util");
|
|
7
|
-
function formatRuntimeLogLevel(level) {
|
|
1
|
+
import { RuntimeLogLevel } from './log-color.js';
|
|
2
|
+
import { format } from 'util';
|
|
3
|
+
export function formatRuntimeLogLevel(level) {
|
|
8
4
|
switch (level) {
|
|
9
5
|
case 10:
|
|
10
6
|
case '10':
|
|
11
7
|
case 'TRACE':
|
|
12
|
-
return
|
|
8
|
+
return RuntimeLogLevel.trace;
|
|
13
9
|
case 20:
|
|
14
10
|
case '20':
|
|
15
11
|
case 'DEBUG':
|
|
16
|
-
return
|
|
12
|
+
return RuntimeLogLevel.debug;
|
|
17
13
|
case 30:
|
|
18
14
|
case '30':
|
|
19
15
|
case 'INFO':
|
|
20
|
-
return
|
|
16
|
+
return RuntimeLogLevel.info;
|
|
21
17
|
case 40:
|
|
22
18
|
case '40':
|
|
23
19
|
case 'WARN':
|
|
24
20
|
case 'WARNING':
|
|
25
|
-
return
|
|
21
|
+
return RuntimeLogLevel.warn;
|
|
26
22
|
case 50:
|
|
27
23
|
case '50':
|
|
28
24
|
case 'ERROR':
|
|
29
|
-
return
|
|
25
|
+
return RuntimeLogLevel.error;
|
|
30
26
|
case 60:
|
|
31
27
|
case '60':
|
|
32
28
|
case 'FATAL':
|
|
33
|
-
return
|
|
29
|
+
return RuntimeLogLevel.fatal;
|
|
34
30
|
default:
|
|
35
|
-
return
|
|
31
|
+
return RuntimeLogLevel.info;
|
|
36
32
|
}
|
|
37
33
|
}
|
|
38
34
|
function formatIfFunctionError(arg) {
|
|
@@ -49,8 +45,8 @@ function formatIfFunctionError(arg) {
|
|
|
49
45
|
}
|
|
50
46
|
return arg;
|
|
51
47
|
}
|
|
52
|
-
function formatRuntimeLogArgs(args) {
|
|
53
|
-
const string =
|
|
48
|
+
export function formatRuntimeLogArgs(args) {
|
|
49
|
+
const string = format(...args.map(formatIfFunctionError));
|
|
54
50
|
const formattedString = `${string.match(/[{[]]\n.+/) ? '\n' : ''}${string}`;
|
|
55
51
|
return formattedString;
|
|
56
52
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getRowSymbolType, getRowFormatFnType, TablePrompt, TableRenderProps, TablePromptState } from './table-prompt';
|
|
1
|
+
import { getRowSymbolType, getRowFormatFnType, TablePrompt, TableRenderProps, TablePromptState } from './table-prompt.js';
|
|
2
2
|
export declare const getRowSymbol: getRowSymbolType;
|
|
3
3
|
export declare const getRowFormatFn: getRowFormatFnType;
|
|
4
4
|
export declare class SingleChoiceTablePrompt extends TablePrompt {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"single-table-prompt.d.ts","sourceRoot":"","sources":["../../src/ui/single-table-prompt.ts"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"single-table-prompt.d.ts","sourceRoot":"","sources":["../../src/ui/single-table-prompt.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EACjB,MAAM,mBAAmB,CAAC;AAE3B,eAAO,MAAM,YAAY,EAAE,gBAE1B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,kBAE5B,CAAC;AAEF,qBAAa,uBAAwB,SAAQ,WAAW;gBAC1C,SAAS,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG;IAIvD,SAAS,CAAC,cAAc,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI;IAIvD,SAAS,CAAC,YAAY,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,gBAAgB,GAAG,IAAI;IAIjE,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI;CAoBhD"}
|