Add history-based state changes and recompute pipeline
This commit is contained in:
@@ -17,6 +17,11 @@ const (
|
||||
Observation EntityType = "observation"
|
||||
TimelineEvent EntityType = "timeline_event"
|
||||
FailureEvent EntityType = "failure_event"
|
||||
ComponentChangeEvent EntityType = "component_change_event"
|
||||
ComponentSnapshot EntityType = "component_snapshot"
|
||||
AssetChangeEvent EntityType = "asset_change_event"
|
||||
AssetSnapshot EntityType = "asset_snapshot"
|
||||
HistoryAdminAudit EntityType = "history_admin_audit"
|
||||
)
|
||||
|
||||
// Prefix mapping for each entity type
|
||||
@@ -28,6 +33,11 @@ var prefixMap = map[EntityType]string{
|
||||
Observation: "OB",
|
||||
TimelineEvent: "TE",
|
||||
FailureEvent: "FE",
|
||||
ComponentChangeEvent: "CE",
|
||||
ComponentSnapshot: "CS",
|
||||
AssetChangeEvent: "AE",
|
||||
AssetSnapshot: "AS",
|
||||
HistoryAdminAudit: "HA",
|
||||
}
|
||||
|
||||
// Generator handles unique ID generation with prefixes
|
||||
|
||||
Reference in New Issue
Block a user