src.app.core.services.environments.resolver.ts Maven / Gradle / Ivy
The newest version!
/*
* SPDX-FileCopyrightText: 2017-2024 Enedis
*
* SPDX-License-Identifier: Apache-2.0
*
*/
import { inject } from '@angular/core';
import { ResolveFn } from '@angular/router';
import { EnvironmentService } from '@core/services';
import { Environment } from '@model';
export const environmentsResolver: ResolveFn = () => inject(EnvironmentService).list();
© 2015 - 2024 Weber Informatics LLC | Privacy Policy