diff options
Diffstat (limited to 'src/types/LallansIssue.d.ts')
| -rw-r--r-- | src/types/LallansIssue.d.ts | 23 |
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 |
