diff --git a/packages/vencord-types/package.json b/packages/vencord-types/package.json index 547d5d31..f6c89023 100644 --- a/packages/vencord-types/package.json +++ b/packages/vencord-types/package.json @@ -1,7 +1,7 @@ { "name": "@vencord/types", "private": false, - "version": "0.1.0", + "version": "0.1.1", "description": "", "types": "index.d.ts", "scripts": { diff --git a/src/Vencord.ts b/src/Vencord.ts index ad793456..982840ce 100644 --- a/src/Vencord.ts +++ b/src/Vencord.ts @@ -29,11 +29,11 @@ import "./webpack/patchWebpack"; import { showNotification } from "./api/Notifications"; import { PlainSettings, Settings } from "./api/settings"; -import { patches, PMLogger, startAllPlugins } from "./plugins"; +import { PMLogger, patches, startAllPlugins } from "./plugins"; import { localStorage } from "./utils/localStorage"; import { relaunch } from "./utils/native"; import { getCloudSettings, putCloudSettings } from "./utils/settingsSync"; -import { checkForUpdates, rebuild, update, UpdateLogger } from "./utils/updater"; +import { UpdateLogger, checkForUpdates, rebuild, update } from "./utils/updater"; import { onceReady } from "./webpack"; import { SettingsRouter } from "./webpack/common"; diff --git a/src/api/index.ts b/src/api/index.ts index ba2978ee..35b48732 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -28,6 +28,7 @@ import * as $MessagePopover from "./MessagePopover"; import * as $Notices from "./Notices"; import * as $Notifications from "./Notifications"; import * as $ServerList from "./ServerList"; +import * as $Settings from "./settings"; import * as $SettingsStore from "./SettingsStore"; import * as $Styles from "./Styles"; @@ -104,3 +105,8 @@ export const Notifications = $Notifications; * An api allowing you to patch and add/remove items to/from context menus */ export const ContextMenu = $ContextMenu; + +/** + * Settings lol + */ +export const Settings = $Settings; diff --git a/src/utils/index.ts b/src/utils/index.ts index cfded6b5..d66d0520 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -19,14 +19,15 @@ export * from "./ChangeList"; export * as Constants from "./constants"; export * from "./debounce"; -export * as Discord from "./discord"; +export * from "./discord"; +export * from "./guards"; export { default as IpcEvents } from "./IpcEvents"; export { default as Logger } from "./Logger"; export * from "./margins"; export * from "./misc"; -export * as Modals from "./modal"; +export * from "./modal"; export * from "./onceDefined"; export * from "./proxyLazy"; export * from "./Queue"; +export * from "./react"; export * from "./text"; -