2024-12-06 11:15:32 +02:00
|
|
|
import { type QRCodeDocument } from '@hereconnect/types'
|
|
|
|
|
|
|
|
|
|
export type QrCodePlacement = QRCodeDocument['placement']
|
|
|
|
|
|
2024-11-19 16:00:20 +02:00
|
|
|
export const qrCodePlacements = [
|
|
|
|
|
{ type: 'car', label: 'Автомобиль' },
|
|
|
|
|
{ type: 'pet', label: 'Питомец' },
|
|
|
|
|
{ type: 'door', label: 'Входная дверь дома или квартиры' },
|
|
|
|
|
{ type: 'store', label: 'Магазин' },
|
|
|
|
|
{ type: 'restaurant_table', label: 'Стол в кафе или ресторане' },
|
|
|
|
|
{ type: 'other', label: 'Другое' },
|
2024-12-06 11:15:32 +02:00
|
|
|
] as const satisfies { type: QrCodePlacement; label: string }[]
|