@actual-app/api 26.2.0-nightly.20260116 → 26.2.0-nightly.20260118

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,4 +1,4 @@
1
- import { type AccountEntity, type CategoryEntity, type SyncServerGoCardlessAccount, type TransactionEntity, type SyncServerSimpleFinAccount, type SyncServerPluggyAiAccount, type ImportTransactionEntity } from '../../types/models';
1
+ import { type AccountEntity, type CategoryEntity, type ImportTransactionEntity, type SyncServerGoCardlessAccount, type SyncServerPluggyAiAccount, type SyncServerSimpleFinAccount, type TransactionEntity } from '../../types/models';
2
2
  import * as db from '../db';
3
3
  import * as bankSync from './sync';
4
4
  export type AccountHandlers = {
@@ -1,4 +1,4 @@
1
- import { type UserAvailable, type UserEntity, type NewUserAccessEntity } from '../../types/models';
1
+ import { type NewUserAccessEntity, type UserAvailable, type UserEntity } from '../../types/models';
2
2
  export type AdminHandlers = {
3
3
  'users-get': typeof getUsers;
4
4
  'user-delete-all': typeof deleteAllUsers;
@@ -1,5 +1,5 @@
1
1
  import { type CategoryEntity } from '../../types/models';
2
- import { type AverageTemplate, type CopyTemplate, type PercentageTemplate, type SimpleTemplate, type SpendTemplate, type Template, type PeriodicTemplate } from '../../types/models/templates';
2
+ import { type AverageTemplate, type CopyTemplate, type PercentageTemplate, type PeriodicTemplate, type SimpleTemplate, type SpendTemplate, type Template } from '../../types/models/templates';
3
3
  export declare class CategoryTemplateContext {
4
4
  static init(templates: Template[], category: CategoryEntity, month: string, budgeted: number): Promise<CategoryTemplateContext>;
5
5
  isGoalOnly(): boolean;
@@ -1,4 +1,4 @@
1
- import { type RuleActionEntity, type TransactionEntity, type RuleEntity } from '../../types/models';
1
+ import { type RuleActionEntity, type RuleEntity, type TransactionEntity } from '../../types/models';
2
2
  import { Action } from '.';
3
3
  type ValidationError = {
4
4
  conditionErrors: string[];
@@ -1,8 +1,8 @@
1
1
  import { Action } from './action';
2
2
  import { Condition } from './condition';
3
- import { Rule, execActions } from './rule';
3
+ import { execActions, Rule } from './rule';
4
4
  import { RuleIndexer } from './rule-indexer';
5
- import { parseDateString, rankRules, migrateIds, iterateIds } from './rule-utils';
5
+ import { iterateIds, migrateIds, parseDateString, rankRules } from './rule-utils';
6
6
  export { parseDateString };
7
7
  export { Condition };
8
8
  export { Action };
@@ -1,4 +1,4 @@
1
- import { type TransactionEntity, type RuleActionEntity, type RuleEntity } from '../../types/models';
1
+ import { type RuleActionEntity, type RuleEntity, type TransactionEntity } from '../../types/models';
2
2
  import * as db from '../db';
3
3
  import { Action, Rule } from '../rules';
4
4
  export { iterateIds } from '../rules';
@@ -1,5 +1,5 @@
1
1
  import { type TransactionEntity } from '../types/models';
2
- import { diffItems, applyChanges } from './util';
2
+ import { applyChanges, diffItems } from './util';
3
3
  export declare function isTemporaryId(id: string): boolean;
4
4
  export declare function isPreviewId(id: string): boolean;
5
5
  type GenericTransactionEntity = TransactionEntity;
@@ -4,7 +4,7 @@ import type { APIAccountEntity, APICategoryEntity, APICategoryGroupEntity, APIFi
4
4
  import { type BudgetFileHandlers } from '../server/budgetfiles/app';
5
5
  import { type batchUpdateTransactions } from '../server/transactions';
6
6
  import type { QueryState } from '../shared/query';
7
- import type { ImportTransactionEntity, NewRuleEntity, RuleEntity, TransactionEntity, ScheduleEntity } from './models';
7
+ import type { ImportTransactionEntity, NewRuleEntity, RuleEntity, ScheduleEntity, TransactionEntity } from './models';
8
8
  export type ApiHandlers = {
9
9
  'api/batch-budget-start': () => Promise<void>;
10
10
  'api/batch-budget-end': () => Promise<void>;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@actual-app/api",
3
- "version": "26.2.0-nightly.20260116",
3
+ "version": "26.2.0-nightly.20260118",
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.20260116",
3
+ "version": "26.2.0-nightly.20260118",
4
4
  "description": "An API for Actual",
5
5
  "license": "MIT",
6
6
  "files": [