mirror of
https://github.com/temetro/temetro.git
synced 2026-08-11 19:18:03 +00:00
bb536ba6da
A clinician can push an updated record to a wallet-linked patient (permanent share). The snapshot is signed with the clinic Ed25519 key and sealed to the wallet's X25519 key — derived from its Ed25519 wallet number via the birational map, verified byte-for-byte against the wallet's own derivation. Stored pending, delivered over the /wallet relay live and on the wallet's next authenticated connect (offline catch-up). The patient approves/denies in-app; the wallet signs its decision, the backend verifies it, and the record is replaced only on approval. Wallet pins the clinic key (TOFU) and warns on change. Backend: walletRecordUpdates table + service, ed25519PubToX25519Hex helper, POST /api/patients/wallet/push, GET .../link/:fileNumber|updates|updates/:id, wallet:update-request / wallet:update-response relay events. Frontend: "Push to wallet" dialog with live status, wallet-link gating on the patient sheet, "Sent updates" list under Settings → Signing, walletPush / walletUpdatesList locale namespaces across all five languages. Bumps to v0.5.0. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
25 lines
776 B
TypeScript
25 lines
776 B
TypeScript
export * from "./auth.js";
|
|
export * from "./patients.js";
|
|
export * from "./notes.js";
|
|
export * from "./appointments.js";
|
|
export * from "./prescriptions.js";
|
|
export * from "./invoices.js";
|
|
export * from "./inventory.js";
|
|
export * from "./dispenses.js";
|
|
export * from "./tasks.js";
|
|
export * from "./activity.js";
|
|
export * from "./messaging.js";
|
|
export * from "./notifications.js";
|
|
export * from "./settings.js";
|
|
export * from "./email-settings.js";
|
|
export * from "./ai.js";
|
|
export * from "./ai-chat.js";
|
|
export * from "./org-ai-policy.js";
|
|
export * from "./attachments.js";
|
|
export * from "./integrations.js";
|
|
export * from "./staff-profile.js";
|
|
export * from "./meetings.js";
|
|
export * from "./signing.js";
|
|
export * from "./wallet-share.js";
|
|
export * from "./wallet-updates.js";
|