@open-mercato/cli 0.9.1-develop.7573.1.d0ccc51d5b → 0.9.1-develop.7575.1.8480826a9b
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/.turbo/turbo-build.log +1 -5
- package/dist/agentic/guides/architecture.md +0 -2
- package/dist/agentic/guides/extensions.md +0 -2
- package/dist/agentic/guides/module-facts.json +683 -4227
- package/dist/agentic/guides/module-facts.v2.json +683 -4227
- package/dist/agentic/guides/modules/agent_orchestrator/index.md +1 -1
- 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/availability/index.md +1 -1
- package/dist/agentic/guides/modules/business_rules/index.md +1 -1
- package/dist/agentic/guides/modules/catalog/acl-features.md +1 -3
- package/dist/agentic/guides/modules/catalog/active-extension-bindings.md +3 -3
- package/dist/agentic/guides/modules/catalog/cli-commands.md +0 -1
- package/dist/agentic/guides/modules/catalog/contribution-resolutions.md +0 -2
- package/dist/agentic/guides/modules/catalog/di-registrations-rich.md +4 -5
- package/dist/agentic/guides/modules/catalog/di-service-tokens.md +1 -2
- package/dist/agentic/guides/modules/catalog/entities.md +0 -1
- package/dist/agentic/guides/modules/catalog/exact-override-targets.md +4 -10
- package/dist/agentic/guides/modules/catalog/index.md +5 -5
- package/dist/agentic/guides/modules/catalog/umes-contributions.md +0 -2
- package/dist/agentic/guides/modules/catalog/umes-hosts.md +0 -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/index.md +2 -3
- package/dist/agentic/guides/modules/customer_groups/active-extension-bindings.md +1 -1
- package/dist/agentic/guides/modules/customer_groups/index.md +2 -3
- package/dist/agentic/guides/modules/customers/active-extension-bindings.md +5 -5
- package/dist/agentic/guides/modules/customers/di-registrations-rich.md +3 -5
- package/dist/agentic/guides/modules/customers/exact-override-targets.md +3 -5
- package/dist/agentic/guides/modules/customers/index.md +2 -2
- package/dist/agentic/guides/modules/customers/owned-contract-module-metadata.md +1 -1
- package/dist/agentic/guides/modules/customers/umes-hosts.md +0 -2
- package/dist/agentic/guides/modules/dashboards/index.md +1 -1
- package/dist/agentic/guides/modules/data_sync/di-registrations-rich.md +8 -8
- package/dist/agentic/guides/modules/data_sync/di-service-tokens.md +4 -4
- package/dist/agentic/guides/modules/data_sync/exact-override-targets.md +8 -8
- 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/forms/index.md +1 -1
- package/dist/agentic/guides/modules/gateway_stripe/di-registrations-rich.md +1 -1
- package/dist/agentic/guides/modules/gateway_stripe/exact-override-targets.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/phone_calls/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/portal/owned-contract-module-metadata.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/exact-override-targets.md +1 -1
- package/dist/agentic/guides/modules/scheduler/index.md +1 -1
- package/dist/agentic/guides/modules/scheduler/workers.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/seeds/index.md +1 -1
- package/dist/agentic/guides/modules/shipping_carriers/exact-override-targets.md +1 -1
- package/dist/agentic/guides/modules/shipping_carriers/index.md +1 -1
- package/dist/agentic/guides/modules/shipping_carriers/workers.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/telemetry/index.md +1 -1
- package/dist/agentic/guides/modules/tillio/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/exact-override-targets.md +2 -2
- package/dist/agentic/guides/modules/webhooks/index.md +1 -1
- package/dist/agentic/guides/modules/webhooks/workers.md +2 -2
- package/dist/agentic/guides/modules/wms/events.md +1 -2
- package/dist/agentic/guides/modules/wms/index.md +1 -1
- package/dist/agentic/guides/modules/wms/umes-hosts.md +0 -1
- package/dist/agentic/guides/modules/workflows/index.md +1 -1
- package/dist/agentic/guides/modules/workflows/owned-contract-module-metadata.md +1 -1
- package/dist/agentic/guides/reference-module-facts.json +25 -443
- package/dist/agentic/guides/reference-modules/example/active-extension-bindings.md +0 -2
- package/dist/agentic/guides/reference-modules/example/contribution-resolutions.md +4 -9
- package/dist/agentic/guides/reference-modules/example/di-registrations-rich.md +2 -3
- package/dist/agentic/guides/reference-modules/example/di-service-tokens.md +1 -1
- package/dist/agentic/guides/reference-modules/example/exact-override-targets.md +6 -12
- package/dist/agentic/guides/reference-modules/example/index.md +4 -4
- package/dist/agentic/guides/reference-modules/example/umes-contributions.md +5 -10
- package/dist/agentic/guides/reference-modules/example/umes-hosts.md +0 -1
- package/dist/agentic/guides/upstream/AGENTS.md +1 -1
- package/dist/agentic/guides/upstream/BACKWARD_COMPATIBILITY.md +0 -20
- package/dist/agentic/guides/upstream/manifest.json +3 -3
- package/dist/agentic/shared/AGENTS.md.template +0 -1
- package/dist/agentic/shared/ai/harness/README.md +2 -6
- package/dist/agentic/shared/ai/harness/RELEASE.md +4 -4
- package/dist/agentic/shared/ai/harness/cases.json +39 -371
- package/dist/agentic/shared/ai/harness/cases.schema.json +4 -4
- package/dist/agentic/shared/ai/harness/design-system-inventory.json +3 -63
- package/dist/agentic/shared/ai/harness/source-link-inventory.json +8 -316
- package/dist/agentic/shared/ai/harness/validators.json +1 -1
- package/dist/agentic/shared/ai/skills/om-integration-builder/references/provider-families.md +1 -1
- package/dist/agentic/shared/ai/skills/om-module-scaffold/SKILL.md +0 -2
- package/dist/agentic/shared/scripts/evaluate-agent-harness.mjs +9 -78
- package/dist/agentic/shared/scripts/execution-sandbox.mjs +7 -8
- package/dist/bin.js +0 -2
- package/dist/bin.js.map +2 -2
- package/dist/mercato.js +17 -87
- package/dist/mercato.js.map +2 -2
- package/package.json +7 -7
- package/src/__tests__/mercato.test.ts +0 -480
- package/src/bin.ts +0 -5
- package/src/mercato.ts +14 -104
- package/dist/agentic/guides/customers-calendar.md +0 -57
- package/dist/agentic/guides/module-tool.md +0 -35
- package/dist/agentic/guides/modules/customer_accounts/incoming-installed-contributions.md +0 -13
- package/dist/agentic/guides/modules/customer_groups/incoming-installed-contributions.md +0 -11
- package/dist/agentic/guides/modules/ecommerce/acl-features.md +0 -15
- package/dist/agentic/guides/modules/ecommerce/active-extension-bindings.md +0 -12
- package/dist/agentic/guides/modules/ecommerce/backend-pages.md +0 -12
- package/dist/agentic/guides/modules/ecommerce/contribution-resolutions.md +0 -32
- package/dist/agentic/guides/modules/ecommerce/di-registrations-rich.md +0 -11
- package/dist/agentic/guides/modules/ecommerce/di-service-tokens.md +0 -11
- package/dist/agentic/guides/modules/ecommerce/entities.md +0 -13
- package/dist/agentic/guides/modules/ecommerce/events.md +0 -22
- package/dist/agentic/guides/modules/ecommerce/exact-override-targets.md +0 -41
- package/dist/agentic/guides/modules/ecommerce/index.md +0 -26
- package/dist/agentic/guides/modules/ecommerce/notifications.md +0 -12
- package/dist/agentic/guides/modules/ecommerce/owned-contract-module-metadata.md +0 -11
- package/dist/agentic/guides/modules/ecommerce/search-entities.md +0 -11
- package/dist/agentic/guides/modules/ecommerce/setup.md +0 -11
- package/dist/agentic/guides/modules/ecommerce/umes-contributions.md +0 -32
- package/dist/agentic/guides/modules/ecommerce/umes-hosts.md +0 -27
- package/dist/agentic/guides/modules/gateway_tpay/acl-features.md +0 -12
- package/dist/agentic/guides/modules/gateway_tpay/cli-commands.md +0 -12
- package/dist/agentic/guides/modules/gateway_tpay/contribution-resolutions.md +0 -12
- package/dist/agentic/guides/modules/gateway_tpay/di-registrations-rich.md +0 -11
- package/dist/agentic/guides/modules/gateway_tpay/exact-override-targets.md +0 -17
- package/dist/agentic/guides/modules/gateway_tpay/index.md +0 -19
- package/dist/agentic/guides/modules/gateway_tpay/owned-contract-module-metadata.md +0 -11
- package/dist/agentic/guides/modules/gateway_tpay/setup.md +0 -11
- package/dist/agentic/guides/modules/gateway_tpay/umes-contributions.md +0 -12
- package/src/lib/__tests__/bin-next-subpath-hook.test.ts +0 -25
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# ecommerce — Owned contract — module metadata
|
|
2
|
-
|
|
3
|
-
[Back to module index](index.md)
|
|
4
|
-
|
|
5
|
-
## Owned contract — module metadata
|
|
6
|
-
|
|
7
|
-
| ID | Metadata | Source |
|
|
8
|
-
|---|---|---|
|
|
9
|
-
| ecommerce | ejectable=true; name=ecommerce; requires=catalog, sales, customer_accounts, customer_groups; version=0.1.0 | [index.ts:3](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/index.ts#L3) |
|
|
10
|
-
|
|
11
|
-
<!-- end module facts section: ecommerce/owned-contract-module-metadata -->
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# ecommerce — Search entities
|
|
2
|
-
|
|
3
|
-
[Back to module index](index.md)
|
|
4
|
-
|
|
5
|
-
## Search entities
|
|
6
|
-
|
|
7
|
-
| Entity ID | Source |
|
|
8
|
-
|---|---|
|
|
9
|
-
| ecommerce:ecommerce_store | [search.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/search.ts) |
|
|
10
|
-
|
|
11
|
-
<!-- end module facts section: ecommerce/search-entities -->
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# ecommerce — Setup
|
|
2
|
-
|
|
3
|
-
[Back to module index](index.md)
|
|
4
|
-
|
|
5
|
-
## Setup
|
|
6
|
-
|
|
7
|
-
| ID | Metadata | Source |
|
|
8
|
-
|---|---|---|
|
|
9
|
-
| ecommerce:setup | hooks=onTenantCreated; roles=admin, employee, superadmin | [setup.ts:4](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/setup.ts#L4) |
|
|
10
|
-
|
|
11
|
-
<!-- end module facts section: ecommerce/setup -->
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# ecommerce — UMES contributions
|
|
2
|
-
|
|
3
|
-
[Back to module index](index.md)
|
|
4
|
-
|
|
5
|
-
## UMES contributions
|
|
6
|
-
|
|
7
|
-
| ID | Kind | Target | Phase / operations | Contract | Resolution | Source |
|
|
8
|
-
|---|---|---|---|---|---|---|
|
|
9
|
-
| ecommerce.store-binding-summary | response-enricher | ecommerce:ecommerce_store | list, detail | cachePosture=rerun-on-list-cache-hit; critical=false; fallback=configured; surfaces=list,detail; targetEntity=ecommerce:ecommerce_store; timeoutMs=2000 | exact | [data/enrichers.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/data/enrichers.ts) |
|
|
10
|
-
| ecommerce.store-domain-binding-mapping | response-enricher | ecommerce:ecommerce_store_domain_binding | list, detail | cachePosture=rerun-on-list-cache-hit; critical=false; fallback=configured; surfaces=list,detail; targetEntity=ecommerce:ecommerce_store_domain_binding; timeoutMs=2000 | exact | [data/enrichers.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/data/enrichers.ts) |
|
|
11
|
-
| notification:ecommerce.store.assortment_empty | specialized-registry | ecommerce.store.assortment_empty | — | registry=notification; registryId=ecommerce.store.assortment_empty; specialistRoute=notifications | fact-ref | [notifications.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/notifications.ts) |
|
|
12
|
-
| notification:ecommerce.store.channel_binding_missing | specialized-registry | ecommerce.store.channel_binding_missing | — | registry=notification; registryId=ecommerce.store.channel_binding_missing; specialistRoute=notifications | fact-ref | [notifications.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/notifications.ts) |
|
|
13
|
-
| search:ecommerce:ecommerce_store | specialized-registry | ecommerce:ecommerce_store | — | registry=search; registryId=ecommerce:ecommerce_store; specialistRoute=search | fact-ref | [search.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/search.ts) |
|
|
14
|
-
| ecommerce:assortment-empty-notification | subscriber | ecommerce.assortment.empty_detected | async-delivery | event=ecommerce.assortment.empty_detected; persistent=true; subscriberId=ecommerce:assortment-empty-notification; sync=false | fact-ref | [subscribers/assortment-empty-notifications.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/assortment-empty-notifications.ts) |
|
|
15
|
-
| ecommerce:availability-policy-cache-invalidation | subscriber | availability.policy.* | before-or-after | event=availability.policy.*; persistent=false; subscriberId=ecommerce:availability-policy-cache-invalidation; sync=true | pattern | [subscribers/availability-policy-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/availability-policy-cache-invalidation.ts) |
|
|
16
|
-
| ecommerce:catalog-category-cache-invalidation | subscriber | catalog.category.* | before-or-after | event=catalog.category.*; persistent=false; subscriberId=ecommerce:catalog-category-cache-invalidation; sync=true | pattern | [subscribers/catalog-category-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/catalog-category-cache-invalidation.ts) |
|
|
17
|
-
| ecommerce:catalog-price-cache-invalidation | subscriber | catalog.price.* | before-or-after | event=catalog.price.*; persistent=false; subscriberId=ecommerce:catalog-price-cache-invalidation; sync=true | pattern | [subscribers/catalog-price-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/catalog-price-cache-invalidation.ts) |
|
|
18
|
-
| ecommerce:catalog-product-cache-invalidation | subscriber | catalog.product.* | before-or-after | event=catalog.product.*; persistent=false; subscriberId=ecommerce:catalog-product-cache-invalidation; sync=true | pattern | [subscribers/catalog-product-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/catalog-product-cache-invalidation.ts) |
|
|
19
|
-
| ecommerce:catalog-variant-cache-invalidation | subscriber | catalog.variant.* | before-or-after | event=catalog.variant.*; persistent=false; subscriberId=ecommerce:catalog-variant-cache-invalidation; sync=true | pattern | [subscribers/catalog-variant-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/catalog-variant-cache-invalidation.ts) |
|
|
20
|
-
| ecommerce:customer-group-cache-invalidation | subscriber | customer_groups.group.* | before-or-after | event=customer_groups.group.*; persistent=false; subscriberId=ecommerce:customer-group-cache-invalidation; sync=true | pattern | [subscribers/customer-group-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/customer-group-cache-invalidation.ts) |
|
|
21
|
-
| ecommerce:customer-group-membership-cache-invalidation | subscriber | customer_groups.membership.* | before-or-after | event=customer_groups.membership.*; persistent=false; subscriberId=ecommerce:customer-group-membership-cache-invalidation; sync=true | pattern | [subscribers/customer-group-membership-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/customer-group-membership-cache-invalidation.ts) |
|
|
22
|
-
| ecommerce:customer-group-terms-cache-invalidation | subscriber | customer_groups.terms.updated | before-or-after | event=customer_groups.terms.updated; persistent=false; subscriberId=ecommerce:customer-group-terms-cache-invalidation; sync=true | fact-ref | [subscribers/customer-group-terms-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/customer-group-terms-cache-invalidation.ts) |
|
|
23
|
-
| ecommerce:customer-user-deleted-cache-invalidation | subscriber | customer_accounts.user.deleted | before-or-after | event=customer_accounts.user.deleted; persistent=false; subscriberId=ecommerce:customer-user-deleted-cache-invalidation; sync=true | fact-ref | [subscribers/customer-user-deleted-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/customer-user-deleted-cache-invalidation.ts) |
|
|
24
|
-
| ecommerce:customer-user-updated-cache-invalidation | subscriber | customer_accounts.user.updated | before-or-after | event=customer_accounts.user.updated; persistent=false; subscriberId=ecommerce:customer-user-updated-cache-invalidation; sync=true | fact-ref | [subscribers/customer-user-updated-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/customer-user-updated-cache-invalidation.ts) |
|
|
25
|
-
| ecommerce:domain-binding-rebind | subscriber | customer_accounts.domain_mapping.replaced | async-delivery | event=customer_accounts.domain_mapping.replaced; persistent=true; subscriberId=ecommerce:domain-binding-rebind; sync=false | fact-ref | [subscribers/domain-binding-rebind.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/domain-binding-rebind.ts) |
|
|
26
|
-
| ecommerce:domain-mapping-cache-invalidation | subscriber | customer_accounts.domain_mapping.* | before-or-after | event=customer_accounts.domain_mapping.*; persistent=false; subscriberId=ecommerce:domain-mapping-cache-invalidation; sync=true | pattern | [subscribers/domain-mapping-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/domain-mapping-cache-invalidation.ts) |
|
|
27
|
-
| ecommerce:store-cache-invalidation | subscriber | ecommerce.store.* | before-or-after | event=ecommerce.store.*; persistent=false; subscriberId=ecommerce:store-cache-invalidation; sync=true | pattern | [subscribers/store-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/store-cache-invalidation.ts) |
|
|
28
|
-
| ecommerce:store-channel-binding-cache-invalidation | subscriber | ecommerce.store_channel_binding.* | before-or-after | event=ecommerce.store_channel_binding.*; persistent=false; subscriberId=ecommerce:store-channel-binding-cache-invalidation; sync=true | pattern | [subscribers/store-channel-binding-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/store-channel-binding-cache-invalidation.ts) |
|
|
29
|
-
| ecommerce:store-domain-binding-cache-invalidation | subscriber | ecommerce.store_domain_binding.* | before-or-after | event=ecommerce.store_domain_binding.*; persistent=false; subscriberId=ecommerce:store-domain-binding-cache-invalidation; sync=true | pattern | [subscribers/store-domain-binding-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/store-domain-binding-cache-invalidation.ts) |
|
|
30
|
-
| ecommerce:store-misconfigured-notification | subscriber | ecommerce.store.misconfigured | async-delivery | event=ecommerce.store.misconfigured; persistent=true; subscriberId=ecommerce:store-misconfigured-notification; sync=false | fact-ref | [subscribers/store-notifications.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/store-notifications.ts) |
|
|
31
|
-
|
|
32
|
-
<!-- end module facts section: ecommerce/umes-contributions -->
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# ecommerce — UMES hosts
|
|
2
|
-
|
|
3
|
-
[Back to module index](index.md)
|
|
4
|
-
|
|
5
|
-
## UMES hosts
|
|
6
|
-
|
|
7
|
-
| ID / pattern | Family | Supports | Context | Stability | Source |
|
|
8
|
-
|---|---|---|---|---|---|
|
|
9
|
-
| ecommerce:ecommerce_store | entity | response-enricher, query-enricher, mutation-guard | tenant-and-organization | STABLE | [api/stores/crud.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/api/stores/crud.ts) |
|
|
10
|
-
| ecommerce:ecommerce_store_channel_binding | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:ecommerce:ecommerce_store_channel_binding |
|
|
11
|
-
| ecommerce:ecommerce_store_domain_binding | entity | response-enricher, query-enricher, mutation-guard | tenant-and-organization | STABLE | [api/store-domain-bindings/crud.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/api/store-domain-bindings/crud.ts) |
|
|
12
|
-
| ecommerce.assortment.empty_detected | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:ecommerce.assortment.empty_detected |
|
|
13
|
-
| ecommerce.store_channel_binding.created | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:ecommerce.store_channel_binding.created |
|
|
14
|
-
| ecommerce.store_channel_binding.deleted | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:ecommerce.store_channel_binding.deleted |
|
|
15
|
-
| ecommerce.store_channel_binding.updated | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:ecommerce.store_channel_binding.updated |
|
|
16
|
-
| ecommerce.store_domain_binding.created | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:ecommerce.store_domain_binding.created |
|
|
17
|
-
| ecommerce.store_domain_binding.deleted | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:ecommerce.store_domain_binding.deleted |
|
|
18
|
-
| ecommerce.store_domain_binding.updated | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:ecommerce.store_domain_binding.updated |
|
|
19
|
-
| ecommerce.store.branding_updated | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:ecommerce.store.branding_updated |
|
|
20
|
-
| ecommerce.store.created | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:ecommerce.store.created |
|
|
21
|
-
| ecommerce.store.deleted | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:ecommerce.store.deleted |
|
|
22
|
-
| ecommerce.store.misconfigured | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:ecommerce.store.misconfigured |
|
|
23
|
-
| ecommerce.store.updated | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:ecommerce.store.updated |
|
|
24
|
-
| ecommerce.ecommerce_store.queried | query-lifecycle | sync-subscriber | tenant-and-organization-reapplied-after-result | STABLE | searchEntities:ecommerce:ecommerce_store |
|
|
25
|
-
| ecommerce.ecommerce_store.querying | query-lifecycle | sync-subscriber | tenant-and-organization-reapplied-after-result | STABLE | searchEntities:ecommerce:ecommerce_store |
|
|
26
|
-
|
|
27
|
-
<!-- end module facts section: ecommerce/umes-hosts -->
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# gateway_tpay — ACL features
|
|
2
|
-
|
|
3
|
-
[Back to module index](index.md)
|
|
4
|
-
|
|
5
|
-
## ACL features (2)
|
|
6
|
-
|
|
7
|
-
| Feature | Source |
|
|
8
|
-
|---|---|
|
|
9
|
-
| gateway_tpay.view | [acl.ts](../../../../node_modules/@open-mercato/gateway-tpay/src/modules/gateway_tpay/acl.ts) |
|
|
10
|
-
| gateway_tpay.configure | [acl.ts](../../../../node_modules/@open-mercato/gateway-tpay/src/modules/gateway_tpay/acl.ts) |
|
|
11
|
-
|
|
12
|
-
<!-- end module facts section: gateway_tpay/acl-features -->
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# gateway_tpay — CLI commands
|
|
2
|
-
|
|
3
|
-
[Back to module index](index.md)
|
|
4
|
-
|
|
5
|
-
## CLI commands
|
|
6
|
-
|
|
7
|
-
| ID / path | Source |
|
|
8
|
-
|---|---|
|
|
9
|
-
| configure-from-env | [cli.ts](../../../../node_modules/@open-mercato/gateway-tpay/src/modules/gateway_tpay/cli.ts) |
|
|
10
|
-
| help | [cli.ts](../../../../node_modules/@open-mercato/gateway-tpay/src/modules/gateway_tpay/cli.ts) |
|
|
11
|
-
|
|
12
|
-
<!-- end module facts section: gateway_tpay/cli-commands -->
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# gateway_tpay — Contribution resolutions
|
|
2
|
-
|
|
3
|
-
[Back to module index](index.md)
|
|
4
|
-
|
|
5
|
-
## Contribution resolutions
|
|
6
|
-
|
|
7
|
-
| Contribution | Target | Resolution | Activations | Source |
|
|
8
|
-
|---|---|---|---|---|
|
|
9
|
-
| integration:gateway_tpay | module:gateway_tpay | capability-only | — | [integration.ts](../../../../node_modules/@open-mercato/gateway-tpay/src/modules/gateway_tpay/integration.ts) |
|
|
10
|
-
| payment:tpay | module:tpay | capability-only | — | [di.ts](../../../../node_modules/@open-mercato/gateway-tpay/src/modules/gateway_tpay/di.ts) |
|
|
11
|
-
|
|
12
|
-
<!-- end module facts section: gateway_tpay/contribution-resolutions -->
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# gateway_tpay — DI registrations (rich)
|
|
2
|
-
|
|
3
|
-
[Back to module index](index.md)
|
|
4
|
-
|
|
5
|
-
## DI registrations (rich)
|
|
6
|
-
|
|
7
|
-
| Token | Kind | Lifetime | Injection | Provider | Source |
|
|
8
|
-
|---|---|---|---|---|---|
|
|
9
|
-
| tpayHealthCheck | value | — | — | — | [di.ts:24](../../../../node_modules/@open-mercato/gateway-tpay/src/modules/gateway_tpay/di.ts#L24) |
|
|
10
|
-
|
|
11
|
-
<!-- end module facts section: gateway_tpay/di-registrations-rich -->
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# gateway_tpay — Exact override targets
|
|
2
|
-
|
|
3
|
-
[Back to module index](index.md)
|
|
4
|
-
|
|
5
|
-
## Exact override targets
|
|
6
|
-
|
|
7
|
-
| Domain | Path / key | Supported modes | Referenced fact | Source |
|
|
8
|
-
|---|---|---|---|---|
|
|
9
|
-
| acl | `overrides.acl.features["gateway_tpay.configure"]` | disable-replace | aclFeatures:gateway_tpay.configure | [acl.ts](../../../../node_modules/@open-mercato/gateway-tpay/src/modules/gateway_tpay/acl.ts) |
|
|
10
|
-
| acl | `overrides.acl.features["gateway_tpay.view"]` | disable-replace | aclFeatures:gateway_tpay.view | [acl.ts](../../../../node_modules/@open-mercato/gateway-tpay/src/modules/gateway_tpay/acl.ts) |
|
|
11
|
-
| cli | `overrides.cli["configure-from-env"]` | disable-replace | cliCommands:configure-from-env | [cli.ts](../../../../node_modules/@open-mercato/gateway-tpay/src/modules/gateway_tpay/cli.ts) |
|
|
12
|
-
| cli | `overrides.cli["help"]` | disable-replace | cliCommands:help | [cli.ts](../../../../node_modules/@open-mercato/gateway-tpay/src/modules/gateway_tpay/cli.ts) |
|
|
13
|
-
| di | `overrides.di["tpayHealthCheck"]` | disable-replace | ownedContracts.di-registration:tpayHealthCheck | [di.ts:24](../../../../node_modules/@open-mercato/gateway-tpay/src/modules/gateway_tpay/di.ts#L24) |
|
|
14
|
-
| setup | `overrides.setup.defaultRoleFeatures` | replace | ownedContracts.setup:gateway_tpay:setup | [setup.ts:11](../../../../node_modules/@open-mercato/gateway-tpay/src/modules/gateway_tpay/setup.ts#L11) |
|
|
15
|
-
| setup | `overrides.setup.onTenantCreated` | replace | ownedContracts.setup:gateway_tpay:setup | [setup.ts:11](../../../../node_modules/@open-mercato/gateway-tpay/src/modules/gateway_tpay/setup.ts#L11) |
|
|
16
|
-
|
|
17
|
-
<!-- end module facts section: gateway_tpay/exact-override-targets -->
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# gateway_tpay — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/gateway-tpay 0.9.1-develop.7573.1.d0ccc51d5b; core 0.9.1-develop.7573.1.d0ccc51d5b — R1 staleness stamp -->
|
|
3
|
-
Source root: node_modules/@open-mercato/gateway-tpay/src/modules/gateway_tpay
|
|
4
|
-
|
|
5
|
-
## Sections
|
|
6
|
-
|
|
7
|
-
- [ACL features](acl-features.md) — ~1 KB — Generated acl features facts for gateway_tpay.
|
|
8
|
-
- [UMES contributions](umes-contributions.md) — ~1 KB — Generated umes contributions facts for gateway_tpay.
|
|
9
|
-
- [Contribution resolutions](contribution-resolutions.md) — ~1 KB — Generated contribution resolutions facts for gateway_tpay.
|
|
10
|
-
- [CLI commands](cli-commands.md) — ~1 KB — Generated cli commands facts for gateway_tpay.
|
|
11
|
-
- [Exact override targets](exact-override-targets.md) — ~2 KB — Generated exact override targets facts for gateway_tpay.
|
|
12
|
-
- [Owned contract — module metadata](owned-contract-module-metadata.md) — ~1 KB — Generated owned contract — module metadata facts for gateway_tpay.
|
|
13
|
-
- [Setup](setup.md) — ~1 KB — Generated setup facts for gateway_tpay.
|
|
14
|
-
- [DI registrations (rich)](di-registrations-rich.md) — ~1 KB — Generated di registrations (rich) facts for gateway_tpay.
|
|
15
|
-
|
|
16
|
-
Read only the section files needed for the task; every section ends with a completion marker.
|
|
17
|
-
A section absent from this list has no facts for gateway_tpay; this index is complete only when the read reaches the marker below.
|
|
18
|
-
|
|
19
|
-
<!-- end module facts: gateway_tpay — 8 sections -->
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# gateway_tpay — Owned contract — module metadata
|
|
2
|
-
|
|
3
|
-
[Back to module index](index.md)
|
|
4
|
-
|
|
5
|
-
## Owned contract — module metadata
|
|
6
|
-
|
|
7
|
-
| ID | Metadata | Source |
|
|
8
|
-
|---|---|---|
|
|
9
|
-
| gateway_tpay | — | [index.ts:1](../../../../node_modules/@open-mercato/gateway-tpay/src/modules/gateway_tpay/index.ts#L1) |
|
|
10
|
-
|
|
11
|
-
<!-- end module facts section: gateway_tpay/owned-contract-module-metadata -->
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# gateway_tpay — Setup
|
|
2
|
-
|
|
3
|
-
[Back to module index](index.md)
|
|
4
|
-
|
|
5
|
-
## Setup
|
|
6
|
-
|
|
7
|
-
| ID | Metadata | Source |
|
|
8
|
-
|---|---|---|
|
|
9
|
-
| gateway_tpay:setup | hooks=onTenantCreated; roles=admin, superadmin | [setup.ts:11](../../../../node_modules/@open-mercato/gateway-tpay/src/modules/gateway_tpay/setup.ts#L11) |
|
|
10
|
-
|
|
11
|
-
<!-- end module facts section: gateway_tpay/setup -->
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# gateway_tpay — UMES contributions
|
|
2
|
-
|
|
3
|
-
[Back to module index](index.md)
|
|
4
|
-
|
|
5
|
-
## UMES contributions
|
|
6
|
-
|
|
7
|
-
| ID | Kind | Target | Phase / operations | Contract | Resolution | Source |
|
|
8
|
-
|---|---|---|---|---|---|---|
|
|
9
|
-
| integration:gateway_tpay | specialized-registry | gateway_tpay | — | registry=integration; registryId=gateway_tpay; specialistRoute=integrations | fact-ref | [integration.ts](../../../../node_modules/@open-mercato/gateway-tpay/src/modules/gateway_tpay/integration.ts) |
|
|
10
|
-
| payment:tpay | specialized-registry | tpay | — | registry=payment; registryId=tpay; specialistRoute=paymentGateways | fact-ref | [di.ts](../../../../node_modules/@open-mercato/gateway-tpay/src/modules/gateway_tpay/di.ts) |
|
|
11
|
-
|
|
12
|
-
<!-- end module facts section: gateway_tpay/umes-contributions -->
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import fs from 'node:fs'
|
|
2
|
-
import path from 'node:path'
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Regression (#7102): CLI commands and workers load package dists that import
|
|
6
|
-
* bare `next/dynamic`, `next/link`, … which plain Node ESM cannot resolve. The
|
|
7
|
-
* entry must install the resolve hook before anything can import such a dist.
|
|
8
|
-
*/
|
|
9
|
-
describe('bin.ts next/<subpath> resolve hook', () => {
|
|
10
|
-
const binSource = fs.readFileSync(path.resolve(__dirname, '../../bin.ts'), 'utf8')
|
|
11
|
-
|
|
12
|
-
it('imports the shared resolve hook', () => {
|
|
13
|
-
expect(binSource).toContain(
|
|
14
|
-
"import { installNextSubpathResolveHook } from '@open-mercato/shared/lib/bootstrap/next-subpath-resolve-hook'",
|
|
15
|
-
)
|
|
16
|
-
})
|
|
17
|
-
|
|
18
|
-
it('installs the hook before bootstrapping or loading the mercato entry', () => {
|
|
19
|
-
const installCall = binSource.indexOf('installNextSubpathResolveHook()')
|
|
20
|
-
expect(installCall).toBeGreaterThan(-1)
|
|
21
|
-
expect(installCall).toBeLessThan(binSource.indexOf('await loadAppEnv()'))
|
|
22
|
-
expect(installCall).toBeLessThan(binSource.indexOf('await tryBootstrap(bootstrapMode)'))
|
|
23
|
-
expect(installCall).toBeLessThan(binSource.indexOf("const { run } = await import('./mercato.js')"))
|
|
24
|
-
})
|
|
25
|
-
})
|