@open-mercato/cli 0.7.1-develop.7154.1.981330c924 → 0.7.1-develop.7171.1.9b31dbba45
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.
- package/dist/agentic/guides/module-facts.json +756 -142
- package/dist/agentic/guides/module-facts.v2.json +756 -142
- package/dist/agentic/guides/modules/ai_assistant/index.md +1 -1
- package/dist/agentic/guides/modules/api_docs/index.md +1 -1
- package/dist/agentic/guides/modules/api_keys/index.md +1 -1
- package/dist/agentic/guides/modules/attachments/index.md +1 -1
- package/dist/agentic/guides/modules/audit_logs/index.md +1 -1
- package/dist/agentic/guides/modules/auth/index.md +1 -1
- package/dist/agentic/guides/modules/business_rules/index.md +1 -1
- package/dist/agentic/guides/modules/catalog/index.md +1 -1
- package/dist/agentic/guides/modules/channel_apns/index.md +1 -1
- package/dist/agentic/guides/modules/channel_discord/index.md +1 -1
- package/dist/agentic/guides/modules/channel_expo/index.md +1 -1
- package/dist/agentic/guides/modules/channel_fcm/index.md +1 -1
- package/dist/agentic/guides/modules/channel_gmail/index.md +1 -1
- package/dist/agentic/guides/modules/channel_imap/index.md +1 -1
- package/dist/agentic/guides/modules/channel_resend/index.md +1 -1
- package/dist/agentic/guides/modules/channel_ses/index.md +1 -1
- package/dist/agentic/guides/modules/checkout/index.md +1 -1
- package/dist/agentic/guides/modules/communication_channels/index.md +1 -1
- package/dist/agentic/guides/modules/configs/index.md +1 -1
- package/dist/agentic/guides/modules/content/index.md +1 -1
- package/dist/agentic/guides/modules/currencies/index.md +1 -1
- package/dist/agentic/guides/modules/customer_accounts/exact-override-targets.md +4 -4
- package/dist/agentic/guides/modules/customer_accounts/index.md +1 -1
- package/dist/agentic/guides/modules/customer_accounts/setup.md +1 -1
- package/dist/agentic/guides/modules/customers/index.md +1 -1
- package/dist/agentic/guides/modules/dashboards/index.md +1 -1
- package/dist/agentic/guides/modules/data_sync/index.md +1 -1
- package/dist/agentic/guides/modules/design_system/index.md +1 -1
- package/dist/agentic/guides/modules/devices/index.md +1 -1
- package/dist/agentic/guides/modules/dictionaries/index.md +1 -1
- package/dist/agentic/guides/modules/directory/index.md +1 -1
- package/dist/agentic/guides/modules/documents/index.md +1 -1
- package/dist/agentic/guides/modules/entities/index.md +1 -1
- package/dist/agentic/guides/modules/eudr/index.md +1 -1
- package/dist/agentic/guides/modules/events/index.md +1 -1
- package/dist/agentic/guides/modules/feature_toggles/index.md +1 -1
- package/dist/agentic/guides/modules/gateway_stripe/index.md +1 -1
- package/dist/agentic/guides/modules/generators/index.md +1 -1
- package/dist/agentic/guides/modules/inbox_ops/index.md +1 -1
- package/dist/agentic/guides/modules/integrations/index.md +1 -1
- package/dist/agentic/guides/modules/messages/index.md +1 -1
- package/dist/agentic/guides/modules/notifications/index.md +1 -1
- package/dist/agentic/guides/modules/onboarding/index.md +1 -1
- package/dist/agentic/guides/modules/payment_gateways/index.md +1 -1
- package/dist/agentic/guides/modules/perspectives/index.md +1 -1
- package/dist/agentic/guides/modules/planner/index.md +1 -1
- package/dist/agentic/guides/modules/portal/index.md +1 -1
- package/dist/agentic/guides/modules/progress/index.md +1 -1
- package/dist/agentic/guides/modules/push_notifications/index.md +1 -1
- package/dist/agentic/guides/modules/query_index/index.md +1 -1
- package/dist/agentic/guides/modules/record_locks/index.md +1 -1
- package/dist/agentic/guides/modules/resources/index.md +1 -1
- package/dist/agentic/guides/modules/sales/index.md +1 -1
- package/dist/agentic/guides/modules/scheduler/index.md +1 -1
- package/dist/agentic/guides/modules/search/index.md +1 -1
- package/dist/agentic/guides/modules/security/index.md +1 -1
- package/dist/agentic/guides/modules/shipping_carriers/index.md +1 -1
- package/dist/agentic/guides/modules/sso/index.md +1 -1
- package/dist/agentic/guides/modules/staff/index.md +1 -1
- package/dist/agentic/guides/modules/storage_s3/index.md +1 -1
- package/dist/agentic/guides/modules/sync_akeneo/index.md +1 -1
- package/dist/agentic/guides/modules/sync_excel/index.md +1 -1
- package/dist/agentic/guides/modules/system_status_overlays/index.md +1 -1
- package/dist/agentic/guides/modules/translations/index.md +1 -1
- package/dist/agentic/guides/modules/warranty_claims/index.md +1 -1
- package/dist/agentic/guides/modules/webhooks/index.md +1 -1
- package/dist/agentic/guides/modules/wms/contribution-resolutions.md +9 -0
- package/dist/agentic/guides/modules/wms/exact-override-targets.md +9 -0
- package/dist/agentic/guides/modules/wms/index.md +4 -4
- package/dist/agentic/guides/modules/wms/umes-contributions.md +9 -0
- package/dist/agentic/guides/modules/workflows/index.md +1 -1
- package/dist/agentic/guides/reference-module-facts.json +1 -1
- package/dist/agentic/guides/upstream/BACKWARD_COMPATIBILITY.md +18 -0
- package/dist/agentic/guides/upstream/manifest.json +2 -2
- package/package.json +6 -6
|
@@ -12,6 +12,15 @@
|
|
|
12
12
|
| search:wms:product_inventory_profile | module:wms:product_inventory_profile @wms | capability-only | — | [search.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/search.ts) |
|
|
13
13
|
| search:wms:warehouse_location | module:wms:warehouse_location @wms | capability-only | — | [search.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/search.ts) |
|
|
14
14
|
| search:wms:warehouse | module:wms:warehouse @wms | capability-only | — | [search.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/search.ts) |
|
|
15
|
+
| wms:invalidate-enricher-cache-balance | wildcard:wms.inventory_balance.* | wildcard | — | [subscribers/invalidate-enricher-cache-balance.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-balance.ts) |
|
|
16
|
+
| wms:invalidate-enricher-cache-inventory | wildcard:wms.inventory.* | wildcard | — | [subscribers/invalidate-enricher-cache-inventory.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-inventory.ts) |
|
|
17
|
+
| wms:invalidate-enricher-cache-movement | wildcard:wms.inventory_movement.* | wildcard | — | [subscribers/invalidate-enricher-cache-movement.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-movement.ts) |
|
|
18
|
+
| wms:invalidate-enricher-cache-profile | wildcard:wms.inventory_profile.* | wildcard | — | [subscribers/invalidate-enricher-cache-profile.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-profile.ts) |
|
|
19
|
+
| wms:invalidate-enricher-cache-reservation | wildcard:wms.inventory_reservation.* | wildcard | — | [subscribers/invalidate-enricher-cache-reservation.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-reservation.ts) |
|
|
20
|
+
| wms:invalidate-enricher-cache-sales-line | wildcard:sales.line.* | wildcard | — | [subscribers/invalidate-enricher-cache-sales-line.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-sales-line.ts) |
|
|
21
|
+
| wms:invalidate-enricher-cache-sales-order | wildcard:sales.order.* | wildcard | — | [subscribers/invalidate-enricher-cache-sales-order.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-sales-order.ts) |
|
|
22
|
+
| wms:invalidate-enricher-cache-variant | wildcard:catalog.variant.* | wildcard | — | [subscribers/invalidate-enricher-cache-variant.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-variant.ts) |
|
|
23
|
+
| wms:invalidate-enricher-cache-warehouse | wildcard:wms.warehouse.* | wildcard | — | [subscribers/invalidate-enricher-cache-warehouse.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-warehouse.ts) |
|
|
15
24
|
| wms:low-stock-notification | event:wms.inventory.low_stock @wms | capability-only | — | [subscribers/low-stock-notification.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/low-stock-notification.ts) |
|
|
16
25
|
| wms:reservation-shortfall-notification | event:wms.inventory.reservation_shortfall @wms | capability-only | — | [subscribers/reservation-shortfall-notification.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/reservation-shortfall-notification.ts) |
|
|
17
26
|
| wms:sales-order-cancelled-release | event:sales.order.cancelled @sales | capability-only | — | [subscribers/sales-order-cancelled-release.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/sales-order-cancelled-release.ts) |
|
|
@@ -28,6 +28,15 @@
|
|
|
28
28
|
| enrichers | `overrides.enrichers["wms.catalog-product-inventory"]` | disable-replace | extensionSurfaces.contributions:wms.catalog-product-inventory | [data/enrichers.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/data/enrichers.ts) |
|
|
29
29
|
| enrichers | `overrides.enrichers["wms.catalog-variant-inventory"]` | disable-replace | extensionSurfaces.contributions:wms.catalog-variant-inventory | [data/enrichers.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/data/enrichers.ts) |
|
|
30
30
|
| enrichers | `overrides.enrichers["wms.sales-order-inventory"]` | disable-replace | extensionSurfaces.contributions:wms.sales-order-inventory | [data/enrichers.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/data/enrichers.ts) |
|
|
31
|
+
| events | `overrides.events.subscribers["wms:invalidate-enricher-cache-balance"]` | disable-replace | extensionSurfaces.contributions:wms:invalidate-enricher-cache-balance | [subscribers/invalidate-enricher-cache-balance.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-balance.ts) |
|
|
32
|
+
| events | `overrides.events.subscribers["wms:invalidate-enricher-cache-inventory"]` | disable-replace | extensionSurfaces.contributions:wms:invalidate-enricher-cache-inventory | [subscribers/invalidate-enricher-cache-inventory.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-inventory.ts) |
|
|
33
|
+
| events | `overrides.events.subscribers["wms:invalidate-enricher-cache-movement"]` | disable-replace | extensionSurfaces.contributions:wms:invalidate-enricher-cache-movement | [subscribers/invalidate-enricher-cache-movement.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-movement.ts) |
|
|
34
|
+
| events | `overrides.events.subscribers["wms:invalidate-enricher-cache-profile"]` | disable-replace | extensionSurfaces.contributions:wms:invalidate-enricher-cache-profile | [subscribers/invalidate-enricher-cache-profile.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-profile.ts) |
|
|
35
|
+
| events | `overrides.events.subscribers["wms:invalidate-enricher-cache-reservation"]` | disable-replace | extensionSurfaces.contributions:wms:invalidate-enricher-cache-reservation | [subscribers/invalidate-enricher-cache-reservation.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-reservation.ts) |
|
|
36
|
+
| events | `overrides.events.subscribers["wms:invalidate-enricher-cache-sales-line"]` | disable-replace | extensionSurfaces.contributions:wms:invalidate-enricher-cache-sales-line | [subscribers/invalidate-enricher-cache-sales-line.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-sales-line.ts) |
|
|
37
|
+
| events | `overrides.events.subscribers["wms:invalidate-enricher-cache-sales-order"]` | disable-replace | extensionSurfaces.contributions:wms:invalidate-enricher-cache-sales-order | [subscribers/invalidate-enricher-cache-sales-order.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-sales-order.ts) |
|
|
38
|
+
| events | `overrides.events.subscribers["wms:invalidate-enricher-cache-variant"]` | disable-replace | extensionSurfaces.contributions:wms:invalidate-enricher-cache-variant | [subscribers/invalidate-enricher-cache-variant.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-variant.ts) |
|
|
39
|
+
| events | `overrides.events.subscribers["wms:invalidate-enricher-cache-warehouse"]` | disable-replace | extensionSurfaces.contributions:wms:invalidate-enricher-cache-warehouse | [subscribers/invalidate-enricher-cache-warehouse.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-warehouse.ts) |
|
|
31
40
|
| events | `overrides.events.subscribers["wms:low-stock-notification"]` | disable-replace | extensionSurfaces.contributions:wms:low-stock-notification | [subscribers/low-stock-notification.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/low-stock-notification.ts) |
|
|
32
41
|
| events | `overrides.events.subscribers["wms:reservation-shortfall-notification"]` | disable-replace | extensionSurfaces.contributions:wms:reservation-shortfall-notification | [subscribers/reservation-shortfall-notification.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/reservation-shortfall-notification.ts) |
|
|
33
42
|
| events | `overrides.events.subscribers["wms:sales-order-cancelled-release"]` | disable-replace | extensionSurfaces.contributions:wms:sales-order-cancelled-release | [subscribers/sales-order-cancelled-release.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/sales-order-cancelled-release.ts) |
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# wms — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 0.7.1-develop.
|
|
2
|
+
<!-- generated from @open-mercato/core 0.7.1-develop.7171.1.9b31dbba45; core 0.7.1-develop.7171.1.9b31dbba45 — R1 staleness stamp -->
|
|
3
3
|
Source root: node_modules/@open-mercato/core/src/modules/wms
|
|
4
4
|
|
|
5
5
|
## Sections
|
|
@@ -11,13 +11,13 @@ Source root: node_modules/@open-mercato/core/src/modules/wms
|
|
|
11
11
|
- [Search entities](search-entities.md) — ~1 KB — Generated search entities facts for wms.
|
|
12
12
|
- [Host extension points](host-extension-points.md) — ~1 KB — Generated host extension points facts for wms.
|
|
13
13
|
- [UMES hosts](umes-hosts.md) — ~32 KB — Generated umes hosts facts for wms.
|
|
14
|
-
- [UMES contributions](umes-contributions.md) — ~
|
|
14
|
+
- [UMES contributions](umes-contributions.md) — ~10 KB — Generated umes contributions facts for wms.
|
|
15
15
|
- [Active extension bindings](active-extension-bindings.md) — ~1 KB — Generated active extension bindings facts for wms.
|
|
16
|
-
- [Contribution resolutions](contribution-resolutions.md) — ~
|
|
16
|
+
- [Contribution resolutions](contribution-resolutions.md) — ~8 KB — Generated contribution resolutions facts for wms.
|
|
17
17
|
- [UMES diagnostics](umes-diagnostics.md) — ~1 KB — Generated umes diagnostics facts for wms.
|
|
18
18
|
- [Notifications](notifications.md) — ~1 KB — Generated notifications facts for wms.
|
|
19
19
|
- [CLI commands](cli-commands.md) — ~1 KB — Generated cli commands facts for wms.
|
|
20
|
-
- [Exact override targets](exact-override-targets.md) — ~
|
|
20
|
+
- [Exact override targets](exact-override-targets.md) — ~15 KB — Generated exact override targets facts for wms.
|
|
21
21
|
- [Owned contract — module metadata](owned-contract-module-metadata.md) — ~1 KB — Generated owned contract — module metadata facts for wms.
|
|
22
22
|
- [Domain commands](domain-commands.md) — ~4 KB — Generated domain commands facts for wms.
|
|
23
23
|
- [Setup](setup.md) — ~1 KB — Generated setup facts for wms.
|
|
@@ -20,6 +20,15 @@
|
|
|
20
20
|
| search:wms:product_inventory_profile | specialized-registry | wms:product_inventory_profile | — | registry=search; registryId=wms:product_inventory_profile; specialistRoute=search | fact-ref | [search.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/search.ts) |
|
|
21
21
|
| search:wms:warehouse | specialized-registry | wms:warehouse | — | registry=search; registryId=wms:warehouse; specialistRoute=search | fact-ref | [search.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/search.ts) |
|
|
22
22
|
| search:wms:warehouse_location | specialized-registry | wms:warehouse_location | — | registry=search; registryId=wms:warehouse_location; specialistRoute=search | fact-ref | [search.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/search.ts) |
|
|
23
|
+
| wms:invalidate-enricher-cache-balance | subscriber | wms.inventory_balance.* | before-or-after | event=wms.inventory_balance.*; persistent=false; subscriberId=wms:invalidate-enricher-cache-balance; sync=true | pattern | [subscribers/invalidate-enricher-cache-balance.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-balance.ts) |
|
|
24
|
+
| wms:invalidate-enricher-cache-inventory | subscriber | wms.inventory.* | before-or-after | event=wms.inventory.*; persistent=false; subscriberId=wms:invalidate-enricher-cache-inventory; sync=true | pattern | [subscribers/invalidate-enricher-cache-inventory.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-inventory.ts) |
|
|
25
|
+
| wms:invalidate-enricher-cache-movement | subscriber | wms.inventory_movement.* | before-or-after | event=wms.inventory_movement.*; persistent=false; subscriberId=wms:invalidate-enricher-cache-movement; sync=true | pattern | [subscribers/invalidate-enricher-cache-movement.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-movement.ts) |
|
|
26
|
+
| wms:invalidate-enricher-cache-profile | subscriber | wms.inventory_profile.* | before-or-after | event=wms.inventory_profile.*; persistent=false; subscriberId=wms:invalidate-enricher-cache-profile; sync=true | pattern | [subscribers/invalidate-enricher-cache-profile.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-profile.ts) |
|
|
27
|
+
| wms:invalidate-enricher-cache-reservation | subscriber | wms.inventory_reservation.* | before-or-after | event=wms.inventory_reservation.*; persistent=false; subscriberId=wms:invalidate-enricher-cache-reservation; sync=true | pattern | [subscribers/invalidate-enricher-cache-reservation.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-reservation.ts) |
|
|
28
|
+
| wms:invalidate-enricher-cache-sales-line | subscriber | sales.line.* | before-or-after | event=sales.line.*; persistent=false; subscriberId=wms:invalidate-enricher-cache-sales-line; sync=true | pattern | [subscribers/invalidate-enricher-cache-sales-line.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-sales-line.ts) |
|
|
29
|
+
| wms:invalidate-enricher-cache-sales-order | subscriber | sales.order.* | before-or-after | event=sales.order.*; persistent=false; subscriberId=wms:invalidate-enricher-cache-sales-order; sync=true | pattern | [subscribers/invalidate-enricher-cache-sales-order.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-sales-order.ts) |
|
|
30
|
+
| wms:invalidate-enricher-cache-variant | subscriber | catalog.variant.* | before-or-after | event=catalog.variant.*; persistent=false; subscriberId=wms:invalidate-enricher-cache-variant; sync=true | pattern | [subscribers/invalidate-enricher-cache-variant.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-variant.ts) |
|
|
31
|
+
| wms:invalidate-enricher-cache-warehouse | subscriber | wms.warehouse.* | before-or-after | event=wms.warehouse.*; persistent=false; subscriberId=wms:invalidate-enricher-cache-warehouse; sync=true | pattern | [subscribers/invalidate-enricher-cache-warehouse.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/invalidate-enricher-cache-warehouse.ts) |
|
|
23
32
|
| wms:low-stock-notification | subscriber | wms.inventory.low_stock | async-delivery | event=wms.inventory.low_stock; persistent=true; subscriberId=wms:low-stock-notification; sync=false | fact-ref | [subscribers/low-stock-notification.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/low-stock-notification.ts) |
|
|
24
33
|
| wms:reservation-shortfall-notification | subscriber | wms.inventory.reservation_shortfall | async-delivery | event=wms.inventory.reservation_shortfall; persistent=true; subscriberId=wms:reservation-shortfall-notification; sync=false | fact-ref | [subscribers/reservation-shortfall-notification.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/reservation-shortfall-notification.ts) |
|
|
25
34
|
| wms:sales-order-cancelled-release | subscriber | sales.order.cancelled | async-delivery | event=sales.order.cancelled; persistent=true; subscriberId=wms:sales-order-cancelled-release; sync=false | fact-ref | [subscribers/sales-order-cancelled-release.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/subscribers/sales-order-cancelled-release.ts) |
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# workflows — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 0.7.1-develop.
|
|
2
|
+
<!-- generated from @open-mercato/core 0.7.1-develop.7171.1.9b31dbba45; core 0.7.1-develop.7171.1.9b31dbba45 — R1 staleness stamp -->
|
|
3
3
|
Source root: node_modules/@open-mercato/core/src/modules/workflows
|
|
4
4
|
|
|
5
5
|
## Sections
|
|
@@ -1185,7 +1185,7 @@
|
|
|
1185
1185
|
"facts": {
|
|
1186
1186
|
"title": "Example Module",
|
|
1187
1187
|
"description": "Demonstrates pages, APIs, entities and DI.",
|
|
1188
|
-
"coreVersion": "0.7.1-develop.
|
|
1188
|
+
"coreVersion": "0.7.1-develop.7171.1.9b31dbba45",
|
|
1189
1189
|
"sourcePackage": null,
|
|
1190
1190
|
"sourceVersion": null,
|
|
1191
1191
|
"sourceRoot": "src/modules/example",
|
|
@@ -105,6 +105,8 @@ These exported types are consumed by module developers. Required fields MUST NOT
|
|
|
105
105
|
|
|
106
106
|
**STABLE field shape, changed value semantics in 0.6.8:** each entry in `BackendChromePayload.settingsSections` keeps its `id`, `label`, `labelKey`, `order`, and `items` fields, but `id` is now the section's **untranslated group id** (the page's `pageGroupKey`, e.g. `settings.sections.moduleConfigs`) instead of a slug of the rendered group label. The old value was locale-dependent, so it could not be targeted reliably (see [#4843](https://github.com/open-mercato/open-mercato/issues/4843)). Consumers matching a settings section — notably injected `menuItems[].groupId` — MUST use the group id, which is the form the widget-injection documentation already prescribes. `buildSettingsSections`' `sectionOrder` parameter keeps a deprecated fallback lookup on the old label slug for at least one minor release.
|
|
107
107
|
|
|
108
|
+
**STABLE field shape, changed value semantics:** `BackendChromePayload.profileSections` keeps the same entry shape but is no longer the hard-coded single-entry list. It is now the static baseline (the `navHidden` pages route discovery cannot see, currently `/backend/profile/change-password`) merged with every page declaring `pageContext: 'profile'`, so a module contributing a per-user page reaches the profile sidebar the same way it already reaches the profile dropdown (see [#5594](https://github.com/open-mercato/open-mercato/issues/5594)). Two consequences for consumers: the built-in account section `id` changed from the label slug `account` to the untranslated group id `profile.sections.account`, matching the settings convention above — an injected `menuItems[].groupId` targeting `account` MUST be updated, and the one in-repo consumer (`security.injection.profile-sidebar-security-item` in `@open-mercato/enterprise`) was updated in the same change; and `profilePathPrefixes` now also carries each resolved section item's own `href`, which is additive and stays a prefix list. The `profileSections` constant exported from `@open-mercato/core/modules/auth/lib/profile-sections` keeps its import path, its export name and its runtime value, but its declared type narrows from `SectionNavGroup[]` to `SettingsSection[]` (`order` required rather than optional). Reading it — including assigning it to a `SectionNavGroup[]` — is unaffected; only code that pushes an order-less section onto the exported array would need to add `order`.
|
|
109
|
+
|
|
108
110
|
### 3. Function Signatures (STABLE)
|
|
109
111
|
|
|
110
112
|
These functions are called directly by module code. Their signatures MUST NOT change in a breaking way. New optional parameters may be added.
|
|
@@ -354,6 +356,22 @@ Files in `apps/mercato/.mercato/generated/` are produced by the CLI generators.
|
|
|
354
356
|
|
|
355
357
|
---
|
|
356
358
|
|
|
359
|
+
## CRUD Foreign-Key Violations Answer 409 (2026-09-07)
|
|
360
|
+
|
|
361
|
+
Deleting a user who had customised their sidebar failed on the `user_sidebar_preferences` / `sidebar_variants` foreign keys and surfaced as a generic `500`. The fix clears those rows in `auth.users.delete`, gives both FKs `ON DELETE CASCADE`, and teaches `makeCrudRoute` to recognise a Postgres foreign-key violation (SQLSTATE 23503). **All changes are additive** and pass the contract-surface checks above:
|
|
362
|
+
|
|
363
|
+
| Surface | Change | Classification |
|
|
364
|
+
|---------|--------|----------------|
|
|
365
|
+
| Import path / exports (`@open-mercato/shared/lib/db/pg-errors`) | New exports `isForeignKeyViolation(err)` and `getForeignKeyViolationConstraint(err)` | ✓ ADDITIVE (new exports, nothing removed or renamed) |
|
|
366
|
+
| HTTP response shapes (`makeCrudRoute` handlers) | A handler that throws a Postgres foreign-key violation now answers `409 { error, code: 'FOREIGN_KEY_VIOLATION', requestId }` with an `x-request-id` header, where it previously answered the generic `500 { error, message, requestId }`. The constraint name is logged and reported to telemetry but never returned to the client. Every other error class keeps its byte-identical historical answer | ⚠️ Behaviour change for one error class only. No retained response loses a field, but a client that treated the old `500` as retryable now receives a non-retryable `409`. Regression-tested in `crud-factory.test.ts` |
|
|
367
|
+
| Database schema (`user_sidebar_preferences_user_id_foreign`, `sidebar_variants_user_id_foreign`) | Both constraints are dropped and recreated with `on update cascade on delete cascade` (`Migration20260907120000_auth`). No table or column is added, renamed, removed or retyped, and `down()` restores each constraint to its original definition | ✓ ADDITIVE-ONLY compatible (delete behaviour widened, nothing narrowed) |
|
|
368
|
+
| Command behaviour (`auth.users.delete`, `auth.users.create` undo) | The dependent-row cascade also clears `user_sidebar_preferences` and `sidebar_variants`. Those rows are not captured by `UserUndoSnapshot`, so undoing a user delete restores the user, roles, ACLs and custom fields but not the sidebar customisation. `user_consents` is deliberately left untouched | ✓ Behaviour-preserving for every delete that succeeded before; deletes that previously failed with `500` now succeed |
|
|
369
|
+
| Event IDs, ACL features, DI names, CLI commands | No change | ✓ n/a |
|
|
370
|
+
|
|
371
|
+
**Migration path for existing modules**: no action required. A client that branched on `5xx` for foreign-key failures should treat `409` with `code: 'FOREIGN_KEY_VIOLATION'` as the same condition; it was never retryable.
|
|
372
|
+
|
|
373
|
+
---
|
|
374
|
+
|
|
357
375
|
## Module Registry Registration Listeners (2026-08-12)
|
|
358
376
|
|
|
359
377
|
[`.ai/specs/2026-08-12-module-registry-registration-listeners.md`](.ai/specs/2026-08-12-module-registry-registration-listeners.md) adds a public subscription to the module registry so a cache derived from the module list can drop what it built from an incomplete one ([#5103](https://github.com/open-mercato/open-mercato/issues/5103)). **All changes are additive** and pass the contract-surface checks above:
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1,
|
|
3
|
-
"generator": "@open-mercato/cli@0.7.1-develop.
|
|
3
|
+
"generator": "@open-mercato/cli@0.7.1-develop.7171.1.9b31dbba45",
|
|
4
4
|
"files": {
|
|
5
5
|
"AGENTS.md": "1f54610cebc4fd7e42b56d1c18859edc7ed7d3165c9af72c4530b6feaf76e457",
|
|
6
|
-
"BACKWARD_COMPATIBILITY.md": "
|
|
6
|
+
"BACKWARD_COMPATIBILITY.md": "f038b782e63818968de8bc1da67645a1f59b1e762066e7dc989010df46050e57"
|
|
7
7
|
}
|
|
8
8
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-mercato/cli",
|
|
3
|
-
"version": "0.7.1-develop.
|
|
3
|
+
"version": "0.7.1-develop.7171.1.9b31dbba45",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"@mikro-orm/decorators": "^7.1.8",
|
|
61
61
|
"@mikro-orm/migrations": "^7.1.8",
|
|
62
62
|
"@mikro-orm/postgresql": "^7.1.8",
|
|
63
|
-
"@open-mercato/queue": "0.7.1-develop.
|
|
64
|
-
"@open-mercato/shared": "0.7.1-develop.
|
|
65
|
-
"@open-mercato/telemetry": "0.7.1-develop.
|
|
63
|
+
"@open-mercato/queue": "0.7.1-develop.7171.1.9b31dbba45",
|
|
64
|
+
"@open-mercato/shared": "0.7.1-develop.7171.1.9b31dbba45",
|
|
65
|
+
"@open-mercato/telemetry": "0.7.1-develop.7171.1.9b31dbba45",
|
|
66
66
|
"cross-spawn": "^7.0.6",
|
|
67
67
|
"pg": "8.22.0",
|
|
68
68
|
"semver": "^7.8.5",
|
|
@@ -73,10 +73,10 @@
|
|
|
73
73
|
"typescript-js": "npm:typescript@6.0.3"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
|
-
"@open-mercato/shared": "0.7.1-develop.
|
|
76
|
+
"@open-mercato/shared": "0.7.1-develop.7171.1.9b31dbba45"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
|
-
"@open-mercato/shared": "0.7.1-develop.
|
|
79
|
+
"@open-mercato/shared": "0.7.1-develop.7171.1.9b31dbba45",
|
|
80
80
|
"@types/jest": "^30.0.0",
|
|
81
81
|
"jest": "^30.4.2",
|
|
82
82
|
"ts-jest": "^29.4.12"
|