minca
ApiSchemasVariables

Variable: mediaGroups

const mediaGroups: object;

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

This file's part of standardGroups

Type Declaration

Files and media

"Files and media": (
  | object & Typed<{
  alt?: string;
  blob?: {
     hash: string;
     key?: string;
     mime: string;
     name?: string;
     salt?: string;
     size: number;
  };
  captions?: {
     hash: string;
     key?: string;
     mime: string;
     name?: string;
     salt?: string;
     size: number;
  };
  duration?: number;
  height?: number;
  mime: string;
  name: string;
  place?: {
     address?: {
        country?: ... | ...;
        locality?: ... | ...;
        postcode?: ... | ...;
        region?: ... | ...;
        street?: ... | ...;
     };
     cells?: readonly string[];
     lat?: number;
     lon?: number;
     name?: string;
  };
  size?: number;
  takenAt?: string;
  thumbnail?: {
     hash: string;
     key?: string;
     mime: string;
     name?: string;
     salt?: string;
     size: number;
  };
  url?: string;
  width?: number;
}>
  | object & Typed<{
  album?: string;
  artists?: readonly string[];
  duration?: number;
  isrc?: string;
  mbid?: string;
  title: string;
}>
  | object & Typed<{
  album?: string;
  artists?: readonly string[];
  duration?: number;
  isrc?: string;
  mbid?: string;
  playedAt: string;
  title: string;
}>)[];

Lists

Lists: (
  | object & Typed<{
  description?: string;
  icon?: string;
  kind?: string;
  title: string;
}>
  | object & Typed<{
  checked?: boolean;
  did?: string;
  position?: string;
  quantity?: number;
  text?: string;
  url?: string;
}>)[];

On this page