- Ya
- 24 Agosti 2026, 22:51 UTC
- Mwandishi
- kamo
- Ahadi ya
- 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.