@deskpro/app-sdk-types
v6.0.9
Published
Types for the messages and objects exchanged between Deskpro and apps built with @deskpro/app-sdk
Keywords
Readme
@deskpro/app-sdk-types
The types for the contract between Deskpro and apps built with @deskpro/app-sdk: contexts, target actions, app elements, state options and UI messages.
It has no dependencies and ships no JavaScript, so a host (such as the Deskpro agent UI) can type its side of the contract without installing the SDK and its React tree. @deskpro/app-sdk re-exports everything here, so apps keep importing from the SDK.
import type { AppElement, DeskproUIMessage } from "@deskpro/app-sdk-types";Both packages are published together from this repository and share a version number.
