@famgia/omnify-laravel 0.0.70 → 0.0.72

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.
@@ -2464,6 +2464,9 @@ function generateFactory(schema, schemas, options, stubContent) {
2464
2464
  if (schema.kind === "enum") {
2465
2465
  return null;
2466
2466
  }
2467
+ if (schema.options?.hidden) {
2468
+ return null;
2469
+ }
2467
2470
  const modelName = toPascalCase(schema.name);
2468
2471
  const factoryName = `${modelName}Factory`;
2469
2472
  const attributes = [];
@@ -2837,4 +2840,4 @@ export {
2837
2840
  getFactoryPath,
2838
2841
  laravelPlugin
2839
2842
  };
2840
- //# sourceMappingURL=chunk-4KBDUQFK.js.map
2843
+ //# sourceMappingURL=chunk-FEHKJQMT.js.map