refactor(nestjs): hook up new endpoints

This commit is contained in:
Ahmed Bouhuolia
2025-05-16 01:41:11 +02:00
parent ecb80b2cf2
commit 4de1ef71ca
23 changed files with 644 additions and 38 deletions

View File

@@ -0,0 +1,15 @@
export const runningBalance = (amount: number) => {
let runningBalance = amount;
return {
decrement: (decrement: number) => {
runningBalance -= decrement;
},
increment: (increment: number) => {
runningBalance += increment;
},
amount: () => runningBalance,
};
};