2024-08-06 10:46:38 +00:00
|
|
|
export interface ModFormState {
|
|
|
|
dTag: string
|
|
|
|
aTag: string
|
|
|
|
rTag: string
|
2024-07-25 15:05:28 +00:00
|
|
|
game: string
|
|
|
|
title: string
|
|
|
|
body: string
|
|
|
|
featuredImageUrl: string
|
|
|
|
summary: string
|
|
|
|
nsfw: boolean
|
|
|
|
screenshotsUrls: string[]
|
|
|
|
tags: string
|
|
|
|
downloadUrls: DownloadUrl[]
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface DownloadUrl {
|
|
|
|
url: string
|
|
|
|
hash: string
|
|
|
|
signatureKey: string
|
|
|
|
malwareScanLink: string
|
|
|
|
modVersion: string
|
|
|
|
customNote: string
|
|
|
|
}
|
|
|
|
|
2024-08-06 10:46:38 +00:00
|
|
|
export interface ModDetails extends Omit<ModFormState, 'tags'> {
|
|
|
|
id: string
|
2024-07-25 15:05:28 +00:00
|
|
|
published_at: number
|
|
|
|
edited_at: number
|
|
|
|
author: string
|
|
|
|
tags: string[]
|
|
|
|
}
|
2024-08-06 10:46:38 +00:00
|
|
|
|
|
|
|
export interface MuteLists {
|
|
|
|
authors: string[]
|
|
|
|
eventIds: string[]
|
|
|
|
}
|