@veloceapps/api 8.0.0-44 → 8.0.0-45

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.
@@ -3,7 +3,7 @@ import { HttpParams, HttpHeaders, HttpErrorResponse, HttpClientModule } from '@a
3
3
  import * as i0 from '@angular/core';
4
4
  import { Injectable, NgModule } from '@angular/core';
5
5
  import * as i1 from '@veloceapps/core';
6
- import { uiDefinitionFromDTO, isLegacyUIDefinition, ModelTranslatorUtils, ConfigurationContextMode, isLegacyDocumentTemplate, DocxTemplater, QuoteDraft, StringUtils, Expression, Operator, ProductModelsContainer, ModelUtils, EntityUtil, RuleGroupTypes, parseJsonSafely, uiDefinitionToDTO, BaseHttpService, XrayService } from '@veloceapps/core';
6
+ import { uiDefinitionFromDTO, isLegacyUIDefinition, ModelTranslatorUtils, ConfigurationContextMode, isLegacyDocumentTemplate, DocxTemplater, QuoteDraft, StringUtils, Expression, Operator, ProductModelsContainer, ModelUtils, EntityUtil, RuleGroupTypes, parseJsonSafely, uiDefinitionToDTO, UUID, BaseHttpService, XrayService } from '@veloceapps/core';
7
7
  import { noop, throwError, of, zip, forkJoin, map as map$1, catchError as catchError$1, switchMap as switchMap$1 } from 'rxjs';
8
8
  import { map, catchError, tap, switchMap, defaultIfEmpty } from 'rxjs/operators';
9
9
  import * as i2 from 'primeng/api';
@@ -2910,7 +2910,13 @@ class PortalsApiService {
2910
2910
  params = params.append('count', (PortalsApiService.MAX_RESULTS * skip).toString());
2911
2911
  params = params.append('skip', '0');
2912
2912
  params = params.append('name', name);
2913
- return of([]);
2913
+ return of([
2914
+ { id: UUID.UUID(), name: 'portal1', description: 'portal1 description' },
2915
+ { id: UUID.UUID(), name: 'portal2', description: 'portal2 description' },
2916
+ { id: UUID.UUID(), name: 'portal3', description: 'portal3 description' },
2917
+ { id: UUID.UUID(), name: 'portal4', description: 'portal4 description' },
2918
+ { id: UUID.UUID(), name: 'portal5', description: 'portal5 description' },
2919
+ ]);
2914
2920
  return this.baseHttpService.api({ url: `${this.serviceUrl}`, params });
2915
2921
  };
2916
2922
  this.searchPortals$ = (skip = 0, expression) => {