···11export * as ShDiffuseOutputConstituent from "./types/sh/diffuse/output/constituent.js";
22-export * as ShDiffuseOutputFavourite from "./types/sh/diffuse/output/favourite.js";
32export * as ShDiffuseOutputPlaylist from "./types/sh/diffuse/output/playlist.js";
43export * as ShDiffuseOutputTrack from "./types/sh/diffuse/output/track.js";
···66 "type": "record",
77 "record": {
88 "type": "object",
99- "required": ["collection", "items", "name"],
99+ "required": ["items", "name", "unordered"],
1010 "nullable": ["autoGenerate"],
1111 "properties": {
1212 "autoGenerate": {
1313 "type": "ref",
1414 "ref": "#autoGenerate"
1515- },
1616- "collection": {
1717- "type": "boolean",
1818- "default": false,
1919- "description": "If this property is set to true, the playlist items should not be presented in order. It's considered a collection of tracks."
2015 },
2116 "items": {
2217 "type": "array",
···2722 },
2823 "name": {
2924 "type": "string"
2525+ },
2626+ "unordered": {
2727+ "type": "boolean",
2828+ "default": false,
2929+ "description": "If this property is set to true, the playlist items should not be presented in order. It's considered an unordered collection of tracks."
3030 }
3131 }
3232 }
3333 },
3434 "autoGenerate": {
3535 "type": "object",
3636- "description": "Auto-generate the items of the playlist, overriding the included items. If this property is set, the playlist should always be treated as a collection.",
3636+ "description": "Auto-generate the items of the playlist, overriding the included items. If this property is set, the playlist should always be treated as unordered.",
3737 "required": ["criteria"],
3838 "properties": {
3939 "criteria": {
-2
src/definitions/types.d.ts
···22 Main as Constituent,
33} from "./types/sh/diffuse/output/constituent.ts";
4455-export type { Main as Favourite } from "./types/sh/diffuse/output/favourite.ts";
66-75export type {
86 AutoGenerate as PlaylistAutoGeneration,
97 Criterion,
+2-6
src/index.vto
···178178 desc: >
179179 Custom constituents to keep around.
180180 url: "definitions/output/constituent.json"
181181- - title: "Output / Favourite"
182182- desc: >
183183- Indicate a user's favourite audio. Not a property of a track because tracks are associated with a specific source. Favourites may match with multiple tracks. Specified with criteria that will be used to match the tracks.
184184- url: "definitions/output/favourite.json"
185181 - title: "Output / Playlist"
186182 desc: >
187187- Just like favourites, does not refer to specific tracks. Can also be considered a collection which is basically an unordered playlist.
188188- todo: true
183183+ Represents a collection of tracks, which may be ordered or unordered. Tracks are matched based on the given criteria.
184184+ url: "definitions/output/playlist.json"
189185 - title: "Output / Progress"
190186 desc: >
191187 Used to track progress of (long) audio playback.