add team
This commit is contained in:
parent
dd41cd08dd
commit
80d581e3b6
@ -8,15 +8,11 @@ import MetalPlate from './MetalPlate.vue';
|
|||||||
import GameHeader from './GameHeader.vue';
|
import GameHeader from './GameHeader.vue';
|
||||||
import type { Action } from './action';
|
import type { Action } from './action';
|
||||||
import type { Door } from './door';
|
import type { Door } from './door';
|
||||||
|
import type { Team } from './team';
|
||||||
|
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
|
|
||||||
type Team = {
|
|
||||||
name: string
|
|
||||||
actions: Action[]
|
|
||||||
}
|
|
||||||
|
|
||||||
const inputPlace = ref(false)
|
const inputPlace = ref(false)
|
||||||
const login = ref("")
|
const login = ref("")
|
||||||
const password = ref("")
|
const password = ref("")
|
||||||
|
|||||||
9
src/components/team.ts
Normal file
9
src/components/team.ts
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
import type { Action } from './action'
|
||||||
|
|
||||||
|
// Команда
|
||||||
|
export type Team = {
|
||||||
|
// Название
|
||||||
|
name: string
|
||||||
|
// Совершенные действия
|
||||||
|
actions: Action[]
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user