Thanks to visit codestin.com
Credit goes to docs.nocobase.com

IModel

The IModel interface defines the basic properties and methods of a model object.

export interface IModel {
  toJSON: () => any;
}

API

toJSON()

Converts the model object to JSON format.