Context
The RPC surface exposed by this module mirrors @comapeo/core's MapeoManager API, but the TypeScript types consumers see are hand-maintained / not derived from core. We want the published types to track core so the frontend gets accurate types over the RPC boundary without core-react-native taking a hard runtime dependency on core's source layout.
Scope
Notes
Milestone-doc item: "Vendoring + bundling of types from core for core-react-native". Relates to #1 (Date objects over RPC) since that's a place where our types intentionally diverge from core.
Context
The RPC surface exposed by this module mirrors
@comapeo/core'sMapeoManagerAPI, but the TypeScript types consumers see are hand-maintained / not derived from core. We want the published types to track core so the frontend gets accurate types over the RPC boundary without core-react-native taking a hard runtime dependency on core's source layout.Scope
.d.ts, generating a trimmed type bundle at build time, or re-exporting from a pinned@comapeo/coreversion.scripts/build-backend.ts/ packageexports) sobuild/index.d.tsreflects the bundled types.attw/publintstay green (see CI: fast package-lint job (publint + attw + tarball-contents assertion) #88).Notes
Milestone-doc item: "Vendoring + bundling of types from core for core-react-native". Relates to #1 (Date objects over RPC) since that's a place where our types intentionally diverge from core.