Interface ModelScopeOptions<TAttributes>

Interface for Define Scope Options

interface ModelScopeOptions<TAttributes> {
    [scopeName: string]: FindOptions<TAttributes> | ((...args) => FindOptions<TAttributes>);
}

Type Parameters

  • TAttributes = any

Indexable

[scopeName: string]: FindOptions<TAttributes> | ((...args) => FindOptions<TAttributes>)

Name of the scope and it's query