2023-11-21 16:56:43 +11:00
|
|
|
export default {
|
2024-03-21 14:29:56 +10:00
|
|
|
resource: "admin.adminPlugins.show",
|
2023-11-21 16:56:43 +11:00
|
|
|
|
|
|
|
|
path: "/plugins",
|
|
|
|
|
|
|
|
|
|
map() {
|
2024-05-02 12:42:30 +10:00
|
|
|
this.route("discourse-ai-personas", { path: "ai-personas" }, function () {
|
|
|
|
|
this.route("new");
|
2024-12-12 10:48:58 +11:00
|
|
|
this.route("edit", { path: "/:id/edit" });
|
2023-11-21 16:56:43 +11:00
|
|
|
});
|
2024-05-13 12:46:42 -03:00
|
|
|
|
|
|
|
|
this.route("discourse-ai-llms", { path: "ai-llms" }, function () {
|
|
|
|
|
this.route("new");
|
2024-12-12 10:48:58 +11:00
|
|
|
this.route("edit", { path: "/:id/edit" });
|
2024-05-13 12:46:42 -03:00
|
|
|
});
|
2024-06-27 17:27:40 +10:00
|
|
|
|
|
|
|
|
this.route("discourse-ai-tools", { path: "ai-tools" }, function () {
|
|
|
|
|
this.route("new");
|
2024-12-12 10:48:58 +11:00
|
|
|
this.route("edit", { path: "/:id/edit" });
|
2024-06-27 17:27:40 +10:00
|
|
|
});
|
2024-12-12 09:17:25 +11:00
|
|
|
this.route("discourse-ai-spam", { path: "ai-spam" });
|
2024-11-29 06:26:48 +11:00
|
|
|
this.route("discourse-ai-usage", { path: "ai-usage" });
|
2025-01-21 12:23:19 -03:00
|
|
|
|
|
|
|
|
this.route(
|
|
|
|
|
"discourse-ai-embeddings",
|
|
|
|
|
{ path: "ai-embeddings" },
|
|
|
|
|
function () {
|
|
|
|
|
this.route("new");
|
|
|
|
|
this.route("edit", { path: "/:id/edit" });
|
|
|
|
|
}
|
|
|
|
|
);
|
2025-04-10 08:16:31 -07:00
|
|
|
|
|
|
|
|
this.route("discourse-ai-features", { path: "ai-features" }, function () {
|
|
|
|
|
this.route("edit", { path: "/:id/edit" });
|
|
|
|
|
});
|
2023-11-21 16:56:43 +11:00
|
|
|
},
|
|
|
|
|
};
|