diff --git a/.changeset/big-kiwis-play.md b/.changeset/big-kiwis-play.md new file mode 100644 index 0000000..d0c43ed --- /dev/null +++ b/.changeset/big-kiwis-play.md @@ -0,0 +1,5 @@ +--- +'fireworkers': patch +--- + +fix: include missing `OR` operator for structured queries. diff --git a/.vscode/settings.json b/.vscode/settings.json index 124dc6d..1947a0d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,6 @@ { "editor.formatOnSave": true, "editor.codeActionsOnSave": { - "source.fixAll.eslint": true + "source.fixAll.eslint": "explicit" } } diff --git a/src/types.ts b/src/types.ts index ac09842..87aeec7 100644 --- a/src/types.ts +++ b/src/types.ts @@ -71,7 +71,7 @@ interface CompositeFilter { filters?: Filter[]; } -type CompositeFilterOp = 'OPERATOR_UNSPECIFIED' | 'AND'; +type CompositeFilterOp = 'OPERATOR_UNSPECIFIED' | 'AND' | 'OR'; interface FieldFilter { field?: FieldReference;