UNET API - v0.0.0
    Preparing search index...

    Type Alias Notification

    type Notification = {
        id: number;
        type: string;
        createdAt: string;
        read: boolean;
        actor:
            | ApiAuthor & {
                isPrivate?: boolean;
                viewer?: { following: boolean; pending: boolean };
            }
            | null;
        postId: number
        | null;
        commentId: number | null;
        postPreview: string | null;
        commentPreview: string | null;
    }
    Index
    id: number
    type: string

    like | repost | quote | comment | comment_like | comment_reply | follow | follow_request | follow_accepted | mention

    createdAt: string
    read: boolean
    actor:
        | ApiAuthor & {
            isPrivate?: boolean;
            viewer?: { following: boolean; pending: boolean };
        }
        | null

    isPrivate and viewer (your follow state of them) are absent on older servers.

    postId: number | null
    commentId: number | null
    postPreview: string | null
    commentPreview: string | null