feat: implement advertising data synchronization and API endpoints for performance tracking

This commit is contained in:
Michael committed 2026-04-07 10:34:36 +02:00
1 parent de69370d9e
commit 9e993b3559
6 files changed
+506 -5

No files matched your search

+2
View File
@@ -11,6 +11,7 @@ const { syncRanking } = require('./tables/ranking');
const { syncStatDispoperm } = require('./tables/stat_dispoperm');
const { syncPhenixQuantiteConseille } = require('./tables/phenix_quantite_conseille');
const { syncAppro } = require('./tables/appro');
const { syncPublicites } = require('./tables/publicites');
const { closeAll } = require('./db');
const {
startDashboard, registerSyncFn,
@@ -33,6 +34,7 @@ const STEPS = [
{ name: 'stat_dispoperm', fn: syncStatDispoperm },
{ name: 'phenix_quantite_conseille', fn: syncPhenixQuantiteConseille },
{ name: 'appro', fn: syncAppro },
{ name: 'publicites', fn: syncPublicites },
];
async function syncAll(force = false) {