chore: refactor service and backend to use REST

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
This commit is contained in:
Heikki Hellgren
2024-01-12 15:39:03 +02:00
parent 13346970b4
commit 1a38100a8e
27 changed files with 407 additions and 359 deletions
@@ -3,8 +3,6 @@
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
import * as muiIcons from '@material-ui/icons';
// @public (undocumented)
type Notification_2 = {
id: string;
@@ -12,17 +10,12 @@ type Notification_2 = {
title: string;
description: string;
link: string;
icon?: NotificationIcon;
image?: string;
created: Date;
read?: Date;
saved: boolean;
};
export { Notification_2 as Notification };
// @public (undocumented)
export type NotificationIcon = keyof typeof muiIcons;
// @public (undocumented)
export type NotificationIds = {
ids: string[];
@@ -14,14 +14,9 @@
* limitations under the License.
*/
import * as muiIcons from '@material-ui/icons';
/** @public */
export type NotificationType = 'read' | 'unread' | 'saved';
/** @public */
export type NotificationIcon = keyof typeof muiIcons;
/** @public */
export type Notification = {
id: string;
@@ -29,8 +24,6 @@ export type Notification = {
title: string;
description: string;
link: string;
icon?: NotificationIcon;
image?: string;
created: Date;
read?: Date;
saved: boolean;