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/datarecords-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 { DatarecordsService } from './api/datarecords.service';
var DatarecordsServiceModule = /** @class */ (function () {
    function DatarecordsServiceModule(parentModule, http) {
        if (parentModule) {
            throw new Error('DatarecordsServiceModule 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 {?}
     */
    DatarecordsServiceModule.forRoot = /**
     * @param {?} configurationFactory
     * @return {?}
     */
    function (configurationFactory) {
        return {
            ngModule: DatarecordsServiceModule,
            providers: [{ provide: Configuration, useFactory: configurationFactory }]
        };
    };
    DatarecordsServiceModule.decorators = [
        { type: NgModule, args: [{
                    imports: [],
                    declarations: [],
                    exports: [],
                    providers: [
                        DatarecordsService
                    ]
                },] }
    ];
    /** @nocollapse */
    DatarecordsServiceModule.ctorParameters = function () { return [
        { type: DatarecordsServiceModule, decorators: [{ type: Optional }, { type: SkipSelf }] },
        { type: HttpClient, decorators: [{ type: Optional }] }
    ]; };
    return DatarecordsServiceModule;
}());
export { DatarecordsServiceModule };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B3YS1tb3RpZi1vcGVuLWFwaS9kYXRhcmVjb3Jkcy1zZXJ2aWNlLyIsInNvdXJjZXMiOlsibGliL2FwaS5tb2R1bGUudHMiXSwib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