mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-26 10:58:49 +00:00
19 lines
433 B
TypeScript
19 lines
433 B
TypeScript
/**
|
|
* Settings interface
|
|
*
|
|
* @author Pierre Hubert
|
|
*/
|
|
|
|
declare interface NotificationsSettings {
|
|
allow_conversations: boolean,
|
|
allow_notifications_sound: boolean,
|
|
}
|
|
|
|
declare interface DataConservationPolicy {
|
|
inactive_account_lifetime?: number,
|
|
notification_lifetime?: number,
|
|
comments_lifetime?: number,
|
|
posts_lifetime?: number,
|
|
conversation_messages_lifetime?: number,
|
|
likes_lifetime?: number
|
|
} |