From b676129ec2093e454b855278f72e7b435b2ab953 Mon Sep 17 00:00:00 2001 From: Fedorov Vladimir Date: Fri, 20 Mar 2026 23:56:16 +0700 Subject: [PATCH] add Application model --- src/components/GameWindow.vue | 7 ++----- src/components/application.ts | 8 ++++++++ 2 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 src/components/application.ts diff --git a/src/components/GameWindow.vue b/src/components/GameWindow.vue index fa904fc..c49421a 100644 --- a/src/components/GameWindow.vue +++ b/src/components/GameWindow.vue @@ -6,14 +6,11 @@ import VueQrcode from '@chenfengyuan/vue-qrcode'; import BeltBlock from './BeltBlock.vue'; import MetalPlate from './MetalPlate.vue'; import GameHeader from './GameHeader.vue'; +import type { Application } from './application'; const router = useRouter(); const route = useRoute(); -type Application = { - name: string -} - type Door = { code: string name: string @@ -270,7 +267,7 @@ onMounted(() => {
diff --git a/src/components/application.ts b/src/components/application.ts new file mode 100644 index 0000000..257315b --- /dev/null +++ b/src/components/application.ts @@ -0,0 +1,8 @@ +// Приложение +// Улики найденые игроками (Карта, фотография...) +export type Application = { + // Наименование + name: string + // Номер + number: number +}