@vimconnect/app-sdk
v0.4.48
Published
Vim Connect Application SDK — typed wrapper over coreSdk with collection-generated entity types
Readme
@vimconnect/app-sdk
Typed SDK for building applications on the Vim Connect platform. Provides full IDE autocomplete, compile-time safety, and Zod schemas for runtime validation.
Installation
npm install @vimconnect/app-sdkRequires Zod v4+ as a peer dependency.
Documentation
For the full SDK documentation — authentication, EHR reading/writing, Hub controls, React integration, error handling, and the complete API reference — see the Vim Connect Docs.
Where the types come from (maintainers)
These types are generated from the platform's official collection, not hand-written.
The build pulls a specific published PROD collection version — pinned in
collection-values.yaml — and generates generated/vim-types.ts from it. Types are
always generated from the prod collection (no per-env split). That pin is
types-only: bump it only when the type surface (entities / events /
typeDefinitions / apiCatalog) changes. It is not the deployed collection that drives
EHR behavior — that (the source of truth) lives in the backend and is inspected via
connect-cli. See the repo CLAUDE.md "Collections, Types & the Source of Truth".
License
MIT
