mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 02:24:16 +00:00
remove unused core
This commit is contained in:
parent
464bb901e4
commit
2731fd7b4e
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user