mirror of
https://github.com/henrygd/beszel.git
synced 2026-04-17 02:11:49 +02:00
refactor: add api module and page preloading
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
import type { AlertInfo, AlertRecord } from "@/types"
|
||||
import type { RecordSubscription } from "pocketbase"
|
||||
import { pb, $alerts } from "@/lib/stores"
|
||||
import { $alerts } from "@/lib/stores"
|
||||
import { EthernetIcon } from "@/components/ui/icons"
|
||||
import { ServerIcon, CpuIcon, MemoryStickIcon, HardDriveIcon, ThermometerIcon, HourglassIcon } from "lucide-react"
|
||||
import { t } from "@lingui/core/macro"
|
||||
import { pb } from "./api"
|
||||
|
||||
/** Alert info for each alert type */
|
||||
export const alertInfo: Record<string, AlertInfo> = {
|
||||
|
||||
Reference in New Issue
Block a user