@ossy/organisation
v3.26.0
Published
Organisation — workspace company identity (legal name, VAT, fiscal year) shared across packages
Readme
@ossy/organisation
Organisation feature package for the Ossy platform — workspace company identity (legal name, VAT, fiscal year, holiday locale) as a platform concern, not consultancy-only.
Billing (ADR 0009) keeps Stripe customer/subscription on the workspace aggregate. This package holds the legal/VAT shape other packages (consultancy overview, timesheets holiday locale, future invoicing) can read without depending on consultancy.
Schemas (ADR 0006)
| Schema | Id | Purpose |
|--------|-----|---------|
| Organisation | @ossy/organisation/schema/organisation | Company registration and VAT details |
Documents are stored under /@ossy/organisation/.
Exports
| Export | Description |
|---|---|
| location | Workspace storage path (/@ossy/organisation/) |
| OrganisationSchema | Canonical schema id constants |
| organisationSchema | Schema definition for manifest build |
| pickOrganisationContent | Content of the organisation document |
| Definition | Feature metadata (entitlementRequired: false) |
Usage
npm install @ossy/organisation
npm run buildimport { OrganisationSchema, location, pickOrganisationContent } from '@ossy/organisation'
OrganisationSchema.organisation
// => '@ossy/organisation/schema/organisation'Pages
| File | Page id | Paths |
|---|---|---|
| home.page.jsx | organisation/home | /organisation |
The home page shows company data (fiscal years, registration, VAT) via @ossy/calendar DataLoader.
