mirror of
https://github.com/Jellify-Music/App.git
synced 2026-01-24 12:08:44 -06:00
22 lines
580 B
TypeScript
22 lines
580 B
TypeScript
import { JellifyTrack } from "@/types/JellifyTrack";
|
|
import { QueuingType } from "../enums/queuing-type";
|
|
import { BaseItemDto } from "@jellyfin/sdk/lib/generated-client/models";
|
|
|
|
export interface QueueMutation {
|
|
track: BaseItemDto;
|
|
index?: number | undefined;
|
|
tracklist: BaseItemDto[];
|
|
queueName: string;
|
|
queuingType?: QueuingType | undefined;
|
|
}
|
|
|
|
export interface AddToQueueMutation {
|
|
track: BaseItemDto,
|
|
queuingType?: QueuingType | undefined;
|
|
}
|
|
|
|
export interface QueueOrderMutation {
|
|
newOrder: JellifyTrack[];
|
|
from: number;
|
|
to: number;
|
|
} |