Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

vipera-npm-registry / @wa-motif-open-api/catalog-service   js

Repository URL to install this package:

Version: 0.6.0 

/ esm5 / lib / api.module.js

/**
 * @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';
var CatalogServiceModule = /** @class */ (function () {
    function CatalogServiceModule(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 {?}
     */
    CatalogServiceModule.forRoot = /**
     * @param {?} configurationFactory
     * @return {?}
     */
    function (configurationFactory) {
        return {
            ngModule: CatalogServiceModule,
            providers: [{ provide: Configuration, useFactory: configurationFactory }]
        };
    };
    CatalogServiceModule.decorators = [
        { type: NgModule, args: [{
                    imports: [],
                    declarations: [],
                    exports: [],
                    providers: [
                        ApplicationsService,
                        OperationsService,
                        ServicesService
                    ]
                },] }
    ];
    /** @nocollapse */
    CatalogServiceModule.ctorParameters = function () { return [
        { type: CatalogServiceModule, decorators: [{ type: Optional }, { type: SkipSelf }] },
        { type: HttpClient, decorators: [{ type: Optional }] }
    ]; };
    return CatalogServiceModule;
}());
export { CatalogServiceModule };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B3YS1tb3RpZi1vcGVuLWFwaS9jYXRhbG9nLXNlcnZpY2UvIiwic291cmNlcyI6WyJsaWI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