@experteam-mx/ngx-services 16.1.1 → 16.1.2
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.
- package/esm2022/lib/apis/models/api-external-ops.types.mjs +1 -1
- package/index.d.ts +5 -5
- package/lib/apis/api-catalogs.service.d.ts +26 -26
- package/lib/apis/api-companies.service.d.ts +163 -163
- package/lib/apis/api-external-ops.service.d.ts +34 -34
- package/lib/apis/api-security.service.d.ts +79 -79
- package/lib/apis/models/api-catalogs.interfaces.d.ts +75 -75
- package/lib/apis/models/api-catalogs.types.d.ts +5 -5
- package/lib/apis/models/api-companies.interfaces.d.ts +380 -380
- package/lib/apis/models/api-companies.types.d.ts +75 -75
- package/lib/apis/models/api-external-ops.interfaces.d.ts +23 -23
- package/lib/apis/models/api-external-ops.types.d.ts +18 -18
- package/lib/apis/models/api-security.interfaces.d.ts +55 -55
- package/lib/apis/models/api-security.types.d.ts +30 -30
- package/lib/apis/models/api.models.d.ts +23 -23
- package/lib/helpers/http.d.ts +38 -38
- package/lib/interceptors/api-headers.interceptor.d.ts +16 -16
- package/lib/interceptors/api-key.interceptor.d.ts +19 -19
- package/lib/interceptors/api-token.interceptor.d.ts +19 -19
- package/lib/interceptors/http-caching.interceptor.d.ts +12 -12
- package/lib/ngx-services.models.d.ts +9 -9
- package/lib/ngx-services.module.d.ts +17 -17
- package/package.json +5 -11
- package/public-api.d.ts +19 -19
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { Environment } from '../ngx-services.models';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class HttpCachingInterceptor implements HttpInterceptor {
|
|
6
|
-
private envs;
|
|
7
|
-
private cache;
|
|
8
|
-
constructor(envs: Environment);
|
|
9
|
-
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HttpCachingInterceptor, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<HttpCachingInterceptor>;
|
|
12
|
-
}
|
|
1
|
+
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { Environment } from '../ngx-services.models';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class HttpCachingInterceptor implements HttpInterceptor {
|
|
6
|
+
private envs;
|
|
7
|
+
private cache;
|
|
8
|
+
constructor(envs: Environment);
|
|
9
|
+
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HttpCachingInterceptor, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HttpCachingInterceptor>;
|
|
12
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export type Environment = {
|
|
2
|
-
cacheTtl?: number;
|
|
3
|
-
keyName?: string;
|
|
4
|
-
keyValue?: string;
|
|
5
|
-
apiCatalogsUrl?: string;
|
|
6
|
-
apiCompaniesUrl?: string;
|
|
7
|
-
apiExternalOps?: string;
|
|
8
|
-
apiSecurityUrl?: string;
|
|
9
|
-
};
|
|
1
|
+
export type Environment = {
|
|
2
|
+
cacheTtl?: number;
|
|
3
|
+
keyName?: string;
|
|
4
|
+
keyValue?: string;
|
|
5
|
+
apiCatalogsUrl?: string;
|
|
6
|
+
apiCompaniesUrl?: string;
|
|
7
|
+
apiExternalOps?: string;
|
|
8
|
+
apiSecurityUrl?: string;
|
|
9
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import { Environment } from './ngx-services.models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common/http";
|
|
5
|
-
export declare class NgxServicesModule {
|
|
6
|
-
/**
|
|
7
|
-
* Returns a module with providers for the NgxServicesModule.
|
|
8
|
-
*
|
|
9
|
-
* @param {Environment} environment - The environment configuration object.
|
|
10
|
-
*
|
|
11
|
-
* @return {ModuleWithProviders<NgxServicesModule>} The module with providers for the NgxServicesModule.
|
|
12
|
-
*/
|
|
13
|
-
static forRoot(environment: Environment): ModuleWithProviders<NgxServicesModule>;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgxServicesModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxServicesModule, never, [typeof i1.HttpClientModule], never>;
|
|
16
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NgxServicesModule>;
|
|
17
|
-
}
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { Environment } from './ngx-services.models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common/http";
|
|
5
|
+
export declare class NgxServicesModule {
|
|
6
|
+
/**
|
|
7
|
+
* Returns a module with providers for the NgxServicesModule.
|
|
8
|
+
*
|
|
9
|
+
* @param {Environment} environment - The environment configuration object.
|
|
10
|
+
*
|
|
11
|
+
* @return {ModuleWithProviders<NgxServicesModule>} The module with providers for the NgxServicesModule.
|
|
12
|
+
*/
|
|
13
|
+
static forRoot(environment: Environment): ModuleWithProviders<NgxServicesModule>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxServicesModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxServicesModule, never, [typeof i1.HttpClientModule], never>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NgxServicesModule>;
|
|
17
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@experteam-mx/ngx-services",
|
|
3
|
-
"version": "16.1.
|
|
3
|
+
"version": "16.1.2",
|
|
4
4
|
"description": "Angular common services for Experteam apps",
|
|
5
5
|
"author": "Experteam Cía. Ltda.",
|
|
6
6
|
"keywords": [
|
|
@@ -30,11 +30,7 @@
|
|
|
30
30
|
"tslib": "^2.3.0"
|
|
31
31
|
},
|
|
32
32
|
"sideEffects": false,
|
|
33
|
-
"module": "
|
|
34
|
-
"es2020": "fesm2020/experteam-mx-ngx-services.mjs",
|
|
35
|
-
"esm2020": "esm2020/experteam-mx-ngx-services.mjs",
|
|
36
|
-
"fesm2020": "fesm2020/experteam-mx-ngx-services.mjs",
|
|
37
|
-
"fesm2015": "fesm2015/experteam-mx-ngx-services.mjs",
|
|
33
|
+
"module": "fesm2022/experteam-mx-ngx-services.mjs",
|
|
38
34
|
"typings": "index.d.ts",
|
|
39
35
|
"exports": {
|
|
40
36
|
"./package.json": {
|
|
@@ -42,11 +38,9 @@
|
|
|
42
38
|
},
|
|
43
39
|
".": {
|
|
44
40
|
"types": "./index.d.ts",
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"node": "./fesm2015/experteam-mx-ngx-services.mjs",
|
|
49
|
-
"default": "./fesm2020/experteam-mx-ngx-services.mjs"
|
|
41
|
+
"esm2022": "./esm2022/experteam-mx-ngx-services.mjs",
|
|
42
|
+
"esm": "./esm2022/experteam-mx-ngx-services.mjs",
|
|
43
|
+
"default": "./fesm2022/experteam-mx-ngx-services.mjs"
|
|
50
44
|
}
|
|
51
45
|
}
|
|
52
46
|
}
|
package/public-api.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export * from './lib/ngx-services.module';
|
|
2
|
-
export * from './lib/apis/api-catalogs.service';
|
|
3
|
-
export * from './lib/apis/api-companies.service';
|
|
4
|
-
export * from './lib/apis/api-external-ops.service';
|
|
5
|
-
export * from './lib/apis/api-security.service';
|
|
6
|
-
export * from './lib/apis/models/api-catalogs.interfaces';
|
|
7
|
-
export * from './lib/apis/models/api-catalogs.types';
|
|
8
|
-
export * from './lib/apis/models/api-companies.interfaces';
|
|
9
|
-
export * from './lib/apis/models/api-companies.types';
|
|
10
|
-
export * from './lib/apis/models/api-external-ops.interfaces';
|
|
11
|
-
export * from './lib/apis/models/api-external-ops.types';
|
|
12
|
-
export * from './lib/apis/models/api-security.interfaces';
|
|
13
|
-
export * from './lib/apis/models/api-security.types';
|
|
14
|
-
export * from './lib/apis/models/api.models';
|
|
15
|
-
export * from './lib/interceptors/api-headers.interceptor';
|
|
16
|
-
export * from './lib/interceptors/api-key.interceptor';
|
|
17
|
-
export * from './lib/interceptors/api-token.interceptor';
|
|
18
|
-
export * from './lib/interceptors/http-caching.interceptor';
|
|
19
|
-
export * from './lib/helpers/http';
|
|
1
|
+
export * from './lib/ngx-services.module';
|
|
2
|
+
export * from './lib/apis/api-catalogs.service';
|
|
3
|
+
export * from './lib/apis/api-companies.service';
|
|
4
|
+
export * from './lib/apis/api-external-ops.service';
|
|
5
|
+
export * from './lib/apis/api-security.service';
|
|
6
|
+
export * from './lib/apis/models/api-catalogs.interfaces';
|
|
7
|
+
export * from './lib/apis/models/api-catalogs.types';
|
|
8
|
+
export * from './lib/apis/models/api-companies.interfaces';
|
|
9
|
+
export * from './lib/apis/models/api-companies.types';
|
|
10
|
+
export * from './lib/apis/models/api-external-ops.interfaces';
|
|
11
|
+
export * from './lib/apis/models/api-external-ops.types';
|
|
12
|
+
export * from './lib/apis/models/api-security.interfaces';
|
|
13
|
+
export * from './lib/apis/models/api-security.types';
|
|
14
|
+
export * from './lib/apis/models/api.models';
|
|
15
|
+
export * from './lib/interceptors/api-headers.interceptor';
|
|
16
|
+
export * from './lib/interceptors/api-key.interceptor';
|
|
17
|
+
export * from './lib/interceptors/api-token.interceptor';
|
|
18
|
+
export * from './lib/interceptors/http-caching.interceptor';
|
|
19
|
+
export * from './lib/helpers/http';
|