Add unread indication to subscription cards
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { env } from '$env/dynamic/public';
|
||||
|
||||
export const API_URL = env.PUBLIC_API_URL || 'http://localhost:8080';
|
||||
export const API_URL = env.PUBLIC_API_URL || 'http://localhost:8000';
|
||||
|
||||
/**
|
||||
* Type definitions for Subscriptions and Notifications
|
||||
@@ -9,6 +9,7 @@ export interface Subscription {
|
||||
id: number;
|
||||
topic: string;
|
||||
created_at: string;
|
||||
has_unread: boolean;
|
||||
}
|
||||
|
||||
export interface Notification {
|
||||
|
||||
Reference in New Issue
Block a user