add type
This commit is contained in:
parent
e961afbad5
commit
05d0ada8e1
@ -192,7 +192,7 @@ const streamUrl = ref(
|
||||
`/data/event/${configStore.configGui[configStore.configID].id}?endpoint=playout&uuid=${authStore.uuid}`
|
||||
)
|
||||
|
||||
// 'http://127.0.0.1:8787/data/event/1?endpoint=system&uuid=f2f8c29b-712a-48c5-8919-b535d3a05a3a'
|
||||
// 'http://127.0.0.1:8787/data/event/1?endpoint=playout&uuid=f2f8c29b-712a-48c5-8919-b535d3a05a3a'
|
||||
const { status, data, error, close } = useEventSource(streamUrl, [], {
|
||||
autoReconnect: {
|
||||
retries: -1,
|
||||
|
@ -82,7 +82,7 @@ export const usePlaylist = defineStore('playlist', {
|
||||
this.currentClipIn = item.media.in
|
||||
this.currentClipOut = item.media.out
|
||||
this.currentClipDuration = item.media.duration
|
||||
this.currentClipTitle = item.media.title
|
||||
this.currentClipTitle = item.media.title ?? ''
|
||||
this.currentClipIndex = item.index
|
||||
this.elapsedSec = item.elapsed
|
||||
this.ingestRuns = item.ingest
|
||||
|
1
types/index.d.ts
vendored
1
types/index.d.ts
vendored
@ -128,5 +128,6 @@ declare global {
|
||||
mode: string
|
||||
elapsed: number
|
||||
shift: number
|
||||
title?: string
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user