mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2025-06-20 08:35:17 +00:00
Send new survey property
This commit is contained in:
@ -16,7 +16,8 @@ export interface SurveyBuilder {
|
||||
timeCreate: number;
|
||||
postID: number;
|
||||
question: string;
|
||||
choices: SurveyChoice[]
|
||||
choices: SurveyChoice[];
|
||||
allowNewChoices: boolean;
|
||||
}
|
||||
|
||||
export class Survey implements SurveyBuilder {
|
||||
@ -25,6 +26,7 @@ export class Survey implements SurveyBuilder {
|
||||
postID: number;
|
||||
question: string;
|
||||
choices: SurveyChoice[];
|
||||
allowNewChoices: boolean;
|
||||
|
||||
public constructor(info: SurveyBuilder) {
|
||||
for (const key in info) {
|
||||
|
Reference in New Issue
Block a user