ModDetailsDTO
ModDetailsDTO is the frontend-safe representation of mod details.
Kind
struct
Fields
| Go field | JSON field | Go type | TypeScript type | Optional | Nullable |
|---|---|---|---|---|---|
ModSummaryDTO | ModSummaryDTO | ModSummaryDTO | ModSummaryDTO | No | No |
Description | description | string | string | No | No |
Screenshots | screenshots | []ModScreenshotDTO | ModScreenshotDTO[] | No | No |
Versions | versions | []ModVersionDTO | ModVersionDTO[] | No | No |
WebsiteURL | websiteUrl | string | string | Yes | No |
SourceURL | sourceUrl | string | string | Yes | No |
License | license | string | string | Yes | No |
Used by
- ModCatalogController.GetMod — return value
Related types
Source
internal/transport/wails/modcatalog_dto.go:67