fix: syntax error

This commit is contained in:
Ahmed Bouhuolia
2024-07-04 17:50:48 +02:00
parent f62ec83e29
commit 168883a933
3 changed files with 7 additions and 7 deletions

View File

@@ -108,7 +108,7 @@ export default class UncategorizedCashflowTransaction extends mixin(
query.whereNotNull('excluded_at') query.whereNotNull('excluded_at')
} }
}; };
}, }
/** /**
* Relationship mapping. * Relationship mapping.

View File

@@ -5,7 +5,7 @@ import { entries, groupBy } from 'lodash';
import { CreateAccount } from '@/services/Accounts/CreateAccount'; import { CreateAccount } from '@/services/Accounts/CreateAccount';
import { import {
IAccountCreateDTO, IAccountCreateDTO,
\ IPlaidTransactionsSyncedEventPayload, IPlaidTransactionsSyncedEventPayload,
PlaidAccount, PlaidAccount,
PlaidTransaction, PlaidTransaction,
} from '@/interfaces'; } from '@/interfaces';

View File

@@ -3,13 +3,13 @@ import { Knex } from 'knex';
export enum BankRuleConditionField { export enum BankRuleConditionField {
Amount = 'Amount', Amount = 'Amount',
Description = 'Description', Description = 'Description',
Payee = 'Payee' Payee = 'Payee',
} }
export enum BankRuleConditionComparator { export enum BankRuleConditionComparator {
Contains = 'contains', Contains = 'contains',
Equals = 'equals', Equals = 'equals',
NotContain = 'not_contain'; NotContain = 'not_contain',
} }
export interface IBankRuleCondition { export interface IBankRuleCondition {
@@ -21,10 +21,10 @@ export interface IBankRuleCondition {
export enum BankRuleConditionType { export enum BankRuleConditionType {
Or = 'or', Or = 'or',
And = 'and' And = 'and',
} }
export enum BankRuleApplyIfTransactionType { export enum BankRuleApplyIfTransactionType {
Deposit = 'deposit', Deposit = 'deposit',
Withdrawal = 'withdrawal', Withdrawal = 'withdrawal',
} }
@@ -34,7 +34,7 @@ export interface IBankRule {
order?: number; order?: number;
applyIfAccountId: number; applyIfAccountId: number;
applyIfTransactionType: BankRuleApplyIfTransactionType; applyIfTransactionType: BankRuleApplyIfTransactionType;
conditionsType: BankRuleConditionType; conditionsType: BankRuleConditionType;
conditions: IBankRuleCondition[]; conditions: IBankRuleCondition[];