Skip to content

Commit efd123c

Browse files
committed
feat: update typescript query classes
1 parent cd83ce8 commit efd123c

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

templates/deno/src/query.ts.twig

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ export class Query {
99
static notEqual = (attribute: string, value: QueryTypes): string =>
1010
Query.addQuery(attribute, "notEqual", value);
1111

12-
static lesser = (attribute: string, value: QueryTypes): string =>
13-
Query.addQuery(attribute, "lesser", value);
12+
static lessThan = (attribute: string, value: QueryTypes): string =>
13+
Query.addQuery(attribute, "lessThan", value);
1414

15-
static lesserEqual = (attribute: string, value: QueryTypes): string =>
16-
Query.addQuery(attribute, "lesserEqual", value);
15+
static lessThanEqual = (attribute: string, value: QueryTypes): string =>
16+
Query.addQuery(attribute, "lessThanEqual", value);
1717

18-
static greater = (attribute: string, value: QueryTypes): string =>
19-
Query.addQuery(attribute, "greater", value);
18+
static greaterThan = (attribute: string, value: QueryTypes): string =>
19+
Query.addQuery(attribute, "greaterThan", value);
2020

21-
static greaterEqual = (attribute: string, value: QueryTypes): string =>
22-
Query.addQuery(attribute, "greaterEqual", value);
21+
static greaterThanEqual = (attribute: string, value: QueryTypes): string =>
22+
Query.addQuery(attribute, "greaterThanEqual", value);
2323

2424
static search = (attribute: string, value: string): string =>
2525
Query.addQuery(attribute, "search", value);

templates/web/src/query.ts.twig

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ export class Query {
99
static notEqual = (attribute: string, value: QueryTypes): string =>
1010
Query.addQuery(attribute, "notEqual", value);
1111

12-
static lesser = (attribute: string, value: QueryTypes): string =>
13-
Query.addQuery(attribute, "lesser", value);
12+
static lessThan = (attribute: string, value: QueryTypes): string =>
13+
Query.addQuery(attribute, "lessThan", value);
1414

15-
static lesserEqual = (attribute: string, value: QueryTypes): string =>
16-
Query.addQuery(attribute, "lesserEqual", value);
15+
static lessThanEqual = (attribute: string, value: QueryTypes): string =>
16+
Query.addQuery(attribute, "lessThanEqual", value);
1717

18-
static greater = (attribute: string, value: QueryTypes): string =>
19-
Query.addQuery(attribute, "greater", value);
18+
static greaterThan = (attribute: string, value: QueryTypes): string =>
19+
Query.addQuery(attribute, "greaterThan", value);
2020

21-
static greaterEqual = (attribute: string, value: QueryTypes): string =>
22-
Query.addQuery(attribute, "greaterEqual", value);
21+
static greaterThanEqual = (attribute: string, value: QueryTypes): string =>
22+
Query.addQuery(attribute, "greaterThanEqual", value);
2323

2424
static search = (attribute: string, value: string): string =>
2525
Query.addQuery(attribute, "search", value);

0 commit comments

Comments
 (0)