// Hooks {% for hook in hooks %} pub async fn {{ hook.model }}_{{ hook.event }}_hook(entity: &mut {{ hook.model|capitalize }}, db: &SqlitePool) -> Result<(), WyreError> { // TODO: Implement hook logic // {{ hook.code }} Ok(()) } {% endfor %}