Skip to content

Commit

Permalink
fix(query-graphql): Fixed @Relation/@FilterableRelation exposing …
Browse files Browse the repository at this point in the history
…aggregate options
  • Loading branch information
TriPSs committed Oct 13, 2023
1 parent 95aebd7 commit 2a5395d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ export type ResolverRelation<Relation> = {

export type RelationTypeMap<RT> = Record<string, RT>

export type ResolverOneRelation<Relation> = Omit<ResolverRelation<Relation>, 'disableFilter' | 'disableSort'>
export type ResolverOneRelation<Relation> = Omit<
ResolverRelation<Relation>,
'disableFilter' | 'disableSort' | 'enableAggregate' | 'aggregate'
>
export type ResolverManyRelation<Relation> = Omit<ResolverRelation<Relation>, 'enableLookAhead'>

export type RelationsOpts<Relation = unknown> = {
Expand Down

0 comments on commit 2a5395d

Please sign in to comment.