Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit 65a9e1ea
authored
Jun 02, 2020
by
Alexander Mochalin
Committed by
GitHub
Jun 02, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(types): add Association into OrderItem type (#12332)
1 parent
1b867291
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
types/lib/model.d.ts
types/lib/model.d.ts
View file @
65a9e1e
...
...
@@ -451,7 +451,7 @@ export interface IncludeOptions extends Filterable, Projectable, Paranoid {
subQuery
?:
boolean
;
}
type
OrderItem
Model
=
typeof
Model
|
{
model
:
typeof
Model
;
as
:
string
}
|
string
type
OrderItem
Association
=
Association
|
typeof
Model
|
{
model
:
typeof
Model
;
as
:
string
}
|
string
type
OrderItemColumn
=
string
|
Col
|
Fn
|
Literal
export
type
OrderItem
=
|
string
...
...
@@ -459,14 +459,14 @@ export type OrderItem =
|
Col
|
Literal
|
[
OrderItemColumn
,
string
]
|
[
OrderItem
Model
,
OrderItemColumn
]
|
[
OrderItem
Model
,
OrderItemColumn
,
string
]
|
[
OrderItem
Model
,
OrderItemModel
,
OrderItemColumn
]
|
[
OrderItem
Model
,
OrderItemModel
,
OrderItemColumn
,
string
]
|
[
OrderItem
Model
,
OrderItemModel
,
OrderItemModel
,
OrderItemColumn
]
|
[
OrderItem
Model
,
OrderItemModel
,
OrderItemModel
,
OrderItemColumn
,
string
]
|
[
OrderItem
Model
,
OrderItemModel
,
OrderItemModel
,
OrderItemModel
,
OrderItemColumn
]
|
[
OrderItem
Model
,
OrderItemModel
,
OrderItemModel
,
OrderItemModel
,
OrderItemColumn
,
string
]
|
[
OrderItem
Association
,
OrderItemColumn
]
|
[
OrderItem
Association
,
OrderItemColumn
,
string
]
|
[
OrderItem
Association
,
OrderItemAssociation
,
OrderItemColumn
]
|
[
OrderItem
Association
,
OrderItemAssociation
,
OrderItemColumn
,
string
]
|
[
OrderItem
Association
,
OrderItemAssociation
,
OrderItemAssociation
,
OrderItemColumn
]
|
[
OrderItem
Association
,
OrderItemAssociation
,
OrderItemAssociation
,
OrderItemColumn
,
string
]
|
[
OrderItem
Association
,
OrderItemAssociation
,
OrderItemAssociation
,
OrderItemAssociation
,
OrderItemColumn
]
|
[
OrderItem
Association
,
OrderItemAssociation
,
OrderItemAssociation
,
OrderItemAssociation
,
OrderItemColumn
,
string
]
export
type
Order
=
string
|
Fn
|
Col
|
Literal
|
OrderItem
[];
/**
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment