UNPKG

sequelize-typescript

Version:
12 lines (11 loc) 469 B
import { ScopeTableOptions } from './scope-table-options'; import { ScopesOptionsGetter } from './scope-options'; /** * Decorator for defining Model scopes */ export declare function Scopes(scopesGetter: ScopesOptionsGetter): Function; /** * Decorator for defining Model scopes * @deprecated */ export declare function Scopes<TCreationAttributes extends {}, TModelAttributes extends {}>(scopes: ScopeTableOptions<TCreationAttributes, TModelAttributes>): Function;