@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.
Files changed (2) hide show
  1. package/dist/index.d.ts +7 -1
  2. 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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gonvex/protocol",
3
- "version": "0.5.2-staging.13",
3
+ "version": "0.5.2-staging.14",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"