29 lines
522 B
TypeScript
29 lines
522 B
TypeScript
|
export interface FormState {
|
||
|
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
|
||
|
}
|
||
|
|
||
|
export interface ModDetails extends Omit<FormState, 'tags'> {
|
||
|
published_at: number
|
||
|
edited_at: number
|
||
|
site: string
|
||
|
author: string
|
||
|
tags: string[]
|
||
|
}
|