@veloceapps/api 8.0.0-40 → 8.0.0-42
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/esm2020/lib/services/configuration-api.service.mjs +3 -3
- package/esm2020/lib/services/portals-api.service.mjs +24 -2
- package/fesm2015/veloceapps-api.mjs +22 -2
- package/fesm2015/veloceapps-api.mjs.map +1 -1
- package/fesm2020/veloceapps-api.mjs +22 -2
- package/fesm2020/veloceapps-api.mjs.map +1 -1
- package/lib/services/portals-api.service.d.ts +5 -1
- package/package.json +1 -1
@@ -434,7 +434,7 @@ class ConfigurationApiService {
|
|
434
434
|
const portDomains = { ...lineItem.portDomains };
|
435
435
|
for (const port of type?.ports ?? []) {
|
436
436
|
const portDomain = portDomains[port.name];
|
437
|
-
if (portDomain?.properties?.['domainComputation'] === '
|
437
|
+
if (portDomain?.properties?.['domainComputation'] === ('None')) {
|
438
438
|
portDomain.domainTypes = port.domainTypes;
|
439
439
|
}
|
440
440
|
}
|
@@ -2904,9 +2904,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
2904
2904
|
class PortalsApiService {
|
2905
2905
|
constructor(baseHttpService) {
|
2906
2906
|
this.baseHttpService = baseHttpService;
|
2907
|
-
this.serviceUrl = '/
|
2907
|
+
this.serviceUrl = '/portals';
|
2908
|
+
this.getPortals$ = (skip = 1, name = '') => {
|
2909
|
+
let params = new HttpParams();
|
2910
|
+
params = params.append('count', (PortalsApiService.MAX_RESULTS * skip).toString());
|
2911
|
+
params = params.append('skip', '0');
|
2912
|
+
params = params.append('name', name);
|
2913
|
+
return of([]);
|
2914
|
+
return this.baseHttpService.api({ url: `${this.serviceUrl}`, params });
|
2915
|
+
};
|
2916
|
+
this.searchPortals$ = (skip = 0, expression) => {
|
2917
|
+
let params = new HttpParams();
|
2918
|
+
params = params.set('skip', '' + skip);
|
2919
|
+
params = params.set('count', '' + PortalsApiService.MAX_RESULTS);
|
2920
|
+
return this.baseHttpService.api({
|
2921
|
+
method: 'post',
|
2922
|
+
url: `${this.serviceUrl}/search`,
|
2923
|
+
params,
|
2924
|
+
body: expression || {},
|
2925
|
+
});
|
2926
|
+
};
|
2908
2927
|
}
|
2909
2928
|
}
|
2929
|
+
PortalsApiService.MAX_RESULTS = 60;
|
2910
2930
|
PortalsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PortalsApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
2911
2931
|
PortalsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PortalsApiService });
|
2912
2932
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PortalsApiService, decorators: [{
|