···183183function generateUrl({ row }: { row: z.infer<typeof selectMonitorSchema> }) {
184184 switch (row.jobType) {
185185 case "http":
186186- // FIXME: remove this after the migration
187187- case "other":
188186 return `https://openstatus-checker.fly.dev/checker/http?monitor_id=${row.id}`;
189187 case "tcp":
190188 return `https://openstatus-checker.fly.dev/checker/tcp?monitor_id=${row.id}`;
-2
packages/db/src/schema/monitors/constants.ts
···88 "udp",
99 "dns",
1010 "ssl",
1111- // FIXME: remove this after the migration
1212- "other",
1311] as const;
-16
temp/main.go
···11-package main
22-33-import "fmt"
44-55-type Person struct {
66- Test int
77- Other string
88-}
99-1010-func HelloVet() {
1111- fmt.Println("Hello Vet")
1212-1313- return
1414-1515- fmt.Println("This line will never be executed")
1616-}