This package exports all decorators that are available in Sequelize, built using the legacy stage-3 decorators proposal.

All available decorators can be imported as follows:

import { HasOne, Attribute } from '@sequelize/core/decorators-legacy';

Modules

<internal>

Interfaces

HookOptions

Type Aliases

InheritedAttributeOptions

Functions

AfterAssociate
AfterBulkCreate
AfterBulkDestroy
AfterBulkRestore
AfterBulkUpdate
AfterCreate
AfterDefinitionRefresh
AfterDestroy
AfterDestroyMany
AfterFind
AfterRestore
AfterSave
AfterSync
AfterUpdate
AfterUpsert
AfterValidate
AllowNull
Attribute
AutoIncrement
BeforeAssociate
BeforeBulkCreate
BeforeBulkDestroy
BeforeBulkRestore
BeforeBulkUpdate
BeforeCount
BeforeCreate
BeforeDefinitionRefresh
BeforeDestroy
BeforeDestroyMany
BeforeFind
BeforeFindAfterExpandIncludeAll
BeforeFindAfterOptions
BeforeRestore
BeforeSave
BeforeSync
BeforeUpdate
BeforeUpsert
BeforeValidate
BelongsTo
BelongsToMany
Column
ColumnName
Comment
CreatedAt
createIndexDecorator
Default
DeletedAt
HasMany
HasOne
Index
ModelValidator
NotNull
PrimaryKey
Table
Unique
UpdatedAt
ValidateAttribute
ValidationFailed
Version