@cranberry-money/shared-types 4.26.6 → 4.26.7
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/dist/dashboard.d.ts +2 -3
- package/dist/dashboard.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/dashboard.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Dashboard business types
|
|
3
3
|
*/
|
|
4
|
-
import type { WithdrawalAssetLiquidation } from './withdrawal';
|
|
5
4
|
export interface DashboardPerformanceData {
|
|
6
5
|
currentValue: number;
|
|
7
6
|
todayChange: number;
|
|
@@ -9,11 +8,11 @@ export interface DashboardPerformanceData {
|
|
|
9
8
|
totalReturn: number;
|
|
10
9
|
totalReturnPercent: number;
|
|
11
10
|
}
|
|
12
|
-
export interface WithdrawalSummary {
|
|
11
|
+
export interface WithdrawalSummary<T = any> {
|
|
13
12
|
pendingRequests: number;
|
|
14
13
|
pendingAmount: number;
|
|
15
14
|
scheduledLiquidations: number;
|
|
16
15
|
liquidationValue: number;
|
|
17
|
-
inProgressLiquidations:
|
|
16
|
+
inProgressLiquidations: T[];
|
|
18
17
|
}
|
|
19
18
|
//# sourceMappingURL=dashboard.d.ts.map
|
package/dist/dashboard.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../src/dashboard.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../src/dashboard.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAID,MAAM,WAAW,iBAAiB,CAAC,CAAC,GAAG,GAAG;IACxC,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,gBAAgB,EAAE,MAAM,CAAC;IACzB,sBAAsB,EAAE,CAAC,EAAE,CAAC;CAC7B"}
|