$ open source · GPL-3.0 — need a commercial license? imqueue.com →

InitOptions interface

What a model's options actually holds on a model of this package.

Signature:

export interface InitOptions extends InitOptionsOrigin, IDynamicViewDefineOptions 

Extends: InitOptionsOrigin, IDynamicViewDefineOptions

Remarks

Sequelize's own init options together with the view fields the decorators write into them, which is why reading Model.options for treatAsView, viewDefinition or viewParams type-checks here and does not in plain sequelize.