@gonvex/protocol 0.5.2-staging.13 → 0.5.2-staging.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +7 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -149,13 +149,19 @@ export type LiveQueryPlan = {
|
|
|
149
149
|
};
|
|
150
150
|
export type FilterOperator = "contains" | "notContains" | "equals" | "notEquals" | "startsWith" | "endsWith" | "empty" | "notEmpty" | "oneOf" | "lessThan" | "lessThanOrEqual" | "greaterThan" | "greaterThanOrEqual" | "inRange";
|
|
151
151
|
export type LiveExpression = {
|
|
152
|
-
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "in" | "contains" | "containsInsensitive" | "range" | "and" | "or" | "not" | "server";
|
|
152
|
+
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "in" | "contains" | "containsInsensitive" | "range" | "and" | "or" | "not" | "server" | "inRelation" | "arrayContains";
|
|
153
153
|
column?: string;
|
|
154
154
|
value?: LiveValue;
|
|
155
155
|
valueTo?: LiveValue;
|
|
156
156
|
children?: LiveExpression[];
|
|
157
|
+
relation?: {
|
|
158
|
+
table: string;
|
|
159
|
+
column: string;
|
|
160
|
+
where?: LiveExpression;
|
|
161
|
+
};
|
|
157
162
|
};
|
|
158
163
|
export type LiveValue = {
|
|
164
|
+
context?: "account.id" | "member.id" | "tenant.id";
|
|
159
165
|
argument?: string;
|
|
160
166
|
literal?: JsonValue;
|
|
161
167
|
};
|