caelum0x d56639a594
Some checks failed
build-images / web (push) Has been cancelled
vision2026-ci / Python SDK resource tests (push) Has been cancelled
build-images / api (push) Has been cancelled
build-images / worker-gpu (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (comfy-workflow-schema) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (effects-core) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (eventbus-types) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (growth-analytics) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (provider-adapter-kit) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (publishing-connectors) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (render-core) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (shot-template-schema) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (trends-schema) (push) Has been cancelled
vision2026-ci / Desktop engine crates (test + clippy + fmt) (push) Has been cancelled
codeql / Analyze (javascript-typescript) (push) Has been cancelled
codeql / Analyze (python) (push) Has been cancelled
perf / API hot-path micro-smoke (budgeted) (push) Has been cancelled
perf / Desktop engine crates (release build check) (push) Has been cancelled
vision2026-ci / API phase modules (ruff + pytest) (push) Has been cancelled
vision2026-ci / Alembic upgrade + drift check (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (caption-engine) (push) Has been cancelled
Menivor — open source release (MIT), free to use and fork
Paid, hosted product at menivor.com, now retired as a company project.
Fresh squashed history of the cleaned working tree (secret-scanned,
no .env, no customer data, no outreach logs). Built on
MoneyPrinterTurbo (MIT, harry0703) — see NOTICE.
2026-12-04 02:10:26 +03:00

49 lines
1.8 KiB
TypeScript

"use client";
import * as React from "react";
import { KeyRound } from "lucide-react";
import { AccountNav } from "@/components/account/AccountNav";
import { AppHeader } from "@/components/account/AppHeader";
import { ApiKeysManager } from "@/components/apikeys/ApiKeysManager";
/**
* Account → API keys. Mint and revoke personal keys for the ReelForge REST API.
* The heavy lifting (list / create / reveal-once / revoke, with its own
* loading / empty / error states) lives in {@link ApiKeysManager}, which reads
* and mutates `GET/POST/DELETE /me/api-keys`. This route just frames it with the
* shared account chrome so a signed-in user can navigate between account
* surfaces.
*/
export default function AccountApiKeysPage() {
return (
<main className="min-h-dvh">
<AppHeader />
<section className="container py-10">
<div className="mx-auto max-w-5xl">
<div className="mb-6">
<p className="text-sm font-medium text-muted-foreground">Account</p>
<h1 className="flex items-center gap-2 text-3xl font-bold tracking-tight">
<KeyRound className="size-7 text-primary" aria-hidden />
API keys
</h1>
<p className="mt-2 max-w-2xl text-muted-foreground">
Create personal keys for programmatic access to the REST API. Send
a key as the{" "}
<code className="rounded bg-secondary px-1 py-0.5 font-mono text-xs">
x-api-key
</code>{" "}
header. A key&apos;s secret is shown once at creation — store it
somewhere safe, and revoke any key you no longer use.
</p>
</div>
<AccountNav />
<ApiKeysManager />
</div>
</section>
</main>
);
}