import { AnyObject } from 'graphql-gene'; import { IncludeOptions, WhereAttributeHash } from 'sequelize'; export type GeneSequelizeWhereOptions = { [k in keyof WhereAttributeHash | symbol]: k extends symbol ? WhereAttributeHash[] : WhereAttributeHash[k extends symbol ? never : k]; }; export type DefaultResolverIncludeOptions = Omit & { include?: DefaultResolverIncludeOptions[]; /** * "offset" is missing in IncludeOptions * @see https://github.com/sequelize/sequelize/issues/12969 */ offset?: number; };