[+] Create token interface
This commit is contained in:
@@ -55,6 +55,15 @@ export interface Course
|
|||||||
assignments: Assignment[]
|
assignments: Assignment[]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A login token
|
||||||
|
*/
|
||||||
|
export interface Token
|
||||||
|
{
|
||||||
|
token: string,
|
||||||
|
user: string
|
||||||
|
}
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
components: {Login, Navigation, Overall},
|
components: {Login, Navigation, Overall},
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user