This package contains data model definitions of different structures of Crafter CMS.
These interfaces are useful when developing in TypeScript and for IDE auto-completion & suggestions.
Usage
Install module using yarn or npm
yarn add @craftercms/models or
npm install @craftercms/models
Import and use the models you need
Most of our packages have @craftercms/models as a dependency and will pull it automatically when using npm.