Skip to content

Commit

Permalink
fix: syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
abouolia committed Jul 4, 2024
1 parent f62ec83 commit 168883a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export default class UncategorizedCashflowTransaction extends mixin(
query.whereNotNull('excluded_at')
}
};
},
}

/**
* Relationship mapping.
Expand Down
2 changes: 1 addition & 1 deletion packages/server/src/services/Banking/Plaid/PlaidSyncDB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { entries, groupBy } from 'lodash';
import { CreateAccount } from '@/services/Accounts/CreateAccount';
import {
IAccountCreateDTO,
\ IPlaidTransactionsSyncedEventPayload,
IPlaidTransactionsSyncedEventPayload,
PlaidAccount,
PlaidTransaction,
} from '@/interfaces';
Expand Down
10 changes: 5 additions & 5 deletions packages/server/src/services/Banking/Rules/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import { Knex } from 'knex';
export enum BankRuleConditionField {
Amount = 'Amount',
Description = 'Description',
Payee = 'Payee'
Payee = 'Payee',
}

export enum BankRuleConditionComparator {
Contains = 'contains',
Equals = 'equals',
NotContain = 'not_contain';
NotContain = 'not_contain',
}

export interface IBankRuleCondition {
Expand All @@ -21,10 +21,10 @@ export interface IBankRuleCondition {

export enum BankRuleConditionType {
Or = 'or',
And = 'and'
And = 'and',
}

export enum BankRuleApplyIfTransactionType {
export enum BankRuleApplyIfTransactionType {
Deposit = 'deposit',
Withdrawal = 'withdrawal',
}
Expand All @@ -34,7 +34,7 @@ export interface IBankRule {
order?: number;
applyIfAccountId: number;
applyIfTransactionType: BankRuleApplyIfTransactionType;

conditionsType: BankRuleConditionType;
conditions: IBankRuleCondition[];

Expand Down

0 comments on commit 168883a

Please sign in to comment.