// Define notification types via defineNotification and pass them into the registry: // import { defineNotification } from "@raredays/notifications"; // const welcomeNotification = defineNotification({ type: "account.welcome", ... }); const notifications = createNotifications({ registry: createNotificationRegistry([]), channels: [createInMemoryChannel("email"), createInMemoryChannel("in-app")], deliveryLogger: createInMemoryDeliveryLogger(), });