@messaia/cdk 17.0.0-rc15 → 17.0.0
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/common/templates/templates.mjs +15 -1
- package/esm2022/lib/http/services/generic.service.mjs +1 -1
- package/fesm2022/messaia-cdk.mjs +14 -0
- package/fesm2022/messaia-cdk.mjs.map +1 -1
- package/lib/common/pipes/order.pipe.d.ts +1 -1
- package/lib/common/templates/templates.d.ts +6 -0
- package/lib/http/services/generic.service.d.ts +2 -2
- package/package.json +1 -1
|
@@ -20,7 +20,7 @@ export declare class OrderPipe implements PipeTransform {
|
|
|
20
20
|
* @param a
|
|
21
21
|
* @param b
|
|
22
22
|
*/
|
|
23
|
-
static defaultCompare(a: any, b: any): 1 |
|
|
23
|
+
static defaultCompare(a: any, b: any): 1 | 0 | -1;
|
|
24
24
|
/**
|
|
25
25
|
* Parse expression, split into items
|
|
26
26
|
* @param expression
|
|
@@ -23,6 +23,12 @@ export declare const Templates: {
|
|
|
23
23
|
* @returns
|
|
24
24
|
*/
|
|
25
25
|
numberDisplayNameTemplate: (x: any) => string;
|
|
26
|
+
/**
|
|
27
|
+
* Projection template for number and name
|
|
28
|
+
* @param x
|
|
29
|
+
* @returns
|
|
30
|
+
*/
|
|
31
|
+
numberNameTemplate: (x: any) => string;
|
|
26
32
|
/**
|
|
27
33
|
* Projection template for ID and title
|
|
28
34
|
* @param x
|
|
@@ -40,14 +40,14 @@ export declare class GenericService<T extends any> {
|
|
|
40
40
|
* @param headers Adds headers to the request
|
|
41
41
|
* @param path A relative path to the action
|
|
42
42
|
*/
|
|
43
|
-
getList(params?: Object, path?: string | null, headers?: Object | null): Observable<any>;
|
|
43
|
+
getList(params?: Object | null, path?: string | null, headers?: Object | null): Observable<any>;
|
|
44
44
|
/**
|
|
45
45
|
* Loads data
|
|
46
46
|
* @param params Adds query params to the request
|
|
47
47
|
* @param path A relative path to the action
|
|
48
48
|
* @param headers Adds headers to the request
|
|
49
49
|
*/
|
|
50
|
-
loadList(params?: Object, path?: string | null, headers?: Object): void;
|
|
50
|
+
loadList(params?: Object | null, path?: string | null, headers?: Object): void;
|
|
51
51
|
/**
|
|
52
52
|
* Gets result list as Observable
|
|
53
53
|
*/
|