semanticdb-core 1.1.26 → 1.1.28

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.
@@ -37,4 +37,7 @@ export interface LogicformType {
37
37
  skip?: number;
38
38
  representation?: RepresentationType;
39
39
  entity_id?: string;
40
+ defaultAuthQuery?: {
41
+ [schemaId: string]: QueryType;
42
+ };
40
43
  }
@@ -35,10 +35,6 @@ function isSchemaValid(schema, schemasDict) {
35
35
  if (!schema.properties.every((property) => property.name && property.name.trim() !== '' && property.type)) {
36
36
  return { valid: false, message: '每一个属性都必须有名称和类型' };
37
37
  }
38
- // 检查db
39
- if (!schema.db) {
40
- return { valid: false, message: '缺少数据库配置' };
41
- }
42
38
  // ==================== tag字段验证 ====================
43
39
  if (schema.tag && typeof schema.tag === 'object' && !Array.isArray(schema.tag)) {
44
40
  return { valid: false, message: 'schema的标签不能是对象类型' };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "semanticdb-core",
3
- "version": "1.1.26",
3
+ "version": "1.1.28",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [