fix(core): update

This commit is contained in:
Philipp Kunz 2023-11-16 18:54:35 +01:00
parent 834ba90170
commit e731e017bb
4 changed files with 8 additions and 1 deletions

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@fin.cx/portablefinance', name: '@fin.cx/portablefinance',
version: '1.0.22', version: '1.0.23',
description: 'an interface package for the financeplus organization' description: 'an interface package for the financeplus organization'
} }

View File

@ -1,6 +1,8 @@
import type { ICsvDescriptor } from '../interfaces/csvdescriptor.js';
import { type IMonetaryTransaction } from '../interfaces/transaction.js'; import { type IMonetaryTransaction } from '../interfaces/transaction.js';
export abstract class AcCsvParser<TOriginalTrnasction> { export abstract class AcCsvParser<TOriginalTrnasction> {
public abstract paymentProviderName: string; public abstract paymentProviderName: string;
public abstract addCsvDecriptor(csvDescriptorArg: ICsvDescriptor): void;
public abstract getTransactions(): Promise<IMonetaryTransaction[]>; public abstract getTransactions(): Promise<IMonetaryTransaction[]>;
} }

View File

@ -0,0 +1,4 @@
export interface ICsvDescriptor {
name: string;
contentString: string;
}

View File

@ -1,3 +1,4 @@
export * from './csvdescriptor.js';
export * from './paymentaccount.js'; export * from './paymentaccount.js';
export * from './transaction.js'; export * from './transaction.js';
export * from './voucher.js'; export * from './voucher.js';