Currencies

currencies in @open-mercato/core

Currencies and Exchange rate management

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 currencies

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

Anatomy

ADDS 3 TABLES · 6 PERMISSIONS · EMITS 6 EVENTS

Data

  • currencies
  • exchange_rates
  • currency_fetch_configs

API

Routes are not listed for built-in modules.

Security

currencies.

  • view
  • manage
  • rates.view
  • rates.manage
  • fetch.view
  • fetch.manage

Events

currencies.

  • emitscurrency.created
  • emitscurrency.updated
  • emitscurrency.deleted
  • emitsexchange_rate.created
  • emitsexchange_rate.updated
  • emitsexchange_rate.deleted

UI

  • 7 backend pages

Background

  • 3 CLI commands

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.