Skip to content

Commit

Permalink
fix(query-graphql): Fixed ResolveOneRelation interface
Browse files Browse the repository at this point in the history
  • Loading branch information
TriPSs committed May 27, 2022
1 parent 6b3722b commit e768900
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/query-graphql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ptc-org/nestjs-query-graphql",
"version": "1.0.0-alpha.3",
"version": "1.0.0-alpha.4",
"description": "Nestjs graphql query adapter",
"author": "doug-martin <[email protected]>",
"homepage": "https://github.com/tripss/nestjs-query#readme",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export type ResolverRelation<Relation> = {

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

export type ResolverOneRelation<Relation> = Omit<ResolverRelation<Relation>, 'disableFilter' | 'disableSorting'>;
export type ResolverOneRelation<Relation> = Omit<ResolverRelation<Relation>, 'disableFilter' | 'disableSort'>;
export type ResolverManyRelation<Relation> = ResolverRelation<Relation>;

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

0 comments on commit e768900

Please sign in to comment.