@parra/parra-js-sdk 0.2.24 → 0.2.25
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 +5 -0
- package/dist/ParraAPI.js +6 -1
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -114,11 +114,16 @@ export interface CreateQuestionRequestBody {
|
|
|
114
114
|
expires_at?: string | null;
|
|
115
115
|
answer_quota?: number | null;
|
|
116
116
|
}
|
|
117
|
+
export declare enum QuestionStatus {
|
|
118
|
+
open = "open",
|
|
119
|
+
closed = "closed"
|
|
120
|
+
}
|
|
117
121
|
export interface Question {
|
|
118
122
|
id: string;
|
|
119
123
|
created_at: string;
|
|
120
124
|
updated_at: string;
|
|
121
125
|
deleted_at?: string | null;
|
|
126
|
+
status: QuestionStatus;
|
|
122
127
|
tenant_id: string;
|
|
123
128
|
title: string;
|
|
124
129
|
subtitle?: string | null;
|
package/dist/ParraAPI.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.QuestionKind = exports.QuestionType = exports.CardItemType = void 0;
|
|
3
|
+
exports.QuestionStatus = exports.QuestionKind = exports.QuestionType = exports.CardItemType = void 0;
|
|
4
4
|
var CardItemType;
|
|
5
5
|
(function (CardItemType) {
|
|
6
6
|
CardItemType["question"] = "question";
|
|
@@ -16,6 +16,11 @@ var QuestionKind;
|
|
|
16
16
|
QuestionKind["checkbox"] = "checkbox";
|
|
17
17
|
QuestionKind["star"] = "star";
|
|
18
18
|
})(QuestionKind = exports.QuestionKind || (exports.QuestionKind = {}));
|
|
19
|
+
var QuestionStatus;
|
|
20
|
+
(function (QuestionStatus) {
|
|
21
|
+
QuestionStatus["open"] = "open";
|
|
22
|
+
QuestionStatus["closed"] = "closed";
|
|
23
|
+
})(QuestionStatus = exports.QuestionStatus || (exports.QuestionStatus = {}));
|
|
19
24
|
var ParraAPI = /** @class */ (function () {
|
|
20
25
|
function ParraAPI(http, options) {
|
|
21
26
|
var _this = this;
|