mirror of
https://github.com/Jellify-Music/App.git
synced 2026-02-06 18:48:56 -06:00
24 lines
576 B
TypeScript
24 lines
576 B
TypeScript
import { JellifyTrack } from '../types/JellifyTrack'
|
|
import { QueuingType } from '../enums/queuing-type'
|
|
import { BaseItemDto } from '@jellyfin/sdk/lib/generated-client/models'
|
|
import { Queue } from './types/queue-item'
|
|
|
|
export interface QueueMutation {
|
|
track: BaseItemDto
|
|
index?: number | undefined
|
|
tracklist: BaseItemDto[]
|
|
queue: Queue
|
|
queuingType?: QueuingType | undefined
|
|
}
|
|
|
|
export interface AddToQueueMutation {
|
|
track: BaseItemDto
|
|
queuingType?: QueuingType | undefined
|
|
}
|
|
|
|
export interface QueueOrderMutation {
|
|
newOrder: JellifyTrack[]
|
|
from: number
|
|
to: number
|
|
}
|