@cdx-extensions/di-sdk-types
v1.1.8
Published
Type definitions for CDX Extensibility SDK - Part of Candescent Developer Experience (CDX)
Downloads
4,719
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 pnpm install in this folder. Build and publish from this directory.
Installation
pnpm add @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
pnpm install
pnpm 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: pnpm publish --tag development.
To publish the main version (after merging to main), run pnpm run build then pnpm publish from this directory; the registry is set in publishConfig.
