@actual-app/api 26.2.0-nightly.20260120 → 26.2.0-nightly.20260122

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.
@@ -1,6 +1,7 @@
1
+ import { type Currency } from '../../shared/currencies';
1
2
  import { type CategoryEntity } from '../../types/models';
2
3
  import { type Template } from '../../types/models/templates';
3
- export declare function runSchedule(template_lines: Template[], current_month: string, balance: number, remainder: number, last_month_balance: number, to_budget: number, errors: string[], category: CategoryEntity): Promise<{
4
+ export declare function runSchedule(template_lines: Template[], current_month: string, balance: number, remainder: number, last_month_balance: number, to_budget: number, errors: string[], category: CategoryEntity, currency: Currency): Promise<{
4
5
  to_budget: number;
5
6
  errors: string[];
6
7
  remainder: number;
@@ -70,6 +70,7 @@ export type LegendEntity = {
70
70
  name: string;
71
71
  id: string | null;
72
72
  color: string;
73
+ dataKey: string;
73
74
  };
74
75
  export type IntervalEntity = {
75
76
  date?: string;
@@ -58,10 +58,13 @@ export type ScheduleTemplate = {
58
58
  name: string;
59
59
  full?: boolean;
60
60
  adjustment?: number;
61
+ adjustmentType?: 'percent' | 'fixed';
61
62
  } & BaseTemplateWithPriority;
62
63
  export type AverageTemplate = {
63
64
  type: 'average';
64
65
  numMonths: number;
66
+ adjustment?: number;
67
+ adjustmentType?: 'percent' | 'fixed';
65
68
  } & BaseTemplateWithPriority;
66
69
  export type CopyTemplate = {
67
70
  type: 'copy';