Skip to content

Commit

Permalink
PR suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-congo committed Jun 10, 2024
1 parent 8a0fd5a commit b2054ad
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions node/src/Commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1100,8 +1100,17 @@ export function createLIndex(
return createCommand(RequestType.LIndex, [key, index.toString()]);
}

/**
* Defines where to insert new elements into a list.
*/
export enum InsertPosition {
/**
* Insert new element before the pivot.
*/
Before = "before",
/**
* Insert new element after the pivot.
*/
After = "after",
}

Expand Down

0 comments on commit b2054ad

Please sign in to comment.