funky-framadate-front/src/app/config/PollConfig.ts

25 lines
414 B
TypeScript
Raw Normal View History

/**
* une option de date dans les sondages spéciaux
*/
export interface DateOption {
text: string;
start?: string;
end?: string;
}
/**
* configuration
*/
export class PollConfig {
step = 0;
stepMax = 3;
pollType = 'classic';
title = '';
description = '';
// date specific poll
allowSeveralHours = false;
dateList: DateOption[] = [];
answers: string[] = [];
}