@famgia/omnify-core 2.0.26 → 2.0.27

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
@@ -809,6 +809,10 @@ var VALID_PROPERTY_FIELDS = /* @__PURE__ */ new Set([
809
809
  "owning",
810
810
  "joinTable",
811
811
  "pivotFields",
812
+ "targetNamespace",
813
+ // External package model namespace
814
+ "idType",
815
+ // Target primary key type for FK generation
812
816
  // File properties
813
817
  "multiple",
814
818
  "maxFiles",
@@ -2938,7 +2942,7 @@ Example:
2938
2942
  target: User
2939
2943
  # Creates author_id column automatically`;
2940
2944
  }
2941
- return `Unknown field '${field}'. Valid property fields: type, displayName, placeholder, nullable, default, unique, primary, description, length, unsigned, precision, scale, enum, relation, target, onDelete, onUpdate, joinTable, rules, hidden, fillable, fields`;
2945
+ return `Unknown field '${field}'. Valid property fields: type, displayName, placeholder, nullable, default, unique, primary, description, length, unsigned, precision, scale, enum, relation, target, targetNamespace, idType, onDelete, onUpdate, joinTable, rules, hidden, fillable, fields`;
2942
2946
  }
2943
2947
  function validateRules(propertyName, property, filePath) {
2944
2948
  const errors = [];