summaryrefslogtreecommitdiff
path: root/src/types/Scotsoun.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/types/Scotsoun.d.ts')
-rw-r--r--src/types/Scotsoun.d.ts20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/types/Scotsoun.d.ts b/src/types/Scotsoun.d.ts
new file mode 100644
index 0000000..f31a9b5
--- /dev/null
+++ b/src/types/Scotsoun.d.ts
@@ -0,0 +1,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; \ No newline at end of file