remove unused core

This commit is contained in:
SrGooglo 2025-05-15 13:04:06 +00:00
parent 464bb901e4
commit 2731fd7b4e

View File

@ -1,34 +0,0 @@
import { Core } from "@ragestudio/vessel"
import SyncModel from "comty.js/models/sync"
export default class SyncCore extends Core {
static namespace = "sync"
static dependencies = ["api", "settings"]
activeLinkedServices = {}
services = {
}
public = {
getActiveLinkedServices: function () {
return this.activeLinkedServices
}.bind(this),
services: this.services,
}
events = {
"app.initialization.start": async () => {
const activeServices = await SyncModel.getLinkedServices().catch((error) => {
this.console.error(error)
return null
})
if (activeServices) {
this.console.log(`Active services`, activeServices)
this.activeLinkedServices = activeServices
}
}
}
}