Skip to content

Latest commit

 

History

History

models

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

npm (scoped)

@craftercms/models

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.