From f4fc004c2b52ff6443fc1a107f1d0d22dc0c376d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Fri, 29 Nov 2024 18:11:34 +0100 Subject: [PATCH] pl-api: add missing categories MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- packages/pl-api/lib/entities/group-member.ts | 3 +++ packages/pl-api/lib/entities/grouped-notifications-results.ts | 3 +++ 2 files changed, 6 insertions(+) diff --git a/packages/pl-api/lib/entities/group-member.ts b/packages/pl-api/lib/entities/group-member.ts index 76d892105..8919af00a 100644 --- a/packages/pl-api/lib/entities/group-member.ts +++ b/packages/pl-api/lib/entities/group-member.ts @@ -8,6 +8,9 @@ enum GroupRoles { USER = 'user' } +/** + * @category Entity types + */ type GroupRole =`${GroupRoles}`; /** diff --git a/packages/pl-api/lib/entities/grouped-notifications-results.ts b/packages/pl-api/lib/entities/grouped-notifications-results.ts index 75685597a..ff5437f33 100644 --- a/packages/pl-api/lib/entities/grouped-notifications-results.ts +++ b/packages/pl-api/lib/entities/grouped-notifications-results.ts @@ -149,6 +149,9 @@ const groupedNotificationsResultsSchema = v.object({ notification_groups: filteredArray(notificationGroupSchema), }); +/** + * @category Entity types + */ type GroupedNotificationsResults = v.InferOutput; export { notificationGroupSchema, groupedNotificationsResultsSchema, type NotificationGroup, type GroupedNotificationsResults };