@plasius/schema 1.2.7 → 1.2.9

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
@@ -73,6 +73,7 @@ var FieldBuilder = class _FieldBuilder {
73
73
  this.itemType = options.itemType;
74
74
  this.refType = options.refType;
75
75
  }
76
+ type;
76
77
  _type;
77
78
  _storageType;
78
79
  isSystem = false;
@@ -820,7 +821,7 @@ function validateName(value) {
820
821
  const cp = ch.codePointAt(0);
821
822
  if (cp >= 0 && cp <= 31 || cp === 127) return false;
822
823
  }
823
- const namePattern = /^[\p{L}\p{M}'\- ]+$/u;
824
+ const namePattern = /^[\p{L}\p{M}'\-. ]+$/u;
824
825
  if (!namePattern.test(trimmed)) return false;
825
826
  return true;
826
827
  }