[lib] Add an alert to the lib config
Summary:
This will simplify showing alerts from our operations processing code.
Test Plan: Call these utils inside operations processing code and check if the alerts are shown on both web and native.
Reviewers: kamil, angelika
Reviewed By: kamil
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D13724