notifications.mjs 6.17 KB
import { e as eventHandler } from '../../nitro/nitro.mjs';
import { sub } from 'date-fns';
import 'node:http';
import 'node:https';
import 'node:events';
import 'node:buffer';
import 'node:fs';
import 'node:path';
import 'node:crypto';
import 'node:url';
import '@iconify/utils';
import 'consola';

const notifications = [{
  id: 1,
  unread: true,
  sender: {
    name: "Jordan Brown",
    email: "jordan.brown@example.com",
    avatar: {
      src: "https://i.pravatar.cc/128?u=2"
    }
  },
  body: "sent you a message",
  date: sub(/* @__PURE__ */ new Date(), { minutes: 7 }).toISOString()
}, {
  id: 2,
  sender: {
    name: "Lindsay Walton"
  },
  body: "subscribed to your email list",
  date: sub(/* @__PURE__ */ new Date(), { hours: 1 }).toISOString()
}, {
  id: 3,
  unread: true,
  sender: {
    name: "Taylor Green",
    email: "taylor.green@example.com",
    avatar: {
      src: "https://i.pravatar.cc/128?u=3"
    }
  },
  body: "sent you a message",
  date: sub(/* @__PURE__ */ new Date(), { hours: 3 }).toISOString()
}, {
  id: 4,
  sender: {
    name: "Courtney Henry",
    avatar: {
      src: "https://i.pravatar.cc/128?u=4"
    }
  },
  body: "added you to a project",
  date: sub(/* @__PURE__ */ new Date(), { hours: 3 }).toISOString()
}, {
  id: 5,
  sender: {
    name: "Tom Cook",
    avatar: {
      src: "https://i.pravatar.cc/128?u=5"
    }
  },
  body: "abandonned cart",
  date: sub(/* @__PURE__ */ new Date(), { hours: 7 }).toISOString()
}, {
  id: 6,
  sender: {
    name: "Casey Thomas",
    avatar: {
      src: "https://i.pravatar.cc/128?u=6"
    }
  },
  body: "purchased your product",
  date: sub(/* @__PURE__ */ new Date(), { days: 1, hours: 3 }).toISOString()
}, {
  id: 7,
  unread: true,
  sender: {
    name: "Kelly Wilson",
    email: "kelly.wilson@example.com",
    avatar: {
      src: "https://i.pravatar.cc/128?u=8"
    }
  },
  body: "sent you a message",
  date: sub(/* @__PURE__ */ new Date(), { days: 2 }).toISOString()
}, {
  id: 8,
  sender: {
    name: "Jamie Johnson",
    email: "jamie.johnson@example.com",
    avatar: {
      src: "https://i.pravatar.cc/128?u=9"
    }
  },
  body: "requested a refund",
  date: sub(/* @__PURE__ */ new Date(), { days: 5, hours: 4 }).toISOString()
}, {
  id: 9,
  unread: true,
  sender: {
    name: "Morgan Anderson",
    email: "morgan.anderson@example.com"
  },
  body: "sent you a message",
  date: sub(/* @__PURE__ */ new Date(), { days: 6 }).toISOString()
}, {
  id: 10,
  sender: {
    name: "Drew Moore"
  },
  body: "subscribed to your email list",
  date: sub(/* @__PURE__ */ new Date(), { days: 6 }).toISOString()
}, {
  id: 11,
  sender: {
    name: "Riley Davis"
  },
  body: "abandonned cart",
  date: sub(/* @__PURE__ */ new Date(), { days: 7 }).toISOString()
}, {
  id: 12,
  sender: {
    name: "Jordan Taylor"
  },
  body: "subscribed to your email list",
  date: sub(/* @__PURE__ */ new Date(), { days: 9 }).toISOString()
}, {
  id: 13,
  sender: {
    name: "Kelly Wilson",
    email: "kelly.wilson@example.com",
    avatar: {
      src: "https://i.pravatar.cc/128?u=8"
    }
  },
  body: "subscribed to your email list",
  date: sub(/* @__PURE__ */ new Date(), { days: 10 }).toISOString()
}, {
  id: 14,
  sender: {
    name: "Jamie Johnson",
    email: "jamie.johnson@example.com",
    avatar: {
      src: "https://i.pravatar.cc/128?u=9"
    }
  },
  body: "subscribed to your email list",
  date: sub(/* @__PURE__ */ new Date(), { days: 11 }).toISOString()
}, {
  id: 15,
  sender: {
    name: "Morgan Anderson"
  },
  body: "purchased your product",
  date: sub(/* @__PURE__ */ new Date(), { days: 12 }).toISOString()
}, {
  id: 16,
  sender: {
    name: "Drew Moore",
    avatar: {
      src: "https://i.pravatar.cc/128?u=16"
    }
  },
  body: "subscribed to your email list",
  date: sub(/* @__PURE__ */ new Date(), { days: 13 }).toISOString()
}, {
  id: 17,
  sender: {
    name: "Riley Davis"
  },
  body: "subscribed to your email list",
  date: sub(/* @__PURE__ */ new Date(), { days: 14 }).toISOString()
}, {
  id: 18,
  sender: {
    name: "Jordan Taylor"
  },
  body: "subscribed to your email list",
  date: sub(/* @__PURE__ */ new Date(), { days: 15 }).toISOString()
}, {
  id: 19,
  sender: {
    name: "Kelly Wilson",
    email: "kelly.wilson@example.com",
    avatar: {
      src: "https://i.pravatar.cc/128?u=8"
    }
  },
  body: "subscribed to your email list",
  date: sub(/* @__PURE__ */ new Date(), { days: 16 }).toISOString()
}, {
  id: 20,
  sender: {
    name: "Jamie Johnson",
    email: "jamie.johnson@example.com",
    avatar: {
      src: "https://i.pravatar.cc/128?u=9"
    }
  },
  body: "purchased your product",
  date: sub(/* @__PURE__ */ new Date(), { days: 17 }).toISOString()
}, {
  id: 21,
  sender: {
    name: "Morgan Anderson"
  },
  body: "abandonned cart",
  date: sub(/* @__PURE__ */ new Date(), { days: 17 }).toISOString()
}, {
  id: 22,
  sender: {
    name: "Drew Moore"
  },
  body: "subscribed to your email list",
  date: sub(/* @__PURE__ */ new Date(), { days: 18 }).toISOString()
}, {
  id: 23,
  sender: {
    name: "Riley Davis"
  },
  body: "subscribed to your email list",
  date: sub(/* @__PURE__ */ new Date(), { days: 19 }).toISOString()
}, {
  id: 24,
  sender: {
    name: "Jordan Taylor",
    avatar: {
      src: "https://i.pravatar.cc/128?u=24"
    }
  },
  body: "subscribed to your email list",
  date: sub(/* @__PURE__ */ new Date(), { days: 20 }).toISOString()
}, {
  id: 25,
  sender: {
    name: "Kelly Wilson",
    email: "kelly.wilson@example.com",
    avatar: {
      src: "https://i.pravatar.cc/128?u=8"
    }
  },
  body: "subscribed to your email list",
  date: sub(/* @__PURE__ */ new Date(), { days: 20 }).toISOString()
}, {
  id: 26,
  sender: {
    name: "Jamie Johnson",
    email: "jamie.johnson@example.com",
    avatar: {
      src: "https://i.pravatar.cc/128?u=9"
    }
  },
  body: "abandonned cart",
  date: sub(/* @__PURE__ */ new Date(), { days: 21 }).toISOString()
}, {
  id: 27,
  sender: {
    name: "Morgan Anderson"
  },
  body: "subscribed to your email list",
  date: sub(/* @__PURE__ */ new Date(), { days: 22 }).toISOString()
}];
const notifications_default = eventHandler(async () => {
  return notifications;
});

export { notifications_default as default };
//# sourceMappingURL=notifications.mjs.map