TeqFW plugin to use WebPush API in teq-apps.
npm install @teqfw/web-push| CAUTION: TeqFW is an unstable project without backward compatibility. Use it at your own risk. |
|------------------------------------------------------------------------------------------------|
This teq plugin adds WebPush functionality to Tequila Framework apps.
* TeqFw_Web_Push_Back_Cli_Key_Create: Creates VAPID keys to use for server authentication within the WebPush API.
* TeqFw_Web_Push_Back_Cli_Send: Sends WebPush notifications to the specified front.
``json`
{
"@teqfw/web-push": {
"email": "user@email.com"
}
}
* web_push_subscript: The subscriptions with keys used to send notifications using the WebPush API.
* TeqFw_Web_Push_Back_Web_Api_Key_Load: Loads WebPush subscription keys from the back.TeqFw_Web_Push_Back_Web_Api_Subscript_Create
* : Creates the WebPush subscription on the back.TeqFw_Web_Push_Back_Web_Api_Subscript_Delete
* : Deletes the WebPush subscription on the back.
#### Front
* TeqFw_Web_Push_Front_Mod_Subscription`: The WebPush subscription model encapsulates the logic to work with the
WebPush API.