From 5907d95593975491a219790156b70b884b36f713 Mon Sep 17 00:00:00 2001 From: cballevre Date: Fri, 13 Sep 2024 12:44:07 +0200 Subject: [PATCH] docs: Add new fields for announcements inside io.cozy.homes.settings --- docs/io.cozy.home.settings.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/io.cozy.home.settings.md b/docs/io.cozy.home.settings.md index bd858f3..8bfc572 100644 --- a/docs/io.cozy.home.settings.md +++ b/docs/io.cozy.home.settings.md @@ -23,6 +23,7 @@ The `io.cozy.home.settings` doctype contains one document that manages settings - **`order`**: {number} If provided, the order in which the shortcut should appear. - **`originalName`**: {string} Original name of the shortcut. - **`announcements`**: {object} Data related to the lifecycle of announcement inside Cozy +- **`announcements.firstActivatedAt`**: {date} The first time, the user has announcements feature activated. Allow delayed display of the dialog for first time users. - **`announcements.dismissedAt`**: {date} The last time, the user dismiss the announcements dialog - **`announcements.seen`**: {string[]} The viewed announcements. The array size is limited to same as the number of announcement return by the API (currently: 5)