ajout envoi smtp (paramètres, test envois, envoi à 1 participant). protège vue mot de passe
- ajout filtre page statistiques
This commit is contained in:
@@ -57,6 +57,26 @@ export interface ParticipantWithVoteStatus extends Participant {
|
||||
total_voted_amount?: number;
|
||||
}
|
||||
|
||||
export interface Setting {
|
||||
id: string;
|
||||
key: string;
|
||||
value: string;
|
||||
category: string;
|
||||
description?: string;
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
}
|
||||
|
||||
export interface SmtpSettings {
|
||||
host: string;
|
||||
port: number;
|
||||
username: string;
|
||||
password: string;
|
||||
secure: boolean;
|
||||
from_email: string;
|
||||
from_name: string;
|
||||
}
|
||||
|
||||
export interface Database {
|
||||
public: {
|
||||
Tables: {
|
||||
@@ -75,6 +95,11 @@ export interface Database {
|
||||
Insert: Omit<Participant, 'id' | 'created_at'>;
|
||||
Update: Partial<Omit<Participant, 'id' | 'created_at'>>;
|
||||
};
|
||||
settings: {
|
||||
Row: Setting;
|
||||
Insert: Omit<Setting, 'id' | 'created_at' | 'updated_at'>;
|
||||
Update: Partial<Omit<Setting, 'id' | 'created_at' | 'updated_at'>>;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user