summaryrefslogtreecommitdiff
path: root/src/types/Scotsoun.d.ts
blob: 333419c1dbbb0defcb69f7801161ded33e092141 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import type { defaultLocale } from '$i18n/locales';
import type Date from './Date';
import type Locale from './Locale';
import type Price from './Price';
import type ScotsounId from './ScotsounId';

type Scotsoun = {
  title: string;
  subtitle?: string;
  longName: string;
  author?: string;
  cdCount: number;
  price: Price;
  scotsounId: ScotsounId;
  description?: { [key in Locale]?: string } & { [key in typeof defaultLocale]: string };
  coverArtist?: string;
  trackList?: string[];
  releaseDate?: Date;
  uploadDate: Date;
};

export default Scotsoun;