minca
ApiSchemasVariables

Variable: play

const play: object & Typed<{
  album?: string;
  artists?: readonly string[];
  duration?: number;
  isrc?: string;
  mbid?: string;
  playedAt: string;
  title: string;
}>;

Defined in: packages/core/src/schemas/library/media.ts:121

A track someone listened to, and when: a listening history.

Type Declaration

description

readonly description: "A track someone listened to, and when: about the std.track when the space has it." = 'A track someone listened to, and when: about the std.track when the space has it.';
readonly links: object;

links.about

readonly about: LinkDeclaration;

name

readonly name: "std.play" = 'std.play';

schema

readonly schema: object;

schema.properties

readonly properties: object;

schema.properties.album

readonly album: object;

schema.properties.album.maxLength

maxLength: number = max;

schema.properties.album.minLength?

minLength?: number = min;

schema.properties.album.type

type: "string";

schema.properties.artists

readonly artists: object;

schema.properties.artists.items

readonly items: object;

schema.properties.artists.items.maxLength

maxLength: number = max;

schema.properties.artists.items.minLength?

minLength?: number = min;

schema.properties.artists.items.type

type: "string";

schema.properties.artists.maxItems

readonly maxItems: 20 = 20;

schema.properties.artists.type

readonly type: "array" = 'array';

schema.properties.duration

readonly duration: object;

schema.properties.duration.description

readonly description: "Seconds" = 'Seconds';

schema.properties.duration.minimum

readonly minimum: 0 = 0;

schema.properties.duration.type

readonly type: "number" = 'number';

schema.properties.isrc

readonly isrc: object;

schema.properties.isrc.maxLength

maxLength: number = max;

schema.properties.isrc.minLength?

minLength?: number = min;

schema.properties.isrc.type

type: "string";

schema.properties.mbid

readonly mbid: object;

schema.properties.mbid.maxLength

maxLength: number = max;

schema.properties.mbid.minLength?

minLength?: number = min;

schema.properties.mbid.type

type: "string";

schema.properties.playedAt

readonly playedAt: object & object;
Type Declaration
maxLength
maxLength: number = max;
minLength?
minLength?: number = min;
type
type: "string";
x-kind
readonly "x-kind": "when";

schema.properties.title

readonly title: object;

schema.properties.title.maxLength

maxLength: number = max;

schema.properties.title.minLength?

minLength?: number = min;

schema.properties.title.type

type: "string";

schema.required

readonly required: readonly ["title", "playedAt"];

schema.type

readonly type: "object" = 'object';

title

readonly title: "Play" = 'Play';

On this page