semanticdb-core 1.1.23 → 1.1.24

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.
@@ -43,10 +43,6 @@ function isSchemaValid(schema, schemasDict) {
43
43
  if (schema.tag && typeof schema.tag === 'object' && !Array.isArray(schema.tag)) {
44
44
  return { valid: false, message: 'schema的标签不能是对象类型' };
45
45
  }
46
- // ==================== syno验证 ====================
47
- if (schema.syno && !Array.isArray(schema.syno)) {
48
- return { valid: false, message: 'schema的同义词必须为数组格式' };
49
- }
50
46
  // ==================== 构建名称列表(用于冲突检查) ====================
51
47
  const schemaNames = [schema.name, ...(schema.syno || [])];
52
48
  let hierarchyNames = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "semanticdb-core",
3
- "version": "1.1.23",
3
+ "version": "1.1.24",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [