feat: whole shops listed on IMVU, and GET /imports/available (#16)
Release / release (push) Successful in 4s
CI / test (push) Successful in 1m35s
CI / image (apps/api/Dockerfile, t5de-hub-api) (push) Successful in 6s
CI / image (apps/web/Dockerfile, t5de-hub-web) (push) Successful in 14s

Co-authored-by: dhkatz <[email protected]>
This commit was merged in pull request #16.
This commit is contained in:
dhkatz authored and dhkatz committed 2026-11-08 00:51:00 +00:00
1 parent 8f6dacba10
commit efc7d6b808
15 files changed
+4954 -20

No files matched your search

@@ -0,0 +1,2 @@
ALTER TABLE "import_grant" ADD COLUMN "shop_listed_at" timestamp with time zone;--> statement-breakpoint
ALTER TABLE "import_grant" ADD COLUMN "shop_listed" integer DEFAULT 0 NOT NULL;
File diff suppressed because it is too large. Load diff
+7
View File
@@ -134,6 +134,13 @@
"when": 1794078168609,
"tag": "0018_recorded_grants",
"breakpoints": true
},
{
"idx": 19,
"version": "7",
"when": 1794092472616,
"tag": "0019_shop_listing",
"breakpoints": true
}
]
}
+4
View File
@@ -753,6 +753,10 @@ export const importGrant = pgTable(
// Recorded: proof without an account, a code the creator put in their IMVU tagline, and when the hub saw it.
proofCode: text("proof_code"),
proofCheckedAt: timestamp("proof_checked_at", { withTimezone: true }),
// Scope "shop": when the hub last listed the shop's products on IMVU, and how many it listed (general-rated only:
// IMVU lists no Access Pass products to the signed out).
shopListedAt: timestamp("shop_listed_at", { withTimezone: true }),
shopListed: integer("shop_listed").notNull().default(0),
// "pending" (the catalog's team hasn't accepted), "active", "declined", "suspended", "withdrawn".
status: text("status").notNull().default("pending"),
statusReason: text("status_reason").notNull().default(""),