sowhat-types 2.0.47 → 2.0.49

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/index.d.mts CHANGED
@@ -473,11 +473,11 @@ interface BudgetSavingsAllocationResponse {
473
473
  value: number;
474
474
  balance: number;
475
475
  currency: string;
476
- note: string;
476
+ note: string | null;
477
477
  isDefault: boolean;
478
478
  operations: BudgetOperationResponse[];
479
479
  createdAt: Date;
480
- updatedAt: Date;
480
+ updatedAt: Date | null;
481
481
  }
482
482
 
483
483
  interface BudgetSavingsResponse {
@@ -492,8 +492,9 @@ interface BudgetSavingsResponse {
492
492
  totalBalance: number;
493
493
  /**
494
494
  * It is the value diff between the actual totalBalance and the value of the last report
495
+ * If `null`, there's no last report.
495
496
  */
496
- vsLastMonth: number;
497
+ vsLastMonth: number | null;
497
498
  /**
498
499
  * Equal `other assets` total balance
499
500
  */
package/dist/index.d.ts CHANGED
@@ -473,11 +473,11 @@ interface BudgetSavingsAllocationResponse {
473
473
  value: number;
474
474
  balance: number;
475
475
  currency: string;
476
- note: string;
476
+ note: string | null;
477
477
  isDefault: boolean;
478
478
  operations: BudgetOperationResponse[];
479
479
  createdAt: Date;
480
- updatedAt: Date;
480
+ updatedAt: Date | null;
481
481
  }
482
482
 
483
483
  interface BudgetSavingsResponse {
@@ -492,8 +492,9 @@ interface BudgetSavingsResponse {
492
492
  totalBalance: number;
493
493
  /**
494
494
  * It is the value diff between the actual totalBalance and the value of the last report
495
+ * If `null`, there's no last report.
495
496
  */
496
- vsLastMonth: number;
497
+ vsLastMonth: number | null;
497
498
  /**
498
499
  * Equal `other assets` total balance
499
500
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sowhat-types",
3
- "version": "2.0.47",
3
+ "version": "2.0.49",
4
4
  "description": "Sowhat types",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",