Local Build and Deploy / deploy (push) Successful in 1m10s
Total: 24 plugins now registered and visible in the Plugins hub admin panel.
21 lines
981 B
TypeScript
21 lines
981 B
TypeScript
import { Mail } from "lucide-react";
|
|
import type { PluginDefinition } from "@/lib/plugins";
|
|
|
|
const plugin: PluginDefinition = {
|
|
id: "email",
|
|
name: "Email & Templates",
|
|
description: "Email templates, SMTP configuration, password reset emails and notifications",
|
|
version: "1.0.0",
|
|
enabled: true,
|
|
configFields: [
|
|
{ key: "enable_email", label: "Enable email system", type: "boolean", default: true },
|
|
{ key: "smtp_host", label: "SMTP host", type: "text", default: "" },
|
|
{ key: "smtp_port", label: "SMTP port", type: "text", default: "587" },
|
|
{ key: "smtp_encryption", label: "SMTP encryption", type: "select", options: [{ label: "TLS", value: "tls" }, { label: "SSL", value: "ssl" }, { label: "None", value: "none" }], default: "tls" },
|
|
{ key: "from_address", label: "From address", type: "text", default: "[email protected]" },
|
|
{ key: "enable_password_reset", label: "Enable password reset emails", type: "boolean", default: true },
|
|
],
|
|
};
|
|
|
|
export default plugin;
|