interface PlaylistCreatedMessage

Sent by the server when a playlist is created, to every socket if it is public, else to its owner's. It also goes to everyone but the owner when a private playlist goes public, since to them it is new. WSProvider passes it on to the playlist pages as a playlist event, as it does the three messages below.

Properties

type: "playlist_created"

Usage

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