Skip to content

Conversation

ieugen
Copy link
Member

@ieugen ieugen commented Aug 19, 2020

No description provided.

package.json Outdated
"@testing-library/user-event": "^7.2.1",
"date-fns": "^2.12.0",
"lodash": "^4.17.15",
"ofx": "^0.5.0",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scoate te rog dependința ofx.

@@ -0,0 +1,63 @@
{
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fișierul JSON era pentru tine.
Nu are nicio valoare in proiect.
Îl poți scoate (git commit --ammend)

BANKMSGSRSV1: {
STMTTRNRS: {
STMTRS: {
CURDEF: "RON",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Multe din astea vor trebui să fie ca parametrii.
Eu am conturi in EUR.

Cum ar arăta un API (funcție / funcții) pentru a converti un fișier CSV -> OFX?
Ce date va fi nevoie suplimentar de la utilizator?
Cum vei pasa datele către API (ce semnătură vor avea funcțiile)?

@@ -0,0 +1,26 @@
function transactionType(credit, debit) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Te rog să adaugi teste pentru metodele de mai jos.

@ieugen
Copy link
Member Author

ieugen commented Aug 19, 2020

Înlocuiește xml-js cu https://github.com/Leonidas-from-XIV/node-xml2js .
xml-js folosește o bibliotecă nativă și nu poate fi folosit în browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant