Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

710 B
Raw Blame
export interface NotificationProgressEvent {
    /**
     * Payload of the event subtype
     */
    body: any;
    /**
     * Subtype event
     */
    name: string;
    /**
     * Title to display in events widget
     */
    title: string;
    /**
     * Optional subtitle to display. Defaults to empty string
     */
    subTitle: string;
    /**
     * Type of event. Helps events widget to understand how to handle said event
     */
    eventType: 'single' | 'started' | 'updated' | 'ended';
    /**
     * Type of progress. Helps widget understand how to display spinner
     */
    progress: 'none' | 'indeterminate' | 'determinate';
    /**
     * When event was sent
     */
    eventTime: string;
}