Skip to content

Commit ef27c6e

Browse files
committed
Add typing for new Query methods
1 parent 0518e66 commit ef27c6e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

index.d.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1852,6 +1852,18 @@ declare module "node-appwrite" {
18521852

18531853
static greaterThanEqual(attribute: string, value: QueryTypes): string;
18541854

1855+
static isNull(attribute: string): string;
1856+
1857+
static isNotNull(attribute: string): string;
1858+
1859+
static between<T extends string | number>(attribute: string, start: T, end: T): string;
1860+
1861+
static startsWith(attribute: string, value: string): string;
1862+
1863+
static endsWith(attribute: string, value: string): string;
1864+
1865+
static select(attributes: string[]): string;
1866+
18551867
static search(attribute: string, value: string): string;
18561868

18571869
static orderDesc(attribute: string): string;

0 commit comments

Comments
 (0)