diff --git a/apps/api/src/app.ts b/apps/api/src/app.ts
index f5bb58e..1378f56 100644
--- a/apps/api/src/app.ts
+++ b/apps/api/src/app.ts
@@ -28,6 +28,7 @@ import { Realtime } from "./realtime";
import { isAdultRoom, Rooms } from "./rooms";
import { Signer } from "./keys";
import { Blocks, isSha256 } from "./blocks";
+import { consent, Imports, type Grant } from "./imports";
import { availableTo, BlockedUpload, ProductError, Products, type EditRights, type ProductViewer } from "./products";
import {
chatId,
@@ -197,6 +198,7 @@ export function createApp({
const limiter = new Limiter();
const cases = new Cases(db, perms);
const blocks = new Blocks(db);
+ const imports = new Imports(db, signer, imvu);
const notifications = new Notifications(db, (userId, message) => realtime.notify(userId, message));
/** Tells a product's creator that someone else changed it. */
@@ -362,6 +364,49 @@ export function createApp({
}
};
+ const catalogName = async (id: string) => (await db.select({ name: catalog.name }).from(catalog).where(eq(catalog.id, id)))[0]?.name ?? "";
+
+ /** IMVU being unreachable, as a Problem. */
+ const imvuSafe = async Imported from IMVU with its creator's permission. ` +
+ `Its IMVU page.
+ Made products on IMVU?{" "} + + Bring them to T5DE + + . +
diff --git a/apps/web/app/account/two-factor-card.tsx b/apps/web/app/account/two-factor-card.tsx index 8102700..6d4b70e 100644 --- a/apps/web/app/account/two-factor-card.tsx +++ b/apps/web/app/account/two-factor-card.tsx @@ -9,13 +9,7 @@ import { ErrorText } from "@/components/forms"; import { Tag } from "@/components/status"; import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert"; import { Button } from "@/components/ui/button"; -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle, -} from "@/components/ui/card"; +import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; import { Input } from "@/components/ui/input"; import { authClient } from "@/lib/auth-client"; @@ -25,13 +19,7 @@ type Stage = | { kind: "setup"; uri: string; codes: string[] } | { kind: "codes"; codes: string[] }; -export function TwoFactorCard({ - enabled, - neededFor, -}: { - enabled: boolean; - neededFor: string[]; -}) { +export function TwoFactorCard({ enabled, neededFor }: { enabled: boolean; neededFor: string[] }) { const router = useRouter(); const [stage, setStage] = useState