package npm.sequelize;

import haxe.extern.EitherType;

typedef ModelQuery = {
  ?where : {},
  ?attributes : Array<String>,
  ?paranoid : Bool,
  ?include : Array<EitherType<Model<Dynamic>, ModelIncludeOptions>>,
  ?order : EitherType<String, EitherType<Array<String>, EitherType<Array<Array<Dynamic>>, SequelizeFunction>>>,
  ?limit : Int,
  ?offset : Int,
  ?transaction : Transaction
}

package npm.sequelize;

import haxe.extern.EitherType;

typedef ModelQuery = {
  ?where : {},
  ?attributes : Array<String>,
  ?paranoid : Bool,
  ?include : Array<EitherType<ModelIncludeOptions, Model<Dynamic>>>,
  ?order : EitherType<String, EitherType<Array<String>, EitherType<Array<Array<Dynamic>>, SequelizeFunction>>>,
  ?limit : Int,
  ?offset : Int,
  ?transaction : Transaction
}

Switch order of types in modelquery
Switch order of types in modelquery

abedev/npm,abedev/npm