moh-common-lib
Version:
A library of Angular components, services, and styles for B.C. Government Ministry of Health (MoH).
26 lines (25 loc) • 907 B
TypeScript
/**
* @deprecated
* The abstract class for our route guard service. You MUST setup the NgModule
* to provide your application's service in place of AbstractPgCheckService.
*
* Your application's route guard service can do whatever it wants as long as it
* implements these methods.
*
* More information on setup can be found in @see RouteGuardService.
*
* @example
* //registration.module.ts
* providers: [
* ...
* { provide: AbstractPgCheckService, useExisting: RegistrationService },
* RouteGuardService
* ]
*
*/
export declare abstract class AbstractPgCheckService {
abstract canBypassGuards(): boolean;
abstract isPageComplete(url: string): boolean;
abstract isPrerequisiteComplete(): boolean;
abstract getStartUrl(): string;
}