mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-24 04:59:21 +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
|
|
} |