curseforge / Exports
- AddonAttachmentInfo
- AddonAuthorInfo
- AddonCategoryInfo
- AddonGameVersionLatestFile
- AddonInfo
- AddonLatestFileInfo
- MinecraftVersionInfo
- ModloaderBasicInfo
- ModloaderInfo
- fetchAddonFilesInfo
- fetchAddonInfo
- fetchMinecraftModSearch
- fetchMinecraftModpackSearch
- fetchMinecraftVersionInfo
- fetchMinecraftVersionList
- fetchModloaderInfo
- fetchModloaderList
Ƭ AddonAttachmentInfo: Object
Name | Type |
---|---|
description |
string |
id |
number |
isDefault |
boolean |
projectId |
number |
status |
number |
thumbnailUrl |
string |
title |
string |
url |
string |
Ƭ AddonAuthorInfo: Object
Name | Type |
---|---|
id |
number |
name |
string |
projectId |
number |
projectTitleId |
2 |
projectTitleTitle |
"Author" |
twitchId |
number |
url |
string |
userId |
number |
Ƭ AddonCategoryInfo: Object
Name | Type |
---|---|
avatarId |
number |
avatarUrl |
string |
categoryId |
number |
dateModified |
string |
gameId |
number |
name |
string |
parentId |
number |
projectId |
number |
rootId |
number |
slug |
string |
url |
string |
Ƭ AddonGameVersionLatestFile: Object
Name | Type |
---|---|
fileType |
number |
gameVersion |
string |
gameVersionFlavor |
null | unknown |
gameVersionTypeId |
number |
projectFileId |
number |
projectFileName |
string |
Ƭ AddonInfo: Object
Name | Type |
---|---|
attachments |
AddonAttachmentInfo [] |
authors |
AddonAuthorInfo [] |
categories |
AddonCategoryInfo [] |
categorySection |
Object |
categorySection.extraIncludePattern |
string | null |
categorySection.gameCategoryId |
number |
categorySection.gameId |
number |
categorySection.id |
number |
categorySection.initialInclusionPattern |
string |
categorySection.name |
string |
categorySection.packageType |
number |
categorySection.path |
string |
dateCreated |
string |
dateModified |
string |
dateReleased |
string |
defaultFileId |
number |
downloadCount |
number |
gameId |
number |
gameName |
string |
gamePopularityRank |
number |
gameSlug |
string |
gameVersionLatestFiles |
AddonGameVersionLatestFile [] |
id |
number |
isAvailable |
boolean |
isExperiemental |
boolean |
isFeatured |
boolean |
issueTrackerUrl? |
string |
latestFiles |
AddonLatestFileInfo [] |
modLoaders? |
string [] |
name |
string |
popularityScore |
number |
portalName |
string |
primaryCategoryId |
number |
primaryLanguage |
string |
slug |
string |
status |
number |
summary |
string |
websiteUrl? |
string |
wikiUrl? |
string |
Ƭ AddonLatestFileInfo: Object
Name | Type |
---|---|
alternateFileId |
number |
categorySectionPackageType |
number |
changelog |
null | unknown |
dependencies |
unknown [] |
displayName |
string |
downloadCount |
number |
downloadUrl |
string |
exposeAsAlternative |
null | unknown |
fileDate |
string |
fileLegacyMappingId |
null | unknown |
fileLength |
number |
fileName |
string |
fileStatus |
number |
fileTypeId |
null | unknown |
gameId |
number |
gameVersion |
string [] |
gameVersionDateReleased |
string |
gameVersionFlavor |
null | unknown |
gameVersionId |
number |
gameVersionMappingId |
number |
hasInstallScript |
boolean |
hashes |
{ algorithm : 1 ; value : "fa2b42a52a1d1164749fa367dac981418733f69b" }[] |
id |
number |
installMetadata |
null | unknown |
isAlternate |
boolean |
isAvailable |
boolean |
isCompatibleWithClient |
boolean |
isServerPack |
boolean |
modules |
{ fingerprint : number ; foldername : string ; type : number }[] |
packageFingerprint |
number |
packageFingerprintId |
number |
parentFileLegacyMappingId |
null | unknown |
parentProjectFileId |
null | unknown |
projectId |
number |
projectStatus |
number |
releaseType |
number |
renderCacheId |
number |
restrictProjectFileAccess |
number |
serverPackFileId |
number |
sortableGameVersion |
{ gameVersion : string ; gameVersionName : string ; gameVersionPadded : string ; gameVersionReleaseDate : string ; gameVersionTypeId : number }[] |
Ƭ MinecraftVersionInfo: Object
Name | Type |
---|---|
approved |
boolean |
dateModified |
string |
gameVersionId |
number |
gameVersionStatus |
number |
gameVersionTypeId |
number |
gameVersionTypeStatus |
number |
id |
number |
jarDownloadUrl |
string |
jsonDownloadUrl |
string |
versionString |
string |
Ƭ ModloaderBasicInfo: Object
Name | Type |
---|---|
dateModified |
string |
gameVersion |
string |
latest |
boolean |
name |
string |
recommended |
boolean |
Ƭ ModloaderInfo: Object
Name | Type |
---|---|
approved |
boolean |
dateModified |
string |
downloadUrl |
string |
filename |
string |
forgeVersion? |
string |
gameVersionId |
number |
id |
number |
installMethod |
number |
latest |
boolean |
minecraftGameVersionId |
number |
name |
string |
recommended |
boolean |
type |
number |
▸ Const
fetchAddonFilesInfo(addonId
): Promise
<unknown
>
Name | Type |
---|---|
addonId |
string | number |
Promise
<unknown
>
▸ Const
fetchAddonInfo(addonId
): Promise
<AddonInfo
>
Name | Type |
---|---|
addonId |
string | number |
Promise
<AddonInfo
>
▸ Const
fetchMinecraftModSearch(gameVersion
, searchFilter
): Promise
<AddonInfo
[]>
Name | Type |
---|---|
gameVersion |
string |
searchFilter |
string |
Promise
<AddonInfo
[]>
▸ Const
fetchMinecraftModpackSearch(gameVersion
, searchFilter
): Promise
<AddonInfo
>
Name | Type |
---|---|
gameVersion |
string |
searchFilter |
string |
Promise
<AddonInfo
>
▸ Const
fetchMinecraftVersionInfo(mcVersion
): Promise
<MinecraftVersionInfo
>
Name | Type |
---|---|
mcVersion |
string |
Promise
<MinecraftVersionInfo
>
▸ Const
fetchMinecraftVersionList(): Promise
<MinecraftVersionInfo
[]>
Promise
<MinecraftVersionInfo
[]>
▸ Const
fetchModloaderInfo(loaderVersion
): Promise
<ModloaderInfo
>
Name | Type |
---|---|
loaderVersion |
string |
Promise
<ModloaderInfo
>
▸ Const
fetchModloaderList(): Promise
<ModloaderBasicInfo
[]>
Promise
<ModloaderBasicInfo
[]>