feat: whole shops listed on IMVU, and GET /imports/available (#16)
Co-authored-by: dhkatz <[email protected]>
This commit was merged in pull request #16.
This commit is contained in:
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
@@ -134,6 +134,13 @@
|
||||
"when": 1794078168609,
|
||||
"tag": "0018_recorded_grants",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 19,
|
||||
"version": "7",
|
||||
"when": 1794092472616,
|
||||
"tag": "0019_shop_listing",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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(""),
|
||||
|
||||
Reference in new issue
Block a user