Add custom models

Click on the Add Model button.

add_model1

You can add your custom model by:

  • Using the online editor and updating the Typescript class
  • Using the upload icon to import a Typescript file containing your model

Click on the save icon after finishing.

add_model2

Add description to your model

description-1

To add a description to your model you have to use the TypeScript syntax :

  • Single Line Comment using: // your model description
  • Multi-Line Comment which can be denoted by using: /*your model description*/
  • description-2

    You can also add descriptions and examples to your attributes using the TypeScript comments.