@anthropic-ai/claude-code 2.0.28 → 2.0.30
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/cli.js +1187 -1086
- package/package.json +1 -1
- package/sdk-tools.d.ts +1210 -1
package/sdk-tools.d.ts
CHANGED
|
@@ -23,9 +23,11 @@ export type ToolInputSchemas =
|
|
|
23
23
|
| McpInput
|
|
24
24
|
| NotebookEditInput
|
|
25
25
|
| ReadMcpResourceInput
|
|
26
|
+
| TimeMachineInput
|
|
26
27
|
| TodoWriteInput
|
|
27
28
|
| WebFetchInput
|
|
28
|
-
| WebSearchInput
|
|
29
|
+
| WebSearchInput
|
|
30
|
+
| MultipleChoiceQuestionInput;
|
|
29
31
|
|
|
30
32
|
export interface AgentInput {
|
|
31
33
|
/**
|
|
@@ -247,6 +249,20 @@ export interface ReadMcpResourceInput {
|
|
|
247
249
|
*/
|
|
248
250
|
uri: string;
|
|
249
251
|
}
|
|
252
|
+
export interface TimeMachineInput {
|
|
253
|
+
/**
|
|
254
|
+
* The prefix of the user message to rewind to (searches backwards for first match)
|
|
255
|
+
*/
|
|
256
|
+
message_prefix: string;
|
|
257
|
+
/**
|
|
258
|
+
* The new instructions to inject after rewinding, explaining what to do differently
|
|
259
|
+
*/
|
|
260
|
+
course_correction: string;
|
|
261
|
+
/**
|
|
262
|
+
* Whether to restore code changes using file history (default: true)
|
|
263
|
+
*/
|
|
264
|
+
restore_code?: boolean;
|
|
265
|
+
}
|
|
250
266
|
export interface TodoWriteInput {
|
|
251
267
|
/**
|
|
252
268
|
* The updated todo list
|
|
@@ -281,3 +297,1196 @@ export interface WebSearchInput {
|
|
|
281
297
|
*/
|
|
282
298
|
blocked_domains?: string[];
|
|
283
299
|
}
|
|
300
|
+
export interface MultipleChoiceQuestionInput {
|
|
301
|
+
/**
|
|
302
|
+
* Questions to ask the user (1-4 questions)
|
|
303
|
+
*
|
|
304
|
+
* @minItems 1
|
|
305
|
+
* @maxItems 4
|
|
306
|
+
*/
|
|
307
|
+
questions:
|
|
308
|
+
| [
|
|
309
|
+
{
|
|
310
|
+
/**
|
|
311
|
+
* The complete question to ask the user. Should be clear, specific, and end with a question mark. Example: "Which library should we use for date formatting?" If multiSelect is true, phrase it accordingly, e.g. "Which features do you want to enable?"
|
|
312
|
+
*/
|
|
313
|
+
question: string;
|
|
314
|
+
/**
|
|
315
|
+
* Very short label displayed as a chip/tag (max 12 chars). Examples: "Auth method", "Library", "Approach".
|
|
316
|
+
*/
|
|
317
|
+
header: string;
|
|
318
|
+
/**
|
|
319
|
+
* The available choices for this question. Must have 2-4 options. Each option should be a distinct, mutually exclusive choice (unless multiSelect is enabled). There should be no 'Other' option, that will be provided automatically.
|
|
320
|
+
*
|
|
321
|
+
* @minItems 2
|
|
322
|
+
* @maxItems 4
|
|
323
|
+
*/
|
|
324
|
+
options:
|
|
325
|
+
| [
|
|
326
|
+
{
|
|
327
|
+
/**
|
|
328
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
329
|
+
*/
|
|
330
|
+
label: string;
|
|
331
|
+
/**
|
|
332
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
333
|
+
*/
|
|
334
|
+
description: string;
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
/**
|
|
338
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
339
|
+
*/
|
|
340
|
+
label: string;
|
|
341
|
+
/**
|
|
342
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
343
|
+
*/
|
|
344
|
+
description: string;
|
|
345
|
+
}
|
|
346
|
+
]
|
|
347
|
+
| [
|
|
348
|
+
{
|
|
349
|
+
/**
|
|
350
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
351
|
+
*/
|
|
352
|
+
label: string;
|
|
353
|
+
/**
|
|
354
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
355
|
+
*/
|
|
356
|
+
description: string;
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
/**
|
|
360
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
361
|
+
*/
|
|
362
|
+
label: string;
|
|
363
|
+
/**
|
|
364
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
365
|
+
*/
|
|
366
|
+
description: string;
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
/**
|
|
370
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
371
|
+
*/
|
|
372
|
+
label: string;
|
|
373
|
+
/**
|
|
374
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
375
|
+
*/
|
|
376
|
+
description: string;
|
|
377
|
+
}
|
|
378
|
+
]
|
|
379
|
+
| [
|
|
380
|
+
{
|
|
381
|
+
/**
|
|
382
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
383
|
+
*/
|
|
384
|
+
label: string;
|
|
385
|
+
/**
|
|
386
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
387
|
+
*/
|
|
388
|
+
description: string;
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
/**
|
|
392
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
393
|
+
*/
|
|
394
|
+
label: string;
|
|
395
|
+
/**
|
|
396
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
397
|
+
*/
|
|
398
|
+
description: string;
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
/**
|
|
402
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
403
|
+
*/
|
|
404
|
+
label: string;
|
|
405
|
+
/**
|
|
406
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
407
|
+
*/
|
|
408
|
+
description: string;
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
/**
|
|
412
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
413
|
+
*/
|
|
414
|
+
label: string;
|
|
415
|
+
/**
|
|
416
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
417
|
+
*/
|
|
418
|
+
description: string;
|
|
419
|
+
}
|
|
420
|
+
];
|
|
421
|
+
/**
|
|
422
|
+
* Set to true to allow the user to select multiple options instead of just one. Use when choices are not mutually exclusive.
|
|
423
|
+
*/
|
|
424
|
+
multiSelect: boolean;
|
|
425
|
+
}
|
|
426
|
+
]
|
|
427
|
+
| [
|
|
428
|
+
{
|
|
429
|
+
/**
|
|
430
|
+
* The complete question to ask the user. Should be clear, specific, and end with a question mark. Example: "Which library should we use for date formatting?" If multiSelect is true, phrase it accordingly, e.g. "Which features do you want to enable?"
|
|
431
|
+
*/
|
|
432
|
+
question: string;
|
|
433
|
+
/**
|
|
434
|
+
* Very short label displayed as a chip/tag (max 12 chars). Examples: "Auth method", "Library", "Approach".
|
|
435
|
+
*/
|
|
436
|
+
header: string;
|
|
437
|
+
/**
|
|
438
|
+
* The available choices for this question. Must have 2-4 options. Each option should be a distinct, mutually exclusive choice (unless multiSelect is enabled). There should be no 'Other' option, that will be provided automatically.
|
|
439
|
+
*
|
|
440
|
+
* @minItems 2
|
|
441
|
+
* @maxItems 4
|
|
442
|
+
*/
|
|
443
|
+
options:
|
|
444
|
+
| [
|
|
445
|
+
{
|
|
446
|
+
/**
|
|
447
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
448
|
+
*/
|
|
449
|
+
label: string;
|
|
450
|
+
/**
|
|
451
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
452
|
+
*/
|
|
453
|
+
description: string;
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
/**
|
|
457
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
458
|
+
*/
|
|
459
|
+
label: string;
|
|
460
|
+
/**
|
|
461
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
462
|
+
*/
|
|
463
|
+
description: string;
|
|
464
|
+
}
|
|
465
|
+
]
|
|
466
|
+
| [
|
|
467
|
+
{
|
|
468
|
+
/**
|
|
469
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
470
|
+
*/
|
|
471
|
+
label: string;
|
|
472
|
+
/**
|
|
473
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
474
|
+
*/
|
|
475
|
+
description: string;
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
/**
|
|
479
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
480
|
+
*/
|
|
481
|
+
label: string;
|
|
482
|
+
/**
|
|
483
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
484
|
+
*/
|
|
485
|
+
description: string;
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
/**
|
|
489
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
490
|
+
*/
|
|
491
|
+
label: string;
|
|
492
|
+
/**
|
|
493
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
494
|
+
*/
|
|
495
|
+
description: string;
|
|
496
|
+
}
|
|
497
|
+
]
|
|
498
|
+
| [
|
|
499
|
+
{
|
|
500
|
+
/**
|
|
501
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
502
|
+
*/
|
|
503
|
+
label: string;
|
|
504
|
+
/**
|
|
505
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
506
|
+
*/
|
|
507
|
+
description: string;
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
/**
|
|
511
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
512
|
+
*/
|
|
513
|
+
label: string;
|
|
514
|
+
/**
|
|
515
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
516
|
+
*/
|
|
517
|
+
description: string;
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
/**
|
|
521
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
522
|
+
*/
|
|
523
|
+
label: string;
|
|
524
|
+
/**
|
|
525
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
526
|
+
*/
|
|
527
|
+
description: string;
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
/**
|
|
531
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
532
|
+
*/
|
|
533
|
+
label: string;
|
|
534
|
+
/**
|
|
535
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
536
|
+
*/
|
|
537
|
+
description: string;
|
|
538
|
+
}
|
|
539
|
+
];
|
|
540
|
+
/**
|
|
541
|
+
* Set to true to allow the user to select multiple options instead of just one. Use when choices are not mutually exclusive.
|
|
542
|
+
*/
|
|
543
|
+
multiSelect: boolean;
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
/**
|
|
547
|
+
* The complete question to ask the user. Should be clear, specific, and end with a question mark. Example: "Which library should we use for date formatting?" If multiSelect is true, phrase it accordingly, e.g. "Which features do you want to enable?"
|
|
548
|
+
*/
|
|
549
|
+
question: string;
|
|
550
|
+
/**
|
|
551
|
+
* Very short label displayed as a chip/tag (max 12 chars). Examples: "Auth method", "Library", "Approach".
|
|
552
|
+
*/
|
|
553
|
+
header: string;
|
|
554
|
+
/**
|
|
555
|
+
* The available choices for this question. Must have 2-4 options. Each option should be a distinct, mutually exclusive choice (unless multiSelect is enabled). There should be no 'Other' option, that will be provided automatically.
|
|
556
|
+
*
|
|
557
|
+
* @minItems 2
|
|
558
|
+
* @maxItems 4
|
|
559
|
+
*/
|
|
560
|
+
options:
|
|
561
|
+
| [
|
|
562
|
+
{
|
|
563
|
+
/**
|
|
564
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
565
|
+
*/
|
|
566
|
+
label: string;
|
|
567
|
+
/**
|
|
568
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
569
|
+
*/
|
|
570
|
+
description: string;
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
/**
|
|
574
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
575
|
+
*/
|
|
576
|
+
label: string;
|
|
577
|
+
/**
|
|
578
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
579
|
+
*/
|
|
580
|
+
description: string;
|
|
581
|
+
}
|
|
582
|
+
]
|
|
583
|
+
| [
|
|
584
|
+
{
|
|
585
|
+
/**
|
|
586
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
587
|
+
*/
|
|
588
|
+
label: string;
|
|
589
|
+
/**
|
|
590
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
591
|
+
*/
|
|
592
|
+
description: string;
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
/**
|
|
596
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
597
|
+
*/
|
|
598
|
+
label: string;
|
|
599
|
+
/**
|
|
600
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
601
|
+
*/
|
|
602
|
+
description: string;
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
/**
|
|
606
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
607
|
+
*/
|
|
608
|
+
label: string;
|
|
609
|
+
/**
|
|
610
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
611
|
+
*/
|
|
612
|
+
description: string;
|
|
613
|
+
}
|
|
614
|
+
]
|
|
615
|
+
| [
|
|
616
|
+
{
|
|
617
|
+
/**
|
|
618
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
619
|
+
*/
|
|
620
|
+
label: string;
|
|
621
|
+
/**
|
|
622
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
623
|
+
*/
|
|
624
|
+
description: string;
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
/**
|
|
628
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
629
|
+
*/
|
|
630
|
+
label: string;
|
|
631
|
+
/**
|
|
632
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
633
|
+
*/
|
|
634
|
+
description: string;
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
/**
|
|
638
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
639
|
+
*/
|
|
640
|
+
label: string;
|
|
641
|
+
/**
|
|
642
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
643
|
+
*/
|
|
644
|
+
description: string;
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
/**
|
|
648
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
649
|
+
*/
|
|
650
|
+
label: string;
|
|
651
|
+
/**
|
|
652
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
653
|
+
*/
|
|
654
|
+
description: string;
|
|
655
|
+
}
|
|
656
|
+
];
|
|
657
|
+
/**
|
|
658
|
+
* Set to true to allow the user to select multiple options instead of just one. Use when choices are not mutually exclusive.
|
|
659
|
+
*/
|
|
660
|
+
multiSelect: boolean;
|
|
661
|
+
}
|
|
662
|
+
]
|
|
663
|
+
| [
|
|
664
|
+
{
|
|
665
|
+
/**
|
|
666
|
+
* The complete question to ask the user. Should be clear, specific, and end with a question mark. Example: "Which library should we use for date formatting?" If multiSelect is true, phrase it accordingly, e.g. "Which features do you want to enable?"
|
|
667
|
+
*/
|
|
668
|
+
question: string;
|
|
669
|
+
/**
|
|
670
|
+
* Very short label displayed as a chip/tag (max 12 chars). Examples: "Auth method", "Library", "Approach".
|
|
671
|
+
*/
|
|
672
|
+
header: string;
|
|
673
|
+
/**
|
|
674
|
+
* The available choices for this question. Must have 2-4 options. Each option should be a distinct, mutually exclusive choice (unless multiSelect is enabled). There should be no 'Other' option, that will be provided automatically.
|
|
675
|
+
*
|
|
676
|
+
* @minItems 2
|
|
677
|
+
* @maxItems 4
|
|
678
|
+
*/
|
|
679
|
+
options:
|
|
680
|
+
| [
|
|
681
|
+
{
|
|
682
|
+
/**
|
|
683
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
684
|
+
*/
|
|
685
|
+
label: string;
|
|
686
|
+
/**
|
|
687
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
688
|
+
*/
|
|
689
|
+
description: string;
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
/**
|
|
693
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
694
|
+
*/
|
|
695
|
+
label: string;
|
|
696
|
+
/**
|
|
697
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
698
|
+
*/
|
|
699
|
+
description: string;
|
|
700
|
+
}
|
|
701
|
+
]
|
|
702
|
+
| [
|
|
703
|
+
{
|
|
704
|
+
/**
|
|
705
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
706
|
+
*/
|
|
707
|
+
label: string;
|
|
708
|
+
/**
|
|
709
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
710
|
+
*/
|
|
711
|
+
description: string;
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
/**
|
|
715
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
716
|
+
*/
|
|
717
|
+
label: string;
|
|
718
|
+
/**
|
|
719
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
720
|
+
*/
|
|
721
|
+
description: string;
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
/**
|
|
725
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
726
|
+
*/
|
|
727
|
+
label: string;
|
|
728
|
+
/**
|
|
729
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
730
|
+
*/
|
|
731
|
+
description: string;
|
|
732
|
+
}
|
|
733
|
+
]
|
|
734
|
+
| [
|
|
735
|
+
{
|
|
736
|
+
/**
|
|
737
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
738
|
+
*/
|
|
739
|
+
label: string;
|
|
740
|
+
/**
|
|
741
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
742
|
+
*/
|
|
743
|
+
description: string;
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
/**
|
|
747
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
748
|
+
*/
|
|
749
|
+
label: string;
|
|
750
|
+
/**
|
|
751
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
752
|
+
*/
|
|
753
|
+
description: string;
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
/**
|
|
757
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
758
|
+
*/
|
|
759
|
+
label: string;
|
|
760
|
+
/**
|
|
761
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
762
|
+
*/
|
|
763
|
+
description: string;
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
/**
|
|
767
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
768
|
+
*/
|
|
769
|
+
label: string;
|
|
770
|
+
/**
|
|
771
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
772
|
+
*/
|
|
773
|
+
description: string;
|
|
774
|
+
}
|
|
775
|
+
];
|
|
776
|
+
/**
|
|
777
|
+
* Set to true to allow the user to select multiple options instead of just one. Use when choices are not mutually exclusive.
|
|
778
|
+
*/
|
|
779
|
+
multiSelect: boolean;
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
/**
|
|
783
|
+
* The complete question to ask the user. Should be clear, specific, and end with a question mark. Example: "Which library should we use for date formatting?" If multiSelect is true, phrase it accordingly, e.g. "Which features do you want to enable?"
|
|
784
|
+
*/
|
|
785
|
+
question: string;
|
|
786
|
+
/**
|
|
787
|
+
* Very short label displayed as a chip/tag (max 12 chars). Examples: "Auth method", "Library", "Approach".
|
|
788
|
+
*/
|
|
789
|
+
header: string;
|
|
790
|
+
/**
|
|
791
|
+
* The available choices for this question. Must have 2-4 options. Each option should be a distinct, mutually exclusive choice (unless multiSelect is enabled). There should be no 'Other' option, that will be provided automatically.
|
|
792
|
+
*
|
|
793
|
+
* @minItems 2
|
|
794
|
+
* @maxItems 4
|
|
795
|
+
*/
|
|
796
|
+
options:
|
|
797
|
+
| [
|
|
798
|
+
{
|
|
799
|
+
/**
|
|
800
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
801
|
+
*/
|
|
802
|
+
label: string;
|
|
803
|
+
/**
|
|
804
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
805
|
+
*/
|
|
806
|
+
description: string;
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
/**
|
|
810
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
811
|
+
*/
|
|
812
|
+
label: string;
|
|
813
|
+
/**
|
|
814
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
815
|
+
*/
|
|
816
|
+
description: string;
|
|
817
|
+
}
|
|
818
|
+
]
|
|
819
|
+
| [
|
|
820
|
+
{
|
|
821
|
+
/**
|
|
822
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
823
|
+
*/
|
|
824
|
+
label: string;
|
|
825
|
+
/**
|
|
826
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
827
|
+
*/
|
|
828
|
+
description: string;
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
/**
|
|
832
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
833
|
+
*/
|
|
834
|
+
label: string;
|
|
835
|
+
/**
|
|
836
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
837
|
+
*/
|
|
838
|
+
description: string;
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
/**
|
|
842
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
843
|
+
*/
|
|
844
|
+
label: string;
|
|
845
|
+
/**
|
|
846
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
847
|
+
*/
|
|
848
|
+
description: string;
|
|
849
|
+
}
|
|
850
|
+
]
|
|
851
|
+
| [
|
|
852
|
+
{
|
|
853
|
+
/**
|
|
854
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
855
|
+
*/
|
|
856
|
+
label: string;
|
|
857
|
+
/**
|
|
858
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
859
|
+
*/
|
|
860
|
+
description: string;
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
/**
|
|
864
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
865
|
+
*/
|
|
866
|
+
label: string;
|
|
867
|
+
/**
|
|
868
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
869
|
+
*/
|
|
870
|
+
description: string;
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
/**
|
|
874
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
875
|
+
*/
|
|
876
|
+
label: string;
|
|
877
|
+
/**
|
|
878
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
879
|
+
*/
|
|
880
|
+
description: string;
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
/**
|
|
884
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
885
|
+
*/
|
|
886
|
+
label: string;
|
|
887
|
+
/**
|
|
888
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
889
|
+
*/
|
|
890
|
+
description: string;
|
|
891
|
+
}
|
|
892
|
+
];
|
|
893
|
+
/**
|
|
894
|
+
* Set to true to allow the user to select multiple options instead of just one. Use when choices are not mutually exclusive.
|
|
895
|
+
*/
|
|
896
|
+
multiSelect: boolean;
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
/**
|
|
900
|
+
* The complete question to ask the user. Should be clear, specific, and end with a question mark. Example: "Which library should we use for date formatting?" If multiSelect is true, phrase it accordingly, e.g. "Which features do you want to enable?"
|
|
901
|
+
*/
|
|
902
|
+
question: string;
|
|
903
|
+
/**
|
|
904
|
+
* Very short label displayed as a chip/tag (max 12 chars). Examples: "Auth method", "Library", "Approach".
|
|
905
|
+
*/
|
|
906
|
+
header: string;
|
|
907
|
+
/**
|
|
908
|
+
* The available choices for this question. Must have 2-4 options. Each option should be a distinct, mutually exclusive choice (unless multiSelect is enabled). There should be no 'Other' option, that will be provided automatically.
|
|
909
|
+
*
|
|
910
|
+
* @minItems 2
|
|
911
|
+
* @maxItems 4
|
|
912
|
+
*/
|
|
913
|
+
options:
|
|
914
|
+
| [
|
|
915
|
+
{
|
|
916
|
+
/**
|
|
917
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
918
|
+
*/
|
|
919
|
+
label: string;
|
|
920
|
+
/**
|
|
921
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
922
|
+
*/
|
|
923
|
+
description: string;
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
/**
|
|
927
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
928
|
+
*/
|
|
929
|
+
label: string;
|
|
930
|
+
/**
|
|
931
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
932
|
+
*/
|
|
933
|
+
description: string;
|
|
934
|
+
}
|
|
935
|
+
]
|
|
936
|
+
| [
|
|
937
|
+
{
|
|
938
|
+
/**
|
|
939
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
940
|
+
*/
|
|
941
|
+
label: string;
|
|
942
|
+
/**
|
|
943
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
944
|
+
*/
|
|
945
|
+
description: string;
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
/**
|
|
949
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
950
|
+
*/
|
|
951
|
+
label: string;
|
|
952
|
+
/**
|
|
953
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
954
|
+
*/
|
|
955
|
+
description: string;
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
/**
|
|
959
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
960
|
+
*/
|
|
961
|
+
label: string;
|
|
962
|
+
/**
|
|
963
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
964
|
+
*/
|
|
965
|
+
description: string;
|
|
966
|
+
}
|
|
967
|
+
]
|
|
968
|
+
| [
|
|
969
|
+
{
|
|
970
|
+
/**
|
|
971
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
972
|
+
*/
|
|
973
|
+
label: string;
|
|
974
|
+
/**
|
|
975
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
976
|
+
*/
|
|
977
|
+
description: string;
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
/**
|
|
981
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
982
|
+
*/
|
|
983
|
+
label: string;
|
|
984
|
+
/**
|
|
985
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
986
|
+
*/
|
|
987
|
+
description: string;
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
/**
|
|
991
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
992
|
+
*/
|
|
993
|
+
label: string;
|
|
994
|
+
/**
|
|
995
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
996
|
+
*/
|
|
997
|
+
description: string;
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
/**
|
|
1001
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1002
|
+
*/
|
|
1003
|
+
label: string;
|
|
1004
|
+
/**
|
|
1005
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1006
|
+
*/
|
|
1007
|
+
description: string;
|
|
1008
|
+
}
|
|
1009
|
+
];
|
|
1010
|
+
/**
|
|
1011
|
+
* Set to true to allow the user to select multiple options instead of just one. Use when choices are not mutually exclusive.
|
|
1012
|
+
*/
|
|
1013
|
+
multiSelect: boolean;
|
|
1014
|
+
}
|
|
1015
|
+
]
|
|
1016
|
+
| [
|
|
1017
|
+
{
|
|
1018
|
+
/**
|
|
1019
|
+
* The complete question to ask the user. Should be clear, specific, and end with a question mark. Example: "Which library should we use for date formatting?" If multiSelect is true, phrase it accordingly, e.g. "Which features do you want to enable?"
|
|
1020
|
+
*/
|
|
1021
|
+
question: string;
|
|
1022
|
+
/**
|
|
1023
|
+
* Very short label displayed as a chip/tag (max 12 chars). Examples: "Auth method", "Library", "Approach".
|
|
1024
|
+
*/
|
|
1025
|
+
header: string;
|
|
1026
|
+
/**
|
|
1027
|
+
* The available choices for this question. Must have 2-4 options. Each option should be a distinct, mutually exclusive choice (unless multiSelect is enabled). There should be no 'Other' option, that will be provided automatically.
|
|
1028
|
+
*
|
|
1029
|
+
* @minItems 2
|
|
1030
|
+
* @maxItems 4
|
|
1031
|
+
*/
|
|
1032
|
+
options:
|
|
1033
|
+
| [
|
|
1034
|
+
{
|
|
1035
|
+
/**
|
|
1036
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1037
|
+
*/
|
|
1038
|
+
label: string;
|
|
1039
|
+
/**
|
|
1040
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1041
|
+
*/
|
|
1042
|
+
description: string;
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
/**
|
|
1046
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1047
|
+
*/
|
|
1048
|
+
label: string;
|
|
1049
|
+
/**
|
|
1050
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1051
|
+
*/
|
|
1052
|
+
description: string;
|
|
1053
|
+
}
|
|
1054
|
+
]
|
|
1055
|
+
| [
|
|
1056
|
+
{
|
|
1057
|
+
/**
|
|
1058
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1059
|
+
*/
|
|
1060
|
+
label: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1063
|
+
*/
|
|
1064
|
+
description: string;
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
/**
|
|
1068
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1069
|
+
*/
|
|
1070
|
+
label: string;
|
|
1071
|
+
/**
|
|
1072
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1073
|
+
*/
|
|
1074
|
+
description: string;
|
|
1075
|
+
},
|
|
1076
|
+
{
|
|
1077
|
+
/**
|
|
1078
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1079
|
+
*/
|
|
1080
|
+
label: string;
|
|
1081
|
+
/**
|
|
1082
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1083
|
+
*/
|
|
1084
|
+
description: string;
|
|
1085
|
+
}
|
|
1086
|
+
]
|
|
1087
|
+
| [
|
|
1088
|
+
{
|
|
1089
|
+
/**
|
|
1090
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1091
|
+
*/
|
|
1092
|
+
label: string;
|
|
1093
|
+
/**
|
|
1094
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1095
|
+
*/
|
|
1096
|
+
description: string;
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
/**
|
|
1100
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1101
|
+
*/
|
|
1102
|
+
label: string;
|
|
1103
|
+
/**
|
|
1104
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1105
|
+
*/
|
|
1106
|
+
description: string;
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
/**
|
|
1110
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1111
|
+
*/
|
|
1112
|
+
label: string;
|
|
1113
|
+
/**
|
|
1114
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1115
|
+
*/
|
|
1116
|
+
description: string;
|
|
1117
|
+
},
|
|
1118
|
+
{
|
|
1119
|
+
/**
|
|
1120
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1121
|
+
*/
|
|
1122
|
+
label: string;
|
|
1123
|
+
/**
|
|
1124
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1125
|
+
*/
|
|
1126
|
+
description: string;
|
|
1127
|
+
}
|
|
1128
|
+
];
|
|
1129
|
+
/**
|
|
1130
|
+
* Set to true to allow the user to select multiple options instead of just one. Use when choices are not mutually exclusive.
|
|
1131
|
+
*/
|
|
1132
|
+
multiSelect: boolean;
|
|
1133
|
+
},
|
|
1134
|
+
{
|
|
1135
|
+
/**
|
|
1136
|
+
* The complete question to ask the user. Should be clear, specific, and end with a question mark. Example: "Which library should we use for date formatting?" If multiSelect is true, phrase it accordingly, e.g. "Which features do you want to enable?"
|
|
1137
|
+
*/
|
|
1138
|
+
question: string;
|
|
1139
|
+
/**
|
|
1140
|
+
* Very short label displayed as a chip/tag (max 12 chars). Examples: "Auth method", "Library", "Approach".
|
|
1141
|
+
*/
|
|
1142
|
+
header: string;
|
|
1143
|
+
/**
|
|
1144
|
+
* The available choices for this question. Must have 2-4 options. Each option should be a distinct, mutually exclusive choice (unless multiSelect is enabled). There should be no 'Other' option, that will be provided automatically.
|
|
1145
|
+
*
|
|
1146
|
+
* @minItems 2
|
|
1147
|
+
* @maxItems 4
|
|
1148
|
+
*/
|
|
1149
|
+
options:
|
|
1150
|
+
| [
|
|
1151
|
+
{
|
|
1152
|
+
/**
|
|
1153
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1154
|
+
*/
|
|
1155
|
+
label: string;
|
|
1156
|
+
/**
|
|
1157
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1158
|
+
*/
|
|
1159
|
+
description: string;
|
|
1160
|
+
},
|
|
1161
|
+
{
|
|
1162
|
+
/**
|
|
1163
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1164
|
+
*/
|
|
1165
|
+
label: string;
|
|
1166
|
+
/**
|
|
1167
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1168
|
+
*/
|
|
1169
|
+
description: string;
|
|
1170
|
+
}
|
|
1171
|
+
]
|
|
1172
|
+
| [
|
|
1173
|
+
{
|
|
1174
|
+
/**
|
|
1175
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1176
|
+
*/
|
|
1177
|
+
label: string;
|
|
1178
|
+
/**
|
|
1179
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1180
|
+
*/
|
|
1181
|
+
description: string;
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
/**
|
|
1185
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1186
|
+
*/
|
|
1187
|
+
label: string;
|
|
1188
|
+
/**
|
|
1189
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1190
|
+
*/
|
|
1191
|
+
description: string;
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
/**
|
|
1195
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1196
|
+
*/
|
|
1197
|
+
label: string;
|
|
1198
|
+
/**
|
|
1199
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1200
|
+
*/
|
|
1201
|
+
description: string;
|
|
1202
|
+
}
|
|
1203
|
+
]
|
|
1204
|
+
| [
|
|
1205
|
+
{
|
|
1206
|
+
/**
|
|
1207
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1208
|
+
*/
|
|
1209
|
+
label: string;
|
|
1210
|
+
/**
|
|
1211
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1212
|
+
*/
|
|
1213
|
+
description: string;
|
|
1214
|
+
},
|
|
1215
|
+
{
|
|
1216
|
+
/**
|
|
1217
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1218
|
+
*/
|
|
1219
|
+
label: string;
|
|
1220
|
+
/**
|
|
1221
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1222
|
+
*/
|
|
1223
|
+
description: string;
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
/**
|
|
1227
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1228
|
+
*/
|
|
1229
|
+
label: string;
|
|
1230
|
+
/**
|
|
1231
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1232
|
+
*/
|
|
1233
|
+
description: string;
|
|
1234
|
+
},
|
|
1235
|
+
{
|
|
1236
|
+
/**
|
|
1237
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1238
|
+
*/
|
|
1239
|
+
label: string;
|
|
1240
|
+
/**
|
|
1241
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1242
|
+
*/
|
|
1243
|
+
description: string;
|
|
1244
|
+
}
|
|
1245
|
+
];
|
|
1246
|
+
/**
|
|
1247
|
+
* Set to true to allow the user to select multiple options instead of just one. Use when choices are not mutually exclusive.
|
|
1248
|
+
*/
|
|
1249
|
+
multiSelect: boolean;
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
/**
|
|
1253
|
+
* The complete question to ask the user. Should be clear, specific, and end with a question mark. Example: "Which library should we use for date formatting?" If multiSelect is true, phrase it accordingly, e.g. "Which features do you want to enable?"
|
|
1254
|
+
*/
|
|
1255
|
+
question: string;
|
|
1256
|
+
/**
|
|
1257
|
+
* Very short label displayed as a chip/tag (max 12 chars). Examples: "Auth method", "Library", "Approach".
|
|
1258
|
+
*/
|
|
1259
|
+
header: string;
|
|
1260
|
+
/**
|
|
1261
|
+
* The available choices for this question. Must have 2-4 options. Each option should be a distinct, mutually exclusive choice (unless multiSelect is enabled). There should be no 'Other' option, that will be provided automatically.
|
|
1262
|
+
*
|
|
1263
|
+
* @minItems 2
|
|
1264
|
+
* @maxItems 4
|
|
1265
|
+
*/
|
|
1266
|
+
options:
|
|
1267
|
+
| [
|
|
1268
|
+
{
|
|
1269
|
+
/**
|
|
1270
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1271
|
+
*/
|
|
1272
|
+
label: string;
|
|
1273
|
+
/**
|
|
1274
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1275
|
+
*/
|
|
1276
|
+
description: string;
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
/**
|
|
1280
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1281
|
+
*/
|
|
1282
|
+
label: string;
|
|
1283
|
+
/**
|
|
1284
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1285
|
+
*/
|
|
1286
|
+
description: string;
|
|
1287
|
+
}
|
|
1288
|
+
]
|
|
1289
|
+
| [
|
|
1290
|
+
{
|
|
1291
|
+
/**
|
|
1292
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1293
|
+
*/
|
|
1294
|
+
label: string;
|
|
1295
|
+
/**
|
|
1296
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1297
|
+
*/
|
|
1298
|
+
description: string;
|
|
1299
|
+
},
|
|
1300
|
+
{
|
|
1301
|
+
/**
|
|
1302
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1303
|
+
*/
|
|
1304
|
+
label: string;
|
|
1305
|
+
/**
|
|
1306
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1307
|
+
*/
|
|
1308
|
+
description: string;
|
|
1309
|
+
},
|
|
1310
|
+
{
|
|
1311
|
+
/**
|
|
1312
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1313
|
+
*/
|
|
1314
|
+
label: string;
|
|
1315
|
+
/**
|
|
1316
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1317
|
+
*/
|
|
1318
|
+
description: string;
|
|
1319
|
+
}
|
|
1320
|
+
]
|
|
1321
|
+
| [
|
|
1322
|
+
{
|
|
1323
|
+
/**
|
|
1324
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1325
|
+
*/
|
|
1326
|
+
label: string;
|
|
1327
|
+
/**
|
|
1328
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1329
|
+
*/
|
|
1330
|
+
description: string;
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
/**
|
|
1334
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1335
|
+
*/
|
|
1336
|
+
label: string;
|
|
1337
|
+
/**
|
|
1338
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1339
|
+
*/
|
|
1340
|
+
description: string;
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
/**
|
|
1344
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1345
|
+
*/
|
|
1346
|
+
label: string;
|
|
1347
|
+
/**
|
|
1348
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1349
|
+
*/
|
|
1350
|
+
description: string;
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
/**
|
|
1354
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1355
|
+
*/
|
|
1356
|
+
label: string;
|
|
1357
|
+
/**
|
|
1358
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1359
|
+
*/
|
|
1360
|
+
description: string;
|
|
1361
|
+
}
|
|
1362
|
+
];
|
|
1363
|
+
/**
|
|
1364
|
+
* Set to true to allow the user to select multiple options instead of just one. Use when choices are not mutually exclusive.
|
|
1365
|
+
*/
|
|
1366
|
+
multiSelect: boolean;
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
/**
|
|
1370
|
+
* The complete question to ask the user. Should be clear, specific, and end with a question mark. Example: "Which library should we use for date formatting?" If multiSelect is true, phrase it accordingly, e.g. "Which features do you want to enable?"
|
|
1371
|
+
*/
|
|
1372
|
+
question: string;
|
|
1373
|
+
/**
|
|
1374
|
+
* Very short label displayed as a chip/tag (max 12 chars). Examples: "Auth method", "Library", "Approach".
|
|
1375
|
+
*/
|
|
1376
|
+
header: string;
|
|
1377
|
+
/**
|
|
1378
|
+
* The available choices for this question. Must have 2-4 options. Each option should be a distinct, mutually exclusive choice (unless multiSelect is enabled). There should be no 'Other' option, that will be provided automatically.
|
|
1379
|
+
*
|
|
1380
|
+
* @minItems 2
|
|
1381
|
+
* @maxItems 4
|
|
1382
|
+
*/
|
|
1383
|
+
options:
|
|
1384
|
+
| [
|
|
1385
|
+
{
|
|
1386
|
+
/**
|
|
1387
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1388
|
+
*/
|
|
1389
|
+
label: string;
|
|
1390
|
+
/**
|
|
1391
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1392
|
+
*/
|
|
1393
|
+
description: string;
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
/**
|
|
1397
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1398
|
+
*/
|
|
1399
|
+
label: string;
|
|
1400
|
+
/**
|
|
1401
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1402
|
+
*/
|
|
1403
|
+
description: string;
|
|
1404
|
+
}
|
|
1405
|
+
]
|
|
1406
|
+
| [
|
|
1407
|
+
{
|
|
1408
|
+
/**
|
|
1409
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1410
|
+
*/
|
|
1411
|
+
label: string;
|
|
1412
|
+
/**
|
|
1413
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1414
|
+
*/
|
|
1415
|
+
description: string;
|
|
1416
|
+
},
|
|
1417
|
+
{
|
|
1418
|
+
/**
|
|
1419
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1420
|
+
*/
|
|
1421
|
+
label: string;
|
|
1422
|
+
/**
|
|
1423
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1424
|
+
*/
|
|
1425
|
+
description: string;
|
|
1426
|
+
},
|
|
1427
|
+
{
|
|
1428
|
+
/**
|
|
1429
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1430
|
+
*/
|
|
1431
|
+
label: string;
|
|
1432
|
+
/**
|
|
1433
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1434
|
+
*/
|
|
1435
|
+
description: string;
|
|
1436
|
+
}
|
|
1437
|
+
]
|
|
1438
|
+
| [
|
|
1439
|
+
{
|
|
1440
|
+
/**
|
|
1441
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1442
|
+
*/
|
|
1443
|
+
label: string;
|
|
1444
|
+
/**
|
|
1445
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1446
|
+
*/
|
|
1447
|
+
description: string;
|
|
1448
|
+
},
|
|
1449
|
+
{
|
|
1450
|
+
/**
|
|
1451
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1452
|
+
*/
|
|
1453
|
+
label: string;
|
|
1454
|
+
/**
|
|
1455
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1456
|
+
*/
|
|
1457
|
+
description: string;
|
|
1458
|
+
},
|
|
1459
|
+
{
|
|
1460
|
+
/**
|
|
1461
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1462
|
+
*/
|
|
1463
|
+
label: string;
|
|
1464
|
+
/**
|
|
1465
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1466
|
+
*/
|
|
1467
|
+
description: string;
|
|
1468
|
+
},
|
|
1469
|
+
{
|
|
1470
|
+
/**
|
|
1471
|
+
* The display text for this option that the user will see and select. Should be concise (1-5 words) and clearly describe the choice.
|
|
1472
|
+
*/
|
|
1473
|
+
label: string;
|
|
1474
|
+
/**
|
|
1475
|
+
* Explanation of what this option means or what will happen if chosen. Useful for providing context about trade-offs or implications.
|
|
1476
|
+
*/
|
|
1477
|
+
description: string;
|
|
1478
|
+
}
|
|
1479
|
+
];
|
|
1480
|
+
/**
|
|
1481
|
+
* Set to true to allow the user to select multiple options instead of just one. Use when choices are not mutually exclusive.
|
|
1482
|
+
*/
|
|
1483
|
+
multiSelect: boolean;
|
|
1484
|
+
}
|
|
1485
|
+
];
|
|
1486
|
+
/**
|
|
1487
|
+
* User answers collected by the permission component
|
|
1488
|
+
*/
|
|
1489
|
+
answers?: {
|
|
1490
|
+
[k: string]: string;
|
|
1491
|
+
};
|
|
1492
|
+
}
|