добавлен placement document и key
This commit is contained in:
@@ -10,7 +10,9 @@ export const defaultMessages = {
|
||||
"Произошло ДТП",
|
||||
],
|
||||
pet: ["Нашёлся ваш питомец"],
|
||||
door: ["Я рядом с дверью"],
|
||||
document: ["Нашли ваши документы"],
|
||||
key: ["Нашли ваши ключи"],
|
||||
door: ["Я рядом с дверью", "Ваш заказ доставлен"],
|
||||
store: ["Подойдите к кассе", "Вопрос по товару", "Помощь с покупкой"],
|
||||
restaurant_table: [
|
||||
"Позовите официанта",
|
||||
|
||||
@@ -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 }[];
|
||||
|
||||
Reference in New Issue
Block a user