@morozeckiy/dd-lib 0.7.54 → 0.7.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,5 @@
1
1
  import { HttpClient, HttpContext, HttpHeaders, HttpParams } from '@angular/common/http';
2
+ import { InjectionToken } from '@angular/core';
2
3
  import { Observable } from 'rxjs';
3
4
  import * as i0 from "@angular/core";
4
5
  export interface HttpIResponse<T> {
@@ -36,10 +37,11 @@ export interface IRequestOptions {
36
37
  withCredentials?: boolean;
37
38
  body?: any | null;
38
39
  }
40
+ export declare const API_URL: InjectionToken<string>;
39
41
  export declare class FetcherService {
40
42
  private http;
41
43
  private apiUrl;
42
- constructor(http: HttpClient, apiUrl?: string);
44
+ constructor(http: HttpClient, apiUrl: string);
43
45
  private prepareOptions;
44
46
  private getUrl;
45
47
  get<R>(urlParts: string, options?: IRequestOptions, urlId?: string | number): Observable<R>;
@@ -1,4 +1,4 @@
1
- import { AbstractControl, ValidationErrors } from '@angular/forms';
1
+ import { AbstractControl, ValidationErrors, Validators } from '@angular/forms';
2
2
  import { Observable } from 'rxjs';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ValidatorsService {
@@ -10,7 +10,7 @@ export declare class ValidatorsService {
10
10
  static wrongLoginOrPswd(): ValidationErrors;
11
11
  static existLogin(): ValidationErrors;
12
12
  /** валидатор имени*/
13
- static getNameValid(): import("@angular/forms").ValidatorFn[];
13
+ static getNameValid(): (typeof Validators.required)[];
14
14
  /** валидатор email*/
15
15
  static getMailValid(el?: AbstractControl): Observable<ValidationErrors | null>;
16
16
  static getErrorText(error: ValidationErrors | null | undefined): string | undefined;
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@morozeckiy/dd-lib",
3
- "version": "0.7.54",
3
+ "version": "0.7.55",
4
4
  "types": "./src/typings.d.ts",
5
5
  "repository": "https://gitlab.com/Morozeckiy/dd-lib",
6
6
  "publishConfig": {