summaryrefslogtreecommitdiff
path: root/src/types/LallansIssue.d.ts
diff options
context:
space:
mode:
authorJoe Carstairs <jcarstairs@scottlogic.com>2023-08-07 18:18:22 +0100
committerJoe Carstairs <jcarstairs@scottlogic.com>2023-08-07 18:19:06 +0100
commit2fcbccfbd49c6eaf433272749e32589a6f490200 (patch)
treef8fc429709d66ce96d1f0e8c3812f24c13bf9d18 /src/types/LallansIssue.d.ts
parentd494739e4823424bb54d81e21b57e4725544eb07 (diff)
parent27a25bfdeb07007e06bd4a608cd9953be04271ec (diff)
Merge branch 'master' of https://github.com/jcarstairs-scottlogic/lallans-wabsteid-astro
Diffstat (limited to 'src/types/LallansIssue.d.ts')
-rw-r--r--src/types/LallansIssue.d.ts23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/types/LallansIssue.d.ts b/src/types/LallansIssue.d.ts
new file mode 100644
index 0000000..2f6355d
--- /dev/null
+++ b/src/types/LallansIssue.d.ts
@@ -0,0 +1,23 @@
+import type LallansIssueNumber from './LallansIssueNumber';
+import type Price from './Price';
+
+type LallansIssue = {
+ issueNumber: LallansIssueNumber,
+ issueName: string,
+ price: Price,
+ description: {
+ sco: string,
+ 'en-GB': string,
+ },
+ coverArtist?: string,
+ trackList?: string[],
+} & (
+ { contributors: Contributor[] } |
+ { contributions: Contribution[] } |
+ Record<string, never>
+);
+
+type Contributor = string;
+type Contribution = { author?: string, title: string };
+
+export default LallansIssue; \ No newline at end of file