@open-mercato/shared 0.6.6-develop.5727.1.f3ae90ed42 → 0.6.6-develop.5738.1.4182c2b2c7

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,4 +1,4 @@
1
- const APP_VERSION = "0.6.6-develop.5727.1.f3ae90ed42";
1
+ const APP_VERSION = "0.6.6-develop.5738.1.4182c2b2c7";
2
2
  const appVersion = APP_VERSION;
3
3
  export {
4
4
  APP_VERSION,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/lib/version.ts"],
4
- "sourcesContent": ["// Build-time generated version\nexport const APP_VERSION = '0.6.6-develop.5727.1.f3ae90ed42'\nexport const appVersion = APP_VERSION\n"],
4
+ "sourcesContent": ["// Build-time generated version\nexport const APP_VERSION = '0.6.6-develop.5738.1.4182c2b2c7'\nexport const appVersion = APP_VERSION\n"],
5
5
  "mappings": "AACO,MAAM,cAAc;AACpB,MAAM,aAAa;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-mercato/shared",
3
- "version": "0.6.6-develop.5727.1.f3ae90ed42",
3
+ "version": "0.6.6-develop.5738.1.4182c2b2c7",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {
@@ -92,7 +92,7 @@
92
92
  "@mikro-orm/core": "^7.1.4",
93
93
  "@mikro-orm/decorators": "^7.1.4",
94
94
  "@mikro-orm/postgresql": "^7.1.4",
95
- "@open-mercato/cache": "0.6.6-develop.5727.1.f3ae90ed42",
95
+ "@open-mercato/cache": "0.6.6-develop.5738.1.4182c2b2c7",
96
96
  "dotenv": "^17.4.2",
97
97
  "rate-limiter-flexible": "^11.2.0",
98
98
  "re2js": "2.8.3",
@@ -175,6 +175,13 @@ export type InjectionWidgetMetadata = {
175
175
  * may still pass the feature gate even when the dependency module is absent.
176
176
  */
177
177
  requiredModules?: string[]
178
+ /**
179
+ * Field ids that this widget treats as required (enforced by its own
180
+ * `onBeforeSave` validation). Host forms add a visual required marker to the
181
+ * matching fields while the widget is active. The marker is presentational
182
+ * only — enforcement still comes from the widget's `onBeforeSave` result.
183
+ */
184
+ requiredFields?: string[]
178
185
  }
179
186
 
180
187
  /**