Skip to content

Commit

Permalink
updating api
Browse files Browse the repository at this point in the history
  • Loading branch information
IDCs committed Nov 11, 2023
1 parent 43c33c5 commit 6287ecd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions lib/extensions/gamemode_management/util/getDriveList.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { IExtensionApi } from '../../../types/IExtensionContext';
declare function getDriveList(api: IExtensionApi): Promise<string[]>;
export default getDriveList;
3 changes: 2 additions & 1 deletion lib/util/api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 6287ecd

Please sign in to comment.