/** * une option de date dans les sondages spéciaux */ export interface DateOption { text: string; start?: string; end?: string; } /** * configuration of the poll, add new fields at will */ export class PollConfig { step = 0; stepMax = 3; pollType = 'classic'; title = ''; description = ''; myName = ''; visibility = 'link_only'; // date specific poll allowSeveralHours = false; dateList: DateOption[] = []; answers: any = [{ id: 0, text: 'réponse de démo 1' }, { id: 1, text: 'réponse 2' }, { id: 2, text: 'la réponse D' }]; }