@comity/organization
v0.9.0
Published
Shared organization identifiers for Comity modules.
Readme
@comity/organization
Shared organization identifiers for Comity modules.
Purpose
Provides stable value objects for tenant and channel identification used across Comity packages. Ensures consistent identity handling in multi-tenant and multi-channel scenarios.
Scope
This package:
- ✅ defines
TenantIdvalue object with equality semantics - ✅ defines
ChannelIdvalue object with equality semantics - ✅ provides immutable, serializable identifiers
This package does NOT:
- ❌ implement tenant or channel resolution logic
- ❌ manage organization hierarchy or relationships
- ❌ provide persistence or repository contracts
Public API
- Identity value objects —
TenantId,ChannelId
No exhaustive reference; see docs for constraints.
Documentation
- docs/overview.md
- docs/conventions.md
Related Packages
- @comity/primitives — foundational value object patterns
- @comity/customer — customer domain (consumes TenantId/ChannelId)
- @comity/storefront — storefront context (consumes TenantId/ChannelId)
Status
Stable
Review Completed: 2026-08-28 Reviewer: Automated Audit Remediation Compliance Score: 100% (Green)
