Nextcloud repair steps: Is there a way to distinguish between app deactivation and deinstallation?

Hello!

According to the Nextcloud developer manual (https://docs.nextcloud.com/server/23/developer_manual/digging_deeper/repair.html#repair-step-types) repair steps that are registered as type “uninstall” will be run on both app deactivation and app deinstallation.

Is there a way to explicitly identify if a deactivation (i. e. assuming an app will be re-activated at a later date) or a deinstallation is taking place when the repair step is run?

Thank you very much!
With best regards,
Fabian

From an API perspective it looks like this distinction is not possible right now.