import {ModuleWithProviders, NgModule} from '@angular/core';
import {MastodonApiListsService} from "./services/mastodon-api-lists.service";
import {MastodonApiAuthenticationService} from "./services/mastodon-api-authentication.service";
import {HttpClientModule} from "@angular/common/http";


@NgModule({
    declarations: [],
    imports: [
        HttpClientModule
    ],
    exports: []
})
export class MastodonApiModule {
    static forRoot(): ModuleWithProviders<MastodonApiModule> {
        return {
            ngModule: MastodonApiModule,
            providers: [MastodonApiListsService, MastodonApiAuthenticationService]
        }
    }
}
