Add pocketbase types
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { Badge } from "@/components/ui/badge";
|
||||
import { Zap, Shield, Coins, HelpCircle, Clock, AlertTriangle, Skull } from "lucide-react";
|
||||
import { Signature } from "@/lib/types";
|
||||
import { SigviewRecord as Signature } from "@/lib/pbtypes";
|
||||
|
||||
interface SignatureListItemProps {
|
||||
signature: Signature;
|
||||
@@ -86,7 +86,7 @@ export const SignatureListItem = ({ signature }: SignatureListItemProps) => {
|
||||
{/* Signature Name and ID */}
|
||||
<div className="flex-1 min-w-[200px]">
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="font-mono text-sm text-slate-400 min-w-[60px]">{signature.id}</span>
|
||||
<span className="font-mono text-sm text-slate-400 min-w-[60px]">{signature.identifier}</span>
|
||||
<h3 className="text-white font-medium flex items-center gap-2">
|
||||
{signature.signame || "Unnamed Signature"}
|
||||
{signature.dangerous && (
|
||||
@@ -96,7 +96,6 @@ export const SignatureListItem = ({ signature }: SignatureListItemProps) => {
|
||||
)}
|
||||
</h3>
|
||||
</div>
|
||||
<div className="text-xs text-slate-400 font-mono ml-[60px]">{signature.identifier}</div>
|
||||
</div>
|
||||
|
||||
{/* Dates */}
|
||||
|
||||
Reference in New Issue
Block a user