Fix type imports

This commit is contained in:
Owen
2026-04-21 22:17:49 -07:00
parent 0c6acfe282
commit 9474792e14
12 changed files with 109 additions and 120 deletions

View File

@@ -31,6 +31,7 @@ import { fromError } from "zod-validation-error";
import { OpenAPITags, registry } from "@server/openApi";
import { encrypt } from "@server/lib/crypto";
import config from "@server/lib/config";
import { CreateAlertRuleResponse } from "@server/routers/alertRule/types";
export const SITE_EVENT_TYPES = ["site_online", "site_offline", "site_toggle"] as const;
export const HC_EVENT_TYPES = [
@@ -169,10 +170,6 @@ const bodySchema = z
}
});
export type CreateAlertRuleResponse = {
alertRuleId: number;
};
registry.registerPath({
method: "put",
path: "/org/{orgId}/alert-rule",