@mohasinac/appkit 4.42.14 → 4.42.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -69,9 +69,17 @@ export function AdminStoresView({ children, ...props }) {
69
69
  mapRows: (response) => toRecordArray(response.items).map((item, index) => ({
70
70
  id: toStringValue(item.id, `store-${index}`),
71
71
  primary: toStringValue(item.storeName, "Unnamed store"),
72
+ // Verified / Featured are rendered here because an admin's first
73
+ // question about a store is whether it carries either, and the row
74
+ // is where that gets scanned. The API has always returned both
75
+ // (route.ts serialises isVerified/isFeatured) and the editor already
76
+ // seeds from them — only the list never showed them, so the flags
77
+ // were invisible until you opened each store one at a time.
72
78
  secondary: [
73
79
  toStringValue(item.storeSlug, "No slug"),
74
80
  toStringValue(item.ownerId, "No owner"),
81
+ ...(item.isVerified ? ["Verified"] : []),
82
+ ...(item.isFeatured ? ["Featured"] : []),
75
83
  ].join(" · "),
76
84
  status: toStringValue(item.status, "Pending"),
77
85
  updatedAt: toRelativeDate(item.updatedAt ?? item.createdAt),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mohasinac/appkit",
3
- "version": "4.42.14",
3
+ "version": "4.42.15",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"