From 6957c17907d4b4b4c82a0d4ecbf85080b903f0ca Mon Sep 17 00:00:00 2001 From: stickyPiston Date: Sat, 21 Sep 2019 15:02:38 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Generated=20services=20and=20com?= =?UTF-8?q?ponents?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/app.module.ts | 10 +++++++- .../components/albums/albums.component.html | 1 + .../components/albums/albums.component.scss | 0 .../albums/albums.component.spec.ts | 25 +++++++++++++++++++ src/app/components/albums/albums.component.ts | 15 +++++++++++ .../components/artists/artists.component.html | 1 + .../components/artists/artists.component.scss | 0 .../artists/artists.component.spec.ts | 25 +++++++++++++++++++ .../components/artists/artists.component.ts | 15 +++++++++++ src/app/components/home/home.component.html | 1 + src/app/components/home/home.component.scss | 0 .../components/home/home.component.spec.ts | 25 +++++++++++++++++++ src/app/components/home/home.component.ts | 15 +++++++++++ src/app/components/song/song.component.html | 1 + src/app/components/song/song.component.scss | 0 .../components/song/song.component.spec.ts | 25 +++++++++++++++++++ src/app/components/song/song.component.ts | 15 +++++++++++ src/app/services/audio.service.spec.ts | 12 +++++++++ src/app/services/audio.service.ts | 9 +++++++ src/app/services/data.service.spec.ts | 12 +++++++++ src/app/services/data.service.ts | 9 +++++++ src/app/services/notification.service.spec.ts | 12 +++++++++ src/app/services/notification.service.ts | 9 +++++++ 23 files changed, 236 insertions(+), 1 deletion(-) create mode 100644 src/app/components/albums/albums.component.html create mode 100644 src/app/components/albums/albums.component.scss create mode 100644 src/app/components/albums/albums.component.spec.ts create mode 100644 src/app/components/albums/albums.component.ts create mode 100644 src/app/components/artists/artists.component.html create mode 100644 src/app/components/artists/artists.component.scss create mode 100644 src/app/components/artists/artists.component.spec.ts create mode 100644 src/app/components/artists/artists.component.ts create mode 100644 src/app/components/home/home.component.html create mode 100644 src/app/components/home/home.component.scss create mode 100644 src/app/components/home/home.component.spec.ts create mode 100644 src/app/components/home/home.component.ts create mode 100644 src/app/components/song/song.component.html create mode 100644 src/app/components/song/song.component.scss create mode 100644 src/app/components/song/song.component.spec.ts create mode 100644 src/app/components/song/song.component.ts create mode 100644 src/app/services/audio.service.spec.ts create mode 100644 src/app/services/audio.service.ts create mode 100644 src/app/services/data.service.spec.ts create mode 100644 src/app/services/data.service.ts create mode 100644 src/app/services/notification.service.spec.ts create mode 100644 src/app/services/notification.service.ts diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 2c3ba29..61ccfaa 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -3,10 +3,18 @@ import { NgModule } from '@angular/core'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; +import { HomeComponent } from './components/home/home.component'; +import { SongComponent } from './components/song/song.component'; +import { ArtistsComponent } from './components/artists/artists.component'; +import { AlbumsComponent } from './components/albums/albums.component'; @NgModule({ declarations: [ - AppComponent + AppComponent, + HomeComponent, + SongComponent, + ArtistsComponent, + AlbumsComponent ], imports: [ BrowserModule, diff --git a/src/app/components/albums/albums.component.html b/src/app/components/albums/albums.component.html new file mode 100644 index 0000000..667310d --- /dev/null +++ b/src/app/components/albums/albums.component.html @@ -0,0 +1 @@ +

albums works!

diff --git a/src/app/components/albums/albums.component.scss b/src/app/components/albums/albums.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/components/albums/albums.component.spec.ts b/src/app/components/albums/albums.component.spec.ts new file mode 100644 index 0000000..32a27cb --- /dev/null +++ b/src/app/components/albums/albums.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { AlbumsComponent } from './albums.component'; + +describe('AlbumsComponent', () => { + let component: AlbumsComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ AlbumsComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(AlbumsComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/components/albums/albums.component.ts b/src/app/components/albums/albums.component.ts new file mode 100644 index 0000000..843b3df --- /dev/null +++ b/src/app/components/albums/albums.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-albums', + templateUrl: './albums.component.html', + styleUrls: ['./albums.component.scss'] +}) +export class AlbumsComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} diff --git a/src/app/components/artists/artists.component.html b/src/app/components/artists/artists.component.html new file mode 100644 index 0000000..e1b29e9 --- /dev/null +++ b/src/app/components/artists/artists.component.html @@ -0,0 +1 @@ +

artists works!

diff --git a/src/app/components/artists/artists.component.scss b/src/app/components/artists/artists.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/components/artists/artists.component.spec.ts b/src/app/components/artists/artists.component.spec.ts new file mode 100644 index 0000000..02317be --- /dev/null +++ b/src/app/components/artists/artists.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ArtistsComponent } from './artists.component'; + +describe('ArtistsComponent', () => { + let component: ArtistsComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ ArtistsComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(ArtistsComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/components/artists/artists.component.ts b/src/app/components/artists/artists.component.ts new file mode 100644 index 0000000..038905a --- /dev/null +++ b/src/app/components/artists/artists.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-artists', + templateUrl: './artists.component.html', + styleUrls: ['./artists.component.scss'] +}) +export class ArtistsComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} diff --git a/src/app/components/home/home.component.html b/src/app/components/home/home.component.html new file mode 100644 index 0000000..5f2c53f --- /dev/null +++ b/src/app/components/home/home.component.html @@ -0,0 +1 @@ +

home works!

diff --git a/src/app/components/home/home.component.scss b/src/app/components/home/home.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/components/home/home.component.spec.ts b/src/app/components/home/home.component.spec.ts new file mode 100644 index 0000000..490e81b --- /dev/null +++ b/src/app/components/home/home.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { HomeComponent } from './home.component'; + +describe('HomeComponent', () => { + let component: HomeComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ HomeComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(HomeComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/components/home/home.component.ts b/src/app/components/home/home.component.ts new file mode 100644 index 0000000..f56c8c1 --- /dev/null +++ b/src/app/components/home/home.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-home', + templateUrl: './home.component.html', + styleUrls: ['./home.component.scss'] +}) +export class HomeComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} diff --git a/src/app/components/song/song.component.html b/src/app/components/song/song.component.html new file mode 100644 index 0000000..7bc867c --- /dev/null +++ b/src/app/components/song/song.component.html @@ -0,0 +1 @@ +

song works!

diff --git a/src/app/components/song/song.component.scss b/src/app/components/song/song.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/components/song/song.component.spec.ts b/src/app/components/song/song.component.spec.ts new file mode 100644 index 0000000..81b1c32 --- /dev/null +++ b/src/app/components/song/song.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { SongComponent } from './song.component'; + +describe('SongComponent', () => { + let component: SongComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ SongComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(SongComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/components/song/song.component.ts b/src/app/components/song/song.component.ts new file mode 100644 index 0000000..fde26ff --- /dev/null +++ b/src/app/components/song/song.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-song', + templateUrl: './song.component.html', + styleUrls: ['./song.component.scss'] +}) +export class SongComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} diff --git a/src/app/services/audio.service.spec.ts b/src/app/services/audio.service.spec.ts new file mode 100644 index 0000000..4f038ca --- /dev/null +++ b/src/app/services/audio.service.spec.ts @@ -0,0 +1,12 @@ +import { TestBed } from '@angular/core/testing'; + +import { AudioService } from './audio.service'; + +describe('AudioService', () => { + beforeEach(() => TestBed.configureTestingModule({})); + + it('should be created', () => { + const service: AudioService = TestBed.get(AudioService); + expect(service).toBeTruthy(); + }); +}); diff --git a/src/app/services/audio.service.ts b/src/app/services/audio.service.ts new file mode 100644 index 0000000..f7f1c41 --- /dev/null +++ b/src/app/services/audio.service.ts @@ -0,0 +1,9 @@ +import { Injectable } from '@angular/core'; + +@Injectable({ + providedIn: 'root' +}) +export class AudioService { + + constructor() { } +} diff --git a/src/app/services/data.service.spec.ts b/src/app/services/data.service.spec.ts new file mode 100644 index 0000000..a5283fc --- /dev/null +++ b/src/app/services/data.service.spec.ts @@ -0,0 +1,12 @@ +import { TestBed } from '@angular/core/testing'; + +import { DataService } from './data.service'; + +describe('DataService', () => { + beforeEach(() => TestBed.configureTestingModule({})); + + it('should be created', () => { + const service: DataService = TestBed.get(DataService); + expect(service).toBeTruthy(); + }); +}); diff --git a/src/app/services/data.service.ts b/src/app/services/data.service.ts new file mode 100644 index 0000000..750557b --- /dev/null +++ b/src/app/services/data.service.ts @@ -0,0 +1,9 @@ +import { Injectable } from '@angular/core'; + +@Injectable({ + providedIn: 'root' +}) +export class DataService { + + constructor() { } +} diff --git a/src/app/services/notification.service.spec.ts b/src/app/services/notification.service.spec.ts new file mode 100644 index 0000000..698c421 --- /dev/null +++ b/src/app/services/notification.service.spec.ts @@ -0,0 +1,12 @@ +import { TestBed } from '@angular/core/testing'; + +import { NotificationService } from './notification.service'; + +describe('NotificationService', () => { + beforeEach(() => TestBed.configureTestingModule({})); + + it('should be created', () => { + const service: NotificationService = TestBed.get(NotificationService); + expect(service).toBeTruthy(); + }); +}); diff --git a/src/app/services/notification.service.ts b/src/app/services/notification.service.ts new file mode 100644 index 0000000..add74f5 --- /dev/null +++ b/src/app/services/notification.service.ts @@ -0,0 +1,9 @@ +import { Injectable } from '@angular/core'; + +@Injectable({ + providedIn: 'root' +}) +export class NotificationService { + + constructor() { } +}