Push Notifications

push_notifications in @open-mercato/core

Push delivery rails: a push notification delivery strategy that fans out to registered devices and sends through the communication_channels hub.

Ships with Open Mercato 0.9.0

On in a new app. Nothing to enable.

In an app from the empty preset

yarn mercato module enable @open-mercato/core --module push_notifications

Then run yarn generate. Core is already installed, so nothing is downloaded.

Anatomy

ADDS 1 TABLE · 2 PERMISSIONS · EMITS 2 EVENTS

Data

  • push_notification_deliveries

API

Routes are not listed for built-in modules.

Security

push_notifications.

  • view_deliveries
  • send_custom

Events

push_notifications.

  • emitsdelivery.sent
  • emitsdelivery.failed

UI

  • 3 backend pages

Background

  • 2 workers

Not present: AI tools.

Not read: credentials and env, hosts (not in module-facts.v2.json).

From module-facts.v2.json in @open-mercato/cli 0.9.0. Read statically, not executed.