From 21533ee9f9398714a6543efef771b2415b53257a Mon Sep 17 00:00:00 2001 From: Thomas Peetz Date: Fri, 19 Sep 2025 00:17:04 +0200 Subject: [PATCH] add links for tysc types --- .../tysc-cardsets.component.css} | 0 .../tysc-cardsets.component.html | 1 + .../tysc-cardsets.component.spec.ts} | 12 +++++----- .../tysc-cardsets/tysc-cardsets.component.ts | 11 +++++++++ .../tysc-players/tysc-players.component.css} | 0 .../tysc-players/tysc-players.component.html | 1 + .../tysc-players.component.spec.ts} | 12 +++++----- .../tysc-players/tysc-players.component.ts | 11 +++++++++ .../tysc-positions.component.css} | 0 .../tysc-positions.component.html | 1 + .../tysc-positions.component.spec.ts} | 12 +++++----- .../tysc-positions.component.ts | 11 +++++++++ .../tysc-section/tysc-section.component.html | 1 + .../tysc-section/tysc-section.component.ts | 3 ++- .../tysc/tysc-section/tysc-section.routes.ts | 20 ++++++++-------- .../tysc/tysc-sports}/sport.model.ts | 0 .../tysc/tysc-sports}/sport.service.ts | 4 ++-- .../tysc-sports/tysc-sports.component.css} | 0 .../tysc-sports/tysc-sports.component.html} | 1 + .../tysc-sports.component.spec.ts} | 12 +++++----- .../tysc-sports/tysc-sports.component.ts} | 13 +++++------ .../tysc/tysc-team/tysc-team.component.css} | 0 .../tysc/tysc-team/tysc-team.component.html | 1 + .../tysc-team/tysc-team.component.spec.ts} | 12 +++++----- .../tysc/tysc-team/tysc-team.component.ts | 11 +++++++++ .../tysc/tysc-teams/tysc-teams.component.css} | 0 .../tysc/tysc-teams/tysc-teams.component.html | 1 + .../tysc-teams/tysc-teams.component.spec.ts} | 12 +++++----- .../tysc/tysc-teams/tysc-teams.component.ts | 11 +++++++++ .../tysc-vendors/tysc-vendors.component.css} | 0 .../tysc-vendors/tysc-vendors.component.html | 1 + .../tysc-vendors.component.spec.ts | 23 +++++++++++++++++++ .../tysc-vendors/tysc-vendors.component.ts | 11 +++++++++ .../cardset-list/cardset-list.component.html | 1 - .../cardset-list/cardset-list.component.ts | 11 --------- .../player-list/player-list.component.html | 1 - .../player-list/player-list.component.ts | 11 --------- .../position-list.component.html | 1 - .../position-list/position-list.component.ts | 11 --------- .../sport-selector.component.html | 1 - .../sport-selector.component.ts | 11 --------- .../team/team-list/team-list.component.html | 1 - .../team/team-list/team-list.component.ts | 11 --------- .../vendor-list/vendor-list.component.html | 1 - .../vendor-list/vendor-list.component.spec.ts | 23 ------------------- .../vendor-list/vendor-list.component.ts | 11 --------- 46 files changed, 153 insertions(+), 151 deletions(-) rename kontor-angular/src/app/{tysc/cardset/cardset-list/cardset-list.component.css => kontor/tysc/tysc-cardsets/tysc-cardsets.component.css} (100%) create mode 100644 kontor-angular/src/app/kontor/tysc/tysc-cardsets/tysc-cardsets.component.html rename kontor-angular/src/app/{tysc/position/position-list/position-list.component.spec.ts => kontor/tysc/tysc-cardsets/tysc-cardsets.component.spec.ts} (52%) create mode 100644 kontor-angular/src/app/kontor/tysc/tysc-cardsets/tysc-cardsets.component.ts rename kontor-angular/src/app/{tysc/player/player-list/player-list.component.css => kontor/tysc/tysc-players/tysc-players.component.css} (100%) create mode 100644 kontor-angular/src/app/kontor/tysc/tysc-players/tysc-players.component.html rename kontor-angular/src/app/{tysc/cardset/cardset-list/cardset-list.component.spec.ts => kontor/tysc/tysc-players/tysc-players.component.spec.ts} (52%) create mode 100644 kontor-angular/src/app/kontor/tysc/tysc-players/tysc-players.component.ts rename kontor-angular/src/app/{tysc/position/position-list/position-list.component.css => kontor/tysc/tysc-positions/tysc-positions.component.css} (100%) create mode 100644 kontor-angular/src/app/kontor/tysc/tysc-positions/tysc-positions.component.html rename kontor-angular/src/app/{tysc/sport/sport-selector/sport-selector.component.spec.ts => kontor/tysc/tysc-positions/tysc-positions.component.spec.ts} (52%) create mode 100644 kontor-angular/src/app/kontor/tysc/tysc-positions/tysc-positions.component.ts rename kontor-angular/src/app/{tysc/sport => kontor/tysc/tysc-sports}/sport.model.ts (100%) rename kontor-angular/src/app/{tysc/sport => kontor/tysc/tysc-sports}/sport.service.ts (93%) rename kontor-angular/src/app/{tysc/sport/sport-list/sport-list.component.css => kontor/tysc/tysc-sports/tysc-sports.component.css} (100%) rename kontor-angular/src/app/{tysc/sport/sport-list/sport-list.component.html => kontor/tysc/tysc-sports/tysc-sports.component.html} (83%) rename kontor-angular/src/app/{tysc/player/player-list/player-list.component.spec.ts => kontor/tysc/tysc-sports/tysc-sports.component.spec.ts} (52%) rename kontor-angular/src/app/{tysc/sport/sport-list/sport-list.component.ts => kontor/tysc/tysc-sports/tysc-sports.component.ts} (73%) rename kontor-angular/src/app/{tysc/sport/sport-selector/sport-selector.component.css => kontor/tysc/tysc-team/tysc-team.component.css} (100%) create mode 100644 kontor-angular/src/app/kontor/tysc/tysc-team/tysc-team.component.html rename kontor-angular/src/app/{tysc/team/team-list/team-list.component.spec.ts => kontor/tysc/tysc-team/tysc-team.component.spec.ts} (54%) create mode 100644 kontor-angular/src/app/kontor/tysc/tysc-team/tysc-team.component.ts rename kontor-angular/src/app/{tysc/team/team-list/team-list.component.css => kontor/tysc/tysc-teams/tysc-teams.component.css} (100%) create mode 100644 kontor-angular/src/app/kontor/tysc/tysc-teams/tysc-teams.component.html rename kontor-angular/src/app/{tysc/sport/sport-list/sport-list.component.spec.ts => kontor/tysc/tysc-teams/tysc-teams.component.spec.ts} (53%) create mode 100644 kontor-angular/src/app/kontor/tysc/tysc-teams/tysc-teams.component.ts rename kontor-angular/src/app/{tysc/vendor/vendor-list/vendor-list.component.css => kontor/tysc/tysc-vendors/tysc-vendors.component.css} (100%) create mode 100644 kontor-angular/src/app/kontor/tysc/tysc-vendors/tysc-vendors.component.html create mode 100644 kontor-angular/src/app/kontor/tysc/tysc-vendors/tysc-vendors.component.spec.ts create mode 100644 kontor-angular/src/app/kontor/tysc/tysc-vendors/tysc-vendors.component.ts delete mode 100644 kontor-angular/src/app/tysc/cardset/cardset-list/cardset-list.component.html delete mode 100644 kontor-angular/src/app/tysc/cardset/cardset-list/cardset-list.component.ts delete mode 100644 kontor-angular/src/app/tysc/player/player-list/player-list.component.html delete mode 100644 kontor-angular/src/app/tysc/player/player-list/player-list.component.ts delete mode 100644 kontor-angular/src/app/tysc/position/position-list/position-list.component.html delete mode 100644 kontor-angular/src/app/tysc/position/position-list/position-list.component.ts delete mode 100644 kontor-angular/src/app/tysc/sport/sport-selector/sport-selector.component.html delete mode 100644 kontor-angular/src/app/tysc/sport/sport-selector/sport-selector.component.ts delete mode 100644 kontor-angular/src/app/tysc/team/team-list/team-list.component.html delete mode 100644 kontor-angular/src/app/tysc/team/team-list/team-list.component.ts delete mode 100644 kontor-angular/src/app/tysc/vendor/vendor-list/vendor-list.component.html delete mode 100644 kontor-angular/src/app/tysc/vendor/vendor-list/vendor-list.component.spec.ts delete mode 100644 kontor-angular/src/app/tysc/vendor/vendor-list/vendor-list.component.ts diff --git a/kontor-angular/src/app/tysc/cardset/cardset-list/cardset-list.component.css b/kontor-angular/src/app/kontor/tysc/tysc-cardsets/tysc-cardsets.component.css similarity index 100% rename from kontor-angular/src/app/tysc/cardset/cardset-list/cardset-list.component.css rename to kontor-angular/src/app/kontor/tysc/tysc-cardsets/tysc-cardsets.component.css diff --git a/kontor-angular/src/app/kontor/tysc/tysc-cardsets/tysc-cardsets.component.html b/kontor-angular/src/app/kontor/tysc/tysc-cardsets/tysc-cardsets.component.html new file mode 100644 index 0000000..72cccd1 --- /dev/null +++ b/kontor-angular/src/app/kontor/tysc/tysc-cardsets/tysc-cardsets.component.html @@ -0,0 +1 @@ +

