interface PlaylistDeletedMessage

Sent by the server when a playlist is deleted, to those who could see it. It also goes to everyone but the owner when a public playlist goes private.

Properties

type: "playlist_deleted"
playlistId: string
userId: string

Usage

import { type PlaylistDeletedMessage } from "shared/ws.ts";