feat: add admin inventory JSON export
Quality / test (push) Canceled after 0s

This commit is contained in:
2026-09-10 00:16:04 -04:00
parent 099ec2fe72
commit d3821e9c76
10 changed files with 176 additions and 15 deletions
@@ -24,3 +24,14 @@ export const BulkArchiveSelection = {
},
},
};
export const InventoryJsonExport = {
parameters: {
docs: {
description: {
story:
"The admin workspace exposes a seller-scoped inventory JSON download.",
},
},
},
};
+9
View File
@@ -471,6 +471,15 @@ onMounted(load);
<p class="detail-notes">
{{ principal?.email }} · Build the catalog one physical copy at a time.
</p>
<p>
<a
class="button button--secondary"
href="/api/v1/admin/exports/inventory.json"
download="inventory.json"
>
Download inventory JSON
</a>
</p>
<p v-if="isLoading" class="state state--loading" role="status">
Loading inventory...
</p>