pocketbase-zod-schema 0.2.0 → 0.2.1

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.
@@ -1214,11 +1214,8 @@ function buildFieldDefinition(fieldName, zodType) {
1214
1214
  // Default to false, can be configured later
1215
1215
  };
1216
1216
  if (fieldDef.options) {
1217
- const { min, max, pattern, ...relationSafeOptions } = fieldDef.options;
1218
- console.log("min", min);
1219
- console.log("max", max);
1220
- console.log("pattern", pattern);
1221
- fieldDef.options = Object.keys(relationSafeOptions).length > 0 ? relationSafeOptions : void 0;
1217
+ const { min: _min, max: _max, pattern: _pattern, ...relationSafeOptions } = fieldDef.options;
1218
+ fieldDef.options = Object.keys(relationSafeOptions).length ? relationSafeOptions : void 0;
1222
1219
  }
1223
1220
  }
1224
1221
  return fieldDef;