event

Revit Parameter Projection Resynced

A projection's derived Revit name was refreshed after the canonical key or group changed.

EventStatus: Implemented in api-v1

Purpose

Records that the non-authoritative stored Revit name was recomputed from canonical metadata. Authored facts and shared-definition identity are untouched. The resync is skipped — and no event is emitted — when nameSource is override or when the derived name already matches, so this event means the stored name genuinely changed.

Payload

Envelope is { name, occurredAt, payload } (apps/api-v1/src/modules/shared/domain/events/DomainEvent.ts). All seven RevitParameterProjection* events share one payload type; occurredAt appears both on the envelope and in the payload.

FieldTypeMeaning
projectionIdstringProjection domain_id
parameterKeyIdstringThe one canonical key this projection expresses
occurredAtDateWhen the resync happened

Raised by

Consumers

No subscriber in this module. No handler is registered for any of the seven projection events in bim-ontology.composition.ts; only the '*' DomainEventAuditLogger sees them.

The resync itself can have a second effect in the same use case: if the new derived name changes shared-parameter-file output on an approved projection, it is demoted to draft.