@abp/ng.core 8.1.1 → 8.1.2

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.
@@ -8,3 +8,4 @@ export * from './session';
8
8
  export * from './utility';
9
9
  export * from './auth';
10
10
  export * from './auth-events';
11
+ export * from './sort';
@@ -0,0 +1,5 @@
1
+ export interface SortableItem {
2
+ id?: string | number;
3
+ name?: string;
4
+ order?: number;
5
+ }
@@ -1,3 +1,4 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- export declare const SORT_COMPARE_FUNC: InjectionToken<0 | 1 | -1>;
3
- export declare function compareFuncFactory(): (a: any, b: any) => 0 | 1 | -1;
2
+ import { SortableItem } from '../models';
3
+ export declare const SORT_COMPARE_FUNC: InjectionToken<(a: SortableItem, b: SortableItem) => number>;
4
+ export declare function compareFuncFactory(): (a: SortableItem, b: SortableItem) => 0 | 1 | -1;
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@abp/ng.core",
3
- "version": "8.1.1",
3
+ "version": "8.1.2",
4
4
  "homepage": "https://abp.io",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/abpframework/abp.git"
8
8
  },
9
9
  "dependencies": {
10
- "@abp/utils": "~8.1.1",
10
+ "@abp/utils": "~8.1.2",
11
11
  "just-clone": "^6.0.0",
12
12
  "just-compare": "^2.0.0",
13
13
  "ts-toolbelt": "6.15.4",