@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.
@@ -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 | -1 | 0;
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
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@messaia/cdk",
3
- "version": "17.0.0-rc15",
3
+ "version": "17.0.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.0.8",
6
6
  "@angular/core": "^17.0.8"