@parra/parra-js-sdk 0.2.76 → 0.2.77
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/dist/ParraAPI.d.ts +11 -1
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -429,7 +429,7 @@ export interface QuestionMetrics {
|
|
|
429
429
|
type: QuestionType;
|
|
430
430
|
data: QuestionMetricsData;
|
|
431
431
|
}
|
|
432
|
-
export declare type QuestionMetricsData = ChoiceQuestionMetricsBody;
|
|
432
|
+
export declare type QuestionMetricsData = ChoiceQuestionMetricsBody | InageQuestionMetricsBody;
|
|
433
433
|
export interface ChoiceQuestionMetricsBody {
|
|
434
434
|
options: Array<ChoiceQuestionMetricsOption>;
|
|
435
435
|
}
|
|
@@ -440,6 +440,16 @@ export interface ChoiceQuestionMetricsOption {
|
|
|
440
440
|
id: string;
|
|
441
441
|
answer_count: number;
|
|
442
442
|
}
|
|
443
|
+
export interface InageQuestionMetricsBody {
|
|
444
|
+
options: Array<ImageQuestionMetricsOption>;
|
|
445
|
+
}
|
|
446
|
+
export interface ImageQuestionMetricsOption {
|
|
447
|
+
image_asset_id: string;
|
|
448
|
+
title?: string | null;
|
|
449
|
+
value: string;
|
|
450
|
+
id: string;
|
|
451
|
+
answer_count: number;
|
|
452
|
+
}
|
|
443
453
|
export interface NotificationRecipient {
|
|
444
454
|
user_id?: string | null;
|
|
445
455
|
}
|