"use client";
import { SpecializedOpsPage } from "@/src/modules/accounting/components/SpecializedOpsPage";
export function MonitoringAlertsPage() {
  return (
    <SpecializedOpsPage
      title="هشدارها"
      description="هشدارها — ثبت آستانه/شاخص پایش."
      module="monitoring"
      docType="alert"
      createLabel="ثبت هشدارها"
      fields={[
        { key: "metric_name", label: "نام شاخص", kind: "text" },
        { key: "threshold", label: "آستانه", kind: "money" },
        { key: "severity", label: "اولویت", kind: "select", options: [
          { value: "info", label: "اطلاعات" },
          { value: "warning", label: "هشدار" },
          { value: "critical", label: "بحرانی" },
        ]},
        ]}
    />
  );
}
