mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 00:23:03 +00:00
feat: add the app
This commit is contained in:
56
src/app/modules/data/data.module.ts
Normal file
56
src/app/modules/data/data.module.ts
Normal file
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* Copyright (C) 2018 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.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along with
|
||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
import {CommonModule} from '@angular/common';
|
||||
import {HttpClientModule} from '@angular/common/http';
|
||||
import {NgModule} from '@angular/core';
|
||||
import {FormsModule} from '@angular/forms';
|
||||
import {IonicModule} from '@ionic/angular';
|
||||
import {DataRoutingModule} from './data-routing.module';
|
||||
import {DataProvider, StAppsWebHttpClient} from './data.provider';
|
||||
import {DataDetailComponent} from './detail/data-detail.component';
|
||||
import {DataListItem} from './list/data-list-item.component';
|
||||
import {DataListComponent} from './list/data-list.component';
|
||||
import {DishDetailContentComponent} from './types/dish/dish-detail-content.component';
|
||||
import {DishListItem} from './types/dish/dish-list-item.component';
|
||||
import {EventListItemComponent} from './types/event/event-list-item.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
DataDetailComponent,
|
||||
|
||||
DishDetailContentComponent,
|
||||
DishListItem,
|
||||
|
||||
EventListItemComponent,
|
||||
|
||||
DataListItem,
|
||||
DataListComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
DataListComponent,
|
||||
],
|
||||
imports: [
|
||||
IonicModule.forRoot(),
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
DataRoutingModule,
|
||||
HttpClientModule,
|
||||
],
|
||||
providers: [
|
||||
DataProvider,
|
||||
StAppsWebHttpClient,
|
||||
],
|
||||
})
|
||||
export class DataModule {}
|
||||
Reference in New Issue
Block a user