(ns metabase.eid-translation) | |
Possible statuses from an entity-id -> id translation:
If the translation from entity-id -> id is successful, the status is | (def statuses [:ok :not-found :invalid-format]) |
Malli enum for possible statuses for entity_id -> id translations. | (def Status (into [:enum] statuses)) |
The empty counter for tracking the number of entity_id -> id translations. | (def default-counter (zipmap statuses (repeat 0))) |