@nexusmods/nexus-api › Globals › "types" › IFileInfo
Information about a specific mod file
- IFileInfo
- category_id
- category_name
- changelog_html
- content_preview_link
- description
- external_virus_scan_url
- file_id
- file_name
- is_primary
- mod_version
- name
- size
- size_kb
- uploaded_time
- uploaded_timestamp
- version
• category_id: number
Defined in src/types.ts:165
File type as a number (1 = main, 2 = patch, 3 = optional, 4 = old, 6 = deleted)
• category_name: string
Defined in src/types.ts:169
File type as a string ('MAIN', 'PATCH', 'OPTION', 'OLD_VERSION', 'DELETED')
• changelog_html: string
Defined in src/types.ts:174
html encoded changelog (matched via file version) null if there is none
• content_preview_link: string
Defined in src/types.ts:178
url of the content preview (json file containing list of files)
• description: string
Defined in src/types.ts:186
file description
• external_virus_scan_url: string
Defined in src/types.ts:219
link to the virus scan results null if there is none
• file_id: number
Defined in src/types.ts:161
file id
• file_name: string
Defined in src/types.ts:202
actual file name (derived from name with id and version appended)
• is_primary: boolean
Defined in src/types.ts:224
whether this is the primary download for the mod (the one that users download through the link in the top right of the mod page)
• mod_version: string
Defined in src/types.ts:214
version of the mod (at the time this was uploaded?)
• name: string
Defined in src/types.ts:182
readable file name
• size: number
Defined in src/types.ts:194
File size in kilobytes
• size_kb: number
Defined in src/types.ts:198
File size. also in kilobytes. Because - ugh, don't ask
• uploaded_time: string
Defined in src/types.ts:210
readable representation of the file time
• uploaded_timestamp: number
Defined in src/types.ts:206
unix timestamp of the time this file was uploaded
• version: string
Defined in src/types.ts:190
File version (doesn't actually have to match any mod version)