test web push
Main daploy / deploy (push) Successful in 45s

This commit is contained in:
2024-11-21 16:11:23 +02:00
parent 14e8a349e6
commit 75be87c144
14 changed files with 438 additions and 63 deletions
@@ -1,8 +1,13 @@
export const DELIVERY_METHOD_TELEGRAM = 'telegram'
export const DELIVERY_METHOD_WEB_PUSH = 'webPush'
// Массив вариантов доставки
export const deliveryOptions = [
{
label: 'В браузере (push-уведомления)',
method: 'webPushSubscription',
method: DELIVERY_METHOD_WEB_PUSH,
},
{ label: 'Telegram', method: 'telegram' },
{ label: 'Telegram', method: DELIVERY_METHOD_TELEGRAM },
] as const
export type DeliveryOption = (typeof deliveryOptions)[number]