Revit Parameter Projection Archived
A Revit projection was archived and is retained for history — never deleted.
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.
| Field | Type | Meaning |
|---|---|---|
projectionId | string | Projection domain_id |
parameterKeyId | string | The one canonical key this projection expresses |
occurredAt | Date | When archival happened |
Raised by
RevitParameterProjection.archive—apps/api-v1/src/modules/bim-ontology/core/domain/revit/RevitParameterProjection.tsArchiveRevitParameterProjectionUseCase—apps/api-v1/src/modules/bim-ontology/core/application/use-cases/RevitProjectionAuthoringUseCases.ts, reached either from the operation below or automatically fromArchiveRevitProjectionOnParameterKeyRetirementHandleron 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.