event

Revit Parameter Projection Archived

A Revit projection was archived and is retained for history — never deleted.

EventStatus: Implemented in api-v1

Purpose

Retires a RevitParameterProjection while keeping the row. Archiving rather than deleting is deliberate: the shared parameter GUID survives so the projection can be reused if the key returns. An archived projection rejects edits and approval, and archiving is idempotent.

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 archival happened

Raised by

  • RevitParameterProjection.archiveapps/api-v1/src/modules/bim-ontology/core/domain/revit/RevitParameterProjection.ts
  • ArchiveRevitParameterProjectionUseCaseapps/api-v1/src/modules/bim-ontology/core/application/use-cases/RevitProjectionAuthoringUseCases.ts, reached either from the operation below or automatically from ArchiveRevitProjectionOnParameterKeyRetirementHandler on ParameterKeyArchived and ParameterKeyUpdated
  • HTTP: archiveRevitParameterProjection

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. Note the direction: key retirement causes projection archival, not the other way round.