create qr-codes by tg bot
Deploy app frontend / app frontend (push) Failing after 48s
Deploy db-migrations / db-migrations (push) Failing after 35s
Deploy service message-delivery-method-web-push / service message-delivery-method-web-push (push) Failing after 53s

This commit is contained in:
2024-12-10 13:21:38 +02:00
parent e9b3df38fe
commit 1810c550ba
91 changed files with 3317 additions and 1909 deletions
+1
View File
@@ -0,0 +1 @@
dist
+26
View File
@@ -0,0 +1,26 @@
{
"name": "@hereconnect/constants",
"version": "1.0.0",
"main": "dist/index.js",
"types": "dist/index.ts",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"files": ["dist/**/*"],
"private": true,
"scripts": {
"lint": "tsc --noEmit src/index.ts",
"build": "tsc",
"prepare": "npm run build"
},
"devDependencies": {
"@hereconnect/types": "workspace:^"
},
"peerDependencies": {
"typescript": "~5.6.3"
}
}
+1
View File
@@ -0,0 +1 @@
export const EPOCH = 1731661630981;
+2
View File
@@ -0,0 +1,2 @@
export * from "./qrCodePlacements";
export * from "./EPOCH";
@@ -0,0 +1,12 @@
import { type QRCodeDocument } from '@hereconnect/types'
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 }[]
+14
View File
@@ -0,0 +1,14 @@
{
"compilerOptions": {
"declaration": true,
"target": "ES2020",
"module": "ESNext",
"moduleResolution": "node",
"outDir": "./dist",
"strict": true,
"types": [],
"skipLibCheck": true
},
"include": ["src/index.ts"],
"exclude": ["node_modules", "dist"]
}