update to vessel

This commit is contained in:
SrGooglo 2024-10-03 08:57:47 +00:00
parent addcf4f220
commit 3dc5715734
19 changed files with 25 additions and 27 deletions

View File

@ -1,4 +1,4 @@
import Core from "evite/src/core"
import { Core } from "vessel"
import createClient from "comty.js"

View File

@ -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) {

View File

@ -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"

View File

@ -1,4 +1,4 @@
import Core from "evite/src/core"
import { Core } from "vessel"
import { Haptics } from "@capacitor/haptics"
const vibrationPatterns = {

View File

@ -1,4 +1,4 @@
import Core from "evite/src/core"
import { Core } from "vessel"
import i18n from "i18next"
import { initReactI18next } from "react-i18next"

View File

@ -1,4 +1,4 @@
import Core from "evite/src/core"
import { Core } from "vessel"
import TapShareDialog from "@components/TapShare/Dialog"
const RecordTypes = {

View File

@ -1,4 +1,4 @@
import Core from "evite/src/core"
import { Core } from "vessel"
import NotificationUI from "./ui"
import NotificationFeedback from "./feedback"

View File

@ -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()

View File

@ -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()

View File

@ -1,4 +1,4 @@
import EventBus from "evite/src/internals/eventBus"
import { EventBus } from "vessel"
import SessionModel from "@models/session"
export default class ChunkedUpload {

View File

@ -1,4 +1,4 @@
import Core from "evite/src/core"
import { Core } from "vessel"
import ChunkedUpload from "./chunkedUpload"

View File

@ -1,4 +1,4 @@
import Core from "evite/src/core"
import { Core } from "vessel"
import store from "store"
import { Observable } from "rxjs"

View File

@ -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"

View File

@ -1,4 +1,4 @@
import Core from "evite/src/core"
import { Core } from "vessel"
export default class ShortcutsCore extends Core {
static namespace = "shortcuts"

View File

@ -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"

View File

@ -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 {

View File

@ -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 {

View File

@ -1,4 +1,4 @@
import Core from "evite/src/core"
import { Core } from "vessel"
import store from "store"
export default class WidgetsCore extends Core {

View File

@ -1,5 +1,5 @@
import React from "react"
import Core from "evite/src/core"
import { Core } from "vessel"
import { createRoot } from "react-dom/client"