package audit

import (
	"github.com/nexuscrm/persistence"
)

const (
	// AuditHistoryFanoutWorkFamily is the durable work family that expands one
	// audit outbox event into field-level history rows.
	AuditHistoryFanoutWorkFamily = "runtime.audit-history-fanout.v1"
)

// Compatibility aliases keep the audit family API stable while the authority
// itself has one generic L0 owner in persistence.
type WorkOwnership = persistence.RuntimeWorkOwnership

var ErrOutboxWorkOwnershipLost = persistence.ErrRuntimeWorkOwnershipLost
