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 +}