mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
update to vessel
This commit is contained in:
parent
addcf4f220
commit
3dc5715734
@ -1,4 +1,4 @@
|
||||
import Core from "evite/src/core"
|
||||
import { Core } from "vessel"
|
||||
|
||||
import createClient from "comty.js"
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import React from "react"
|
||||
import Core from "evite/src/core"
|
||||
import EventEmitter from "evite/src/internals/EventEmitter"
|
||||
|
||||
import { Core, EventBus } from "vessel"
|
||||
|
||||
import ContextMenu from "./components/contextMenu"
|
||||
|
||||
@ -15,7 +15,7 @@ export default class ContextMenuCore extends Core {
|
||||
...PostCardContext,
|
||||
}
|
||||
|
||||
eventBus = new EventEmitter()
|
||||
eventBus = new EventBus()
|
||||
|
||||
async onInitialize() {
|
||||
if (app.isMobile) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import Core from "evite/src/core"
|
||||
import { Core } from "vessel"
|
||||
import { FFmpeg } from "@ffmpeg/ffmpeg"
|
||||
import { fetchFile, toBlobURL } from "@ffmpeg/util"
|
||||
import isURL from "@utils/isURL"
|
||||
|
@ -1,4 +1,4 @@
|
||||
import Core from "evite/src/core"
|
||||
import { Core } from "vessel"
|
||||
import { Haptics } from "@capacitor/haptics"
|
||||
|
||||
const vibrationPatterns = {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import Core from "evite/src/core"
|
||||
import { Core } from "vessel"
|
||||
import i18n from "i18next"
|
||||
import { initReactI18next } from "react-i18next"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import Core from "evite/src/core"
|
||||
import { Core } from "vessel"
|
||||
import TapShareDialog from "@components/TapShare/Dialog"
|
||||
|
||||
const RecordTypes = {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import Core from "evite/src/core"
|
||||
import { Core } from "vessel"
|
||||
|
||||
import NotificationUI from "./ui"
|
||||
import NotificationFeedback from "./feedback"
|
||||
|
@ -1,5 +1,4 @@
|
||||
import Core from "evite/src/core"
|
||||
import EventEmitter from "evite/src/internals/EventEmitter"
|
||||
import { Core, EventBus } from "vessel"
|
||||
import { Observable } from "object-observer"
|
||||
import { FastAverageColor } from "fast-average-color"
|
||||
|
||||
@ -46,7 +45,7 @@ export default class Player extends Core {
|
||||
|
||||
audioProcessors = []
|
||||
|
||||
eventBus = new EventEmitter()
|
||||
eventBus = new EventBus()
|
||||
|
||||
fac = new FastAverageColor()
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
import Core from "evite/src/core"
|
||||
import EventEmitter from "evite/src/internals/EventEmitter"
|
||||
import { Core, EventBus } from "vessel"
|
||||
import { Observable } from "object-observer"
|
||||
import { FastAverageColor } from "fast-average-color"
|
||||
|
||||
@ -45,7 +44,7 @@ export default class Player extends Core {
|
||||
|
||||
audioProcessors = []
|
||||
|
||||
eventBus = new EventEmitter()
|
||||
eventBus = new EventBus()
|
||||
|
||||
fac = new FastAverageColor()
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import EventBus from "evite/src/internals/eventBus"
|
||||
import { EventBus } from "vessel"
|
||||
import SessionModel from "@models/session"
|
||||
|
||||
export default class ChunkedUpload {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import Core from "evite/src/core"
|
||||
import { Core } from "vessel"
|
||||
|
||||
import ChunkedUpload from "./chunkedUpload"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import Core from "evite/src/core"
|
||||
import { Core } from "vessel"
|
||||
import store from "store"
|
||||
import { Observable } from "rxjs"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import Core from "evite/src/core"
|
||||
import { Core } from "vessel"
|
||||
import { Howl } from "howler"
|
||||
import axios from "axios"
|
||||
import store from "store"
|
||||
|
@ -1,4 +1,4 @@
|
||||
import Core from "evite/src/core"
|
||||
import { Core } from "vessel"
|
||||
|
||||
export default class ShortcutsCore extends Core {
|
||||
static namespace = "shortcuts"
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React from "react"
|
||||
import Core from "evite/src/core"
|
||||
import { Core } from "vessel"
|
||||
|
||||
import { ConfigProvider, theme } from "antd"
|
||||
import store from "store"
|
||||
|
@ -1,4 +1,4 @@
|
||||
import Core from "evite/src/core"
|
||||
import { Core } from "vessel"
|
||||
import SyncModel from "comty.js/models/sync"
|
||||
|
||||
export default class SyncCore extends Core {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import Core from "evite/src/core"
|
||||
import { Core } from "vessel"
|
||||
import { Observable } from "object-observer"
|
||||
|
||||
export default class TasksQueue extends Core {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import Core from "evite/src/core"
|
||||
import { Core } from "vessel"
|
||||
import store from "store"
|
||||
|
||||
export default class WidgetsCore extends Core {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React from "react"
|
||||
import Core from "evite/src/core"
|
||||
import { Core } from "vessel"
|
||||
|
||||
import { createRoot } from "react-dom/client"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user