platform-types 1.10.751 → 1.10.752

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.
Files changed (2) hide show
  1. package/dist/store.d.ts +13 -0
  2. package/package.json +1 -1
package/dist/store.d.ts CHANGED
@@ -900,6 +900,19 @@ declare global {
900
900
  completed: boolean;
901
901
  skipped: boolean;
902
902
  reviewed?: StoreOnboardingReviewArea[];
903
+ /**
904
+ * The optional setup items an admin dismissed with «No lo necesito»;
905
+ * absent ⇒ none dismissed (no backfill). An OPEN list of item ids owned
906
+ * by the app's registry — the api checks the shape only (at most 50
907
+ * entries, each matching `^[a-z][a-zA-Z0-9-]{1,40}$`, no duplicates —
908
+ * else `400 VALIDATION_FAILED`, nothing written) and never the
909
+ * vocabulary, so an id the api has never heard of is stored unchanged.
910
+ * Write rule, unlike `reviewed`: when SENT in a `config.onboarding`
911
+ * block it REPLACES the stored list as one member (so `[]` clears it and
912
+ * an item can be un-dismissed); when OMITTED from the block the stored
913
+ * list is kept, as `reviewed` is.
914
+ */
915
+ dismissedItems?: string[];
903
916
  };
904
917
  /**
905
918
  * Store-level configuration for GENERATED internal barcodes (products that
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "platform-types",
3
- "version": "1.10.751",
3
+ "version": "1.10.752",
4
4
  "description": "Shared wire and entity contracts for the platform.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",