feat(imports): Access Pass products through the importer's signed-in account (#20)
Release / release (push) Successful in 4s
CI / test (push) Successful in 7m28s
CI / image (apps/api/Dockerfile, t5de-hub-api) (push) Successful in 5s
CI / image (apps/web/Dockerfile, t5de-hub-web) (push) Successful in 16s

Co-authored-by: dhkatz <[email protected]>
This commit was merged in pull request #20.
This commit is contained in:
dhkatz authored and dhkatz committed 2026-11-08 16:10:34 +00:00
1 parent 56d25f7507
commit cc6959082c
12 files changed
+4871 -51

No files matched your search

+10 -4
View File
@@ -4,16 +4,22 @@ import { DateTime } from "@/components/time";
export function ShopListing({
grant: g,
}: {
grant: { scope: string; status: string; shopListedAt: string | null; shopListed: number };
grant: {
scope: string;
status: string;
shopListedAt: string | null;
shopListed: number;
shopListedSignedIn: boolean;
};
}) {
if (g.scope !== "shop" || g.status !== "active") return null;
if (!g.shopListedAt) return <> Not checked on IMVU yet.</>;
return (
<>
{" "}
On IMVU: {g.shopListed} general-rated product{g.shopListed === 1 ? "" : "s"} (checked{" "}
<DateTime iso={g.shopListedAt} />
).
On IMVU: {g.shopListed} {g.shopListedSignedIn ? "" : "general-rated "}product{g.shopListed === 1 ? "" : "s"}{" "}
(checked <DateTime iso={g.shopListedAt} />
{g.shopListedSignedIn ? " by the importer, with Access Pass" : ""}).
</>
);
}