@tekstack/client-data-model
v1.0.24
Published
TekStack client-side Dataverse data model for TypeScript projects.
Maintainers
Readme
TekStack Client Data Model
TypeScript npm package containing the TekStack client-side Dataverse data model.
What this package exports
- All generated entities, enums, custom APIs, and supporting types from
dataverse-gen metadataCachefor use withdataverse-ify
Build and publish
From this folder:
npm install
npm run build
npm pack
npm login
npm publish --access publicnpm run build will:
- Sync model files from
../ClientHooks/src/dataverse-gen - Compile TypeScript to
dist/ - Emit declaration files for consumer projects
Publish to npm
Before publishing, set your final package name/version in package.json.
npm version patch
npm publish --access publicIf publishing to a private organization registry, use your normal .npmrc settings.
Consume in React/TypeScript projects
import { metadataCache, Account_Select } from "@tekstack/client-data-model";Use metadataCache with dataverse-ify as needed by your app runtime.
