Compare commits
12 Commits
Author | SHA1 | Date | |
---|---|---|---|
44de2dadab | |||
d848387715 | |||
0d9d365673 | |||
e731e017bb | |||
834ba90170 | |||
d78183e596 | |||
82d30a93c8 | |||
51d894cba7 | |||
bef9349216 | |||
2017634f87 | |||
56460edeb2 | |||
e2851b36d0 |
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fin.cx/portablefinance",
|
||||
"version": "1.0.18",
|
||||
"version": "1.0.24",
|
||||
"private": false,
|
||||
"description": "an interface package for the financeplus organization",
|
||||
"main": "dist_ts/index.js",
|
||||
|
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@fin.cx/portablefinance',
|
||||
version: '1.0.18',
|
||||
version: '1.0.24',
|
||||
description: 'an interface package for the financeplus organization'
|
||||
}
|
||||
|
@ -1,5 +1,9 @@
|
||||
export abstract class AcCsvParser<T> {
|
||||
import type { ICsvDescriptor } from '../interfaces/csvdescriptor.js';
|
||||
import { type IMonetaryTransaction } from '../interfaces/transaction.js';
|
||||
|
||||
export abstract class AcCsvParser<TOriginalTrnasction> {
|
||||
public abstract paymentProviderName: string;
|
||||
public abstract transactionArray: T[];
|
||||
public abstract getTransactions(): Promise<T[]>;
|
||||
public abstract description: string;
|
||||
public abstract addCsvDecriptor(csvDescriptorArg: ICsvDescriptor): void;
|
||||
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 './transaction.js';
|
||||
export * from './voucher.js';
|
||||
|
Reference in New Issue
Block a user