diff --git a/lib/extensions/gamemode_management/util/getDriveList.d.ts b/lib/extensions/gamemode_management/util/getDriveList.d.ts new file mode 100644 index 0000000..fb1fde0 --- /dev/null +++ b/lib/extensions/gamemode_management/util/getDriveList.d.ts @@ -0,0 +1,3 @@ +import { IExtensionApi } from '../../../types/IExtensionContext'; +declare function getDriveList(api: IExtensionApi): Promise; +export default getDriveList; diff --git a/lib/util/api.d.ts b/lib/util/api.d.ts index b58c9e5..2b40293 100644 --- a/lib/util/api.d.ts +++ b/lib/util/api.d.ts @@ -5,6 +5,7 @@ import { resolveCategoryName, resolveCategoryPath } from '../extensions/category import { readExtensibleDir } from '../extensions/extension_manager/util'; import { getGame, getGames } from '../extensions/gamemode_management/util/getGame'; import { getModType } from '../extensions/gamemode_management/util/modTypeExtensions'; +import getDriveList from '../extensions/gamemode_management/util/getDriveList'; import deriveModInstallName from '../extensions/mod_management/modIdManager'; import { getManifest } from '../extensions/mod_management/util/activationStore'; import { findDownloadByRef, findModByRef, lookupFromDownload } from '../extensions/mod_management/util/dependencies'; @@ -53,6 +54,6 @@ import walk from './walk'; import SevenZip = require('node-7z'); import { runElevated, runThreaded } from 'vortex-run'; export * from './network'; -export { Archive, ArgumentInvalid, batchDispatch, bbcodePreProcess, bbcodeToHTML, bbcodeToReact, bytesToString, calculateFolderSize, Campaign, checksum, convertGameIdReverse, copyFileAtomic, copyRecursive, ConcurrencyLimiter, CycleError, DataInvalid, Debouncer, deBOM, delay, deriveModInstallName as deriveInstallName, epicGamesLauncher, extend, extractExeIcon, fileMD5, findDownloadByRef, findModByRef, GameNotFound, GameStoreHelper, getActivator, getApplication, getCurrentActivator, getCurrentLanguage, getGame, getGames, getManifest, getModSource, getModSources, getModType, getNormalizeFunc, getReduxLog, getVisibleWindow, getVortexPath, github, installIconSet, isChildPath, isFilenameValid, isPathValid, LazyComponent, lazyRequire, local, lookupFromDownload, makeModReference, makeNormalizingDict, makeOverlayableDictionary, makeQueue, makeReactive, makeRemoteCall, makeUnique, makeUniqueByKey, MissingInterpreter, nexusGameId, nexusModsURL, Normalize, NotFound, NotSupportedError, objDiff, onceCB, opn, Overlayable, pad, ProcessCanceled, ReduxProp, readExtensibleDir, relativeTime, removeMods, renderModName, renderModReference, resolveCategoryName, resolveCategoryPath, runElevated, runThreaded, sanitizeCSSId, sanitizeFilename, Section, semverCoerce, setdefault, SetupError, SevenZip, sortMods, Source, StarterInfo, steam, ISteamEntry, terminate, testModReference, toBlue, toPromise, unique, UserCanceled, userFriendlyTime, walk, withErrorContext, writeFileAtomic, }; +export { Archive, ArgumentInvalid, batchDispatch, bbcodePreProcess, bbcodeToHTML, bbcodeToReact, bytesToString, calculateFolderSize, Campaign, checksum, convertGameIdReverse, copyFileAtomic, copyRecursive, ConcurrencyLimiter, CycleError, DataInvalid, Debouncer, deBOM, delay, deriveModInstallName as deriveInstallName, epicGamesLauncher, extend, extractExeIcon, fileMD5, findDownloadByRef, findModByRef, GameNotFound, GameStoreHelper, getActivator, getApplication, getCurrentActivator, getCurrentLanguage, getDriveList, getGame, getGames, getManifest, getModSource, getModSources, getModType, getNormalizeFunc, getReduxLog, getVisibleWindow, getVortexPath, github, installIconSet, isChildPath, isFilenameValid, isPathValid, LazyComponent, lazyRequire, local, lookupFromDownload, makeModReference, makeNormalizingDict, makeOverlayableDictionary, makeQueue, makeReactive, makeRemoteCall, makeUnique, makeUniqueByKey, MissingInterpreter, nexusGameId, nexusModsURL, Normalize, NotFound, NotSupportedError, objDiff, onceCB, opn, Overlayable, pad, ProcessCanceled, ReduxProp, readExtensibleDir, relativeTime, removeMods, renderModName, renderModReference, resolveCategoryName, resolveCategoryPath, runElevated, runThreaded, sanitizeCSSId, sanitizeFilename, Section, semverCoerce, setdefault, SetupError, SevenZip, sortMods, Source, StarterInfo, steam, ISteamEntry, terminate, testModReference, toBlue, toPromise, unique, UserCanceled, userFriendlyTime, walk, withErrorContext, writeFileAtomic, }; export type TextGroup = 'mod' | 'profile'; export declare function getText(group: TextGroup, textId: string, t: TFunction): string; diff --git a/package.json b/package.json index dddccd8..b9d844a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vortex-api", - "version": "1.8.5-r6", + "version": "1.8.5-r7", "description": "Library exporting nmm components extensions may use", "main": "lib/index.js", "bin": {