Update clientside plugin management to work as server

This commit is contained in:
Tom Moor committed 2024-06-16 10:04:53 -04:00
1 parent a9f1086422
commit f4e2c2de77
15 files changed
+272 -94

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
import * as React from "react";
import { Hook, PluginManager } from "~/utils/PluginManager";
import config from "../plugin.json";
import Icon from "./Icon";
export default PluginManager.add([
{
...config,
type: Hook.Settings,
value: {
group: "Integrations",
icon: Icon,
component: React.lazy(() => import("./Settings")),
},
},
]);