@parra/parra-js-sdk 0.2.28 → 0.2.29
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 +6 -6
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -90,7 +90,7 @@ export declare enum QuestionKind {
|
|
|
90
90
|
checkbox = "checkbox",
|
|
91
91
|
star = "star"
|
|
92
92
|
}
|
|
93
|
-
export interface
|
|
93
|
+
export interface MutableChoiceQuestionOption {
|
|
94
94
|
title: string;
|
|
95
95
|
value: string;
|
|
96
96
|
is_other?: boolean | null;
|
|
@@ -104,15 +104,15 @@ export interface ChoiceQuestionOption {
|
|
|
104
104
|
export interface ChoiceQuestionBody {
|
|
105
105
|
options: Array<ChoiceQuestionOption>;
|
|
106
106
|
}
|
|
107
|
-
export interface
|
|
108
|
-
options: Array<
|
|
107
|
+
export interface MutableChoiceQuestionBody {
|
|
108
|
+
options: Array<MutableChoiceQuestionOption>;
|
|
109
109
|
}
|
|
110
|
-
export declare type
|
|
110
|
+
export declare type MutableQuestionData = MutableChoiceQuestionBody;
|
|
111
111
|
export declare type QuestionData = ChoiceQuestionBody;
|
|
112
112
|
export interface UpdateQuestionRequestBody {
|
|
113
113
|
title: string;
|
|
114
114
|
subtitle?: string | null;
|
|
115
|
-
data:
|
|
115
|
+
data: MutableQuestionData;
|
|
116
116
|
active?: boolean;
|
|
117
117
|
expires_at?: string | null;
|
|
118
118
|
answer_quota?: number | null;
|
|
@@ -120,7 +120,7 @@ export interface UpdateQuestionRequestBody {
|
|
|
120
120
|
export interface CreateQuestionRequestBody {
|
|
121
121
|
title: string;
|
|
122
122
|
subtitle?: string | null;
|
|
123
|
-
data:
|
|
123
|
+
data: MutableQuestionData;
|
|
124
124
|
active?: boolean;
|
|
125
125
|
expires_at?: string | null;
|
|
126
126
|
answer_quota?: number | null;
|