import Link from "next/link"; import { redirect } from "next/navigation"; import { getServerSession } from "next-auth"; import { authOptions } from "@/lib/auth"; import { prisma } from "@/lib/db"; import { AccountPrivacyActions } from "@/components/AccountPrivacyActions"; import { DashboardShell } from "@/components/DashboardShell"; import { getUserApiKeyStatus } from "@/lib/api-keys"; import { getApiRateLimitStatus } from "@/lib/api-rate-limit"; import { ApiKeySettings } from "@/components/ApiKeySettings"; import { getQuotaInfo } from "@/lib/quota"; function InfoRow({ label, value }: { label: string; value: string }) { return (
YouTube account not connected.
)} {channelUrl && ( Go to your channel )}To refresh your YouTube permissions,{" "} sign out and sign in again .
Videos processed
{quota.used}
Self-hosted edition: no video credits or quotas.
Request a copy of your data or permanently delete your account and associated uploads.