import { Button } from "@/components/ui/button" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@/components/ui/card" import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs" import { Badge } from "@/components/ui/badge" import { Clock, Database, Play, Plus, RefreshCw, Pause, AlertTriangle, Copy } from "lucide-react" import Link from "next/link" import PageHeader from "@/components/page-header" export default function DataPipelinePage() { return (
Active Pipelines Paused All Pipelines
) } interface PipelineCardProps { title: string description: string status: "active" | "paused" | "error" lastRun: string nextRun: string sources: number records: number error?: string aiPowered?: boolean } function PipelineCard({ title, description, status, lastRun, nextRun, sources, records, error, aiPowered, }: PipelineCardProps) { return (
{title}
{description}
Last run: {lastRun}
Next run: {nextRun}
Sources: {sources} Records: {records}
{error && (
{error}
)}
{status === "active" ? ( ) : ( )}
) } function StatusBadge({ status }: { status: "active" | "paused" | "error" }) { if (status === "active") { return ( Active ) } else if (status === "paused") { return Paused } else { return Error } }