Define fields which should be visible and the rest hidden
class User extends Model { static entity = 'users' // only return fields "name" and "phone" for this model by default static visible = ['name', 'phone'] static fields () { return { id: this.uid(), name: this.string(''), phone: this.number(0), secret: this.string('') } }}
const visible: string[] = []