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.
package/dist/cli/index.js CHANGED
@@ -1283,11 +1283,8 @@ function buildFieldDefinition(fieldName, zodType) {
1283
1283
  // Default to false, can be configured later
1284
1284
  };
1285
1285
  if (fieldDef.options) {
1286
- const { min, max, pattern, ...relationSafeOptions } = fieldDef.options;
1287
- console.log("min", min);
1288
- console.log("max", max);
1289
- console.log("pattern", pattern);
1290
- fieldDef.options = Object.keys(relationSafeOptions).length > 0 ? relationSafeOptions : void 0;
1286
+ const { min: _min, max: _max, pattern: _pattern, ...relationSafeOptions } = fieldDef.options;
1287
+ fieldDef.options = Object.keys(relationSafeOptions).length ? relationSafeOptions : void 0;
1291
1288
  }
1292
1289
  }
1293
1290
  return fieldDef;