21 lines
516 B
TypeScript
21 lines
516 B
TypeScript
'use client';
|
|
|
|
import { dayjs } from '@/lib/dayjs';
|
|
|
|
import type { Notification } from './type';
|
|
|
|
export const SampleNotifications: Notification[] = [
|
|
{
|
|
id: 'EV-002',
|
|
type: 'Refund request approved',
|
|
status: 'pending',
|
|
createdAt: dayjs().subtract(34, 'minute').subtract(5, 'hour').subtract(3, 'day').toDate(),
|
|
},
|
|
{
|
|
id: 'EV-001',
|
|
type: 'Order confirmation',
|
|
status: 'delivered',
|
|
createdAt: dayjs().subtract(49, 'minute').subtract(11, 'hour').subtract(4, 'day').toDate(),
|
|
},
|
|
];
|