Add unread indication to subscription cards

This commit is contained in:
Sami Abuzakuk
2025-10-14 20:23:21 +02:00
parent 6460cab465
commit 3c6acc9359
7 changed files with 46 additions and 13 deletions

View File

@@ -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 {