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

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

View File

@@ -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 {
@@ -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',
}
@@ -34,7 +34,7 @@ export interface IBankRule {
order?: number;
applyIfAccountId: number;
applyIfTransactionType: BankRuleApplyIfTransactionType;
conditionsType: BankRuleConditionType;
conditions: IBankRuleCondition[];