Shared Dictionaries

dictionaries in @open-mercato/core

Organization-scoped dictionaries for reusable enumerations and appearance presets.

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 dictionaries

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

Anatomy

ADDS 2 TABLES · 2 PERMISSIONS · EMITS 3 EVENTS

Data

  • dictionaries
  • dictionary_entries

API

Routes are not listed for built-in modules.

Security

dictionaries.

  • view
  • manage

Events

dictionaries.

  • emitsentry.created
  • emitsentry.updated
  • emitsentry.deleted

UI

  • 1 backend page

Not present: background jobs, 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.