Skip to content

Commit

Permalink
Merge pull request nestjsx#806 from rjpkuyper/master
Browse files Browse the repository at this point in the history
fix: typo to get many route options
  • Loading branch information
michaelyali authored Nov 29, 2022
2 parents 43cf665 + bad3768 commit 5fed4d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/crud/src/interfaces/routes-options.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { BaseRouteName } from '../types';
export interface RoutesOptions {
exclude?: BaseRouteName[];
only?: BaseRouteName[];
getManyBase?: GetMayRouteOptions;
getManyBase?: GetManyRouteOptions;
getOneBase?: GetOneRouteOptions;
createOneBase?: CreateOneRouteOptions;
createManyBase?: CreateManyRouteOptions;
Expand All @@ -18,7 +18,7 @@ export interface BaseRouteOptions {
decorators?: (PropertyDecorator | MethodDecorator)[];
}

export type GetMayRouteOptions = BaseRouteOptions;
export type GetManyRouteOptions = BaseRouteOptions;

export type GetOneRouteOptions = BaseRouteOptions;

Expand Down

0 comments on commit 5fed4d0

Please sign in to comment.