Skip to content

Commit

Permalink
docs: comments added for better undertanding of base service search f…
Browse files Browse the repository at this point in the history
…ields
  • Loading branch information
fless-lab committed Jun 30, 2024
1 parent 3a574a7 commit 612dbab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/services/base.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ export class BaseService<T extends Document, R extends BaseRepository<T>> {
protected handleSlug: boolean;
protected uniqueFields: string[];
protected populateFields: string[];
protected allowedFilterFields?: string[];
protected searchFields?: string[];
protected allowedFilterFields?: string[]; /* For other probable filters */
protected searchFields?: string[]; /* For search like keywork */

constructor(
repository: R,
Expand Down

0 comments on commit 612dbab

Please sign in to comment.