taxtank-core 2.0.87 → 2.0.88
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/README.md +5 -5
- package/fesm2022/taxtank-core-common.mjs.map +1 -1
- package/fesm2022/taxtank-core.mjs +42 -20
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/index.d.ts +11 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -545,9 +545,9 @@ declare enum TankTypeEnum {
|
|
|
545
545
|
PERSONAL = 6
|
|
546
546
|
}
|
|
547
547
|
|
|
548
|
-
declare const EXPENSE_CATEGORY_BY_TYPE: Record<TankTypeEnum, ChartAccountsCategoryEnum>;
|
|
548
|
+
declare const EXPENSE_CATEGORY_BY_TYPE: Record<TankTypeEnum, ChartAccountsCategoryEnum[]>;
|
|
549
549
|
|
|
550
|
-
declare const INCOME_CATEGORY_BY_TYPE: Record<TankTypeEnum, ChartAccountsCategoryEnum>;
|
|
550
|
+
declare const INCOME_CATEGORY_BY_TYPE: Record<TankTypeEnum, ChartAccountsCategoryEnum[]>;
|
|
551
551
|
|
|
552
552
|
declare enum DateFormatsEnum {
|
|
553
553
|
/** 23:59 */
|
|
@@ -5006,12 +5006,13 @@ declare class CalendarEvent implements EventInput {
|
|
|
5006
5006
|
}
|
|
5007
5007
|
|
|
5008
5008
|
/**
|
|
5009
|
-
*
|
|
5009
|
+
* extended class for filtering and data visualisation
|
|
5010
5010
|
*/
|
|
5011
5011
|
declare class MoneyCalendarEvent extends CalendarEvent {
|
|
5012
5012
|
extendedProps: {
|
|
5013
5013
|
id: number;
|
|
5014
5014
|
class: 'FinancialGoal' | 'BudgetRule';
|
|
5015
|
+
chartAccounts: ChartAccounts;
|
|
5015
5016
|
amount: number;
|
|
5016
5017
|
isIncome?: boolean;
|
|
5017
5018
|
isExpense?: boolean;
|
|
@@ -5024,6 +5025,7 @@ declare class MoneyCalendarEvent extends CalendarEvent {
|
|
|
5024
5025
|
propertyId?: number;
|
|
5025
5026
|
businessId?: number;
|
|
5026
5027
|
};
|
|
5028
|
+
inMonth(month: number): boolean;
|
|
5027
5029
|
}
|
|
5028
5030
|
|
|
5029
5031
|
declare enum UserEventStatusEnum {
|
|
@@ -5492,7 +5494,7 @@ declare class BudgetMetadataInterface {
|
|
|
5492
5494
|
description: string;
|
|
5493
5495
|
thumbnail: string;
|
|
5494
5496
|
videoId: YoutubeVideosEnum;
|
|
5495
|
-
categories: Record<TankTypeEnum, ChartAccountsCategoryEnum>;
|
|
5497
|
+
categories: Record<TankTypeEnum, ChartAccountsCategoryEnum[]>;
|
|
5496
5498
|
}
|
|
5497
5499
|
|
|
5498
5500
|
declare class Budget extends Budget$1 {
|
|
@@ -11161,6 +11163,11 @@ declare class CalendarEventCollection<T extends CalendarEvent = CalendarEvent> e
|
|
|
11161
11163
|
|
|
11162
11164
|
declare class MoneyCalendarEventCollection extends CalendarEventCollection<MoneyCalendarEvent> {
|
|
11163
11165
|
constructor(items: MoneyCalendarEvent[]);
|
|
11166
|
+
get amount(): number;
|
|
11167
|
+
get expenses(): MoneyCalendarEventCollection;
|
|
11168
|
+
get incomes(): MoneyCalendarEventCollection;
|
|
11169
|
+
filterByDate(dateFrom?: Date, dateTo?: Date): MoneyCalendarEventCollection;
|
|
11170
|
+
getByMonth(index: number): CalendarEventCollection;
|
|
11164
11171
|
}
|
|
11165
11172
|
|
|
11166
11173
|
declare class PropertySaleCollection extends Collection<PropertySale$1> {
|