|
|
@ -1,5 +1,7 @@ |
|
|
import { Type } from '@angular/core'; |
|
|
import { HttpErrorResponse } from '@angular/common/http'; |
|
|
|
|
|
import { Injector, Type } from '@angular/core'; |
|
|
import { Validation } from '@ngx-validate/core'; |
|
|
import { Validation } from '@ngx-validate/core'; |
|
|
|
|
|
import { Observable } from 'rxjs'; |
|
|
|
|
|
|
|
|
export interface RootParams { |
|
|
export interface RootParams { |
|
|
httpErrorConfig: HttpErrorConfig; |
|
|
httpErrorConfig: HttpErrorConfig; |
|
|
@ -17,4 +19,9 @@ export interface HttpErrorConfig { |
|
|
}; |
|
|
}; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
export type HttpErrorHandler = ( |
|
|
|
|
|
injector: Injector, |
|
|
|
|
|
httpError: HttpErrorResponse, |
|
|
|
|
|
) => Observable<any>; |
|
|
|
|
|
|
|
|
export type LocaleDirection = 'ltr' | 'rtl'; |
|
|
export type LocaleDirection = 'ltr' | 'rtl'; |
|
|
|