Files
overleaf-cep/services/notifications
Jakob Ackermann f48132a70e [notifications] adopt strict zod types and extend test coverage (#36049)
* [notifications] adopt strict zod types and extend test coverage

* [notifications] validate expires date via schema

GitOrigin-RevId: 25dee0578ec443447e4c38a50a7e6c8b44831fe7
2026-09-17 11:45:58 +00:00
..
…
…

overleaf/notifications

An API for managing user notifications in Overleaf

database indexes

For notification expiry to work, a TTL index on notifications.expires must be created:

db.notifications.createIndex({ expires: 1 }, { expireAfterSeconds: 10 })

License

The code in this repository is released under the GNU AFFERO GENERAL PUBLIC LICENSE, version 3.

Copyright (c) Overleaf, 2016–2019.