tysc-cardsets works!

diff --git a/kontor-angular/src/app/tysc/position/position-list/position-list.component.spec.ts b/kontor-angular/src/app/kontor/tysc/tysc-cardsets/tysc-cardsets.component.spec.ts similarity index 52% rename from kontor-angular/src/app/tysc/position/position-list/position-list.component.spec.ts rename to kontor-angular/src/app/kontor/tysc/tysc-cardsets/tysc-cardsets.component.spec.ts index 9034de6..b01812b 100644 --- a/kontor-angular/src/app/tysc/position/position-list/position-list.component.spec.ts +++ b/kontor-angular/src/app/kontor/tysc/tysc-cardsets/tysc-cardsets.component.spec.ts @@ -1,18 +1,18 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; -import { PositionListComponent } from './position-list.component'; +import { TyscCardsetsComponent } from './tysc-cardsets.component'; -describe('PositionListComponent', () => { - let component: PositionListComponent; - let fixture: ComponentFixture; +describe('TyscCardsetsComponent', () => { + let component: TyscCardsetsComponent; + let fixture: ComponentFixture; beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [PositionListComponent] + imports: [TyscCardsetsComponent] }) .compileComponents(); - fixture = TestBed.createComponent(PositionListComponent); + fixture = TestBed.createComponent(TyscCardsetsComponent); component = fixture.componentInstance; fixture.detectChanges(); }); diff --git a/kontor-angular/src/app/kontor/tysc/tysc-cardsets/tysc-cardsets.component.ts b/kontor-angular/src/app/kontor/tysc/tysc-cardsets/tysc-cardsets.component.ts new file mode 100644 index 0000000..fc3bc35 --- /dev/null +++ b/kontor-angular/src/app/kontor/tysc/tysc-cardsets/tysc-cardsets.component.ts @@ -0,0 +1,11 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-tysc-cardsets', + imports: [], + templateUrl: './tysc-cardsets.component.html', + styleUrl: './tysc-cardsets.component.css' +}) +export class TyscCardsetsComponent { + +} diff --git a/kontor-angular/src/app/tysc/player/player-list/player-list.component.css b/kontor-angular/src/app/kontor/tysc/tysc-players/tysc-players.component.css similarity index 100% rename from kontor-angular/src/app/tysc/player/player-list/player-list.component.css rename to kontor-angular/src/app/kontor/tysc/tysc-players/tysc-players.component.css diff --git a/kontor-angular/src/app/kontor/tysc/tysc-players/tysc-players.component.html b/kontor-angular/src/app/kontor/tysc/tysc-players/tysc-players.component.html new file mode 100644 index 0000000..e5c03a6 --- /dev/null +++ b/kontor-angular/src/app/kontor/tysc/tysc-players/tysc-players.component.html @@ -0,0 +1 @@ +

