import { InjectionToken } from '@angular/core' ; import { Observable } from 'rxjs' ; import { DaffAccountRegistration , DaffLoginInfo , } from '@daffodil/auth' ; export interface DaffRegisterServiceInterface < TRequest extends DaffAccountRegistration = DaffAccountRegistration , TResponse extends DaffLoginInfo = DaffLoginInfo > { param registration returns register ( registration ) : Observable < TResponse > ; } export const DaffRegisterDriver = new InjectionToken < DaffRegisterServiceInterface > ( 'DaffRegisterDriver' ) ;