@famgia/omnify-laravel 0.0.71 → 0.0.73
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/{chunk-4KBDUQFK.js → chunk-FEHKJQMT.js} +4 -1
- package/dist/{chunk-4KBDUQFK.js.map → chunk-FEHKJQMT.js.map} +1 -1
- package/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/plugin.cjs +3 -0
- package/dist/plugin.cjs.map +1 -1
- package/dist/plugin.js +1 -1
- package/package.json +4 -4
|
@@ -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-
|
|
2843
|
+
//# sourceMappingURL=chunk-FEHKJQMT.js.map
|