tysc-players works!

diff --git a/kontor-angular/src/app/tysc/cardset/cardset-list/cardset-list.component.spec.ts b/kontor-angular/src/app/kontor/tysc/tysc-players/tysc-players.component.spec.ts similarity index 52% rename from kontor-angular/src/app/tysc/cardset/cardset-list/cardset-list.component.spec.ts rename to kontor-angular/src/app/kontor/tysc/tysc-players/tysc-players.component.spec.ts index c957e68..eb0ac63 100644 --- a/kontor-angular/src/app/tysc/cardset/cardset-list/cardset-list.component.spec.ts +++ b/kontor-angular/src/app/kontor/tysc/tysc-players/tysc-players.component.spec.ts @@ -1,18 +1,18 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; -import { CardsetListComponent } from './cardset-list.component'; +import { TyscPlayersComponent } from './tysc-players.component'; -describe('CardsetListComponent', () => { - let component: CardsetListComponent; - let fixture: ComponentFixture; +describe('TyscPlayersComponent', () => { + let component: TyscPlayersComponent; + let fixture: ComponentFixture; beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [CardsetListComponent] + imports: [TyscPlayersComponent] }) .compileComponents(); - fixture = TestBed.createComponent(CardsetListComponent); + fixture = TestBed.createComponent(TyscPlayersComponent); component = fixture.componentInstance; fixture.detectChanges(); }); diff --git a/kontor-angular/src/app/kontor/tysc/tysc-players/tysc-players.component.ts b/kontor-angular/src/app/kontor/tysc/tysc-players/tysc-players.component.ts new file mode 100644 index 0000000..230670e --- /dev/null +++ b/kontor-angular/src/app/kontor/tysc/tysc-players/tysc-players.component.ts @@ -0,0 +1,11 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-tysc-players', + imports: [], + templateUrl: './tysc-players.component.html', + styleUrl: './tysc-players.component.css' +}) +export class TyscPlayersComponent { + +} diff --git a/kontor-angular/src/app/tysc/position/position-list/position-list.component.css b/kontor-angular/src/app/kontor/tysc/tysc-positions/tysc-positions.component.css similarity index 100% rename from kontor-angular/src/app/tysc/position/position-list/position-list.component.css rename to kontor-angular/src/app/kontor/tysc/tysc-positions/tysc-positions.component.css diff --git a/kontor-angular/src/app/kontor/tysc/tysc-positions/tysc-positions.component.html b/kontor-angular/src/app/kontor/tysc/tysc-positions/tysc-positions.component.html new file mode 100644 index 0000000..1348c4f --- /dev/null +++ b/kontor-angular/src/app/kontor/tysc/tysc-positions/tysc-positions.component.html @@ -0,0 +1 @@ +

