Files
accounted/vercel.json
T
Mattsson 7a0214c053 feat: implement cloud backup auto-sync feature with scheduling (#280)
* feat: implement cloud backup auto-sync feature with scheduling

- Added a new cron route for auto-syncing Google Drive backups hourly.
- Introduced a schedule management system for enabling/disabling auto-sync and setting the sync hour.
- Updated the logo upload API to handle logo file management more efficiently.
- Created a public storage bucket for company logos with appropriate size and type restrictions.
- Enhanced the LogoUpload component to validate file types and sizes during upload.
- Added tests for the new auto-sync functionality to ensure correct behavior under various conditions.

* Update extensions/general/cloud-backup/lib/sync.ts

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Update app/api/settings/logo/route.ts

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* refactor: remove unused parameters from saveExtensionData function

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-04-20 13:42:37 +02:00

37 lines
743 B
JSON

{
"crons": [
{
"path": "/api/deadlines/status/cron",
"schedule": "0 6 * * *"
},
{
"path": "/api/invoices/reminders/cron",
"schedule": "0 8 * * *"
},
{
"path": "/api/tax-deadlines/cron",
"schedule": "0 0 2 1 *"
},
{
"path": "/api/extensions/enable-banking/sync/cron",
"schedule": "0 5 * * *"
},
{
"path": "/api/documents/verify/cron",
"schedule": "0 3 * * *"
},
{
"path": "/api/sandbox/cleanup/cron",
"schedule": "0 4 * * *"
},
{
"path": "/api/events/cleanup/cron",
"schedule": "0 2 * * *"
},
{
"path": "/api/extensions/cloud-backup/auto-sync/cron",
"schedule": "0 * * * *"
}
]
}