sidequest_common.models.audit ============================= .. py:module:: sidequest_common.models.audit .. autoapi-nested-parse:: Officer/GM console action audit trail. Classes ------- .. autoapisummary:: sidequest_common.models.audit.OfficerAudit Module Contents --------------- .. py:class:: OfficerAudit Bases: :py:obj:`advanced_alchemy.base.UUIDAuditBase` One officer/GM-performed change, recorded in the same request as the change itself. Bot/Discord-originated changes are never audited here (no officer/GM actor). ``actor_name`` is a snapshot of the actor's display name at the time, so the row still reads sensibly after ``actor_member_id`` is nulled (kept, not deleted) when the actor's account is later deleted. .. py:attribute:: action :type: sqlalchemy.orm.Mapped[str] .. py:attribute:: actor_member_id :type: sqlalchemy.orm.Mapped[int | None] .. py:attribute:: actor_name :type: sqlalchemy.orm.Mapped[str] .. py:attribute:: subject_id :type: sqlalchemy.orm.Mapped[str | None] .. py:attribute:: subject_type :type: sqlalchemy.orm.Mapped[str] .. py:attribute:: summary :type: sqlalchemy.orm.Mapped[str]