more additions for external plugins

This commit is contained in:
Vendicated 2023-04-20 00:41:02 +02:00
parent 11ecc45b71
commit 6fa0fb017b
No known key found for this signature in database
GPG Key ID: A1DC0CFB5615D905
4 changed files with 18 additions and 1 deletions

@ -1,7 +1,7 @@
{
"name": "@vencord/types",
"private": false,
"version": "0.1.1",
"version": "0.1.3",
"description": "",
"types": "index.d.ts",
"scripts": {

@ -110,3 +110,4 @@ export const ContextMenu = $ContextMenu;
* Settings lol
*/
export const Settings = $Settings;
export const settings = $Settings;

@ -16,6 +16,13 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
export { default as ErrorBoundary } from "./ErrorBoundary";
export * from "./ErrorCard";
export * from "./Flex";
export * from "./Heart";
export * from "./Link";
export { default as PatchHelper } from "./PatchHelper";
export { default as PluginSettings } from "./PluginSettings";
export * from "./Switch";
export { default as VencordSettings } from "./VencordSettings";

@ -16,6 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
export * from "./ChangeList";
export * as Constants from "./constants";
export * from "./debounce";
@ -31,3 +32,11 @@ export * from "./proxyLazy";
export * from "./Queue";
export * from "./react";
export * from "./text";
import * as t from "./types";
export const types = {
// necessary so plugin repo's esbuild doesn't explode
__esModule: true,
...t
};