tysc-positions works!

diff --git a/kontor-angular/src/app/tysc/sport/sport-selector/sport-selector.component.spec.ts b/kontor-angular/src/app/kontor/tysc/tysc-positions/tysc-positions.component.spec.ts similarity index 52% rename from kontor-angular/src/app/tysc/sport/sport-selector/sport-selector.component.spec.ts rename to kontor-angular/src/app/kontor/tysc/tysc-positions/tysc-positions.component.spec.ts index 1bc65be..97425a7 100644 --- a/kontor-angular/src/app/tysc/sport/sport-selector/sport-selector.component.spec.ts +++ b/kontor-angular/src/app/kontor/tysc/tysc-positions/tysc-positions.component.spec.ts @@ -1,18 +1,18 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; -import { SportSelectorComponent } from './sport-selector.component'; +import { TyscPositionsComponent } from './tysc-positions.component'; -describe('SportSelectorComponent', () => { - let component: SportSelectorComponent; - let fixture: ComponentFixture; +describe('TyscPositionsComponent', () => { + let component: TyscPositionsComponent; + let fixture: ComponentFixture; beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [SportSelectorComponent] + imports: [TyscPositionsComponent] }) .compileComponents(); - fixture = TestBed.createComponent(SportSelectorComponent); + fixture = TestBed.createComponent(TyscPositionsComponent); component = fixture.componentInstance; fixture.detectChanges(); }); diff --git a/kontor-angular/src/app/kontor/tysc/tysc-positions/tysc-positions.component.ts b/kontor-angular/src/app/kontor/tysc/tysc-positions/tysc-positions.component.ts new file mode 100644 index 0000000..c77f1d3 --- /dev/null +++ b/kontor-angular/src/app/kontor/tysc/tysc-positions/tysc-positions.component.ts @@ -0,0 +1,11 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-tysc-positions', + imports: [], + templateUrl: './tysc-positions.component.html', + styleUrl: './tysc-positions.component.css' +}) +export class TyscPositionsComponent { + +} diff --git a/kontor-angular/src/app/kontor/tysc/tysc-section/tysc-section.component.html b/kontor-angular/src/app/kontor/tysc/tysc-section/tysc-section.component.html index 7acac9b..4b8a158 100644 --- a/kontor-angular/src/app/kontor/tysc/tysc-section/tysc-section.component.html +++ b/kontor-angular/src/app/kontor/tysc/tysc-section/tysc-section.component.html @@ -1,2 +1,3 @@ + diff --git a/kontor-angular/src/app/kontor/tysc/tysc-section/tysc-section.component.ts b/kontor-angular/src/app/kontor/tysc/tysc-section/tysc-section.component.ts index 9128136..bb33bc2 100644 --- a/kontor-angular/src/app/kontor/tysc/tysc-section/tysc-section.component.ts +++ b/kontor-angular/src/app/kontor/tysc/tysc-section/tysc-section.component.ts @@ -1,10 +1,11 @@ import { Component } from '@angular/core'; import { TyscNavigationComponent } from "../tysc-navigation/tysc-navigation.component"; import { RouterOutlet } from '@angular/router'; +import { TyscSportsComponent } from "../tysc-sports/tysc-sports.component"; @Component({ selector: 'app-tysc-section', - imports: [TyscNavigationComponent, RouterOutlet], + imports: [TyscNavigationComponent, RouterOutlet, TyscSportsComponent], templateUrl: './tysc-section.component.html', styleUrl: './tysc-section.component.css' }) diff --git a/kontor-angular/src/app/kontor/tysc/tysc-section/tysc-section.routes.ts b/kontor-angular/src/app/kontor/tysc/tysc-section/tysc-section.routes.ts index 87f2079..6f2a995 100644 --- a/kontor-angular/src/app/kontor/tysc/tysc-section/tysc-section.routes.ts +++ b/kontor-angular/src/app/kontor/tysc/tysc-section/tysc-section.routes.ts @@ -1,29 +1,29 @@ import { Routes } from "@angular/router"; -import { TeamListComponent } from "../../../tysc/team/team-list/team-list.component"; -import { PlayerListComponent } from "../../../tysc/player/player-list/player-list.component"; -import { PositionListComponent } from "../../../tysc/position/position-list/position-list.component"; -import { CardsetListComponent } from "../../../tysc/cardset/cardset-list/cardset-list.component"; -import { VendorListComponent } from "../../../tysc/vendor/vendor-list/vendor-list.component"; +import { TyscTeamsComponent } from "../tysc-teams/tysc-teams.component"; +import { TyscPlayersComponent } from "../tysc-players/tysc-players.component"; +import { TyscPositionsComponent } from "../tysc-positions/tysc-positions.component"; +import { TyscVendorsComponent } from "../tysc-vendors/tysc-vendors.component"; +import { TyscCardsetsComponent } from "../tysc-cardsets/tysc-cardsets.component"; export const tyscRoutes: Routes = [ { path: 'team', - component: TeamListComponent + component: TyscTeamsComponent }, { path: 'player', - component: PlayerListComponent + component: TyscPlayersComponent }, { path: 'position', - component: PositionListComponent + component: TyscPositionsComponent }, { path: 'cardset', - component: CardsetListComponent + component: TyscCardsetsComponent }, { path: 'vendor', - component: VendorListComponent + component: TyscVendorsComponent }, ]; diff --git a/kontor-angular/src/app/tysc/sport/sport.model.ts b/kontor-angular/src/app/kontor/tysc/tysc-sports/sport.model.ts similarity index 100% rename from kontor-angular/src/app/tysc/sport/sport.model.ts rename to kontor-angular/src/app/kontor/tysc/tysc-sports/sport.model.ts diff --git a/kontor-angular/src/app/tysc/sport/sport.service.ts b/kontor-angular/src/app/kontor/tysc/tysc-sports/sport.service.ts similarity index 93% rename from kontor-angular/src/app/tysc/sport/sport.service.ts rename to kontor-angular/src/app/kontor/tysc/tysc-sports/sport.service.ts index 31945dd..bae168c 100644 --- a/kontor-angular/src/app/tysc/sport/sport.service.ts +++ b/kontor-angular/src/app/kontor/tysc/tysc-sports/sport.service.ts @@ -1,8 +1,8 @@ import { HttpClient } from "@angular/common/http"; import { inject, Injectable, signal } from "@angular/core"; -import { Sport } from "./sport.model"; import { catchError, map, throwError } from "rxjs"; -import { ErrorService } from "../../shared/error.service"; +import { ErrorService } from "../../../shared/error.service"; +import { Sport } from "./sport.model"; @Injectable({ providedIn: 'root', diff --git a/kontor-angular/src/app/tysc/sport/sport-list/sport-list.component.css b/kontor-angular/src/app/kontor/tysc/tysc-sports/tysc-sports.component.css similarity index 100% rename from kontor-angular/src/app/tysc/sport/sport-list/sport-list.component.css rename to kontor-angular/src/app/kontor/tysc/tysc-sports/tysc-sports.component.css diff --git a/kontor-angular/src/app/tysc/sport/sport-list/sport-list.component.html b/kontor-angular/src/app/kontor/tysc/tysc-sports/tysc-sports.component.html similarity index 83% rename from kontor-angular/src/app/tysc/sport/sport-list/sport-list.component.html rename to kontor-angular/src/app/kontor/tysc/tysc-sports/tysc-sports.component.html index 36f5c85..1f62960 100644 --- a/kontor-angular/src/app/tysc/sport/sport-list/sport-list.component.html +++ b/kontor-angular/src/app/kontor/tysc/tysc-sports/tysc-sports.component.html @@ -1,3 +1,4 @@ +

