Repository navigation
Catalog ids become MGPL strings (catalog-kit 2); env templates for patient links and UPI (0.1.6) - #38
Merged
Merged
Conversation
… env templates (0.1.6) - CatalogTest.id is now the MGPL id (ID: MGPLT0001 / MGPLP0001 / MGPLK0001), with kind, legacyId and isPackage. catalogTest(id: ID) takes an MGPL id or the old numeric id; priceQuote takes MGPL ids too. isProfile now means kind profile. Stored bookings, reports and bills use codes: no data change. - catalog-kit ^2.2.0 (2.x with the 1.2 narrative / Widal fixes), client ^2.0.0. - deploy/production.env.example, .env.example and docs/09: PATIENT_LINK_*, MGPL_UPI_ID, MGPL_UPI_NAME. - docs/10 "Catalog ids"; schema, reference and llms regenerated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018jBohjC7uBfVPopxyZBtS1
Contributor
Author
|
The Generated by Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is handoff item F: move the api to catalog-kit 2.x (MGPL ids) as a planned step, not drift.
Breaking change
CatalogTest.idchanges fromInt!toID!. It is now the MGPL id:MGPLT0001for a test,MGPLP0001for a profile,MGPLK0001for a package.kind: CatalogKind!,legacyId: Int(the old numeric id) andisPackage.catalogTest(id: ID)accepts an MGPL id or the old numeric id.priceQuoteaccepts codes, MGPL ids or old ids.isProfileis now true only for profiles. In 1.x it was true for any test with more than one parameter, so CBC counted.Bookings, reports and bills store test codes, so no stored data changes.
Also
^2.2.0, which is catalog-kit#14: 2.x plus the 1.2 narrative and Widal fixes, so nothing regresses.^2.0.0(client PR alongside).deploy/production.env.example,.env.exampleand docs/09 now documentPATIENT_LINK_SECRET,PATIENT_LINK_BASE_URL,MGPL_UPI_IDandMGPL_UPI_NAME.Release order
v2.2.0.v2.0.0.v0.1.6.v0.1.9.CI here fails until steps 1 and 2 are published.
Checks
npm run typecheck.TEST_BACKENDS=pg npm test: 283 passed. The two new checks cover:priceQuoteaccepts MGPL ids.All the existing narrative and Widal checks pass on catalog-kit 2.2.0. MongoDB can't be downloaded in my container; CI runs both databases.
Generated by Claude Code