select predefined messages
Deploy db-migrations / db-migrations (push) Successful in 49s
Deploy service message-delivery-method-web-push / service message-delivery-method-web-push (push) Successful in 1m9s
Deploy app frontend / app frontend (push) Successful in 1m53s
Deploy service tg-bot / service tg-bot (push) Successful in 1m36s

This commit is contained in:
2024-12-17 02:41:14 +02:00
parent c1edb1937f
commit 0e37ebfe5f
15 changed files with 630 additions and 70 deletions
+20
View File
@@ -0,0 +1,20 @@
// Предустановленные сообщения по типу размещения
export const defaultMessages = {
car: [
'Ваш автомобиль мешает',
'Выключите свет',
'Спустило колесо',
'Подойдите к вашей машине',
'Эвакуатор',
],
pet: ['Нашёлся ваш питомец'],
door: ['Я рядом с дверью'],
store: ['Подойдите к кассе', 'Вопрос по товару', 'Помощь с покупкой'],
restaurant_table: [
'Позовите официанта',
'Принести меню',
'Принести счёт',
'Пожаловаться на обслуживание',
],
other: [],
} as const
+1
View File
@@ -1,2 +1,3 @@
export { qrCodePlacements, type QrCodePlacement } from "./qrCodePlacements";
export { EPOCH } from "./EPOCH";
export { defaultMessages } from "./defaultMessages";