tysc-sports works!

sport-list works!

    @for (sport of sports(); track sport.id) { diff --git a/kontor-angular/src/app/tysc/player/player-list/player-list.component.spec.ts b/kontor-angular/src/app/kontor/tysc/tysc-sports/tysc-sports.component.spec.ts similarity index 52% rename from kontor-angular/src/app/tysc/player/player-list/player-list.component.spec.ts rename to kontor-angular/src/app/kontor/tysc/tysc-sports/tysc-sports.component.spec.ts index 0d08ee9..5854048 100644 --- a/kontor-angular/src/app/tysc/player/player-list/player-list.component.spec.ts +++ b/kontor-angular/src/app/kontor/tysc/tysc-sports/tysc-sports.component.spec.ts @@ -1,18 +1,18 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; -import { PlayerListComponent } from './player-list.component'; +import { TyscSportsComponent } from './tysc-sports.component'; -describe('PlayerListComponent', () => { - let component: PlayerListComponent; - let fixture: ComponentFixture; +describe('TyscSportsComponent', () => { + let component: TyscSportsComponent; + let fixture: ComponentFixture; beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [PlayerListComponent] + imports: [TyscSportsComponent] }) .compileComponents(); - fixture = TestBed.createComponent(PlayerListComponent); + fixture = TestBed.createComponent(TyscSportsComponent); component = fixture.componentInstance; fixture.detectChanges(); }); diff --git a/kontor-angular/src/app/tysc/sport/sport-list/sport-list.component.ts b/kontor-angular/src/app/kontor/tysc/tysc-sports/tysc-sports.component.ts similarity index 73% rename from kontor-angular/src/app/tysc/sport/sport-list/sport-list.component.ts rename to kontor-angular/src/app/kontor/tysc/tysc-sports/tysc-sports.component.ts index a22dd75..7808133 100644 --- a/kontor-angular/src/app/tysc/sport/sport-list/sport-list.component.ts +++ b/kontor-angular/src/app/kontor/tysc/tysc-sports/tysc-sports.component.ts @@ -1,14 +1,14 @@ import { Component, DestroyRef, inject, OnInit, signal } from '@angular/core'; -import { Sport } from '../sport.model'; -import { SportService } from '../sport.service'; +import { Sport } from './sport.model'; +import { SportService } from './sport.service'; @Component({ - selector: 'app-sport-list', + selector: 'app-tysc-sports', imports: [], - templateUrl: './sport-list.component.html', - styleUrl: './sport-list.component.css' + templateUrl: './tysc-sports.component.html', + styleUrl: './tysc-sports.component.css' }) -export class SportListComponent implements OnInit { +export class TyscSportsComponent implements OnInit { sports = signal(undefined); isFetching = signal(false); error = signal(''); @@ -34,5 +34,4 @@ export class SportListComponent implements OnInit { subscription.unsubscribe(); }); } - } diff --git a/kontor-angular/src/app/tysc/sport/sport-selector/sport-selector.component.css b/kontor-angular/src/app/kontor/tysc/tysc-team/tysc-team.component.css similarity index 100% rename from kontor-angular/src/app/tysc/sport/sport-selector/sport-selector.component.css rename to kontor-angular/src/app/kontor/tysc/tysc-team/tysc-team.component.css diff --git a/kontor-angular/src/app/kontor/tysc/tysc-team/tysc-team.component.html b/kontor-angular/src/app/kontor/tysc/tysc-team/tysc-team.component.html new file mode 100644 index 0000000..d4584d4 --- /dev/null +++ b/kontor-angular/src/app/kontor/tysc/tysc-team/tysc-team.component.html @@ -0,0 +1 @@ +

    tysc-team works!

    diff --git a/kontor-angular/src/app/tysc/team/team-list/team-list.component.spec.ts b/kontor-angular/src/app/kontor/tysc/tysc-team/tysc-team.component.spec.ts similarity index 54% rename from kontor-angular/src/app/tysc/team/team-list/team-list.component.spec.ts rename to kontor-angular/src/app/kontor/tysc/tysc-team/tysc-team.component.spec.ts index b8a8711..15d76cb 100644 --- a/kontor-angular/src/app/tysc/team/team-list/team-list.component.spec.ts +++ b/kontor-angular/src/app/kontor/tysc/tysc-team/tysc-team.component.spec.ts @@ -1,18 +1,18 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; -import { TeamListComponent } from './team-list.component'; +import { TyscTeamComponent } from './tysc-team.component'; -describe('TeamListComponent', () => { - let component: TeamListComponent; - let fixture: ComponentFixture; +describe('TyscTeamComponent', () => { + let component: TyscTeamComponent; + let fixture: ComponentFixture; beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [TeamListComponent] + imports: [TyscTeamComponent] }) .compileComponents(); - fixture = TestBed.createComponent(TeamListComponent); + fixture = TestBed.createComponent(TyscTeamComponent); component = fixture.componentInstance; fixture.detectChanges(); }); diff --git a/kontor-angular/src/app/kontor/tysc/tysc-team/tysc-team.component.ts b/kontor-angular/src/app/kontor/tysc/tysc-team/tysc-team.component.ts new file mode 100644 index 0000000..62ca09c --- /dev/null +++ b/kontor-angular/src/app/kontor/tysc/tysc-team/tysc-team.component.ts @@ -0,0 +1,11 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-tysc-team', + imports: [], + templateUrl: './tysc-team.component.html', + styleUrl: './tysc-team.component.css' +}) +export class TyscTeamComponent { + +} diff --git a/kontor-angular/src/app/tysc/team/team-list/team-list.component.css b/kontor-angular/src/app/kontor/tysc/tysc-teams/tysc-teams.component.css similarity index 100% rename from kontor-angular/src/app/tysc/team/team-list/team-list.component.css rename to kontor-angular/src/app/kontor/tysc/tysc-teams/tysc-teams.component.css diff --git a/kontor-angular/src/app/kontor/tysc/tysc-teams/tysc-teams.component.html b/kontor-angular/src/app/kontor/tysc/tysc-teams/tysc-teams.component.html new file mode 100644 index 0000000..8cfc44f --- /dev/null +++ b/kontor-angular/src/app/kontor/tysc/tysc-teams/tysc-teams.component.html @@ -0,0 +1 @@ +

    tysc-teams works!

    diff --git a/kontor-angular/src/app/tysc/sport/sport-list/sport-list.component.spec.ts b/kontor-angular/src/app/kontor/tysc/tysc-teams/tysc-teams.component.spec.ts similarity index 53% rename from kontor-angular/src/app/tysc/sport/sport-list/sport-list.component.spec.ts rename to kontor-angular/src/app/kontor/tysc/tysc-teams/tysc-teams.component.spec.ts index 7a1c646..dc60252 100644 --- a/kontor-angular/src/app/tysc/sport/sport-list/sport-list.component.spec.ts +++ b/kontor-angular/src/app/kontor/tysc/tysc-teams/tysc-teams.component.spec.ts @@ -1,18 +1,18 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; -import { SportListComponent } from './sport-list.component'; +import { TyscTeamsComponent } from './tysc-teams.component'; -describe('SportListComponent', () => { - let component: SportListComponent; - let fixture: ComponentFixture; +describe('TyscTeamsComponent', () => { + let component: TyscTeamsComponent; + let fixture: ComponentFixture; beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [SportListComponent] + imports: [TyscTeamsComponent] }) .compileComponents(); - fixture = TestBed.createComponent(SportListComponent); + fixture = TestBed.createComponent(TyscTeamsComponent); component = fixture.componentInstance; fixture.detectChanges(); }); diff --git a/kontor-angular/src/app/kontor/tysc/tysc-teams/tysc-teams.component.ts b/kontor-angular/src/app/kontor/tysc/tysc-teams/tysc-teams.component.ts new file mode 100644 index 0000000..070d4c3 --- /dev/null +++ b/kontor-angular/src/app/kontor/tysc/tysc-teams/tysc-teams.component.ts @@ -0,0 +1,11 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-tysc-teams', + imports: [], + templateUrl: './tysc-teams.component.html', + styleUrl: './tysc-teams.component.css' +}) +export class TyscTeamsComponent { + +} diff --git a/kontor-angular/src/app/tysc/vendor/vendor-list/vendor-list.component.css b/kontor-angular/src/app/kontor/tysc/tysc-vendors/tysc-vendors.component.css similarity index 100% rename from kontor-angular/src/app/tysc/vendor/vendor-list/vendor-list.component.css rename to kontor-angular/src/app/kontor/tysc/tysc-vendors/tysc-vendors.component.css diff --git a/kontor-angular/src/app/kontor/tysc/tysc-vendors/tysc-vendors.component.html b/kontor-angular/src/app/kontor/tysc/tysc-vendors/tysc-vendors.component.html new file mode 100644 index 0000000..3b47744 --- /dev/null +++ b/kontor-angular/src/app/kontor/tysc/tysc-vendors/tysc-vendors.component.html @@ -0,0 +1 @@ +

    tysc-vendors works!

    diff --git a/kontor-angular/src/app/kontor/tysc/tysc-vendors/tysc-vendors.component.spec.ts b/kontor-angular/src/app/kontor/tysc/tysc-vendors/tysc-vendors.component.spec.ts new file mode 100644 index 0000000..6bbd10f --- /dev/null +++ b/kontor-angular/src/app/kontor/tysc/tysc-vendors/tysc-vendors.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { TyscVendorsComponent } from './tysc-vendors.component'; + +describe('TyscVendorsComponent', () => { + let component: TyscVendorsComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + imports: [TyscVendorsComponent] + }) + .compileComponents(); + + fixture = TestBed.createComponent(TyscVendorsComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/kontor-angular/src/app/kontor/tysc/tysc-vendors/tysc-vendors.component.ts b/kontor-angular/src/app/kontor/tysc/tysc-vendors/tysc-vendors.component.ts new file mode 100644 index 0000000..7071433 --- /dev/null +++ b/kontor-angular/src/app/kontor/tysc/tysc-vendors/tysc-vendors.component.ts @@ -0,0 +1,11 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-tysc-vendors', + imports: [], + templateUrl: './tysc-vendors.component.html', + styleUrl: './tysc-vendors.component.css' +}) +export class TyscVendorsComponent { + +} diff --git a/kontor-angular/src/app/tysc/cardset/cardset-list/cardset-list.component.html b/kontor-angular/src/app/tysc/cardset/cardset-list/cardset-list.component.html deleted file mode 100644 index 45f5e7b..0000000 --- a/kontor-angular/src/app/tysc/cardset/cardset-list/cardset-list.component.html +++ /dev/null @@ -1 +0,0 @@ -

    cardset-list works!

    diff --git a/kontor-angular/src/app/tysc/cardset/cardset-list/cardset-list.component.ts b/kontor-angular/src/app/tysc/cardset/cardset-list/cardset-list.component.ts deleted file mode 100644 index 67d92e0..0000000 --- a/kontor-angular/src/app/tysc/cardset/cardset-list/cardset-list.component.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Component } from '@angular/core'; - -@Component({ - selector: 'app-cardset-list', - imports: [], - templateUrl: './cardset-list.component.html', - styleUrl: './cardset-list.component.css' -}) -export class CardsetListComponent { - -} diff --git a/kontor-angular/src/app/tysc/player/player-list/player-list.component.html b/kontor-angular/src/app/tysc/player/player-list/player-list.component.html deleted file mode 100644 index 66a8ec9..0000000 --- a/kontor-angular/src/app/tysc/player/player-list/player-list.component.html +++ /dev/null @@ -1 +0,0 @@ -

    player-list works!

    diff --git a/kontor-angular/src/app/tysc/player/player-list/player-list.component.ts b/kontor-angular/src/app/tysc/player/player-list/player-list.component.ts deleted file mode 100644 index 72646c0..0000000 --- a/kontor-angular/src/app/tysc/player/player-list/player-list.component.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Component } from '@angular/core'; - -@Component({ - selector: 'app-player-list', - imports: [], - templateUrl: './player-list.component.html', - styleUrl: './player-list.component.css' -}) -export class PlayerListComponent { - -} diff --git a/kontor-angular/src/app/tysc/position/position-list/position-list.component.html b/kontor-angular/src/app/tysc/position/position-list/position-list.component.html deleted file mode 100644 index 652033e..0000000 --- a/kontor-angular/src/app/tysc/position/position-list/position-list.component.html +++ /dev/null @@ -1 +0,0 @@ -

    position-list works!

    diff --git a/kontor-angular/src/app/tysc/position/position-list/position-list.component.ts b/kontor-angular/src/app/tysc/position/position-list/position-list.component.ts deleted file mode 100644 index f76b808..0000000 --- a/kontor-angular/src/app/tysc/position/position-list/position-list.component.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Component } from '@angular/core'; - -@Component({ - selector: 'app-position-list', - imports: [], - templateUrl: './position-list.component.html', - styleUrl: './position-list.component.css' -}) -export class PositionListComponent { - -} diff --git a/kontor-angular/src/app/tysc/sport/sport-selector/sport-selector.component.html b/kontor-angular/src/app/tysc/sport/sport-selector/sport-selector.component.html deleted file mode 100644 index 8339199..0000000 --- a/kontor-angular/src/app/tysc/sport/sport-selector/sport-selector.component.html +++ /dev/null @@ -1 +0,0 @@ -

    sport-selector works!

    diff --git a/kontor-angular/src/app/tysc/sport/sport-selector/sport-selector.component.ts b/kontor-angular/src/app/tysc/sport/sport-selector/sport-selector.component.ts deleted file mode 100644 index 896f350..0000000 --- a/kontor-angular/src/app/tysc/sport/sport-selector/sport-selector.component.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Component } from '@angular/core'; - -@Component({ - selector: 'app-sport-selector', - imports: [], - templateUrl: './sport-selector.component.html', - styleUrl: './sport-selector.component.css' -}) -export class SportSelectorComponent { - -} diff --git a/kontor-angular/src/app/tysc/team/team-list/team-list.component.html b/kontor-angular/src/app/tysc/team/team-list/team-list.component.html deleted file mode 100644 index 5f0a00a..0000000 --- a/kontor-angular/src/app/tysc/team/team-list/team-list.component.html +++ /dev/null @@ -1 +0,0 @@ -

    team-list works!

    diff --git a/kontor-angular/src/app/tysc/team/team-list/team-list.component.ts b/kontor-angular/src/app/tysc/team/team-list/team-list.component.ts deleted file mode 100644 index f3b7766..0000000 --- a/kontor-angular/src/app/tysc/team/team-list/team-list.component.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Component } from '@angular/core'; - -@Component({ - selector: 'app-team-list', - imports: [], - templateUrl: './team-list.component.html', - styleUrl: './team-list.component.css' -}) -export class TeamListComponent { - -} diff --git a/kontor-angular/src/app/tysc/vendor/vendor-list/vendor-list.component.html b/kontor-angular/src/app/tysc/vendor/vendor-list/vendor-list.component.html deleted file mode 100644 index aedf60d..0000000 --- a/kontor-angular/src/app/tysc/vendor/vendor-list/vendor-list.component.html +++ /dev/null @@ -1 +0,0 @@ -

    vendor-list works!

    diff --git a/kontor-angular/src/app/tysc/vendor/vendor-list/vendor-list.component.spec.ts b/kontor-angular/src/app/tysc/vendor/vendor-list/vendor-list.component.spec.ts deleted file mode 100644 index fc3ed2c..0000000 --- a/kontor-angular/src/app/tysc/vendor/vendor-list/vendor-list.component.spec.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing'; - -import { VendorListComponent } from './vendor-list.component'; - -describe('VendorListComponent', () => { - let component: VendorListComponent; - let fixture: ComponentFixture; - - beforeEach(async () => { - await TestBed.configureTestingModule({ - imports: [VendorListComponent] - }) - .compileComponents(); - - fixture = TestBed.createComponent(VendorListComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); - - it('should create', () => { - expect(component).toBeTruthy(); - }); -}); diff --git a/kontor-angular/src/app/tysc/vendor/vendor-list/vendor-list.component.ts b/kontor-angular/src/app/tysc/vendor/vendor-list/vendor-list.component.ts deleted file mode 100644 index 073a098..0000000 --- a/kontor-angular/src/app/tysc/vendor/vendor-list/vendor-list.component.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Component } from '@angular/core'; - -@Component({ - selector: 'app-vendor-list', - imports: [], - templateUrl: './vendor-list.component.html', - styleUrl: './vendor-list.component.css' -}) -export class VendorListComponent { - -}