Mirror the six commerce child apps, and stop the mirrors drifting

Featurekamo-internal
Shipped
August 24, 2026 at 10:51 PM UTC
Author
kamo
Commit
1c0811e

Both TS mirrors are now GENERATED from ServiceType.java rather than hand-maintained. They had drifted badly from Java and from each other: stale "RAG integration" and "Falls back to parent organization SMTP" copy that Java removed in 2026-08, POS marked PLANNING in ServiceType.ts while AppType.ts said COMPLETED, and different descriptions for the same app in each file. Worth knowing before trusting them: displayName and description here are read by NOTHING. Every consumer uses these constants for identity only — hasFeature() matches on id, appServiceIcons keys on name. Copy comes from GET /api/security/features, which honours PLATFORM_APP_CATALOG overrides the mirrors cannot see. The strings are synced so a reader is not misled, and the file header says not to start rendering them. The parent/child tree is deliberately NOT mirrored — the features endpoint sends parent/children/isParent per app, and a second copy of the shape would be one more thing to drift. Also: an icon per new vertical rather than borrowing the parent's storefront, and Organization getters including isEhr.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing