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

type Scotsoun = {
  title: string;
  subtitle?: string;
  'long-name': string;
  author?: string;
  'cd-count': number;
  price: Price;
  'scotsoun-id': string;
  description?: { [key in Locale]?: string } & { [key in typeof defaultLocale]: string };
  'cover-artist'?: string;
  'track-list'?: string[];
  'release-date'?: Date;
};

export default Scotsoun;