@rolatech/angular-services 20.0.2-beta.3 → 20.0.3
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/index.d.ts
CHANGED
|
@@ -58,7 +58,6 @@ declare class BaseService {
|
|
|
58
58
|
update<T>(id: string, data: T): Observable<T>;
|
|
59
59
|
delete<T>(id: string): Observable<T>;
|
|
60
60
|
updateStatus<T>(id: string, data: T): Observable<T>;
|
|
61
|
-
search(word: string, withCredentials?: boolean): Observable<any>;
|
|
62
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseService, never>;
|
|
63
62
|
static ɵprov: i0.ɵɵInjectableDeclaration<BaseService>;
|
|
64
63
|
}
|
|
@@ -757,8 +756,23 @@ declare class ConversationInitService {
|
|
|
757
756
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConversationInitService>;
|
|
758
757
|
}
|
|
759
758
|
|
|
759
|
+
interface SearchResult<T> {
|
|
760
|
+
data: T[];
|
|
761
|
+
meta: {
|
|
762
|
+
pagination: {
|
|
763
|
+
total: number;
|
|
764
|
+
count: number;
|
|
765
|
+
page: number;
|
|
766
|
+
limit: number;
|
|
767
|
+
};
|
|
768
|
+
};
|
|
769
|
+
}
|
|
760
770
|
declare class PropertySearchService extends BaseService {
|
|
761
771
|
init(): void;
|
|
772
|
+
search1(options: any): Observable<any>;
|
|
773
|
+
search<T = any>(rawParams: Record<string, any>): Observable<SearchResult<T>>;
|
|
774
|
+
stripUndefined<T extends Record<string, any>>(obj: T): Partial<T>;
|
|
775
|
+
isEmptyFilter(params: Record<string, any>, ignoreKeys?: string[]): boolean;
|
|
762
776
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropertySearchService, never>;
|
|
763
777
|
static ɵprov: i0.ɵɵInjectableDeclaration<PropertySearchService>;
|
|
764
778
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rolatech/angular-services",
|
|
3
|
-
"version": "20.0.
|
|
3
|
+
"version": "20.0.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^20.0.0",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"rxjs": "^6.5.3 || ^7.4.0"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@rolatech/angular-common": "20.0.
|
|
15
|
+
"@rolatech/angular-common": "20.0.3",
|
|
16
16
|
"tslib": "^2.3.0"
|
|
17
17
|
},
|
|
18
18
|
"repository": {
|