Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Commit

Permalink
Add support for new netquery matchers
Browse files Browse the repository at this point in the history
  • Loading branch information
ppacher committed Sep 6, 2023
1 parent bdddff4 commit 13a33db
Showing 1 changed file with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,23 @@ export interface NotIn {
$notin: string[];
}

export type Matcher = Equal | NotEqual | Like | In | NotIn;
export interface Greater {
$gt: number;
}

export interface GreaterOrEqual {
$ge: number;
}

export interface Less {
$lt: number;
}

export interface LessOrEqual {
$le: number;
}

export type Matcher = Equal | NotEqual | Like | In | NotIn | Greater | GreaterOrEqual | Less | LessOrEqual;

export interface OrderBy {
field: string;
Expand Down

0 comments on commit 13a33db

Please sign in to comment.