taxtank-core 2.1.62 → 2.1.63
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/fesm2022/taxtank-core.mjs +8 -5
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/index.d.ts +2 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -3825,7 +3825,7 @@ declare class MoneyCalendarEventCollection extends CalendarEventCollection<Money
|
|
|
3825
3825
|
get amount(): number;
|
|
3826
3826
|
get expenses(): MoneyCalendarEventCollection;
|
|
3827
3827
|
get incomes(): MoneyCalendarEventCollection;
|
|
3828
|
-
filterByDate(dateFrom
|
|
3828
|
+
filterByDate(dateFrom?: Date, dateTo?: Date): MoneyCalendarEventCollection;
|
|
3829
3829
|
getByMonth(index: number): MoneyCalendarEventCollection;
|
|
3830
3830
|
getAmountsByDate(): DateAmountDictionary;
|
|
3831
3831
|
}
|
|
@@ -11466,6 +11466,7 @@ declare class Collection<Model extends object> implements Iterable<Model> {
|
|
|
11466
11466
|
indexBy(path?: string): Dictionary<Model>;
|
|
11467
11467
|
filter(callback: (item: Model) => boolean): this;
|
|
11468
11468
|
filterBy(path: string, values: any, skipIfEmpty?: boolean): this;
|
|
11469
|
+
filterByDay(date?: Date, path?: string): this;
|
|
11469
11470
|
filterByRange(path: string, from: any, to: any): this;
|
|
11470
11471
|
filterByFinancialYear(pathFrom: string, pathTo?: string, financialYear?: FinancialYear): this;
|
|
11471
11472
|
find(callback: (item: Model) => boolean): Model | null;
|