feat(data): add basic methods of data provider

Related to #1
This commit is contained in:
Jovan Krunić
2019-02-01 15:13:13 +01:00
parent c819d15386
commit ffe05e4548
3 changed files with 351 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018 StApps
* Copyright (C) 2018, 2019 StApps
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation, version 3.
@@ -17,6 +17,7 @@ import {HttpClientModule} from '@angular/common/http';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {IonicModule} from '@ionic/angular';
import {StorageModule} from '../storage/storage.module';
import {DataRoutingModule} from './data-routing.module';
import {DataProvider} from './data.provider';
import {DataDetailComponent} from './detail/data-detail.component';
@@ -48,6 +49,7 @@ import {EventListItemComponent} from './types/event/event-list-item.component';
FormsModule,
DataRoutingModule,
HttpClientModule,
StorageModule,
],
providers: [
DataProvider,