@actual-app/api 26.2.0-nightly.20260124 → 26.2.0-nightly.20260125

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.
@@ -45,6 +45,15 @@ export type SpendingWidget = AbstractWidget<'spending-card', {
45
45
  isLive?: boolean;
46
46
  mode?: 'single-month' | 'budget' | 'average';
47
47
  } | null>;
48
+ export type BudgetAnalysisWidget = AbstractWidget<'budget-analysis-card', {
49
+ name?: string;
50
+ conditions?: RuleConditionEntity[];
51
+ conditionsOp?: 'and' | 'or';
52
+ timeFrame?: TimeFrame;
53
+ interval?: 'Daily' | 'Weekly' | 'Monthly' | 'Yearly';
54
+ graphType?: 'Line' | 'Bar';
55
+ showBalance?: boolean;
56
+ } | null>;
48
57
  export type CustomReportWidget = AbstractWidget<'custom-report', {
49
58
  id: string;
50
59
  }>;
@@ -64,7 +73,7 @@ export type MarkdownWidget = AbstractWidget<'markdown-card', {
64
73
  content: string;
65
74
  text_align?: 'left' | 'right' | 'center';
66
75
  }>;
67
- type SpecializedWidget = NetWorthWidget | CashFlowWidget | SpendingWidget | CrossoverWidget | MarkdownWidget | SummaryWidget | CalendarWidget | FormulaWidget;
76
+ type SpecializedWidget = NetWorthWidget | CashFlowWidget | SpendingWidget | BudgetAnalysisWidget | CrossoverWidget | MarkdownWidget | SummaryWidget | CalendarWidget | FormulaWidget;
68
77
  export type Widget = SpecializedWidget | CustomReportWidget;
69
78
  export type NewWidget = Omit<Widget, 'id' | 'tombstone' | 'dashboard_page_id'>;
70
79
  export type ExportImportCustomReportWidget = Omit<CustomReportWidget, 'id' | 'meta' | 'tombstone'> & {
@@ -1,4 +1,4 @@
1
- export type FeatureFlag = 'goalTemplatesEnabled' | 'goalTemplatesUIEnabled' | 'actionTemplating' | 'formulaMode' | 'currency' | 'crossoverReport' | 'customThemes';
1
+ export type FeatureFlag = 'goalTemplatesEnabled' | 'goalTemplatesUIEnabled' | 'actionTemplating' | 'formulaMode' | 'currency' | 'crossoverReport' | 'customThemes' | 'budgetAnalysisReport';
2
2
  /**
3
3
  * Cross-device preferences. These sync across devices when they are changed.
4
4
  */
@@ -125485,6 +125485,7 @@ function isWidgetType(type2) {
125485
125485
  "cash-flow-card",
125486
125486
  "spending-card",
125487
125487
  "crossover-card",
125488
+ "budget-analysis-card",
125488
125489
  "markdown-card",
125489
125490
  "summary-card",
125490
125491
  "calendar-card",
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@actual-app/api",
3
- "version": "26.2.0-nightly.20260124",
3
+ "version": "26.2.0-nightly.20260125",
4
4
  "description": "An API for Actual",
5
5
  "license": "MIT",
6
6
  "files": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@actual-app/api",
3
- "version": "26.2.0-nightly.20260124",
3
+ "version": "26.2.0-nightly.20260125",
4
4
  "description": "An API for Actual",
5
5
  "license": "MIT",
6
6
  "files": [