Repository URL to install this package:
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import { NgModule, SkipSelf, Optional } from '@angular/core';
import { Configuration } from './configuration';
import { HttpClient } from '@angular/common/http';
import { ApplicationsService } from './api/applications.service';
import { OperationsService } from './api/operations.service';
import { ServicesService } from './api/services.service';
export class CatalogServiceModule {
/**
* @param {?} parentModule
* @param {?} http
*/
constructor(parentModule, http) {
if (parentModule) {
throw new Error('CatalogServiceModule is already loaded. Import in your base AppModule only.');
}
if (!http) {
throw new Error('You need to import the HttpClientModule in your AppModule! \n' +
'See also https://github.com/angular/angular/issues/20575');
}
}
/**
* @param {?} configurationFactory
* @return {?}
*/
static forRoot(configurationFactory) {
return {
ngModule: CatalogServiceModule,
providers: [{ provide: Configuration, useFactory: configurationFactory }]
};
}
}
CatalogServiceModule.decorators = [
{ type: NgModule, args: [{
imports: [],
declarations: [],
exports: [],
providers: [
ApplicationsService,
OperationsService,
ServicesService
]
},] }
];
/** @nocollapse */
CatalogServiceModule.ctorParameters = () => [
{ type: CatalogServiceModule, decorators: [{ type: Optional }, { type: SkipSelf }] },
{ type: HttpClient, decorators: [{ type: Optional }] }
];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B3YS1tb3RpZi1vcGVuLWFwaS9jYXRhbG9nLXNlcnZpY2UvIiwic291cmNlcyI6WyJsaWIvYXBpLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFFBQVEsRUFBdUIsUUFBUSxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNsRixPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDaEQsT0FBTyxFQUFFLFVBQVUsRUFBRSxN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