ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | List of all members
assets_changed_event Struct Referencefinal

Domain event indicating that asset data has changed. More...

#include <assets_changed_event.hpp>

Collaboration diagram for assets_changed_event:
Collaboration graph

Public Attributes

std::chrono::system_clock::time_point timestamp
 The timestamp of when the change occurred (in UTC).
 
std::vector< std::string > iso_codes
 ISO codes of currencies whose image mappings changed.
 

Detailed Description

Domain event indicating that asset data has changed.

This event is published when currency-image mappings are created, updated, or deleted. Clients (e.g., ImageCache) subscribe to this event to invalidate their cached data and reload the latest images.

Member Data Documentation

◆ timestamp

std::chrono::system_clock::time_point timestamp

The timestamp of when the change occurred (in UTC).

Clients can use this timestamp to query the database for entities that have changed since this point.

◆ iso_codes

std::vector<std::string> iso_codes

ISO codes of currencies whose image mappings changed.

Contains the ISO 4217 codes (e.g., "USD", "EUR") of currencies that had their image mappings created, updated, or deleted.