@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user