Interface: Notification
Defined in: src/types/index.ts:90
Extends
output<typeofschemas.Notification>
Properties
| Property | Type | Default value | Inherited from | Defined in |
|---|---|---|---|---|
comment_id? | number | undefined | z.infer.comment_id | src/schemas/NotificationView.ts:10 |
creator_id | number | undefined | z.infer.creator_id | src/schemas/NotificationView.ts:11 |
id | number | undefined | z.infer.id | src/schemas/NotificationView.ts:12 |
kind | "subscribed" | "reply" | "mention" | "private_message" | "mod_action" | NotificationDataType | z.infer.kind | src/schemas/NotificationView.ts:13 |
modlog_id? | number | undefined | z.infer.modlog_id | src/schemas/NotificationView.ts:14 |
post_id? | number | undefined | z.infer.post_id | src/schemas/NotificationView.ts:15 |
private_message_id? | number | undefined | z.infer.private_message_id | src/schemas/NotificationView.ts:16 |
published_at | string | undefined | z.infer.published_at | src/schemas/NotificationView.ts:17 |
read | boolean | undefined | z.infer.read | src/schemas/NotificationView.ts:18 |
recipient_id | number | undefined | z.infer.recipient_id | src/schemas/NotificationView.ts:19 |
