@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.
package/dist/index.cjs CHANGED
@@ -2510,6 +2510,9 @@ function generateFactory(schema, schemas, options, stubContent) {
2510
2510
  if (schema.kind === "enum") {
2511
2511
  return null;
2512
2512
  }
2513
+ if (schema.options?.hidden) {
2514
+ return null;
2515
+ }
2513
2516
  const modelName = toPascalCase(schema.name);
2514
2517
  const factoryName = `${modelName}Factory`;
2515
2518
  const attributes = [];