@open-mercato/cli 0.6.7-develop.6863.1.61001cf9a8 → 0.6.7
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 +4 -4
- package/build.mjs +7 -24
- package/dist/agentic/claude-code/hooks/entity-migration-check.ts +88 -32
- package/dist/agentic/codex/enforcement-rules.md +16 -2
- package/dist/agentic/cursor/hooks/entity-migration-check.mjs +50 -19
- package/dist/agentic/cursor/rules/entity-guard.mdc +21 -9
- package/dist/agentic/cursor/rules/generated-guard.mdc +5 -3
- package/dist/agentic/cursor/rules/open-mercato.mdc +29 -3
- package/dist/agentic/guides/cache.md +45 -0
- package/dist/agentic/guides/core.md +453 -0
- package/dist/agentic/guides/events.md +117 -0
- package/dist/agentic/guides/module-facts.json +3833 -115419
- package/dist/agentic/guides/module-system.md +127 -12
- package/dist/agentic/guides/modules/ai_assistant.md +28 -227
- package/dist/agentic/guides/modules/api_docs.md +2 -58
- package/dist/agentic/guides/modules/api_keys.md +7 -92
- package/dist/agentic/guides/modules/attachments.md +14 -119
- package/dist/agentic/guides/modules/audit_logs.md +10 -131
- package/dist/agentic/guides/modules/auth.md +33 -276
- package/dist/agentic/guides/modules/business_rules.md +14 -149
- package/dist/agentic/guides/modules/catalog.md +43 -475
- package/dist/agentic/guides/modules/channel_gmail.md +3 -82
- package/dist/agentic/guides/modules/channel_imap.md +3 -82
- package/dist/agentic/guides/modules/checkout.md +27 -299
- package/dist/agentic/guides/modules/communication_channels.md +33 -315
- package/dist/agentic/guides/modules/configs.md +8 -104
- package/dist/agentic/guides/modules/content.md +2 -57
- package/dist/agentic/guides/modules/currencies.md +17 -152
- package/dist/agentic/guides/modules/customer_accounts.md +45 -387
- package/dist/agentic/guides/modules/customers.md +85 -746
- package/dist/agentic/guides/modules/dashboards.md +10 -155
- package/dist/agentic/guides/modules/data_sync.md +16 -149
- package/dist/agentic/guides/modules/dictionaries.md +12 -107
- package/dist/agentic/guides/modules/directory.md +15 -148
- package/dist/agentic/guides/modules/entities.md +13 -145
- package/dist/agentic/guides/modules/events.md +2 -59
- package/dist/agentic/guides/modules/feature_toggles.md +9 -119
- package/dist/agentic/guides/modules/gateway_stripe.md +4 -92
- package/dist/agentic/guides/modules/generators.md +2 -45
- package/dist/agentic/guides/modules/inbox_ops.md +27 -207
- package/dist/agentic/guides/modules/integrations.md +16 -146
- package/dist/agentic/guides/modules/messages.md +24 -223
- package/dist/agentic/guides/modules/notifications.md +8 -96
- package/dist/agentic/guides/modules/onboarding.md +6 -77
- package/dist/agentic/guides/modules/payment_gateways.md +21 -164
- package/dist/agentic/guides/modules/perspectives.md +7 -77
- package/dist/agentic/guides/modules/planner.md +18 -136
- package/dist/agentic/guides/modules/portal.md +2 -93
- package/dist/agentic/guides/modules/progress.md +14 -104
- package/dist/agentic/guides/modules/query_index.md +15 -154
- package/dist/agentic/guides/modules/record_locks.md +21 -206
- package/dist/agentic/guides/modules/resources.md +30 -197
- package/dist/agentic/guides/modules/sales.md +84 -678
- package/dist/agentic/guides/modules/scheduler.md +14 -133
- package/dist/agentic/guides/modules/search.md +6 -170
- package/dist/agentic/guides/modules/security.md +35 -294
- package/dist/agentic/guides/modules/shipping_carriers.md +18 -134
- package/dist/agentic/guides/modules/sso.md +26 -151
- package/dist/agentic/guides/modules/staff.md +57 -369
- package/dist/agentic/guides/modules/storage_s3.md +5 -95
- package/dist/agentic/guides/modules/sync_akeneo.md +3 -85
- package/dist/agentic/guides/modules/sync_excel.md +6 -75
- package/dist/agentic/guides/modules/system_status_overlays.md +2 -60
- package/dist/agentic/guides/modules/translations.md +10 -104
- package/dist/agentic/guides/modules/webhooks.md +24 -203
- package/dist/agentic/guides/modules/wms.md +46 -441
- package/dist/agentic/guides/modules/workflows.md +43 -302
- package/dist/agentic/guides/queue.md +53 -0
- package/dist/agentic/guides/search.md +115 -0
- package/dist/agentic/guides/shared.md +108 -0
- package/dist/agentic/guides/ui.md +347 -0
- package/dist/agentic/shared/AGENTS.md.template +311 -124
- package/dist/agentic/shared/ai/agentic.config.json +0 -2
- package/dist/agentic/shared/ai/lessons.md +3 -26
- package/dist/agentic/shared/ai/skills/om-auto-continue-pr-loop/SKILL.md +27 -0
- package/dist/agentic/shared/ai/skills/om-auto-create-pr-loop/SKILL.md +27 -0
- package/dist/agentic/shared/ai/skills/om-auto-review-pr/SKILL.md +0 -4
- package/dist/agentic/shared/ai/skills/om-backend-ui-design/SKILL.md +241 -20
- package/dist/agentic/shared/ai/skills/om-backend-ui-design/references/ui-components.md +260 -0
- package/dist/agentic/shared/ai/skills/om-data-model-design/SKILL.md +601 -16
- package/dist/agentic/shared/ai/skills/om-data-model-design/references/mikro-orm-cheatsheet.md +146 -0
- package/dist/agentic/shared/ai/skills/om-eject-and-customize/SKILL.md +310 -14
- package/dist/agentic/shared/ai/skills/om-help/SKILL.md +97 -15
- package/dist/agentic/shared/ai/skills/om-help/references/skills-catalog.md +84 -0
- package/dist/agentic/shared/ai/skills/om-help/references/workflow-sequences.md +193 -0
- package/dist/agentic/shared/ai/skills/om-implement-spec/SKILL.md +152 -33
- package/dist/agentic/shared/ai/skills/om-integration-builder/SKILL.md +708 -24
- package/dist/agentic/shared/ai/skills/om-integration-builder/STANDALONE.md +34 -0
- package/dist/agentic/shared/ai/skills/om-integration-builder/references/adapter-contracts.md +762 -0
- package/dist/agentic/shared/ai/skills/om-module-scaffold/SKILL.md +820 -20
- package/dist/agentic/shared/ai/skills/om-module-scaffold/references/naming-conventions.md +50 -0
- package/dist/agentic/shared/ai/skills/om-module-scaffold/references/navigation-patterns.md +97 -0
- package/dist/agentic/shared/ai/skills/om-system-extension/SKILL.md +843 -19
- package/dist/agentic/shared/ai/skills/om-system-extension/references/extension-contracts.md +271 -0
- package/dist/agentic/shared/ai/skills/om-trim-unused-modules/SKILL.md +63 -15
- package/dist/agentic/shared/ai/skills/om-troubleshooter/SKILL.md +467 -16
- package/dist/agentic/shared/ai/skills/om-troubleshooter/references/diagnostic-commands.md +101 -0
- package/dist/agentic/shared/ai/skills/tiers.json +21 -143
- package/dist/agentic/shared/ai/skills/tiers.schema.json +40 -52
- package/dist/agentic/shared/ai/specs/README.md +3 -4
- package/dist/agentic/shared/ai/specs/SPEC-000-template.md +10 -226
- package/dist/agentic/shared/ai/trackers/github.md +4 -108
- package/dist/agentic/shared/scripts/install-skills.sh +694 -4
- package/dist/bin.js +1 -13
- package/dist/bin.js.map +2 -2
- package/dist/lib/__integration__/TC-INT-008.spec.js +8 -88
- package/dist/lib/__integration__/TC-INT-008.spec.js.map +2 -2
- package/dist/lib/agentic-init.js +3 -13
- package/dist/lib/agentic-init.js.map +2 -2
- package/dist/lib/agentic-setup.js +186 -418
- package/dist/lib/agentic-setup.js.map +2 -2
- package/dist/lib/generators/extensions/injection-widgets.js +0 -20
- package/dist/lib/generators/extensions/injection-widgets.js.map +2 -2
- package/dist/lib/generators/module-facts-discovery.js +7 -41
- package/dist/lib/generators/module-facts-discovery.js.map +2 -2
- package/dist/lib/generators/module-facts.js +45 -1387
- package/dist/lib/generators/module-facts.js.map +3 -3
- package/dist/lib/generators/module-registry.js +5 -11
- package/dist/lib/generators/module-registry.js.map +2 -2
- package/dist/lib/resolver.js +0 -2
- package/dist/lib/resolver.js.map +2 -2
- package/dist/lib/testing/integration.js +0 -5
- package/dist/lib/testing/integration.js.map +2 -2
- package/dist/mercato.js +1 -23
- package/dist/mercato.js.map +2 -2
- package/package.json +11 -13
- package/src/bin.ts +1 -33
- package/src/lib/__integration__/TC-INT-008.spec.ts +9 -107
- package/src/lib/__tests__/agentic-init.test.ts +5 -41
- package/src/lib/agentic-init.ts +3 -15
- package/src/lib/agentic-setup.ts +224 -530
- package/src/lib/generators/__tests__/module-facts.bc-guard.test.ts +2 -88
- package/src/lib/generators/__tests__/module-facts.customers.fixture.test.ts +0 -1
- package/src/lib/generators/__tests__/module-facts.discovery.test.ts +10 -54
- package/src/lib/generators/__tests__/module-subset.test.ts +0 -18
- package/src/lib/generators/extensions/injection-widgets.ts +0 -51
- package/src/lib/generators/module-facts-discovery.ts +7 -58
- package/src/lib/generators/module-facts.ts +46 -1851
- package/src/lib/generators/module-registry.ts +6 -16
- package/src/lib/resolver.ts +0 -3
- package/src/lib/testing/__tests__/integration.test.ts +0 -4
- package/src/lib/testing/integration.ts +0 -5
- package/src/mercato.ts +1 -26
- package/dist/agentic/guides/ai-workflows.md +0 -76
- package/dist/agentic/guides/architecture.md +0 -107
- package/dist/agentic/guides/backend-ui.md +0 -80
- package/dist/agentic/guides/contracts.md +0 -92
- package/dist/agentic/guides/extensions.md +0 -121
- package/dist/agentic/guides/framework-extension-points.md +0 -36
- package/dist/agentic/guides/integrations.md +0 -81
- package/dist/agentic/guides/modules/design_system.md +0 -102
- package/dist/agentic/guides/spec-delivery.md +0 -22
- package/dist/agentic/guides/testing-debugging.md +0 -80
- package/dist/agentic/guides/upstream/AGENTS.md +0 -298
- package/dist/agentic/guides/upstream/BACKWARD_COMPATIBILITY.md +0 -316
- package/dist/agentic/guides/upstream/manifest.json +0 -8
- package/dist/agentic/shared/ai/harness/README.md +0 -50
- package/dist/agentic/shared/ai/harness/RELEASE.md +0 -57
- package/dist/agentic/shared/ai/harness/cases.json +0 -13680
- package/dist/agentic/shared/ai/harness/cases.schema.json +0 -133
- package/dist/agentic/shared/ai/harness/fixtures/index.json +0 -49
- package/dist/agentic/shared/ai/harness/fixtures/seeds.json +0 -162
- package/dist/agentic/shared/ai/harness/generated-code-review-policy.md +0 -21
- package/dist/agentic/shared/ai/harness/generated-code-review-response.schema.json +0 -96
- package/dist/agentic/shared/ai/harness/generated-code-review-result.schema.json +0 -172
- package/dist/agentic/shared/ai/harness/release-matrix.json +0 -158
- package/dist/agentic/shared/ai/harness/release-result.schema.json +0 -219
- package/dist/agentic/shared/ai/harness/result.schema.json +0 -76
- package/dist/agentic/shared/ai/harness/routing-response.schema.json +0 -12
- package/dist/agentic/shared/ai/harness/target-validation-result.schema.json +0 -73
- package/dist/agentic/shared/ai/harness/validators.json +0 -78
- package/dist/agentic/shared/ai/harness/writable-ast-oracles.mjs +0 -2121
- package/dist/agentic/shared/ai/harness/writable-behavior-oracles.mjs +0 -1096
- package/dist/agentic/shared/ai/lessons/_template.md +0 -16
- package/dist/agentic/shared/ai/review-checklist.md +0 -36
- package/dist/agentic/shared/ai/skills/om-auto-implement-spec/SKILL.md +0 -21
- package/dist/agentic/shared/ai/skills/om-auto-upgrade-0.6.6-to-0.6.7/SKILL.md +0 -98
- package/dist/agentic/shared/ai/skills/om-backend-ui-design/references/crud-surfaces.md +0 -16
- package/dist/agentic/shared/ai/skills/om-backend-ui-design/references/frontend-and-design-system.md +0 -53
- package/dist/agentic/shared/ai/skills/om-backend-ui-design/references/page-and-navigation.md +0 -13
- package/dist/agentic/shared/ai/skills/om-backend-ui-design/references/quality-states.md +0 -11
- package/dist/agentic/shared/ai/skills/om-build-workflow/SKILL.md +0 -30
- package/dist/agentic/shared/ai/skills/om-build-workflow/references/activity-contracts.md +0 -12
- package/dist/agentic/shared/ai/skills/om-build-workflow/references/durability-and-progress.md +0 -13
- package/dist/agentic/shared/ai/skills/om-build-workflow/references/workflow-design.md +0 -14
- package/dist/agentic/shared/ai/skills/om-create-ai-agent/SKILL.md +0 -28
- package/dist/agentic/shared/ai/skills/om-create-ai-agent/references/attachments-and-overrides.md +0 -12
- package/dist/agentic/shared/ai/skills/om-create-ai-agent/references/module-agents-and-tools.md +0 -22
- package/dist/agentic/shared/ai/skills/om-create-ai-agent/references/orchestrator-agents.md +0 -12
- package/dist/agentic/shared/ai/skills/om-create-ai-agent/references/surface-selector.md +0 -19
- package/dist/agentic/shared/ai/skills/om-data-model-design/references/integrity-and-concurrency.md +0 -19
- package/dist/agentic/shared/ai/skills/om-data-model-design/references/migration-workflow.md +0 -13
- package/dist/agentic/shared/ai/skills/om-data-model-design/references/schema-design.md +0 -14
- package/dist/agentic/shared/ai/skills/om-data-model-design/references/sensitive-data.md +0 -10
- package/dist/agentic/shared/ai/skills/om-eject-and-customize/references/decision-and-procedure.md +0 -17
- package/dist/agentic/shared/ai/skills/om-evolve-harness/SKILL.md +0 -29
- package/dist/agentic/shared/ai/skills/om-evolve-harness/references/case-template.md +0 -100
- package/dist/agentic/shared/ai/skills/om-evolve-harness/references/case-workflow.md +0 -16
- package/dist/agentic/shared/ai/skills/om-evolve-harness/references/owner-selection.md +0 -17
- package/dist/agentic/shared/ai/skills/om-framework-context/SKILL.md +0 -25
- package/dist/agentic/shared/ai/skills/om-framework-context/references/resolver-procedure.md +0 -11
- package/dist/agentic/shared/ai/skills/om-framework-context/references/skew-and-escalation.md +0 -13
- package/dist/agentic/shared/ai/skills/om-help/references/delivery-workflows.md +0 -18
- package/dist/agentic/shared/ai/skills/om-help/references/task-families.md +0 -20
- package/dist/agentic/shared/ai/skills/om-implement-spec/references/phases-and-gates.md +0 -33
- package/dist/agentic/shared/ai/skills/om-implement-spec/references/planning-and-progress.md +0 -40
- package/dist/agentic/shared/ai/skills/om-implement-spec/references/report-templates.md +0 -27
- package/dist/agentic/shared/ai/skills/om-implement-spec/references/spec-resolution.md +0 -24
- package/dist/agentic/shared/ai/skills/om-integration-builder/references/package-and-activation.md +0 -16
- package/dist/agentic/shared/ai/skills/om-integration-builder/references/provider-families.md +0 -14
- package/dist/agentic/shared/ai/skills/om-integration-builder/references/security-and-reliability.md +0 -15
- package/dist/agentic/shared/ai/skills/om-integration-builder/references/sync-and-files.md +0 -12
- package/dist/agentic/shared/ai/skills/om-judge-agent-session/SKILL.md +0 -34
- package/dist/agentic/shared/ai/skills/om-judge-agent-session/agents/openai.yaml +0 -4
- package/dist/agentic/shared/ai/skills/om-judge-agent-session/references/agentic-setup.md +0 -11
- package/dist/agentic/shared/ai/skills/om-judge-agent-session/references/input-normalization.md +0 -31
- package/dist/agentic/shared/ai/skills/om-judge-agent-session/references/judge-workflow.md +0 -39
- package/dist/agentic/shared/ai/skills/om-judge-agent-session/references/report-template.md +0 -43
- package/dist/agentic/shared/ai/skills/om-judge-agent-session/references/rules.md +0 -11
- package/dist/agentic/shared/ai/skills/om-module-scaffold/references/api-and-domain.md +0 -19
- package/dist/agentic/shared/ai/skills/om-module-scaffold/references/business-one-shot-blueprints.md +0 -172
- package/dist/agentic/shared/ai/skills/om-module-scaffold/references/data-and-migrations.md +0 -12
- package/dist/agentic/shared/ai/skills/om-module-scaffold/references/discovery-surface-catalog.md +0 -83
- package/dist/agentic/shared/ai/skills/om-module-scaffold/references/module-surfaces.md +0 -21
- package/dist/agentic/shared/ai/skills/om-module-scaffold/references/planning.md +0 -11
- package/dist/agentic/shared/ai/skills/om-module-scaffold/references/runtime-cache-and-queues.md +0 -22
- package/dist/agentic/shared/ai/skills/om-module-scaffold/references/verification.md +0 -13
- package/dist/agentic/shared/ai/skills/om-share-this-session/SKILL.md +0 -41
- package/dist/agentic/shared/ai/skills/om-share-this-session/references/agentic-setup.md +0 -19
- package/dist/agentic/shared/ai/skills/om-share-this-session/references/bundle-preparation.md +0 -44
- package/dist/agentic/shared/ai/skills/om-share-this-session/references/consent-and-review.md +0 -39
- package/dist/agentic/shared/ai/skills/om-share-this-session/references/publication.md +0 -20
- package/dist/agentic/shared/ai/skills/om-share-this-session/references/report-templates.md +0 -57
- package/dist/agentic/shared/ai/skills/om-share-this-session/references/rules.md +0 -11
- package/dist/agentic/shared/ai/skills/om-share-this-session/scripts/prepare-share-bundle.mjs +0 -486
- package/dist/agentic/shared/ai/skills/om-system-extension/references/extension-branches.md +0 -18
- package/dist/agentic/shared/ai/skills/om-system-extension/references/mechanism-selector.md +0 -27
- package/dist/agentic/shared/ai/skills/om-system-extension/references/read-write-roundtrip.md +0 -13
- package/dist/agentic/shared/ai/skills/om-system-extension/references/unified-overrides.md +0 -41
- package/dist/agentic/shared/ai/skills/om-system-extension/references/verification.md +0 -11
- package/dist/agentic/shared/ai/skills/om-trim-unused-modules/references/dependency-and-redirect.md +0 -15
- package/dist/agentic/shared/ai/skills/om-troubleshooter/references/diagnosis-map.md +0 -16
- package/dist/agentic/shared/ai/skills/om-troubleshooter/references/regression-oracles.md +0 -14
- package/dist/agentic/shared/scripts/agent-harness-tool-server.mjs +0 -187
- package/dist/agentic/shared/scripts/check-lessons.mjs +0 -178
- package/dist/agentic/shared/scripts/evaluate-agent-harness.mjs +0 -2958
- package/dist/agentic/shared/scripts/execution-sandbox.mjs +0 -329
- package/dist/agentic/shared/scripts/framework-context.mjs +0 -888
- package/dist/agentic/shared/scripts/install-skills.mjs +0 -1029
- package/dist/agentic/shared/scripts/prepare-agent-harness-fixture.mjs +0 -222
- package/dist/agentic/shared/scripts/run-agent-harness-release.mjs +0 -1774
- package/dist/lib/generators/module-extension-facts.js +0 -1840
- package/dist/lib/generators/module-extension-facts.js.map +0 -7
- package/dist/lib/generators/module-fact-sources.js +0 -70
- package/dist/lib/generators/module-fact-sources.js.map +0 -7
- package/dist/lib/generators/module-override-targets.js +0 -688
- package/dist/lib/generators/module-override-targets.js.map +0 -7
- package/dist/lib/load-env.js +0 -24
- package/dist/lib/load-env.js.map +0 -7
- package/dist/lib/telemetry-init.js +0 -358
- package/dist/lib/telemetry-init.js.map +0 -7
- package/src/lib/__tests__/agentic-setup.ownership.test.ts +0 -386
- package/src/lib/__tests__/injection-widget-id-validation.test.ts +0 -184
- package/src/lib/__tests__/load-env.test.ts +0 -65
- package/src/lib/__tests__/telemetry-init.test.ts +0 -298
- package/src/lib/generators/__tests__/activation-adapter-coverage.test.ts +0 -92
- package/src/lib/generators/__tests__/module-extension-activations.test.ts +0 -762
- package/src/lib/generators/__tests__/module-extension-facts.test.ts +0 -404
- package/src/lib/generators/__tests__/module-facts.extension-hosts.test.ts +0 -108
- package/src/lib/generators/__tests__/module-facts.owned-contracts.test.ts +0 -561
- package/src/lib/generators/__tests__/module-facts.source-links.test.ts +0 -119
- package/src/lib/generators/__tests__/module-override-targets.roundtrip.test.ts +0 -149
- package/src/lib/generators/__tests__/module-override-targets.test.ts +0 -304
- package/src/lib/generators/module-extension-facts.ts +0 -2365
- package/src/lib/generators/module-fact-sources.ts +0 -108
- package/src/lib/generators/module-override-targets.ts +0 -863
- package/src/lib/load-env.ts +0 -30
- package/src/lib/telemetry-init.ts +0 -461
|
@@ -1,59 +1,39 @@
|
|
|
1
1
|
# record_locks — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/
|
|
3
|
-
Source root: [node_modules/@open-mercato/enterprise/src/modules/record_locks](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks)
|
|
2
|
+
<!-- generated from @open-mercato/core 0.6.7 — R1 staleness stamp -->
|
|
4
3
|
|
|
5
4
|
## Entities
|
|
6
5
|
|
|
7
|
-
| Entity ID | Class | Table | Editable | CustomFields |
|
|
8
|
-
|
|
9
|
-
| record_locks:record_lock | RecordLock | record_locks | yes | no |
|
|
10
|
-
| record_locks:record_lock_conflict | RecordLockConflict | record_lock_conflicts | yes | no |
|
|
6
|
+
| Entity ID | Class | Table | Editable | CustomFields |
|
|
7
|
+
|---|---|---|---|---|
|
|
8
|
+
| record_locks:record_lock | RecordLock | record_locks | yes | no |
|
|
9
|
+
| record_locks:record_lock_conflict | RecordLockConflict | record_lock_conflicts | yes | no |
|
|
11
10
|
|
|
12
11
|
## Events (10)
|
|
13
12
|
|
|
14
|
-
| ID | Category | Entity |
|
|
15
|
-
|
|
16
|
-
| record_locks.lock.acquired | crud | lock |
|
|
17
|
-
| record_locks.participant.joined | lifecycle | lock |
|
|
18
|
-
| record_locks.participant.left | lifecycle | lock |
|
|
19
|
-
| record_locks.lock.contended | lifecycle | lock |
|
|
20
|
-
| record_locks.lock.released | crud | lock |
|
|
21
|
-
| record_locks.lock.force_released | crud | lock |
|
|
22
|
-
| record_locks.record.deleted | crud | record |
|
|
23
|
-
| record_locks.conflict.detected | crud | conflict |
|
|
24
|
-
| record_locks.conflict.resolved | crud | conflict |
|
|
25
|
-
| record_locks.incoming_changes.available | lifecycle | change |
|
|
13
|
+
| ID | Category | Entity |
|
|
14
|
+
|---|---|---|
|
|
15
|
+
| record_locks.lock.acquired | crud | lock |
|
|
16
|
+
| record_locks.participant.joined | lifecycle | lock |
|
|
17
|
+
| record_locks.participant.left | lifecycle | lock |
|
|
18
|
+
| record_locks.lock.contended | lifecycle | lock |
|
|
19
|
+
| record_locks.lock.released | crud | lock |
|
|
20
|
+
| record_locks.lock.force_released | crud | lock |
|
|
21
|
+
| record_locks.record.deleted | crud | record |
|
|
22
|
+
| record_locks.conflict.detected | crud | conflict |
|
|
23
|
+
| record_locks.conflict.resolved | crud | conflict |
|
|
24
|
+
| record_locks.incoming_changes.available | lifecycle | change |
|
|
26
25
|
|
|
27
26
|
## ACL features (4)
|
|
28
27
|
|
|
29
|
-
|
|
30
|
-
|---|---|
|
|
31
|
-
| record_locks.view | [node_modules/@open-mercato/enterprise/src/modules/record_locks/acl.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/acl.ts) |
|
|
32
|
-
| record_locks.manage | [node_modules/@open-mercato/enterprise/src/modules/record_locks/acl.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/acl.ts) |
|
|
33
|
-
| record_locks.force_release | [node_modules/@open-mercato/enterprise/src/modules/record_locks/acl.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/acl.ts) |
|
|
34
|
-
| record_locks.override_incoming | [node_modules/@open-mercato/enterprise/src/modules/record_locks/acl.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/acl.ts) |
|
|
28
|
+
record_locks.view · record_locks.manage · record_locks.force_release · record_locks.override_incoming
|
|
35
29
|
|
|
36
30
|
## API routes
|
|
37
31
|
|
|
38
32
|
_none_
|
|
39
33
|
|
|
40
|
-
## Backend pages
|
|
41
|
-
|
|
42
|
-
| ID / path | Source |
|
|
43
|
-
|---|---|
|
|
44
|
-
| /backend/settings/record-locks | [node_modules/@open-mercato/enterprise/src/modules/record_locks/backend/settings/record-locks/page.tsx](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/backend/settings/record-locks/page.tsx) |
|
|
45
|
-
|
|
46
|
-
## Frontend pages
|
|
47
|
-
|
|
48
|
-
_none_
|
|
49
|
-
|
|
50
34
|
## DI service tokens
|
|
51
35
|
|
|
52
|
-
|
|
53
|
-
|---|---|
|
|
54
|
-
| recordLockService | [node_modules/@open-mercato/enterprise/src/modules/record_locks/di.ts:16](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/di.ts#L16) |
|
|
55
|
-
| crudMutationGuardService | [node_modules/@open-mercato/enterprise/src/modules/record_locks/di.ts:33](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/di.ts#L33) |
|
|
56
|
-
| commandOptimisticLockGuardService | [node_modules/@open-mercato/enterprise/src/modules/record_locks/di.ts:49](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/di.ts#L49) |
|
|
36
|
+
recordLockService · crudMutationGuardService · commandOptimisticLockGuardService
|
|
57
37
|
|
|
58
38
|
## Search entities
|
|
59
39
|
|
|
@@ -64,175 +44,10 @@ _none_
|
|
|
64
44
|
- Entity IDs: _none_
|
|
65
45
|
- Table IDs: _none_
|
|
66
46
|
|
|
67
|
-
## UMES hosts
|
|
68
|
-
|
|
69
|
-
| ID / pattern | Family | Supports | Context | Stability | Source |
|
|
70
|
-
|---|---|---|---|---|---|
|
|
71
|
-
| record_locks:record_lock | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:record_locks:record_lock |
|
|
72
|
-
| record_locks:record_lock_conflict | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:record_locks:record_lock_conflict |
|
|
73
|
-
| record_locks.conflict.detected | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:record_locks.conflict.detected |
|
|
74
|
-
| record_locks.conflict.resolved | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:record_locks.conflict.resolved |
|
|
75
|
-
| record_locks.incoming_changes.available | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:record_locks.incoming_changes.available |
|
|
76
|
-
| record_locks.lock.acquired | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:record_locks.lock.acquired |
|
|
77
|
-
| record_locks.lock.contended | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:record_locks.lock.contended |
|
|
78
|
-
| record_locks.lock.force_released | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:record_locks.lock.force_released |
|
|
79
|
-
| record_locks.lock.released | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:record_locks.lock.released |
|
|
80
|
-
| record_locks.participant.joined | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:record_locks.participant.joined |
|
|
81
|
-
| record_locks.participant.left | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:record_locks.participant.left |
|
|
82
|
-
| record_locks.record.deleted | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:record_locks.record.deleted |
|
|
83
|
-
|
|
84
|
-
## UMES contributions
|
|
85
|
-
|
|
86
|
-
| ID | Kind | Target | Phase / operations | Contract | Resolution | Source |
|
|
87
|
-
|---|---|---|---|---|---|---|
|
|
88
|
-
| record_locks.force-released-toast | browser-reaction | record_locks.lock.force_released | — | audienceScopeContract=tenant-organization-user-role-and-customer; hooks=useNotificationEffect; overrideKey=record_locks.force-released-toast; transports=notification-effect | fact-ref | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.handlers.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.handlers.ts) |
|
|
89
|
-
| record_locks.incoming-changes-event | browser-reaction | record_locks.incoming_changes.available | — | audienceScopeContract=tenant-organization-user-role-and-customer; hooks=useNotificationEffect; overrideKey=record_locks.incoming-changes-event; transports=notification-effect | fact-ref | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.handlers.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.handlers.ts) |
|
|
90
|
-
| record_locks.lock-contended-event | browser-reaction | record_locks.lock.contended | — | audienceScopeContract=tenant-organization-user-role-and-customer; hooks=useNotificationEffect; overrideKey=record_locks.lock-contended-event; transports=notification-effect | fact-ref | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.handlers.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.handlers.ts) |
|
|
91
|
-
| record_locks.record-deleted-event | browser-reaction | record_locks.record.deleted | — | audienceScopeContract=tenant-organization-user-role-and-customer; hooks=useNotificationEffect; overrideKey=record_locks.record-deleted-event; transports=notification-effect | fact-ref | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.handlers.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.handlers.ts) |
|
|
92
|
-
| record_locks.injection.crud-form-locking@crud-form:* | crud-form | crud-form:* | — | entityId=*; payload=render; requestHeaderCapability=false | pattern | [node_modules/@open-mercato/enterprise/src/modules/record_locks/widgets/injection-table.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/widgets/injection-table.ts) |
|
|
93
|
-
| notification:record_locks.conflict.detected | specialized-registry | record_locks.conflict.detected | — | registry=notification; registryId=record_locks.conflict.detected; specialistRoute=notifications | fact-ref | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
94
|
-
| notification:record_locks.conflict.resolved | specialized-registry | record_locks.conflict.resolved | — | registry=notification; registryId=record_locks.conflict.resolved; specialistRoute=notifications | fact-ref | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
95
|
-
| notification:record_locks.incoming_changes.available | specialized-registry | record_locks.incoming_changes.available | — | registry=notification; registryId=record_locks.incoming_changes.available; specialistRoute=notifications | fact-ref | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
96
|
-
| notification:record_locks.lock.contended | specialized-registry | record_locks.lock.contended | — | registry=notification; registryId=record_locks.lock.contended; specialistRoute=notifications | fact-ref | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
97
|
-
| notification:record_locks.lock.force_released | specialized-registry | record_locks.lock.force_released | — | registry=notification; registryId=record_locks.lock.force_released; specialistRoute=notifications | fact-ref | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
98
|
-
| notification:record_locks.participant.joined | specialized-registry | record_locks.participant.joined | — | registry=notification; registryId=record_locks.participant.joined; specialistRoute=notifications | fact-ref | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
99
|
-
| notification:record_locks.participant.left | specialized-registry | record_locks.participant.left | — | registry=notification; registryId=record_locks.participant.left; specialistRoute=notifications | fact-ref | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
100
|
-
| notification:record_locks.record.deleted | specialized-registry | record_locks.record.deleted | — | registry=notification; registryId=record_locks.record.deleted; specialistRoute=notifications | fact-ref | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
101
|
-
| record_locks:conflict-detected-notification | subscriber | record_locks.conflict.detected | async-delivery | event=record_locks.conflict.detected; persistent=true; subscriberId=record_locks:conflict-detected-notification; sync=false | fact-ref | [node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/conflict-detected-notification.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/conflict-detected-notification.ts) |
|
|
102
|
-
| record_locks:conflict-resolved-notification | subscriber | record_locks.conflict.resolved | async-delivery | event=record_locks.conflict.resolved; persistent=true; subscriberId=record_locks:conflict-resolved-notification; sync=false | fact-ref | [node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/conflict-resolved-notification.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/conflict-resolved-notification.ts) |
|
|
103
|
-
| record_locks:incoming-changes-notification | subscriber | record_locks.incoming_changes.available | async-delivery | event=record_locks.incoming_changes.available; persistent=true; subscriberId=record_locks:incoming-changes-notification; sync=false | fact-ref | [node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/incoming-changes-notification.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/incoming-changes-notification.ts) |
|
|
104
|
-
| record_locks:lock-contended-notification | subscriber | record_locks.lock.contended | async-delivery | event=record_locks.lock.contended; persistent=true; subscriberId=record_locks:lock-contended-notification; sync=false | fact-ref | [node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/lock-contended-notification.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/lock-contended-notification.ts) |
|
|
105
|
-
| record_locks:lock-force-released-notification | subscriber | record_locks.lock.force_released | async-delivery | event=record_locks.lock.force_released; persistent=true; subscriberId=record_locks:lock-force-released-notification; sync=false | fact-ref | [node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/lock-force-released-notification.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/lock-force-released-notification.ts) |
|
|
106
|
-
| record_locks:participant-joined-notification | subscriber | record_locks.participant.joined | async-delivery | event=record_locks.participant.joined; persistent=true; subscriberId=record_locks:participant-joined-notification; sync=false | fact-ref | [node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/participant-joined-notification.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/participant-joined-notification.ts) |
|
|
107
|
-
| record_locks:participant-left-notification | subscriber | record_locks.participant.left | async-delivery | event=record_locks.participant.left; persistent=true; subscriberId=record_locks:participant-left-notification; sync=false | fact-ref | [node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/participant-left-notification.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/participant-left-notification.ts) |
|
|
108
|
-
| record_locks:record-deleted-notification | subscriber | record_locks.record.deleted | async-delivery | event=record_locks.record.deleted; persistent=true; subscriberId=record_locks:record-deleted-notification; sync=false | fact-ref | [node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/record-deleted-notification.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/record-deleted-notification.ts) |
|
|
109
|
-
| record_locks.injection.crud-form-locking@backend-mutation:global | widget | backend-mutation:global | — | executionGuard=host; payload=render; registryKey=record_locks.injection.crud-form-locking | framework | [node_modules/@open-mercato/enterprise/src/modules/record_locks/widgets/injection-table.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/widgets/injection-table.ts) |
|
|
110
|
-
| record_locks.injection.crud-form-locking@backend:record:current | widget | backend:record:current | — | executionGuard=host; payload=render; registryKey=record_locks.injection.crud-form-locking | optional-external | [node_modules/@open-mercato/enterprise/src/modules/record_locks/widgets/injection-table.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/widgets/injection-table.ts) |
|
|
111
|
-
|
|
112
|
-
## Active extension bindings
|
|
113
|
-
|
|
114
|
-
| Activation | Kind | Host | Contribution kinds | Phases | Bridge | Source |
|
|
115
|
-
|---|---|---|---|---|---|---|
|
|
116
|
-
| widget-spot:backend-mutation:global:widget-injection-consumer | widget-injection-consumer | widget-spot:backend-mutation:global @framework | widget, data-table, crud-form | — | hosts:framework.backend-mutation | [packages/ui/src](../../../packages/ui/src) |
|
|
117
|
-
|
|
118
|
-
## Incoming installed contributions
|
|
119
|
-
|
|
120
|
-
_none_
|
|
121
|
-
|
|
122
|
-
## Contribution resolutions
|
|
123
|
-
|
|
124
|
-
| Contribution | Target | Resolution | Activations | Source |
|
|
125
|
-
|---|---|---|---|---|
|
|
126
|
-
| notification:record_locks.conflict.detected | module:record_locks.conflict.detected @record_locks | capability-only | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
127
|
-
| notification:record_locks.conflict.resolved | module:record_locks.conflict.resolved @record_locks | capability-only | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
128
|
-
| notification:record_locks.incoming_changes.available | module:record_locks.incoming_changes.available @record_locks | capability-only | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
129
|
-
| notification:record_locks.lock.contended | module:record_locks.lock.contended @record_locks | capability-only | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
130
|
-
| notification:record_locks.lock.force_released | module:record_locks.lock.force_released @record_locks | capability-only | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
131
|
-
| notification:record_locks.participant.joined | module:record_locks.participant.joined @record_locks | capability-only | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
132
|
-
| notification:record_locks.participant.left | module:record_locks.participant.left @record_locks | capability-only | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
133
|
-
| notification:record_locks.record.deleted | module:record_locks.record.deleted @record_locks | capability-only | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
134
|
-
| record_locks:conflict-detected-notification | event:record_locks.conflict.detected @record_locks | capability-only | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/conflict-detected-notification.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/conflict-detected-notification.ts) |
|
|
135
|
-
| record_locks:conflict-resolved-notification | event:record_locks.conflict.resolved @record_locks | capability-only | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/conflict-resolved-notification.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/conflict-resolved-notification.ts) |
|
|
136
|
-
| record_locks:incoming-changes-notification | event:record_locks.incoming_changes.available @record_locks | capability-only | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/incoming-changes-notification.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/incoming-changes-notification.ts) |
|
|
137
|
-
| record_locks:lock-contended-notification | event:record_locks.lock.contended @record_locks | capability-only | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/lock-contended-notification.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/lock-contended-notification.ts) |
|
|
138
|
-
| record_locks:lock-force-released-notification | event:record_locks.lock.force_released @record_locks | capability-only | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/lock-force-released-notification.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/lock-force-released-notification.ts) |
|
|
139
|
-
| record_locks:participant-joined-notification | event:record_locks.participant.joined @record_locks | capability-only | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/participant-joined-notification.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/participant-joined-notification.ts) |
|
|
140
|
-
| record_locks:participant-left-notification | event:record_locks.participant.left @record_locks | capability-only | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/participant-left-notification.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/participant-left-notification.ts) |
|
|
141
|
-
| record_locks:record-deleted-notification | event:record_locks.record.deleted @record_locks | capability-only | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/record-deleted-notification.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/record-deleted-notification.ts) |
|
|
142
|
-
| record_locks.force-released-toast | notification:record_locks.lock.force_released @record_locks | capability-only | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.handlers.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.handlers.ts) |
|
|
143
|
-
| record_locks.incoming-changes-event | notification:record_locks.incoming_changes.available @record_locks | capability-only | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.handlers.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.handlers.ts) |
|
|
144
|
-
| record_locks.injection.crud-form-locking@backend-mutation:global | widget-spot:backend-mutation:global | bound | widget-spot:backend-mutation:global:widget-injection-consumer | [node_modules/@open-mercato/enterprise/src/modules/record_locks/widgets/injection-table.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/widgets/injection-table.ts) |
|
|
145
|
-
| record_locks.injection.crud-form-locking@backend:record:current | widget-spot:backend:record:current | optional-target-missing | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/widgets/injection-table.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/widgets/injection-table.ts) |
|
|
146
|
-
| record_locks.injection.crud-form-locking@crud-form:* | wildcard:crud-form:* | wildcard | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/widgets/injection-table.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/widgets/injection-table.ts) |
|
|
147
|
-
| record_locks.lock-contended-event | notification:record_locks.lock.contended @record_locks | capability-only | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.handlers.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.handlers.ts) |
|
|
148
|
-
| record_locks.record-deleted-event | notification:record_locks.record.deleted @record_locks | capability-only | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.handlers.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.handlers.ts) |
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
47
|
## Notifications
|
|
153
48
|
|
|
154
|
-
|
|
155
|
-
|---|---|
|
|
156
|
-
| record_locks.participant.joined | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
157
|
-
| record_locks.participant.left | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
158
|
-
| record_locks.lock.contended | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
159
|
-
| record_locks.lock.force_released | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
160
|
-
| record_locks.record.deleted | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
161
|
-
| record_locks.conflict.detected | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
162
|
-
| record_locks.incoming_changes.available | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
163
|
-
| record_locks.conflict.resolved | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
164
|
-
|
|
165
|
-
## CLI commands
|
|
49
|
+
record_locks.participant.joined · record_locks.participant.left · record_locks.lock.contended · record_locks.lock.force_released · record_locks.record.deleted · record_locks.conflict.detected · record_locks.incoming_changes.available · record_locks.conflict.resolved
|
|
166
50
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
## AI tools / MCP capabilities
|
|
170
|
-
|
|
171
|
-
_none_
|
|
172
|
-
|
|
173
|
-
## AI agents
|
|
51
|
+
## CLI
|
|
174
52
|
|
|
175
53
|
_none_
|
|
176
|
-
|
|
177
|
-
## Exact override targets
|
|
178
|
-
|
|
179
|
-
| Domain | Path / key | Supported modes | Referenced fact | Source |
|
|
180
|
-
|---|---|---|---|---|
|
|
181
|
-
| acl | `overrides.acl.features["record_locks.force_release"]` | disable-replace | aclFeatures:record_locks.force_release | [node_modules/@open-mercato/enterprise/src/modules/record_locks/acl.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/acl.ts) |
|
|
182
|
-
| acl | `overrides.acl.features["record_locks.manage"]` | disable-replace | aclFeatures:record_locks.manage | [node_modules/@open-mercato/enterprise/src/modules/record_locks/acl.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/acl.ts) |
|
|
183
|
-
| acl | `overrides.acl.features["record_locks.override_incoming"]` | disable-replace | aclFeatures:record_locks.override_incoming | [node_modules/@open-mercato/enterprise/src/modules/record_locks/acl.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/acl.ts) |
|
|
184
|
-
| acl | `overrides.acl.features["record_locks.view"]` | disable-replace | aclFeatures:record_locks.view | [node_modules/@open-mercato/enterprise/src/modules/record_locks/acl.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/acl.ts) |
|
|
185
|
-
| di | `overrides.di["commandOptimisticLockGuardService"]` | disable-replace | ownedContracts.di-registration:commandOptimisticLockGuardService | [node_modules/@open-mercato/enterprise/src/modules/record_locks/di.ts:49](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/di.ts#L49) |
|
|
186
|
-
| di | `overrides.di["crudMutationGuardService"]` | disable-replace | ownedContracts.di-registration:crudMutationGuardService | [node_modules/@open-mercato/enterprise/src/modules/record_locks/di.ts:33](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/di.ts#L33) |
|
|
187
|
-
| di | `overrides.di["recordLockService"]` | disable-replace | ownedContracts.di-registration:recordLockService | [node_modules/@open-mercato/enterprise/src/modules/record_locks/di.ts:16](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/di.ts#L16) |
|
|
188
|
-
| events | `overrides.events.subscribers["record_locks:conflict-detected-notification"]` | disable-replace | extensionSurfaces.contributions:record_locks:conflict-detected-notification | [node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/conflict-detected-notification.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/conflict-detected-notification.ts) |
|
|
189
|
-
| events | `overrides.events.subscribers["record_locks:conflict-resolved-notification"]` | disable-replace | extensionSurfaces.contributions:record_locks:conflict-resolved-notification | [node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/conflict-resolved-notification.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/conflict-resolved-notification.ts) |
|
|
190
|
-
| events | `overrides.events.subscribers["record_locks:incoming-changes-notification"]` | disable-replace | extensionSurfaces.contributions:record_locks:incoming-changes-notification | [node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/incoming-changes-notification.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/incoming-changes-notification.ts) |
|
|
191
|
-
| events | `overrides.events.subscribers["record_locks:lock-contended-notification"]` | disable-replace | extensionSurfaces.contributions:record_locks:lock-contended-notification | [node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/lock-contended-notification.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/lock-contended-notification.ts) |
|
|
192
|
-
| events | `overrides.events.subscribers["record_locks:lock-force-released-notification"]` | disable-replace | extensionSurfaces.contributions:record_locks:lock-force-released-notification | [node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/lock-force-released-notification.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/lock-force-released-notification.ts) |
|
|
193
|
-
| events | `overrides.events.subscribers["record_locks:participant-joined-notification"]` | disable-replace | extensionSurfaces.contributions:record_locks:participant-joined-notification | [node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/participant-joined-notification.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/participant-joined-notification.ts) |
|
|
194
|
-
| events | `overrides.events.subscribers["record_locks:participant-left-notification"]` | disable-replace | extensionSurfaces.contributions:record_locks:participant-left-notification | [node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/participant-left-notification.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/participant-left-notification.ts) |
|
|
195
|
-
| events | `overrides.events.subscribers["record_locks:record-deleted-notification"]` | disable-replace | extensionSurfaces.contributions:record_locks:record-deleted-notification | [node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/record-deleted-notification.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/subscribers/record-deleted-notification.ts) |
|
|
196
|
-
| notifications | `overrides.notifications.handlers["record_locks.force-released-toast"]` | disable-replace | extensionSurfaces.contributions:record_locks.force-released-toast | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.handlers.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.handlers.ts) |
|
|
197
|
-
| notifications | `overrides.notifications.handlers["record_locks.incoming-changes-event"]` | disable-replace | extensionSurfaces.contributions:record_locks.incoming-changes-event | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.handlers.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.handlers.ts) |
|
|
198
|
-
| notifications | `overrides.notifications.handlers["record_locks.lock-contended-event"]` | disable-replace | extensionSurfaces.contributions:record_locks.lock-contended-event | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.handlers.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.handlers.ts) |
|
|
199
|
-
| notifications | `overrides.notifications.handlers["record_locks.record-deleted-event"]` | disable-replace | extensionSurfaces.contributions:record_locks.record-deleted-event | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.handlers.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.handlers.ts) |
|
|
200
|
-
| notifications | `overrides.notifications.types["record_locks.conflict.detected"]` | disable-replace | notifications:record_locks.conflict.detected | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
201
|
-
| notifications | `overrides.notifications.types["record_locks.conflict.resolved"]` | disable-replace | notifications:record_locks.conflict.resolved | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
202
|
-
| notifications | `overrides.notifications.types["record_locks.incoming_changes.available"]` | disable-replace | notifications:record_locks.incoming_changes.available | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
203
|
-
| notifications | `overrides.notifications.types["record_locks.lock.contended"]` | disable-replace | notifications:record_locks.lock.contended | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
204
|
-
| notifications | `overrides.notifications.types["record_locks.lock.force_released"]` | disable-replace | notifications:record_locks.lock.force_released | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
205
|
-
| notifications | `overrides.notifications.types["record_locks.participant.joined"]` | disable-replace | notifications:record_locks.participant.joined | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
206
|
-
| notifications | `overrides.notifications.types["record_locks.participant.left"]` | disable-replace | notifications:record_locks.participant.left | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
207
|
-
| notifications | `overrides.notifications.types["record_locks.record.deleted"]` | disable-replace | notifications:record_locks.record.deleted | [node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/notifications.ts) |
|
|
208
|
-
| routes | `overrides.routes.pages["backend:/backend/settings/record-locks"]` | disable-replace | backendPages:/backend/settings/record-locks | [node_modules/@open-mercato/enterprise/src/modules/record_locks/backend/settings/record-locks/page.tsx](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/backend/settings/record-locks/page.tsx) |
|
|
209
|
-
| setup | `overrides.setup.defaultRoleFeatures` | replace | ownedContracts.setup:record_locks:setup | [node_modules/@open-mercato/enterprise/src/modules/record_locks/setup.ts:5](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/setup.ts#L5) |
|
|
210
|
-
| setup | `overrides.setup.onTenantCreated` | replace | ownedContracts.setup:record_locks:setup | [node_modules/@open-mercato/enterprise/src/modules/record_locks/setup.ts:5](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/setup.ts#L5) |
|
|
211
|
-
| widgets | `overrides.widgets.injection["record_locks.injection.crud-form-locking"]` | disable-replace | extensionSurfaces.contributions:record_locks.injection.crud-form-locking@backend-mutation:global | [node_modules/@open-mercato/enterprise/src/modules/record_locks/widgets/injection-table.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/widgets/injection-table.ts) |
|
|
212
|
-
|
|
213
|
-
## Owned contract — module metadata
|
|
214
|
-
|
|
215
|
-
| ID | Metadata | Source |
|
|
216
|
-
|---|---|---|
|
|
217
|
-
| record_locks | name=record_locks; version=0.1.0 | [node_modules/@open-mercato/enterprise/src/modules/record_locks/index.ts:3](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/index.ts#L3) |
|
|
218
|
-
|
|
219
|
-
## Domain commands
|
|
220
|
-
|
|
221
|
-
| ID | Metadata | Source |
|
|
222
|
-
|---|---|---|
|
|
223
|
-
| record_locks.conflict.accept_incoming | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/commands/conflicts.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/commands/conflicts.ts) |
|
|
224
|
-
| record_locks.conflict.accept_mine | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/commands/conflicts.ts](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/commands/conflicts.ts) |
|
|
225
|
-
|
|
226
|
-
## Setup
|
|
227
|
-
|
|
228
|
-
| ID | Metadata | Source |
|
|
229
|
-
|---|---|---|
|
|
230
|
-
| record_locks:setup | hooks=onTenantCreated; roles=admin, employee, superadmin | [node_modules/@open-mercato/enterprise/src/modules/record_locks/setup.ts:5](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/setup.ts#L5) |
|
|
231
|
-
|
|
232
|
-
## DI registrations (rich)
|
|
233
|
-
|
|
234
|
-
| Token | Kind | Lifetime | Injection | Provider | Source |
|
|
235
|
-
|---|---|---|---|---|---|
|
|
236
|
-
| commandOptimisticLockGuardService | function | scoped | — | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/di.ts:49](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/di.ts#L49) |
|
|
237
|
-
| crudMutationGuardService | function | scoped | — | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/di.ts:33](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/di.ts#L33) |
|
|
238
|
-
| recordLockService | function | scoped | — | — | [node_modules/@open-mercato/enterprise/src/modules/record_locks/di.ts:16](../../../node_modules/@open-mercato/enterprise/src/modules/record_locks/di.ts#L16) |
|