Interface File
🏷️ Properties
alternateFileId
alternateFileId: number
Defined in: packages/curseforge/index.ts:272
dependencies
dependencies: FileDependency[]
Defined in: packages/curseforge/index.ts:273
displayName
displayName: string
Display name
Defined in: packages/curseforge/index.ts:229
downloadCount
downloadCount: number
Number of downloads for the mod
Defined in: packages/curseforge/index.ts:258
downloadUrl optional
downloadUrl: string
Url to download
Defined in: packages/curseforge/index.ts:263
fileDate
fileDate: string
The date of this file uploaded
Defined in: packages/curseforge/index.ts:249
fileLength
fileLength: number
bytes of this file.
Defined in: packages/curseforge/index.ts:253
fileName
fileName: string
File name. Might be the same with displayName
Defined in: packages/curseforge/index.ts:233
fileStatus
fileStatus: FileStatus
Defined in: packages/curseforge/index.ts:242
gameId
gameId: number
The game id related to the mod that this file belongs to
Defined in: packages/curseforge/index.ts:217
gameVersions
gameVersions: string[]
Game version string array, like ["1.12.2"]
Defined in: packages/curseforge/index.ts:267
hashes
hashes: FileHash[]
Defined in: packages/curseforge/index.ts:244
id
id: number
The fileID
Defined in: packages/curseforge/index.ts:213
isAlternate
isAlternate: boolean
Metadata used for sorting by game versions
Defined in: packages/curseforge/index.ts:271
isAvailable
isAvailable: boolean
Whether the file is available to download
Defined in: packages/curseforge/index.ts:225
modId
modId: number
The projectId (addonId)
Defined in: packages/curseforge/index.ts:221
modules
modules: Module[]
What files inside?
Defined in: packages/curseforge/index.ts:277
releaseType
releaseType: number
Release or type.
1
is the release2
beta3
alpha
Defined in: packages/curseforge/index.ts:240
sortableGameVersions optional
sortableGameVersions: SortableGameVersion[]
Defined in: packages/curseforge/index.ts:278