@parra/parra-js-sdk 0.2.102 → 0.2.104

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/ParraAPI.d.ts +14 -8
  2. package/package.json +1 -1
@@ -431,9 +431,15 @@ export interface ChoiceQuestionOption {
431
431
  }
432
432
  export interface ChoiceQuestionBody {
433
433
  options: Array<ChoiceQuestionOption>;
434
+ leading_label?: string;
435
+ center_label?: string;
436
+ trailing_label?: string;
434
437
  }
435
438
  export interface MutableChoiceQuestionBody {
436
439
  options: Array<MutableChoiceQuestionOption>;
440
+ leading_label?: string;
441
+ center_label?: string;
442
+ trailing_label?: string;
437
443
  }
438
444
  export interface MutableCheckboxQuestionOption {
439
445
  title: string;
@@ -487,15 +493,15 @@ export interface MutableRatingQuestionBody {
487
493
  }
488
494
  export interface StarQuestionBody {
489
495
  star_count: number;
490
- leading_title?: string;
491
- center_title?: string;
492
- trailing_title?: string;
496
+ leading_label?: string;
497
+ center_label?: string;
498
+ trailing_label?: string;
493
499
  }
494
500
  export interface MutableStarQuestionBody {
495
501
  star_count: number;
496
- leading_title?: string;
497
- center_title?: string;
498
- trailing_title?: string;
502
+ leading_label?: string;
503
+ center_label?: string;
504
+ trailing_label?: string;
499
505
  }
500
506
  export interface ShortTextQuestionBody {
501
507
  placeholder?: string;
@@ -519,11 +525,11 @@ export interface MutableLongTextQuestionBody {
519
525
  }
520
526
  export interface MutableBooleanQuestionOption {
521
527
  title: string;
522
- value: number;
528
+ value: string;
523
529
  }
524
530
  export interface BooleanQuestionOption {
525
531
  title: string;
526
- value: number;
532
+ value: string;
527
533
  id: string;
528
534
  }
529
535
  export interface BooleanQuestionBody {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.2.102",
3
+ "version": "0.2.104",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",