@global-torque/invest-features
v0.4.12
Published
Reusable investment feature ViewModels, components, and provider adapters.
Readme
Invest Features
Public feature API for app-owned investment routes.
@global-torque/invest-features exposes reusable feature components,
widgets, stores, composables, and contracts that route pages compose from
apps/dashboard and apps/invest.
The package is the stable app-facing feature API. Its reusable implementations are owned here or re-exported from a lower package; the former compatibility package has been retired.
Ownership
- Dashboard and public invest route-level
View*.vuepages live in apps. - Reusable domain-aware feature UI, stores, composables, and ViewModels may be exported here when apps need stable public entry points.
- Extracted domain-aware widgets are re-exported from
@global-torque/invest-widgets; feature barrels should not reintroduce widget implementations. - App-specific route tables, layouts, redirects, and final page composition stay in the owning app.
- Static/public route pages such as contact, terms, resource-center, KYC,
authentication, and offer-detail views are app-owned; there is no
@global-torque/invest-features/staticroute-page facade.
Public Subpaths
../accreditation./auth./dashboard./kyc./lifecycle./notifications./notifications/model./offers./profiles./wallet
Widget exports in ./accreditation, ./kyc, ./notifications, ./profiles,
and ./wallet come from @global-torque/invest-widgets.
Boundary Rules
- Do not export route-level page components from this package.
- Do not import apps, app aliases, app route tables, VitePress config, or app-owned assets.
- Do not read
import.meta.envdirectly. - Keep package dependency direction acyclic; use runtime ports rather than application imports for reusable coordination.
- Do not restore compatibility aliases, private deep exports, or dependencies on the retired common package.
Example
import {
DashboardSummary,
DashboardTabTypes,
} from '@global-torque/invest-features/dashboard';