@statezero/core 0.1.81 → 0.1.82

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.
@@ -548,7 +548,7 @@ export class QuerySet {
548
548
  if (node.type === "search") {
549
549
  searchData = {
550
550
  searchQuery: node.searchQuery || "",
551
- searchFields: node.searchFields,
551
+ searchFields: node.searchFields || this.ModelClass.schema.searchable_fields
552
552
  };
553
553
  }
554
554
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@statezero/core",
3
- "version": "0.1.81",
3
+ "version": "0.1.82",
4
4
  "type": "module",
5
5
  "module": "ESNext",
6
6
  "description": "The type-safe frontend client for StateZero - connect directly to your backend models with zero boilerplate",