server-ts: Port services/sync

This commit is contained in:
Elian Doran
2024-02-18 13:10:51 +02:00
parent 43c89c0e9d
commit d89b791914
11 changed files with 133 additions and 85 deletions

View File

@@ -3,7 +3,7 @@
const scriptService = require('../../services/script.js');
const attributeService = require('../../services/attributes');
const becca = require('../../becca/becca');
const syncService = require('../../services/sync.js');
const syncService = require('../../services/sync');
const sql = require('../../services/sql');
// The async/await here is very confusing, because the body.script may, but may not be async. If it is async, then we

View File

@@ -1,6 +1,6 @@
"use strict";
const syncService = require('../../services/sync.js');
const syncService = require('../../services/sync');
const syncUpdateService = require('../../services/sync_update');
const entityChangesService = require('../../services/entity_changes');
const sql = require('../../services/sql');