@parra/parra-js-sdk 0.2.88 → 0.2.89

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 +10 -1
  2. package/package.json +1 -1
@@ -409,6 +409,9 @@ export interface UpdateQuestionRequestBody {
409
409
  active?: boolean;
410
410
  expires_at?: string | null;
411
411
  answer_quota?: number | null;
412
+ show_expires_at?: boolean;
413
+ show_answer_count?: boolean;
414
+ show_answer_quota?: boolean;
412
415
  }
413
416
  export interface CreateQuestionRequestBody {
414
417
  title: string;
@@ -418,6 +421,9 @@ export interface CreateQuestionRequestBody {
418
421
  active?: boolean;
419
422
  expires_at?: string | null;
420
423
  answer_quota?: number | null;
424
+ show_expires_at?: boolean;
425
+ show_answer_count?: boolean;
426
+ show_answer_quota?: boolean;
421
427
  type: QuestionType;
422
428
  kind: QuestionKind;
423
429
  }
@@ -440,7 +446,10 @@ export interface Question {
440
446
  data: QuestionData;
441
447
  active?: boolean;
442
448
  answer_quota?: number | null;
443
- answer_count?: number;
449
+ answer_count?: number | null;
450
+ show_answer_count: boolean;
451
+ show_answer_quota: boolean;
452
+ show_expires_at: boolean;
444
453
  expires_at?: string | null;
445
454
  closed_at?: string | null;
446
455
  answer?: Answer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.2.88",
3
+ "version": "0.2.89",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",