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 };