summaryrefslogtreecommitdiff
path: root/src/types/Scotsoun.d.ts
blob: f31a9b5a47ae2a49b00a3106c5799acaf81eb22b (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;