Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Commit f6683f1

Browse files
thebengeusoedirgo
authored andcommitted
fix: include negated operators in FilterOperator type
Some negated operators are redundant, e.g. 'not.eq', but they are valid so they are included.
1 parent 06946ba commit f6683f1

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

src/lib/PostgrestFilterBuilder.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,28 @@ type FilterOperator =
2727
| 'plfts'
2828
| 'phfts'
2929
| 'wfts'
30+
| 'not.eq'
31+
| 'not.neq'
32+
| 'not.gt'
33+
| 'not.gte'
34+
| 'not.lt'
35+
| 'not.lte'
36+
| 'not.like'
37+
| 'not.ilike'
38+
| 'not.is'
39+
| 'not.in'
40+
| 'not.cs'
41+
| 'not.cd'
42+
| 'not.sl'
43+
| 'not.sr'
44+
| 'not.nxl'
45+
| 'not.nxr'
46+
| 'not.adj'
47+
| 'not.ov'
48+
| 'not.fts'
49+
| 'not.plfts'
50+
| 'not.phfts'
51+
| 'not.wfts'
3052

3153
export default class PostgrestFilterBuilder<T> extends PostgrestTransformBuilder<T> {
3254
/**

0 commit comments

Comments
 (0)