@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
package/src/mercato.ts
CHANGED
|
@@ -327,11 +327,7 @@ async function ensureEnvLoaded(options: { createIfMissing?: boolean; quiet?: boo
|
|
|
327
327
|
const examplePath = path.join(appDir, '.env.example')
|
|
328
328
|
if (fs.existsSync(examplePath)) {
|
|
329
329
|
fs.copyFileSync(examplePath, envPath)
|
|
330
|
-
console.log(
|
|
331
|
-
console.log('⚠️ No .env was found, so one was created from .env.example.')
|
|
332
|
-
console.log(` ${envPath}`)
|
|
333
|
-
console.log(' It carries the example placeholders — review DATABASE_URL and secrets before continuing.')
|
|
334
|
-
console.log('')
|
|
330
|
+
console.log(`📋 Copied .env.example → .env (edit ${envPath} to customize)`)
|
|
335
331
|
}
|
|
336
332
|
}
|
|
337
333
|
if (fs.existsSync(envPath)) {
|
|
@@ -898,67 +894,14 @@ async function buildAllModules(): Promise<Module[]> {
|
|
|
898
894
|
return all
|
|
899
895
|
}
|
|
900
896
|
|
|
901
|
-
export function isHelpRequest(args: string[]): boolean {
|
|
902
|
-
return args.some((arg) => arg === '--help' || arg === '-h')
|
|
903
|
-
}
|
|
904
|
-
|
|
905
|
-
// Top-level commands that return before the module dispatcher and therefore never reach its
|
|
906
|
-
// generic help branch. Without an entry here, `mercato init --help` runs a full install.
|
|
907
|
-
const TOP_LEVEL_COMMAND_HELP: Record<string, string[]> = {
|
|
908
|
-
init: [
|
|
909
|
-
'Usage: mercato init [--reinstall|-r] [--no-examples] [--no-demo-users] [--stresstest [--lite] [--count=<n>]]',
|
|
910
|
-
'Initializes this app: installs dependencies, runs generators, applies migrations and seeds data.',
|
|
911
|
-
],
|
|
912
|
-
'agentic:init': [
|
|
913
|
-
'Usage: mercato agentic:init [--force]',
|
|
914
|
-
'Scaffolds the agentic harness (AGENTS.md, .ai/ config and skills) into this app.',
|
|
915
|
-
],
|
|
916
|
-
'seed:defaults': [
|
|
917
|
-
'Usage: mercato seed:defaults [--module <moduleId>]',
|
|
918
|
-
'Runs every enabled module\'s seedDefaults hook, or only the named module\'s.',
|
|
919
|
-
],
|
|
920
|
-
'umes:list': [
|
|
921
|
-
'Usage: mercato umes:list',
|
|
922
|
-
'Lists the extension points every enabled module declares.',
|
|
923
|
-
],
|
|
924
|
-
'umes:inspect': [
|
|
925
|
-
'Usage: mercato umes:inspect --module <moduleId>',
|
|
926
|
-
'Prints the extension surface a single module declares.',
|
|
927
|
-
],
|
|
928
|
-
'umes:check': [
|
|
929
|
-
'Usage: mercato umes:check',
|
|
930
|
-
'Validates declared extension points against the modules that implement them.',
|
|
931
|
-
],
|
|
932
|
-
}
|
|
933
|
-
|
|
934
|
-
// A help invocation must never materialize .env from .env.example — asking what the flags are
|
|
935
|
-
// should not mutate the working tree, least of all with the example's placeholder DATABASE_URL.
|
|
936
|
-
export function resolveEnvBootstrapOptions(parts: string[]): { createIfMissing: boolean; quiet: boolean } {
|
|
937
|
-
const first = parts[0]
|
|
938
|
-
const opaqueEnvCommand = first === 'deploy' || first === 'telemetry'
|
|
939
|
-
const helpRequested = isHelpRequest(parts)
|
|
940
|
-
return {
|
|
941
|
-
createIfMissing: !helpRequested && !opaqueEnvCommand,
|
|
942
|
-
quiet: helpRequested || opaqueEnvCommand,
|
|
943
|
-
}
|
|
944
|
-
}
|
|
945
|
-
|
|
946
897
|
export async function run(argv = process.argv) {
|
|
947
898
|
const [, , ...parts] = argv
|
|
948
899
|
const [first, second, ...remaining] = parts
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
// Object.hasOwn, not a truthiness check: the map is indexed with raw user input, and an
|
|
955
|
-
// inherited Object.prototype member (`constructor`, `toString`, …) would otherwise pass the
|
|
956
|
-
// guard and then fail to iterate instead of reporting the module as not found.
|
|
957
|
-
if (helpRequested && first && Object.hasOwn(TOP_LEVEL_COMMAND_HELP, first)) {
|
|
958
|
-
for (const line of TOP_LEVEL_COMMAND_HELP[first]) console.log(` ${line}`)
|
|
959
|
-
return 0
|
|
960
|
-
}
|
|
961
|
-
|
|
900
|
+
await ensureEnvLoaded({
|
|
901
|
+
createIfMissing: first !== 'deploy' && first !== 'telemetry',
|
|
902
|
+
quiet: first === 'deploy' || first === 'telemetry',
|
|
903
|
+
})
|
|
904
|
+
|
|
962
905
|
// Handle init command directly
|
|
963
906
|
if (first === 'init') {
|
|
964
907
|
const { execSync } = await import('child_process')
|
|
@@ -975,7 +918,6 @@ export async function run(argv = process.argv) {
|
|
|
975
918
|
delete process.env.OM_INIT_REINSTALL
|
|
976
919
|
}
|
|
977
920
|
const skipExamples = initArgs.includes('--no-examples')
|
|
978
|
-
const skipDemoUsers = initArgs.includes('--no-demo-users')
|
|
979
921
|
const stressTestEnabled =
|
|
980
922
|
initArgs.includes('--stresstest') || initArgs.includes('--stress-test')
|
|
981
923
|
const stressTestLite =
|
|
@@ -1016,7 +958,6 @@ export async function run(argv = process.argv) {
|
|
|
1016
958
|
}
|
|
1017
959
|
console.log(`🔄 Reinstall mode: ${reinstall ? 'enabled' : 'disabled'}`)
|
|
1018
960
|
console.log(`🎨 Example content: ${skipExamples ? 'skipped (--no-examples)' : 'enabled'}`)
|
|
1019
|
-
console.log(`👤 Demo accounts (admin@/employee@): ${skipDemoUsers ? 'skipped (--no-demo-users)' : 'enabled'}`)
|
|
1020
961
|
console.log(
|
|
1021
962
|
`🏋️ Stress test dataset: ${
|
|
1022
963
|
stressTestEnabled
|
|
@@ -1207,10 +1148,10 @@ export async function run(argv = process.argv) {
|
|
|
1207
1148
|
const derivedSecrets = resolveInitDerivedSecrets({ email, env: process.env })
|
|
1208
1149
|
const adminEmailDerived = derivedSecrets.adminEmail
|
|
1209
1150
|
const employeeEmailDerived = derivedSecrets.employeeEmail
|
|
1210
|
-
if (
|
|
1151
|
+
if (adminEmailDerived && derivedSecrets.adminPassword) {
|
|
1211
1152
|
process.env.OM_INIT_ADMIN_PASSWORD = derivedSecrets.adminPassword
|
|
1212
1153
|
}
|
|
1213
|
-
if (
|
|
1154
|
+
if (employeeEmailDerived && derivedSecrets.employeePassword) {
|
|
1214
1155
|
process.env.OM_INIT_EMPLOYEE_PASSWORD = derivedSecrets.employeePassword
|
|
1215
1156
|
}
|
|
1216
1157
|
const roles = findArgValue(['--roles='], 'superadmin,admin,employee')
|
|
@@ -1231,15 +1172,12 @@ export async function run(argv = process.argv) {
|
|
|
1231
1172
|
'--email', email,
|
|
1232
1173
|
'--password', password,
|
|
1233
1174
|
'--roles', roles,
|
|
1234
|
-
]
|
|
1235
|
-
if (!skipDemoUsers) {
|
|
1236
1175
|
// `mercato init` is the dev/demo bootstrap flow — it explicitly wants
|
|
1237
1176
|
// the derived admin@/employee@ demo accounts. Standalone callers of
|
|
1238
1177
|
// `mercato auth setup` must opt in themselves; without this flag the
|
|
1239
1178
|
// setup command no longer seeds those accounts by default.
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
}
|
|
1179
|
+
'--include-demo-users',
|
|
1180
|
+
]
|
|
1243
1181
|
if (skipPasswordPolicy) {
|
|
1244
1182
|
setupArgs.push('--skip-password-policy')
|
|
1245
1183
|
}
|
|
@@ -1393,10 +1331,8 @@ export async function run(argv = process.argv) {
|
|
|
1393
1331
|
createdPasswords.set(value.toLowerCase(), passwordValue)
|
|
1394
1332
|
}
|
|
1395
1333
|
pushUser('Superadmin', '👑', email, password)
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
pushUser('Employee', '👷', employeeEmailDerived, employeePasswordOverride ?? password)
|
|
1399
|
-
}
|
|
1334
|
+
pushUser('Admin', '🧰', adminEmailDerived, adminPasswordOverride ?? password)
|
|
1335
|
+
pushUser('Employee', '👷', employeeEmailDerived, employeePasswordOverride ?? password)
|
|
1400
1336
|
// Simplified success message: we know which users were created
|
|
1401
1337
|
console.log('🎉 App initialization complete!\n')
|
|
1402
1338
|
console.log('╔══════════════════════════════════════════════════════════════╗')
|
|
@@ -1697,8 +1633,6 @@ export async function run(argv = process.argv) {
|
|
|
1697
1633
|
cli: [
|
|
1698
1634
|
{
|
|
1699
1635
|
command: 'railway',
|
|
1700
|
-
// Parses --help/-h itself and prints railwayDeployHelp() without deploying.
|
|
1701
|
-
handlesHelp: true,
|
|
1702
1636
|
run: async (args: string[]) => {
|
|
1703
1637
|
const { runRailwayDeploy } = await import('./lib/deploy/railway/index')
|
|
1704
1638
|
await runRailwayDeploy(args)
|
|
@@ -2067,7 +2001,6 @@ export async function run(argv = process.argv) {
|
|
|
2067
2001
|
cli: [
|
|
2068
2002
|
{
|
|
2069
2003
|
command: 'generate',
|
|
2070
|
-
help: 'Generates a migration per module from the current ORM entities and refreshes each\nmodule\'s .snapshot-open-mercato.json. Writes files only — nothing is applied.',
|
|
2071
2004
|
run: async () => {
|
|
2072
2005
|
const { createResolver } = await import('./lib/resolver')
|
|
2073
2006
|
const { dbGenerate } = await import('./lib/db')
|
|
@@ -2077,7 +2010,6 @@ export async function run(argv = process.argv) {
|
|
|
2077
2010
|
},
|
|
2078
2011
|
{
|
|
2079
2012
|
command: 'migrate',
|
|
2080
|
-
help: 'Applies every pending migration to the database DATABASE_URL points at.\nThis mutates the database — check .env before running it.',
|
|
2081
2013
|
run: async () => {
|
|
2082
2014
|
const { createResolver } = await import('./lib/resolver')
|
|
2083
2015
|
const { dbMigrate } = await import('./lib/db')
|
|
@@ -2087,7 +2019,6 @@ export async function run(argv = process.argv) {
|
|
|
2087
2019
|
},
|
|
2088
2020
|
{
|
|
2089
2021
|
command: 'greenfield',
|
|
2090
|
-
help: 'Drops and recreates the schema from scratch, then re-applies every migration.\nDestroys all data. Pass --yes (-y) to skip the confirmation prompt.',
|
|
2091
2022
|
run: async (args: string[]) => {
|
|
2092
2023
|
const { createResolver } = await import('./lib/resolver')
|
|
2093
2024
|
const { dbGreenfield } = await import('./lib/db')
|
|
@@ -2758,31 +2689,12 @@ export async function run(argv = process.argv) {
|
|
|
2758
2689
|
console.log(pad(`Commands for "${modName}": ${mod.cli.map((c) => c.command).join(', ')}`))
|
|
2759
2690
|
return 1
|
|
2760
2691
|
}
|
|
2761
|
-
// A help flag in the command slot (`mercato db --help`) asks what this module offers.
|
|
2762
|
-
if (isHelpRequest([cmdName])) {
|
|
2763
|
-
console.log(pad(`Usage: ✨ mercato ${modName} <command> [args]`))
|
|
2764
|
-
console.log(pad(`Commands for "${modName}": ${mod.cli.map((c) => c.command).join(', ')}`))
|
|
2765
|
-
return 0
|
|
2766
|
-
}
|
|
2767
2692
|
const cmd = mod.cli.find((c) => c.command === cmdName)
|
|
2768
2693
|
if (!cmd) {
|
|
2769
2694
|
console.error(`🤔 Unknown command "${cmdName}". Available: ${mod.cli.map((c) => c.command).join(', ')}`)
|
|
2770
2695
|
return 1
|
|
2771
2696
|
}
|
|
2772
2697
|
|
|
2773
|
-
// `--help` must describe the command, never run it. Commands that parse the flag themselves
|
|
2774
|
-
// opt out via `handlesHelp` so their own richer usage text still wins.
|
|
2775
|
-
if (isHelpRequest(rest) && !cmd.handlesHelp) {
|
|
2776
|
-
console.log(pad(`Usage: ✨ mercato ${modName} ${cmdName} [args]`))
|
|
2777
|
-
if (cmd.help) {
|
|
2778
|
-
console.log('')
|
|
2779
|
-
for (const line of cmd.help.split('\n')) console.log(pad(line))
|
|
2780
|
-
}
|
|
2781
|
-
console.log('')
|
|
2782
|
-
console.log(pad(`Commands for "${modName}": ${mod.cli.map((c) => c.command).join(', ')}`))
|
|
2783
|
-
return 0
|
|
2784
|
-
}
|
|
2785
|
-
|
|
2786
2698
|
console.log('')
|
|
2787
2699
|
const started = Date.now()
|
|
2788
2700
|
const loggedArgs = modName === 'deploy' && cmdName === 'railway'
|
|
@@ -2790,14 +2702,12 @@ export async function run(argv = process.argv) {
|
|
|
2790
2702
|
: rest
|
|
2791
2703
|
console.log(`🚀 Running ${modName}:${cmdName} ${loggedArgs.join(' ')}`)
|
|
2792
2704
|
try {
|
|
2793
|
-
|
|
2794
|
-
await cmd.run(rest)
|
|
2795
|
-
})
|
|
2705
|
+
await cmd.run(rest)
|
|
2796
2706
|
if (modName !== 'deploy' || cmdName !== 'railway') {
|
|
2797
2707
|
const ms = Date.now() - started
|
|
2798
2708
|
console.log(`⏱️ Done in ${ms}ms`)
|
|
2799
2709
|
}
|
|
2800
|
-
return
|
|
2710
|
+
return 0
|
|
2801
2711
|
} catch (e: any) {
|
|
2802
2712
|
console.error(`💥 Failed: ${formatCliFailureMessage(modName, cmdName, e)}`)
|
|
2803
2713
|
return 1
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
# Customers calendar event types
|
|
2
|
-
|
|
3
|
-
Use this guide after `.ai/guides/modules/customers/index.md` when adding, removing, or modifying calendar event types. Calendar behavior belongs to Customers and app-owned contributions. Keep framework packages read-only; generic CrudForm, InjectionSpot, widget loading, and module overrides must remain independent of calendar business rules.
|
|
4
|
-
|
|
5
|
-
## Exact reference implementation
|
|
6
|
-
|
|
7
|
-
- [Customers definitions, schemas, and registry operations](../../node_modules/@open-mercato/core/src/modules/customers/calendar-event-types.ts)
|
|
8
|
-
- [Customers server catalog resolution](../../node_modules/@open-mercato/core/src/modules/customers/lib/calendar/eventTypeResolver.ts)
|
|
9
|
-
- [Customers editor](../../node_modules/@open-mercato/core/src/modules/customers/components/calendar/CalendarEventEditor.tsx)
|
|
10
|
-
- [Example adds Visit and optionally patches Meeting](../../src/modules/example/widgets/injection/calendar-visit/widget.ts)
|
|
11
|
-
- [Example injection bindings](../../src/modules/example/widgets/injection-table.ts)
|
|
12
|
-
- [Example Visit lifecycle widget](../../src/modules/example/widgets/injection/visit-availability/widget.ts)
|
|
13
|
-
- [Example optional availability checks](../../src/modules/example/lib/visitAvailability.ts)
|
|
14
|
-
- [Example Visit panel and dependency warnings](../../src/modules/example/components/VisitPanel.tsx)
|
|
15
|
-
- [Example server validation](../../src/modules/example/commands/interceptors.ts)
|
|
16
|
-
- [Example server availability guard](../../src/modules/example/lib/visitAvailabilityGuard.ts)
|
|
17
|
-
- [Example server DI registration](../../src/modules/example/di.ts)
|
|
18
|
-
|
|
19
|
-
The shipped example is disabled by default. Read and adapt its connected files into your own `src/modules/<id>/`; enable your own module in `src/modules.ts`. Do not modify the canonical teaching example merely to customize an app.
|
|
20
|
-
|
|
21
|
-
## Add a type
|
|
22
|
-
|
|
23
|
-
Export an ordinary injection widget typed as `CalendarEventTypeWidget` from `@open-mercato/core/modules/customers/calendar-event-types`. Include stable `metadata.id`, `Widget: () => null`, and `eventTypes: [definition]`. Bind the widget to `calendar:customers.event-types` in your module's `widgets/injection-table.ts`. Use the example's injection-table shape; retain enabled-module and feature gates.
|
|
24
|
-
|
|
25
|
-
A definition has a stable lowercase `key`, fallback `label`, translated `labelKey`, optional `icon`, `color`, `panelKey`, and a complete `behavior`. Set `schemaVersion: 1`, a supported `baseKind`, `selectable`, `order`, every `fields` switch, and `customFieldsetIds`. The `baseKind` selects the existing Customers persistence behavior; a new type does not require a duplicate customer event entity. Visit uses `baseKind: 'event'` and `panelKey: 'example.visit'`. Keep validation, custom fields, and panel selection inside the owning business module.
|
|
26
|
-
|
|
27
|
-
An empty `customFieldsetIds` preserves unrestricted legacy custom fields; it does not hide every field. Supply a non-empty list to restrict the editor to those fieldsets. Preserve shipped field behavior when adapting a definition, including `endTime: true` for Call and Task.
|
|
28
|
-
|
|
29
|
-
## Remove, replace, or patch a type
|
|
30
|
-
|
|
31
|
-
In your own app module, use `eventTypeOverrides: { note: null }` to remove a type from the selectable catalog. This is an app-owned customization; it is not part of the shipped Example declaration. A non-null override supplies a complete replacement definition accepted by the Customers schema. For a targeted modification, add an `eventTypePatches` entry with `targetEventTypeKey`, then explicit operations such as `replaceLabelKey`, `replaceFields`, `replaceSelectable`, `replaceCustomFieldsetIds`, `appendCustomFieldsetIds`, or `deleteCustomFieldsetIds`. The example changes Meeting's translated label with `replaceLabelKey`. The shipped example preserves all six baseline types with either flag value. Only its Meeting patch is an opt-in demonstration controlled by `OM_EXAMPLE_CALENDAR_DEMO_OVERRIDES`; the default is false. Visit sets `adminConfigurable: false`, so its extension behavior remains code-owned.
|
|
32
|
-
|
|
33
|
-
Removing a type is a catalog tombstone, not deletion of existing activities or tasks. Preserve historical fallback when opening records whose type is tombstoned, unknown, or contributed by a disabled module. Test existing records as well as the create selector, and do not silently migrate their stable type keys.
|
|
34
|
-
|
|
35
|
-
For server-owned programmatic contributions, resolve Customers' `calendarEventTypeRegistry` through DI. Its `upsert`, `replace`, `patch`, `remove`, and `removeSource` operations carry provenance; follow the exact installed signatures and keep source cleanup deterministic. The example's `di.ts` softly resolves this service and registers the same widget definitions and patches for API and worker execution. Follow that module registrar when adapting the client declaration: registering a browser widget alone does not register server contributions. Keep dependency resolution optional and do not add a global calendar dispatcher or calendar properties to shared override or widget metadata contracts.
|
|
36
|
-
|
|
37
|
-
## Optional staff and resources
|
|
38
|
-
|
|
39
|
-
Staff and resources are optional integrations. Do not statically import their entities or implementations into an app module that must work without those packages. Resolve optional services or query by scoped entity IDs only after confirming the module is enabled. If staff or resources are unavailable, show a translated warning, skip only their unavailable checks, and keep the Visit panel and ordinary Customers calendar operational. An installed and enabled dependency still enforces its normal authorization, scope, and availability validation. A denied or failed check must not be treated as a missing module.
|
|
40
|
-
|
|
41
|
-
Visit reports each selected staff member or resource by display name and distinguishes missing schedules or intervals outside working hours from an existing booking (`example.calendar.visitAvailability.booked`). Booking checks include overlapping Customers interactions of every event type, including recurrence occurrences, in the authorized tenant and organization. Use half-open intervals: touching boundaries do not overlap. Canceled and deleted interactions do not reserve subjects. On edit, pass the validated current `excludeInteractionId` to preview; the command guard excludes that same existing interaction automatically, while retaining other collisions. Preview and rejected writes return the blocked subject names and reason keys without disclosing other event titles or IDs. Booking reads and recurrence expansion are bounded; failed, incomplete, or unsupported booking checks fail closed rather than reporting an available subject. These guards protect Visit scheduling against bookings from any type; they do not impose Visit rules on other event-type writes.
|
|
42
|
-
|
|
43
|
-
The availability widget must gate its handlers to Visit itself; UI visibility alone does not gate mutation hooks. Keep matching server validation in API/command interceptors so direct calls enforce the same rules. Preserve tenant/organization scope, optimistic locking, guarded mutations, and the read/save/reload round trip.
|
|
44
|
-
|
|
45
|
-
## Event timezones and recurring availability
|
|
46
|
-
|
|
47
|
-
Every calendar event editor exposes an IANA timezone selector. Keep its `timezone` in form values when wrapping the standard panel; use the Customers wall-time helpers to convert its local date/time into the `scheduledAt` instant. The API accepts optional nullable `timezone`, validates explicit IANA names, and returns it on reads. Persist the chosen zone and restore it on edit. Legacy records with a null zone retain browser-local interpretation. Weekly event recurrence with an explicit zone preserves the event-local wall time across daylight-saving changes; reject nonexistent local times rather than shifting them silently. When a local time occurs twice during a fall-back transition, conversion chooses the earlier instant.
|
|
48
|
-
|
|
49
|
-
The Visit example wraps the original Customers panel, preserving its datepicker, time selects, recipient/resource pickers, and two-column layout. Add availability feedback around `Original`; do not duplicate the editor fields or import its private components. The preview must convert values in the selected event timezone, independently of the browser timezone, and match the server's persisted interval.
|
|
50
|
-
|
|
51
|
-
Planner timezone interpretation is explicit: Visit calls `plannerAvailabilityService.getMergedAvailabilityWindows` with `respectTimezone: true` and `weeklyScheduleTemplate: true`. The second option applies only to unbounded weekly schedules. Staff/resource weekly editors store the next matching weekday as `DTSTART`; treat that date as a weekday/time anchor rather than an effective start date. For example, a Tuesday 09:00–13:00 Warsaw template anchored on October 6 also covers September 29, 09:15–12:00 Warsaw. Preserve one-off date overrides and count-bounded recurrence start dates. Existing callers that omit these options retain their previous UTC/DTSTART semantics.
|
|
52
|
-
|
|
53
|
-
Availability reads translate an auth `userId` to the active staff member `id` before querying planner `subjectType: 'member'`; these IDs are different. Scope checks to the interaction or parent customer's authorized organization, not merely the selected UI organization. A title-only edit need not revalidate its saved assignments; changing the interval or subjects must run the fresh check.
|
|
54
|
-
|
|
55
|
-
## Validation
|
|
56
|
-
|
|
57
|
-
Run `yarn generate` after adding injection files, then the smallest relevant typecheck and tests. Cover add/replace/patch/remove order, translated labels, custom fieldsets, historical fallback, Visit-only hooks, direct API validation, disabled staff, disabled resources, both absent, and enabled-but-denied dependencies, staff/resource weekly and one-off availability, selected-zone round trips, daylight-saving recurrence, and title-only edits after schedule removal. The harness regression is `OMH-238`; shared components and installed package files are outside the app's writable scope.
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# Create and Publish App Modules
|
|
2
|
-
|
|
3
|
-
Use [create-mercato-module](https://github.com/open-mercato/create-mercato-module#readme) inside an existing `create-mercato-app` application, including a Cloud sandbox. It validates the app before changing files. Run from the app root; do not create another app or modify the sandbox image.
|
|
4
|
-
|
|
5
|
-
For a new module, start with:
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npx create-mercato-module init visits
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
This creates `src/modules/visits`, registers `{ id: 'visits', from: '@app' }`, and runs generation. Implement the feature using `om-module-scaffold` and the relevant contracts; the starter is not a completed business feature. For an existing module, skip `init` and keep its current source.
|
|
12
|
-
|
|
13
|
-
Preview a package before remote publication:
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
npx create-mercato-module publish visits --package @your-scope/mercato-visits --dry-run
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
The dry run needs no npm or GitHub login and builds a real archive under `.mercato/module-publish/`. Inspect the archive and install it in a fresh receiving app with `yarn mercato module add @your-scope/mercato-visits@file:/absolute/path/to/package.tgz --allow-third-party`. Validate generation and the module's runtime paths there before publishing. Imports from app-generated entity registries must be replaced in the module source with module-owned typed field literals, stable `module:entity` identifiers, or supported package exports; generated files are evidence, never edit them to fix packaging.
|
|
20
|
-
|
|
21
|
-
Once the user authorizes publication to the selected npm package and optional dedicated GitHub repository:
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
npx create-mercato-module publish visits
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Provide `--package` and `--repo owner/repository` on the first publication, or select them interactively. The tool remembers non-secret preferences in `.mercato/module-tool.json`; use `--configure` to revise them. Publication copies one module into its package/repository; app source remains in `src/modules/visits`, and the app's Git origin stays unchanged. The tool checks npm authentication and, when GitHub work is selected, `gh auth status` before packaging or remote work. Use `npm login`, or environment `NPM_TOKEN`/`NODE_AUTH_TOKEN` with `--auth token`; never put tokens in committed files or command arguments. Existing npm account policy may still require interactive 2FA. For `--auth trusted`, configure the exact repository/workflow/environment as a trusted publisher on npm and run its supported OIDC CI workflow; generating a workflow does not configure npm trust or authorize a local OIDC publication.
|
|
28
|
-
|
|
29
|
-
To develop in the dedicated repository while continuing to run this app, after publication use:
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
npx create-mercato-module link visits
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
The tool checks GitHub login, clones under `.mercato`, backs up the original module source, and replaces the app module folder with a link to the checkout's module source. Keep editing and testing through this app. Use the checkout's normal Git branch/commit/PR workflow for review; `publish` does not create a PR. The link is local: a fresh clone of the app must restore or link the module again. Without `link`, keep development in the original app and rerun `publish` to export changes. Do not manually replace app source with compiled npm output or edit `node_modules`.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# customer_accounts — Incoming installed contributions
|
|
2
|
-
|
|
3
|
-
[Back to module index](index.md)
|
|
4
|
-
|
|
5
|
-
## Incoming installed contributions
|
|
6
|
-
|
|
7
|
-
| Contributor | Kind | Target | Resolution | Activation | Contribution · Source |
|
|
8
|
-
|---|---|---|---|---|---|
|
|
9
|
-
| ecommerce | subscriber | event:customer_accounts.user.deleted @customer_accounts | capability-only | — | ecommerce:customer-user-deleted-cache-invalidation · [node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/customer-user-deleted-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/customer-user-deleted-cache-invalidation.ts) |
|
|
10
|
-
| ecommerce | subscriber | event:customer_accounts.user.updated @customer_accounts | capability-only | — | ecommerce:customer-user-updated-cache-invalidation · [node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/customer-user-updated-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/customer-user-updated-cache-invalidation.ts) |
|
|
11
|
-
| ecommerce | subscriber | event:customer_accounts.domain_mapping.replaced @customer_accounts | capability-only | — | ecommerce:domain-binding-rebind · [node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/domain-binding-rebind.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/domain-binding-rebind.ts) |
|
|
12
|
-
|
|
13
|
-
<!-- end module facts section: customer_accounts/incoming-installed-contributions -->
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# customer_groups — Incoming installed contributions
|
|
2
|
-
|
|
3
|
-
[Back to module index](index.md)
|
|
4
|
-
|
|
5
|
-
## Incoming installed contributions
|
|
6
|
-
|
|
7
|
-
| Contributor | Kind | Target | Resolution | Activation | Contribution · Source |
|
|
8
|
-
|---|---|---|---|---|---|
|
|
9
|
-
| ecommerce | subscriber | event:customer_groups.terms.updated @customer_groups | capability-only | — | ecommerce:customer-group-terms-cache-invalidation · [node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/customer-group-terms-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/customer-group-terms-cache-invalidation.ts) |
|
|
10
|
-
|
|
11
|
-
<!-- end module facts section: customer_groups/incoming-installed-contributions -->
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# ecommerce — ACL features
|
|
2
|
-
|
|
3
|
-
[Back to module index](index.md)
|
|
4
|
-
|
|
5
|
-
## ACL features (5)
|
|
6
|
-
|
|
7
|
-
| Feature | Source |
|
|
8
|
-
|---|---|
|
|
9
|
-
| ecommerce.stores.view | [acl.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/acl.ts) |
|
|
10
|
-
| ecommerce.stores.manage | [acl.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/acl.ts) |
|
|
11
|
-
| ecommerce.branding.manage | [acl.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/acl.ts) |
|
|
12
|
-
| ecommerce.domains.manage | [acl.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/acl.ts) |
|
|
13
|
-
| ecommerce.channels.manage | [acl.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/acl.ts) |
|
|
14
|
-
|
|
15
|
-
<!-- end module facts section: ecommerce/acl-features -->
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# ecommerce — Active extension bindings
|
|
2
|
-
|
|
3
|
-
[Back to module index](index.md)
|
|
4
|
-
|
|
5
|
-
## Active extension bindings
|
|
6
|
-
|
|
7
|
-
| Activation | Kind | Host | Contribution kinds | Phases | Bridge | Source |
|
|
8
|
-
|---|---|---|---|---|---|---|
|
|
9
|
-
| entity:ecommerce:ecommerce_store_domain_binding:crud-response-enricher | crud-response-enricher | entity:ecommerce:ecommerce_store_domain_binding @ecommerce | response-enricher | — | — | [api/store-domain-bindings/crud.ts:161](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/api/store-domain-bindings/crud.ts#L161) |
|
|
10
|
-
| entity:ecommerce:ecommerce_store:crud-response-enricher | crud-response-enricher | entity:ecommerce:ecommerce_store @ecommerce | response-enricher | — | — | [api/stores/crud.ts:294](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/api/stores/crud.ts#L294) |
|
|
11
|
-
|
|
12
|
-
<!-- end module facts section: ecommerce/active-extension-bindings -->
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# ecommerce — Backend pages
|
|
2
|
-
|
|
3
|
-
[Back to module index](index.md)
|
|
4
|
-
|
|
5
|
-
## Backend pages
|
|
6
|
-
|
|
7
|
-
| ID / path | Source |
|
|
8
|
-
|---|---|
|
|
9
|
-
| /backend/config/ecommerce | [backend/config/ecommerce/page.tsx](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/backend/config/ecommerce/page.tsx) |
|
|
10
|
-
| /backend/config/ecommerce/[id] | [backend/config/ecommerce/[id]/page.tsx](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/backend/config/ecommerce/[id]/page.tsx) |
|
|
11
|
-
|
|
12
|
-
<!-- end module facts section: ecommerce/backend-pages -->
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# ecommerce — Contribution resolutions
|
|
2
|
-
|
|
3
|
-
[Back to module index](index.md)
|
|
4
|
-
|
|
5
|
-
## Contribution resolutions
|
|
6
|
-
|
|
7
|
-
| Contribution | Target | Resolution | Activations | Source |
|
|
8
|
-
|---|---|---|---|---|
|
|
9
|
-
| ecommerce:assortment-empty-notification | event:ecommerce.assortment.empty_detected @ecommerce | capability-only | — | [subscribers/assortment-empty-notifications.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/assortment-empty-notifications.ts) |
|
|
10
|
-
| ecommerce:availability-policy-cache-invalidation | wildcard:availability.policy.* | wildcard | — | [subscribers/availability-policy-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/availability-policy-cache-invalidation.ts) |
|
|
11
|
-
| ecommerce:catalog-category-cache-invalidation | wildcard:catalog.category.* | wildcard | — | [subscribers/catalog-category-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/catalog-category-cache-invalidation.ts) |
|
|
12
|
-
| ecommerce:catalog-price-cache-invalidation | wildcard:catalog.price.* | wildcard | — | [subscribers/catalog-price-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/catalog-price-cache-invalidation.ts) |
|
|
13
|
-
| ecommerce:catalog-product-cache-invalidation | wildcard:catalog.product.* | wildcard | — | [subscribers/catalog-product-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/catalog-product-cache-invalidation.ts) |
|
|
14
|
-
| ecommerce:catalog-variant-cache-invalidation | wildcard:catalog.variant.* | wildcard | — | [subscribers/catalog-variant-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/catalog-variant-cache-invalidation.ts) |
|
|
15
|
-
| ecommerce:customer-group-cache-invalidation | wildcard:customer_groups.group.* | wildcard | — | [subscribers/customer-group-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/customer-group-cache-invalidation.ts) |
|
|
16
|
-
| ecommerce:customer-group-membership-cache-invalidation | wildcard:customer_groups.membership.* | wildcard | — | [subscribers/customer-group-membership-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/customer-group-membership-cache-invalidation.ts) |
|
|
17
|
-
| ecommerce:customer-group-terms-cache-invalidation | event:customer_groups.terms.updated @customer_groups | capability-only | — | [subscribers/customer-group-terms-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/customer-group-terms-cache-invalidation.ts) |
|
|
18
|
-
| ecommerce:customer-user-deleted-cache-invalidation | event:customer_accounts.user.deleted @customer_accounts | capability-only | — | [subscribers/customer-user-deleted-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/customer-user-deleted-cache-invalidation.ts) |
|
|
19
|
-
| ecommerce:customer-user-updated-cache-invalidation | event:customer_accounts.user.updated @customer_accounts | capability-only | — | [subscribers/customer-user-updated-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/customer-user-updated-cache-invalidation.ts) |
|
|
20
|
-
| ecommerce:domain-binding-rebind | event:customer_accounts.domain_mapping.replaced @customer_accounts | capability-only | — | [subscribers/domain-binding-rebind.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/domain-binding-rebind.ts) |
|
|
21
|
-
| ecommerce:domain-mapping-cache-invalidation | wildcard:customer_accounts.domain_mapping.* | wildcard | — | [subscribers/domain-mapping-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/domain-mapping-cache-invalidation.ts) |
|
|
22
|
-
| ecommerce:store-cache-invalidation | wildcard:ecommerce.store.* | wildcard | — | [subscribers/store-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/store-cache-invalidation.ts) |
|
|
23
|
-
| ecommerce:store-channel-binding-cache-invalidation | wildcard:ecommerce.store_channel_binding.* | wildcard | — | [subscribers/store-channel-binding-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/store-channel-binding-cache-invalidation.ts) |
|
|
24
|
-
| ecommerce:store-domain-binding-cache-invalidation | wildcard:ecommerce.store_domain_binding.* | wildcard | — | [subscribers/store-domain-binding-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/store-domain-binding-cache-invalidation.ts) |
|
|
25
|
-
| ecommerce:store-misconfigured-notification | event:ecommerce.store.misconfigured @ecommerce | capability-only | — | [subscribers/store-notifications.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/store-notifications.ts) |
|
|
26
|
-
| ecommerce.store-binding-summary | entity:ecommerce:ecommerce_store @ecommerce | bound | entity:ecommerce:ecommerce_store:crud-response-enricher | [data/enrichers.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/data/enrichers.ts) |
|
|
27
|
-
| ecommerce.store-domain-binding-mapping | entity:ecommerce:ecommerce_store_domain_binding @ecommerce | bound | entity:ecommerce:ecommerce_store_domain_binding:crud-response-enricher | [data/enrichers.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/data/enrichers.ts) |
|
|
28
|
-
| notification:ecommerce.store.assortment_empty | module:ecommerce.store.assortment_empty | capability-only | — | [notifications.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/notifications.ts) |
|
|
29
|
-
| notification:ecommerce.store.channel_binding_missing | module:ecommerce.store.channel_binding_missing | capability-only | — | [notifications.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/notifications.ts) |
|
|
30
|
-
| search:ecommerce:ecommerce_store | module:ecommerce:ecommerce_store @ecommerce | capability-only | — | [search.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/search.ts) |
|
|
31
|
-
|
|
32
|
-
<!-- end module facts section: ecommerce/contribution-resolutions -->
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# ecommerce — 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
|
-
| storeContextService | function | scoped | — | — | [di.ts:7](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/di.ts#L7) |
|
|
10
|
-
|
|
11
|
-
<!-- end module facts section: ecommerce/di-registrations-rich -->
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# ecommerce — DI service tokens
|
|
2
|
-
|
|
3
|
-
[Back to module index](index.md)
|
|
4
|
-
|
|
5
|
-
## DI service tokens
|
|
6
|
-
|
|
7
|
-
| Token | Source |
|
|
8
|
-
|---|---|
|
|
9
|
-
| storeContextService | [di.ts:7](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/di.ts#L7) |
|
|
10
|
-
|
|
11
|
-
<!-- end module facts section: ecommerce/di-service-tokens -->
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# ecommerce — Entities
|
|
2
|
-
|
|
3
|
-
[Back to module index](index.md)
|
|
4
|
-
|
|
5
|
-
## Entities
|
|
6
|
-
|
|
7
|
-
| Entity ID | Class | Table | Editable | CustomFields | Source |
|
|
8
|
-
|---|---|---|---|---|---|
|
|
9
|
-
| ecommerce:ecommerce_store | EcommerceStore | ecommerce_stores | yes | no | [data/entities.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/data/entities.ts) |
|
|
10
|
-
| ecommerce:ecommerce_store_domain_binding | EcommerceStoreDomainBinding | ecommerce_store_domain_bindings | yes | no | [data/entities.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/data/entities.ts) |
|
|
11
|
-
| ecommerce:ecommerce_store_channel_binding | EcommerceStoreChannelBinding | ecommerce_store_channel_bindings | yes | no | [data/entities.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/data/entities.ts) |
|
|
12
|
-
|
|
13
|
-
<!-- end module facts section: ecommerce/entities -->
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# ecommerce — Events
|
|
2
|
-
|
|
3
|
-
[Back to module index](index.md)
|
|
4
|
-
|
|
5
|
-
## Events (12)
|
|
6
|
-
|
|
7
|
-
| ID | Category | Entity | Browser transport | Source |
|
|
8
|
-
|---|---|---|---|---|
|
|
9
|
-
| ecommerce.store.created | crud | store | — | [events.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/events.ts) |
|
|
10
|
-
| ecommerce.store.updated | crud | store | — | [events.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/events.ts) |
|
|
11
|
-
| ecommerce.store.deleted | crud | store | — | [events.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/events.ts) |
|
|
12
|
-
| ecommerce.store_domain_binding.created | crud | store_domain_binding | — | [events.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/events.ts) |
|
|
13
|
-
| ecommerce.store_domain_binding.updated | crud | store_domain_binding | — | [events.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/events.ts) |
|
|
14
|
-
| ecommerce.store_domain_binding.deleted | crud | store_domain_binding | — | [events.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/events.ts) |
|
|
15
|
-
| ecommerce.store_channel_binding.created | crud | store_channel_binding | — | [events.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/events.ts) |
|
|
16
|
-
| ecommerce.store_channel_binding.updated | crud | store_channel_binding | — | [events.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/events.ts) |
|
|
17
|
-
| ecommerce.store_channel_binding.deleted | crud | store_channel_binding | — | [events.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/events.ts) |
|
|
18
|
-
| ecommerce.store.branding_updated | crud | store | — | [events.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/events.ts) |
|
|
19
|
-
| ecommerce.store.misconfigured | lifecycle | store | — | [events.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/events.ts) |
|
|
20
|
-
| ecommerce.assortment.empty_detected | lifecycle | assortment | — | [events.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/events.ts) |
|
|
21
|
-
|
|
22
|
-
<!-- end module facts section: ecommerce/events -->
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# ecommerce — 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["ecommerce.branding.manage"]` | disable-replace | aclFeatures:ecommerce.branding.manage | [acl.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/acl.ts) |
|
|
10
|
-
| acl | `overrides.acl.features["ecommerce.channels.manage"]` | disable-replace | aclFeatures:ecommerce.channels.manage | [acl.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/acl.ts) |
|
|
11
|
-
| acl | `overrides.acl.features["ecommerce.domains.manage"]` | disable-replace | aclFeatures:ecommerce.domains.manage | [acl.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/acl.ts) |
|
|
12
|
-
| acl | `overrides.acl.features["ecommerce.stores.manage"]` | disable-replace | aclFeatures:ecommerce.stores.manage | [acl.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/acl.ts) |
|
|
13
|
-
| acl | `overrides.acl.features["ecommerce.stores.view"]` | disable-replace | aclFeatures:ecommerce.stores.view | [acl.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/acl.ts) |
|
|
14
|
-
| di | `overrides.di["storeContextService"]` | disable-replace | ownedContracts.di-registration:storeContextService | [di.ts:7](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/di.ts#L7) |
|
|
15
|
-
| enrichers | `overrides.enrichers["ecommerce.store-binding-summary"]` | disable-replace | extensionSurfaces.contributions:ecommerce.store-binding-summary | [data/enrichers.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/data/enrichers.ts) |
|
|
16
|
-
| enrichers | `overrides.enrichers["ecommerce.store-domain-binding-mapping"]` | disable-replace | extensionSurfaces.contributions:ecommerce.store-domain-binding-mapping | [data/enrichers.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/data/enrichers.ts) |
|
|
17
|
-
| events | `overrides.events.subscribers["ecommerce:assortment-empty-notification"]` | disable-replace | extensionSurfaces.contributions:ecommerce:assortment-empty-notification | [subscribers/assortment-empty-notifications.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/assortment-empty-notifications.ts) |
|
|
18
|
-
| events | `overrides.events.subscribers["ecommerce:availability-policy-cache-invalidation"]` | disable-replace | extensionSurfaces.contributions:ecommerce:availability-policy-cache-invalidation | [subscribers/availability-policy-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/availability-policy-cache-invalidation.ts) |
|
|
19
|
-
| events | `overrides.events.subscribers["ecommerce:catalog-category-cache-invalidation"]` | disable-replace | extensionSurfaces.contributions:ecommerce:catalog-category-cache-invalidation | [subscribers/catalog-category-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/catalog-category-cache-invalidation.ts) |
|
|
20
|
-
| events | `overrides.events.subscribers["ecommerce:catalog-price-cache-invalidation"]` | disable-replace | extensionSurfaces.contributions:ecommerce:catalog-price-cache-invalidation | [subscribers/catalog-price-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/catalog-price-cache-invalidation.ts) |
|
|
21
|
-
| events | `overrides.events.subscribers["ecommerce:catalog-product-cache-invalidation"]` | disable-replace | extensionSurfaces.contributions:ecommerce:catalog-product-cache-invalidation | [subscribers/catalog-product-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/catalog-product-cache-invalidation.ts) |
|
|
22
|
-
| events | `overrides.events.subscribers["ecommerce:catalog-variant-cache-invalidation"]` | disable-replace | extensionSurfaces.contributions:ecommerce:catalog-variant-cache-invalidation | [subscribers/catalog-variant-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/catalog-variant-cache-invalidation.ts) |
|
|
23
|
-
| events | `overrides.events.subscribers["ecommerce:customer-group-cache-invalidation"]` | disable-replace | extensionSurfaces.contributions:ecommerce:customer-group-cache-invalidation | [subscribers/customer-group-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/customer-group-cache-invalidation.ts) |
|
|
24
|
-
| events | `overrides.events.subscribers["ecommerce:customer-group-membership-cache-invalidation"]` | disable-replace | extensionSurfaces.contributions:ecommerce:customer-group-membership-cache-invalidation | [subscribers/customer-group-membership-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/customer-group-membership-cache-invalidation.ts) |
|
|
25
|
-
| events | `overrides.events.subscribers["ecommerce:customer-group-terms-cache-invalidation"]` | disable-replace | extensionSurfaces.contributions:ecommerce:customer-group-terms-cache-invalidation | [subscribers/customer-group-terms-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/customer-group-terms-cache-invalidation.ts) |
|
|
26
|
-
| events | `overrides.events.subscribers["ecommerce:customer-user-deleted-cache-invalidation"]` | disable-replace | extensionSurfaces.contributions:ecommerce:customer-user-deleted-cache-invalidation | [subscribers/customer-user-deleted-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/customer-user-deleted-cache-invalidation.ts) |
|
|
27
|
-
| events | `overrides.events.subscribers["ecommerce:customer-user-updated-cache-invalidation"]` | disable-replace | extensionSurfaces.contributions:ecommerce:customer-user-updated-cache-invalidation | [subscribers/customer-user-updated-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/customer-user-updated-cache-invalidation.ts) |
|
|
28
|
-
| events | `overrides.events.subscribers["ecommerce:domain-binding-rebind"]` | disable-replace | extensionSurfaces.contributions:ecommerce:domain-binding-rebind | [subscribers/domain-binding-rebind.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/domain-binding-rebind.ts) |
|
|
29
|
-
| events | `overrides.events.subscribers["ecommerce:domain-mapping-cache-invalidation"]` | disable-replace | extensionSurfaces.contributions:ecommerce:domain-mapping-cache-invalidation | [subscribers/domain-mapping-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/domain-mapping-cache-invalidation.ts) |
|
|
30
|
-
| events | `overrides.events.subscribers["ecommerce:store-cache-invalidation"]` | disable-replace | extensionSurfaces.contributions:ecommerce:store-cache-invalidation | [subscribers/store-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/store-cache-invalidation.ts) |
|
|
31
|
-
| events | `overrides.events.subscribers["ecommerce:store-channel-binding-cache-invalidation"]` | disable-replace | extensionSurfaces.contributions:ecommerce:store-channel-binding-cache-invalidation | [subscribers/store-channel-binding-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/store-channel-binding-cache-invalidation.ts) |
|
|
32
|
-
| events | `overrides.events.subscribers["ecommerce:store-domain-binding-cache-invalidation"]` | disable-replace | extensionSurfaces.contributions:ecommerce:store-domain-binding-cache-invalidation | [subscribers/store-domain-binding-cache-invalidation.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/store-domain-binding-cache-invalidation.ts) |
|
|
33
|
-
| events | `overrides.events.subscribers["ecommerce:store-misconfigured-notification"]` | disable-replace | extensionSurfaces.contributions:ecommerce:store-misconfigured-notification | [subscribers/store-notifications.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/subscribers/store-notifications.ts) |
|
|
34
|
-
| notifications | `overrides.notifications.types["ecommerce.store.assortment_empty"]` | disable-replace | notifications:ecommerce.store.assortment_empty | [notifications.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/notifications.ts) |
|
|
35
|
-
| notifications | `overrides.notifications.types["ecommerce.store.channel_binding_missing"]` | disable-replace | notifications:ecommerce.store.channel_binding_missing | [notifications.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/notifications.ts) |
|
|
36
|
-
| routes | `overrides.routes.pages["backend:/backend/config/ecommerce"]` | disable-replace | backendPages:/backend/config/ecommerce | [backend/config/ecommerce/page.tsx](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/backend/config/ecommerce/page.tsx) |
|
|
37
|
-
| routes | `overrides.routes.pages["backend:/backend/config/ecommerce/[id]"]` | disable-replace | backendPages:/backend/config/ecommerce/[id] | [backend/config/ecommerce/[id]/page.tsx](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/backend/config/ecommerce/[id]/page.tsx) |
|
|
38
|
-
| setup | `overrides.setup.defaultRoleFeatures` | replace | ownedContracts.setup:ecommerce:setup | [setup.ts:4](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/setup.ts#L4) |
|
|
39
|
-
| setup | `overrides.setup.onTenantCreated` | replace | ownedContracts.setup:ecommerce:setup | [setup.ts:4](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/setup.ts#L4) |
|
|
40
|
-
|
|
41
|
-
<!-- end module facts section: ecommerce/exact-override-targets -->
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# ecommerce — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 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/core/src/modules/ecommerce
|
|
4
|
-
|
|
5
|
-
## Sections
|
|
6
|
-
|
|
7
|
-
- [Entities](entities.md) — ~1 KB — Generated entities facts for ecommerce.
|
|
8
|
-
- [Events](events.md) — ~3 KB — Generated events facts for ecommerce.
|
|
9
|
-
- [ACL features](acl-features.md) — ~1 KB — Generated acl features facts for ecommerce.
|
|
10
|
-
- [Backend pages](backend-pages.md) — ~1 KB — Generated backend pages facts for ecommerce.
|
|
11
|
-
- [DI service tokens](di-service-tokens.md) — ~1 KB — Generated di service tokens facts for ecommerce.
|
|
12
|
-
- [Search entities](search-entities.md) — ~1 KB — Generated search entities facts for ecommerce.
|
|
13
|
-
- [UMES hosts](umes-hosts.md) — ~4 KB — Generated umes hosts facts for ecommerce.
|
|
14
|
-
- [UMES contributions](umes-contributions.md) — ~9 KB — Generated umes contributions facts for ecommerce.
|
|
15
|
-
- [Active extension bindings](active-extension-bindings.md) — ~1 KB — Generated active extension bindings facts for ecommerce.
|
|
16
|
-
- [Contribution resolutions](contribution-resolutions.md) — ~7 KB — Generated contribution resolutions facts for ecommerce.
|
|
17
|
-
- [Notifications](notifications.md) — ~1 KB — Generated notifications facts for ecommerce.
|
|
18
|
-
- [Exact override targets](exact-override-targets.md) — ~10 KB — Generated exact override targets facts for ecommerce.
|
|
19
|
-
- [Owned contract — module metadata](owned-contract-module-metadata.md) — ~1 KB — Generated owned contract — module metadata facts for ecommerce.
|
|
20
|
-
- [Setup](setup.md) — ~1 KB — Generated setup facts for ecommerce.
|
|
21
|
-
- [DI registrations (rich)](di-registrations-rich.md) — ~1 KB — Generated di registrations (rich) facts for ecommerce.
|
|
22
|
-
|
|
23
|
-
Read only the section files needed for the task; every section ends with a completion marker.
|
|
24
|
-
A section absent from this list has no facts for ecommerce; this index is complete only when the read reaches the marker below.
|
|
25
|
-
|
|
26
|
-
<!-- end module facts: ecommerce — 15 sections -->
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# ecommerce — Notifications
|
|
2
|
-
|
|
3
|
-
[Back to module index](index.md)
|
|
4
|
-
|
|
5
|
-
## Notifications
|
|
6
|
-
|
|
7
|
-
| Notification ID | Source |
|
|
8
|
-
|---|---|
|
|
9
|
-
| ecommerce.store.channel_binding_missing | [notifications.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/notifications.ts) |
|
|
10
|
-
| ecommerce.store.assortment_empty | [notifications.ts](../../../../node_modules/@open-mercato/core/src/modules/ecommerce/notifications.ts) |
|
|
11
|
-
|
|
12
|
-
<!-- end module facts section: ecommerce/notifications -->
|