@famgia/omnify-core 0.0.52 → 0.0.54
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 +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -621,6 +621,7 @@ var VALID_SCHEMA_OPTIONS_FIELDS = /* @__PURE__ */ new Set([
|
|
|
621
621
|
"indexes",
|
|
622
622
|
"translations",
|
|
623
623
|
"tableName",
|
|
624
|
+
"hidden",
|
|
624
625
|
"authenticatable",
|
|
625
626
|
"authenticatableLoginIdField",
|
|
626
627
|
"authenticatablePasswordField",
|
|
@@ -717,6 +718,9 @@ function buildSchemaOptions(data) {
|
|
|
717
718
|
if (data.authenticatableGuardName !== void 0 && typeof data.authenticatableGuardName === "string") {
|
|
718
719
|
options.authenticatableGuardName = data.authenticatableGuardName;
|
|
719
720
|
}
|
|
721
|
+
if (data.hidden !== void 0 && typeof data.hidden === "boolean") {
|
|
722
|
+
options.hidden = data.hidden;
|
|
723
|
+
}
|
|
720
724
|
return options;
|
|
721
725
|
}
|
|
722
726
|
function buildProperties(data) {
|