mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +00:00
fix: syntax error
This commit is contained in:
@@ -5,7 +5,7 @@ import { entries, groupBy } from 'lodash';
|
||||
import { CreateAccount } from '@/services/Accounts/CreateAccount';
|
||||
import {
|
||||
IAccountCreateDTO,
|
||||
\ IPlaidTransactionsSyncedEventPayload,
|
||||
IPlaidTransactionsSyncedEventPayload,
|
||||
PlaidAccount,
|
||||
PlaidTransaction,
|
||||
} from '@/interfaces';
|
||||
|
||||
@@ -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[];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user