Skip to content

Latest commit

 

History

History
193 lines (106 loc) · 4.5 KB

_types_.ifileinfo.md

File metadata and controls

193 lines (106 loc) · 4.5 KB

@nexusmods/nexus-apiGlobals"types"IFileInfo

Interface: IFileInfo

Information about a specific mod file

Hierarchy

  • IFileInfo

Index

Properties

Properties

category_id

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

category_name: string

Defined in src/types.ts:169

File type as a string ('MAIN', 'PATCH', 'OPTION', 'OLD_VERSION', 'DELETED')


changelog_html

changelog_html: string

Defined in src/types.ts:174

html encoded changelog (matched via file version) null if there is none


content_preview_link

content_preview_link: string

Defined in src/types.ts:178

url of the content preview (json file containing list of files)


description

description: string

Defined in src/types.ts:186

file description


external_virus_scan_url

external_virus_scan_url: string

Defined in src/types.ts:219

link to the virus scan results null if there is none


file_id

file_id: number

Defined in src/types.ts:161

file id


file_name

file_name: string

Defined in src/types.ts:202

actual file name (derived from name with id and version appended)


is_primary

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

mod_version: string

Defined in src/types.ts:214

version of the mod (at the time this was uploaded?)


name

name: string

Defined in src/types.ts:182

readable file name


size

size: number

Defined in src/types.ts:194

File size in kilobytes


size_kb

size_kb: number

Defined in src/types.ts:198

File size. also in kilobytes. Because - ugh, don't ask


uploaded_time

uploaded_time: string

Defined in src/types.ts:210

readable representation of the file time


uploaded_timestamp

uploaded_timestamp: number

Defined in src/types.ts:206

unix timestamp of the time this file was uploaded


version

version: string

Defined in src/types.ts:190

File version (doesn't actually have to match any mod version)