fix(core): update
This commit is contained in:
parent
834ba90170
commit
e731e017bb
@ -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'
|
||||||
}
|
}
|
||||||
|
@ -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[]>;
|
||||||
}
|
}
|
||||||
|
4
ts/interfaces/csvdescriptor.ts
Normal file
4
ts/interfaces/csvdescriptor.ts
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
export interface ICsvDescriptor {
|
||||||
|
name: string;
|
||||||
|
contentString: string;
|
||||||
|
}
|
@ -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';
|
||||||
|
Loading…
Reference in New Issue
Block a user