feat: added remaining after budget

This commit is contained in:
oxypomme
2025-01-02 14:33:24 +01:00
parent 8344f20aa7
commit 6c79788957
6 changed files with 77 additions and 43 deletions

View File

@@ -19,9 +19,8 @@ await api.downloadBudget(process.env.ACTUAL_ID, {
password: process.env.ACTUAL_ENCRYPTION,
});
export async function getSchedules(select = '*') {
export async function getSchedulesSQL(select = '*') {
return (await api.runQuery(api.q('schedules').select(select))).data;
}
export * from '@actual-app/api';
export * from '@actual-app/api';