@cdx-extensions/di-sdk-types
v0.0.4
Published
Type definitions for CDX Extensibility SDK - Part of Candescent Developer Experience (CDX)
Readme
@cdx-extensions/di-sdk-types
Type definitions for CDX Extensibility SDK - Part of Candescent Developer Experience (CDX)
Overview
This package provides TypeScript type definitions for the CDX Extensibility SDK, including:
- Platform interface definitions
- User context types
- Extension registry types
- Response types for React hooks
This library is independent. Dependencies are resolved from JFrog when you run npm install in this folder. Build and publish from this directory.
Installation
npm install @cdx-extensions/di-sdk-typesUsage
import { Platform, UserContext, Response } from '@cdx-extensions/di-sdk-types';Development
From the repository root:
cd libs/common/extensibility-sdk-types
npm install
npm run buildPublishing
Only for Candescent developers with write access. Production versions are updated when changes are merged to main (CI runs the publish workflow).
Publishing under development: To publish this lib while it is under development without affecting the main version, run from this directory: npm publish --tag development.
To publish the main version (after merging to main), run npm run build then npm publish from this directory; the registry is set in publishConfig.
