Skip to content

Commit 1c22142

Browse files
authored
Merge pull request #52 from objectstack-ai/copilot/create-query-dsl-specification
2 parents 628fb75 + 810104f commit 1c22142

23 files changed

Lines changed: 1781 additions & 0 deletions
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: ComparisonOperator
3+
description: ComparisonOperator Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **$gt** | `number \| string` | optional | |
11+
| **$gte** | `number \| string` | optional | |
12+
| **$lt** | `number \| string` | optional | |
13+
| **$lte** | `number \| string` | optional | |
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: EqualityOperator
3+
description: EqualityOperator Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **$eq** | `any` | optional | |
11+
| **$ne** | `any` | optional | |
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: FieldOperators
3+
description: FieldOperators Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **$eq** | `any` | optional | |
11+
| **$ne** | `any` | optional | |
12+
| **$gt** | `number \| string` | optional | |
13+
| **$gte** | `number \| string` | optional | |
14+
| **$lt** | `number \| string` | optional | |
15+
| **$lte** | `number \| string` | optional | |
16+
| **$in** | `any[]` | optional | |
17+
| **$nin** | `any[]` | optional | |
18+
| **$between** | `any[]` | optional | |
19+
| **$contains** | `string` | optional | |
20+
| **$startsWith** | `string` | optional | |
21+
| **$endsWith** | `string` | optional | |
22+
| **$null** | `boolean` | optional | |
23+
| **$exist** | `boolean` | optional | |
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: FilterCondition
3+
description: FilterCondition Schema Reference
4+
---
5+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: NormalizedFilter
3+
description: NormalizedFilter Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **$and** | `Record<string, object> \| any[]` | optional | |
11+
| **$or** | `Record<string, object> \| any[]` | optional | |
12+
| **$not** | `Record<string, object> \| any` | optional | |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: QueryFilter
3+
description: QueryFilter Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **where** | `any` | optional | |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: RangeOperator
3+
description: RangeOperator Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **$between** | `any[]` | optional | |
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: SetOperator
3+
description: SetOperator Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **$in** | `any[]` | optional | |
11+
| **$nin** | `any[]` | optional | |
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: SpecialOperator
3+
description: SpecialOperator Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **$null** | `boolean` | optional | |
11+
| **$exist** | `boolean` | optional | |
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: StringOperator
3+
description: StringOperator Schema Reference
4+
---
5+
6+
## Properties
7+
8+
| Property | Type | Required | Description |
9+
| :--- | :--- | :--- | :--- |
10+
| **$contains** | `string` | optional | |
11+
| **$startsWith** | `string` | optional | |
12+
| **$endsWith** | `string` | optional | |

0 commit comments

Comments
 (0)