renamed package guard and added it to public api
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Mark van der Wal 2021-02-11 17:43:19 +01:00
parent 231fbf9ee8
commit 3f6863845b
2 changed files with 3 additions and 1 deletions

View File

@ -22,6 +22,7 @@ import { AccessTokenInterceptor } from "./shared/accesstoken.interceptor";
import { appConfigFactory } from "./shared/app.config.factory";
import { AuthGuard } from './services/auth-guard.service';
import { NavBarGuard } from './services/nav-bar-guard.service';
import { PackageGuard } from './services/package-guard.service';
import { FullScreenGuard } from './services/full-screen-guard.service';
import { AuthCallbackGuard } from './components/auth-callback/auth-callback.guard';
import { ResumableFileUploadService } from './components/resumable-file-upload/resumable-file-upload.service';
@ -46,6 +47,7 @@ export {
AccessTokenInterceptor,
AuthGuard,
NavBarGuard,
PackageGuard,
FullScreenGuard,
AuthCallbackGuard,
ResumableFileUploadService,

View File

@ -5,7 +5,7 @@ import {PackageService} from './package.service';
@Injectable({
providedIn: 'root',
})
export class PackageGuardService implements CanActivate {
export class PackageGuard implements CanActivate {
constructor(private packageService: PackageService) { }