Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0d9d365673 | |||
| e731e017bb | |||
| 834ba90170 | |||
| d78183e596 | |||
| 82d30a93c8 | |||
| 51d894cba7 | |||
| bef9349216 | |||
| 2017634f87 |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fin.cx/portablefinance",
|
||||
"version": "1.0.19",
|
||||
"version": "1.0.23",
|
||||
"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.19',
|
||||
version: '1.0.23',
|
||||
description: 'an interface package for the financeplus organization'
|
||||
}
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
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 getTransactions(): Promise<T[]>;
|
||||
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