react-playmakers
Version:
React wrapper providing utilities for PlayMakers integration
19 lines (18 loc) • 456 B
TypeScript
export interface NotificationType {
id: string;
ownerId: string;
createdAt: string;
title: string;
body: string;
thumbnail: string | null;
targetURL: string;
seen: boolean;
emailSent: boolean;
type: string;
importance: number;
}
export interface ExtendedNotificationType extends NotificationType {
isDeleted: boolean;
markAsSeen: () => Promise<void>;
delete: () => Promise<void>;
}