24 lines
430 B
TypeScript
24 lines
430 B
TypeScript
// Default and empty values for Notification
|
|
|
|
import type { Notification } from './type';
|
|
|
|
export const defaultNotification: Notification = {
|
|
id: '',
|
|
read: false,
|
|
type: '',
|
|
//
|
|
// TODO: troubleshoot
|
|
// author: {},
|
|
job: { title: '' },
|
|
description: '',
|
|
NOTI_ID: '',
|
|
created: '',
|
|
updated: '',
|
|
link: '',
|
|
createdAt: new Date(),
|
|
};
|
|
|
|
export const emptyNotification: Notification = {
|
|
...defaultNotification,
|
|
};
|