добавлен placement document и key
Deploy app frontend / app frontend (push) Successful in 2m44s
Deploy service tg-bot / service tg-bot (push) Has been cancelled

This commit is contained in:
2025-01-02 11:29:32 +02:00
parent 36e3292f03
commit e29c7c1ff4
3 changed files with 23 additions and 11 deletions
+3 -1
View File
@@ -10,7 +10,9 @@ export const defaultMessages = {
"Произошло ДТП",
],
pet: ["Нашёлся ваш питомец"],
door: ["Я рядом с дверью"],
document: ["Нашли ваши документы"],
key: ["Нашли ваши ключи"],
door: ["Я рядом с дверью", "Ваш заказ доставлен"],
store: ["Подойдите к кассе", "Вопрос по товару", "Помощь с покупкой"],
restaurant_table: [
"Позовите официанта",
+11 -9
View File
@@ -1,12 +1,14 @@
import { type QRCodeDocument } from '@hereconnect/types'
import { type QRCodeDocument } from "@hereconnect/types";
export type QrCodePlacement = QRCodeDocument['placement']
export type QrCodePlacement = QRCodeDocument["placement"];
export const qrCodePlacements = [
{ type: 'car', label: 'Автомобиль' },
{ type: 'pet', label: 'Питомец' },
{ type: 'door', label: 'Входная дверь дома или квартиры' },
{ type: 'store', label: 'Магазин' },
{ type: 'restaurant_table', label: 'Стол в кафе или ресторане' },
{ type: 'other', label: 'Другое' },
] as const satisfies { type: QrCodePlacement; label: string }[]
{ type: "car", label: "Автомобиль" },
{ type: "pet", label: "Питомец" },
{ type: "document", label: "Документ (паспорт, права, и т.д.)" },
{ type: "key", label: "Ключи" },
{ type: "door", label: "Входная дверь дома или квартиры" },
{ type: "store", label: "Магазин" },
{ type: "restaurant_table", label: "Стол в кафе или ресторане" },
{ type: "other", label: "Другое" },
] as const satisfies { type: QrCodePlacement; label: string }[];