@mohasinac/appkit 4.64.0 → 4.64.1

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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "stampVersion": 1,
3
- "version": "4.64.0",
4
- "head": "51ae7f86674aba82540dc018d8baa92064719f20",
3
+ "version": "4.64.1",
4
+ "head": "e32e109a86e927632104a20ca85625cb9210ba77",
5
5
  "branch": "main",
6
6
  "dirty": false,
7
- "builtAt": "2026-10-24T02:32:37.960Z"
7
+ "builtAt": "2026-10-24T02:57:20.572Z"
8
8
  }
package/dist/index.d.ts CHANGED
@@ -2852,6 +2852,8 @@ export { TAX_CODES_COLLECTION, TAX_CODE_PREFIX, TAX_CODE_FIELDS, TAX_CODE_SIEVE_
2852
2852
  export type { TaxCodeDocument, TaxCodeCreateInput, TaxCodeUpdateInput, GstRate, HsnChapter, } from "./features/tax-codes/schemas/firestore";
2853
2853
  export { taxCodeFormSchema, GST_RATE_OPTIONS, HSN_CHAPTER_OPTIONS } from "./features/tax-codes/schemas/tax-code-form";
2854
2854
  export type { TaxCodeFormValues } from "./features/tax-codes/schemas/tax-code-form";
2855
+ export { EVENT_LIKES_COLLECTION } from "./features/events/schemas/likes";
2856
+ export { DISPUTE_REASON_COLLECTION } from "./features/dispute-reasons/schemas/firestore";
2855
2857
  export { taxCodeCreateSchema, taxCodeUpdateSchema, } from "./features/tax-codes/schemas/tax-codes.validators";
2856
2858
  export type { TaxCodeCreatePayload, TaxCodeUpdatePayload, } from "./features/tax-codes/schemas/tax-codes.validators";
2857
2859
  export type { ProductFeatureDocument, ProductFeatureCreateInput, ProductFeatureUpdateInput, ProductFeatureScope, ProductFeatureCategory, ProductFeatureProductType, ProductFeatureIcon, } from "./features/products/schemas/product-features";
package/dist/index.js CHANGED
@@ -5140,6 +5140,27 @@ export { PRODUCT_FEATURES_COLLECTION, PRODUCT_FEATURE_PREFIX, MAX_STORE_CUSTOM_F
5140
5140
  // Tax codes feature schemas (B3) — HSN + GST rate as an entity.
5141
5141
  export { TAX_CODES_COLLECTION, TAX_CODE_PREFIX, TAX_CODE_FIELDS, TAX_CODE_SIEVE_FIELDS, TAX_CODE_UPDATABLE_FIELDS, GST_RATE_VALUES, createTaxCodeId, isValidHsnCode, } from "./features/tax-codes/schemas/firestore.js";
5142
5142
  export { taxCodeFormSchema, GST_RATE_OPTIONS, HSN_CHAPTER_OPTIONS } from "./features/tax-codes/schemas/tax-code-form.js";
5143
+ /*
5144
+ * 🛑 THE SEED LOADER DESTRUCTURES THESE TWO OFF THE BARREL, so an unexported
5145
+ * collection name is not a tidiness issue — it is a collection that can
5146
+ * never load.
5147
+ *
5148
+ * `seed-cli.mjs` reads `COLLECTION_MAP` from one big destructure of
5149
+ * `@mohasinac/appkit`. A name missing there is `undefined`, which Firestore
5150
+ * rejects as `Value for argument "collectionPath" is not a valid resource
5151
+ * path` — so `appkit-seed status` and `load` both error on that row alone
5152
+ * while every other collection succeeds. Measured 2026-10-24: eventLikes
5153
+ * (23 rows) and disputeReasons (11 rows) were both stuck at 0 in the
5154
+ * database for exactly this reason, and the error names the path, never the
5155
+ * missing export.
5156
+ *
5157
+ * Exported straight from the defining schema module rather than through a
5158
+ * feature index (Root Cause #18). Both files carry ONLY `import type`, which
5159
+ * the compiler erases, so neither drags a runtime chain into the client
5160
+ * bundle — the check that matters before adding anything here.
5161
+ */
5162
+ export { EVENT_LIKES_COLLECTION } from "./features/events/schemas/likes.js";
5163
+ export { DISPUTE_REASON_COLLECTION } from "./features/dispute-reasons/schemas/firestore.js";
5143
5164
  // Wire contracts for /api/admin/tax-codes. BOTH are .strict(): z.object()
5144
5165
  // strips unknown keys (a PATCH returning 200 having written nothing),
5145
5166
  // .passthrough() writes whatever arrives.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mohasinac/appkit",
3
- "version": "4.64.0",
3
+ "version": "4.64.1",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"