Skip to content

Commit

Permalink
chore: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMaz committed Jul 19, 2024
1 parent 9fb2c92 commit 369c1dd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export interface PasswordCreationServiceInterface {
/**
* Validate the array of password stores to check for previous usage.
*
* @param options Validate history options.
* @param options - Validate history options.
* @returns boolean Returns true if password has NOT been used withing configured range.
*/
validateHistory: (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export interface UserPasswordHistoryServiceInterface {
*
* Object must have reference id and password storage interface.
*
* @param {ReferenceId} userId The id of the user
* @returns {Promise<(ReferenceIdInterface & PasswordStorageInterface)[]>} The password history for the user
* @param userId - The id of the user
* @returns The password history for the user
*/
getHistory: (
userId: ReferenceId,
Expand All @@ -19,9 +19,8 @@ export interface UserPasswordHistoryServiceInterface {
*
* Object must have reference id and password storage interface.
*
* @param {ReferenceId} userId The id of the user
* @param {PasswordStorageInterface} passwordStore One password history for the user
* @returns {Promise<void>}
* @param userId - The id of the user
* @param passwordStore - One password history for the user
*/
pushHistory: (
userId: ReferenceId,
Expand Down
6 changes: 3 additions & 3 deletions packages/typeorm-common/src/services/base.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ export abstract class BaseService<Entity extends ReferenceIdInterface> {
/**
* Find wrapper.
*
* @param options Find many options
* @param queryOptions
* @param options - Find many options
* @param queryOptions - Query options
*/
async find(
options: FindManyOptions<Entity>,
Expand All @@ -45,7 +45,7 @@ export abstract class BaseService<Entity extends ReferenceIdInterface> {
/**
* Find One wrapper.
*
* @param findOneOptions - Find options
* @param options - Find one options
* @param queryOptions - Query options
*/
async findOne(
Expand Down

0 comments on commit 369c1dd

Please sign in to comment.