add session id in interface

This commit is contained in:
Gregory Brzezinski 2023-01-13 17:28:24 +03:00
parent bdd65e163e
commit 4f0ebb1d48

View File

@ -10,6 +10,7 @@ import { GoGetSessions } from 'src/app/services/go';
export class MenuSessionsComponent implements OnInit { export class MenuSessionsComponent implements OnInit {
fakeSessions: Session[] = [ fakeSessions: Session[] = [
{ {
skirdaSessionId: 'a',
gameId: 'minecraft-001', gameId: 'minecraft-001',
icon: '/assets/games/minecraft/icon.png', icon: '/assets/games/minecraft/icon.png',
title: 'Minecraft', title: 'Minecraft',
@ -18,6 +19,7 @@ export class MenuSessionsComponent implements OnInit {
expires: new Date('2022-10-30'), expires: new Date('2022-10-30'),
}, },
{ {
skirdaSessionId: 'b',
gameId: 'minecraft-002', gameId: 'minecraft-002',
icon: '/assets/games/garrysmod/icon.png', icon: '/assets/games/garrysmod/icon.png',
title: 'Minecraft 2', title: 'Minecraft 2',
@ -25,6 +27,7 @@ export class MenuSessionsComponent implements OnInit {
expires: new Date('2022-10-27T20:00:00'), expires: new Date('2022-10-27T20:00:00'),
}, },
{ {
skirdaSessionId: 'c',
gameId: 'minecraft-003', gameId: 'minecraft-003',
icon: '/assets/games/minecraft/icon.png', icon: '/assets/games/minecraft/icon.png',
title: 'Minecraft 3', title: 'Minecraft 3',