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

Domain event indicating that subject area data has changed. More...

#include <subject_area_changed_event.hpp>

Collaboration diagram for subject_area_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 > keys
 Keys of subject areas that changed.
 

Detailed Description

Domain event indicating that subject area data has changed.

This event is published when any subject_area entity is created, updated, or deleted in the database. Subscribers can use the timestamp to query for changes since that point.

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.

◆ keys

std::vector<std::string> keys

Keys of subject areas that changed.

Contains the composite keys (name/domain_name) of subject areas that were created, updated, or deleted. May contain multiple keys for batch operations.